mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[build] Clean node_modules (#138318)
* [build] Clean more node_modules * re-add dist folder
This commit is contained in:
parent
82a46f38c8
commit
1031fb56f3
1 changed files with 51 additions and 4 deletions
|
@ -71,6 +71,12 @@ export const CleanExtraFilesFromModules: Task = {
|
|||
'**/CONTRIBUTING.md',
|
||||
'**/Contributing.md',
|
||||
'**/contributing.md',
|
||||
'**/README.md',
|
||||
'**/readme.md',
|
||||
'**/README.markdown',
|
||||
'**/readme.markdown',
|
||||
'**/README',
|
||||
|
||||
'**/History.md',
|
||||
'**/HISTORY.md',
|
||||
'**/history.md',
|
||||
|
@ -86,16 +92,27 @@ export const CleanExtraFilesFromModules: Task = {
|
|||
|
||||
// bins
|
||||
'**/.bin',
|
||||
'**/bin',
|
||||
|
||||
// linters
|
||||
'**/.eslintrc',
|
||||
'**/.eslintrc.js',
|
||||
'**/.eslintrc.yml',
|
||||
'**/.eslintrc.json',
|
||||
'**/.eslintignore',
|
||||
'**/.jshintignore',
|
||||
'**/.prettierrc',
|
||||
'**/.prettierrc.js',
|
||||
'**/.prettierrc.yaml',
|
||||
'**/.prettierrc.yml',
|
||||
'**/.jshintrc',
|
||||
'**/.babelrc',
|
||||
'**/.babelrc.js',
|
||||
'**/.jscs.json',
|
||||
'**/.lint',
|
||||
'**/.jscsrc',
|
||||
'**/.nycrc',
|
||||
'**/.taprc',
|
||||
|
||||
// hints
|
||||
'**/*.flow',
|
||||
|
@ -117,25 +134,36 @@ export const CleanExtraFilesFromModules: Task = {
|
|||
'**/*.sass',
|
||||
'**/.ts',
|
||||
'**/.tsx',
|
||||
'**/.tsbuildinfo',
|
||||
|
||||
// editors
|
||||
'**/.editorconfig',
|
||||
'**/.vscode',
|
||||
'**/.idea',
|
||||
|
||||
// git
|
||||
'**/.git',
|
||||
'**/.github',
|
||||
'**/.gitattributes',
|
||||
'**/.gitkeep',
|
||||
'**/.gitempty',
|
||||
'**/.gitmodules',
|
||||
'**/.keep',
|
||||
'**/.empty',
|
||||
'**/.patch',
|
||||
|
||||
// ci
|
||||
'**/.travis.yml',
|
||||
'**/.gitlab-ci.yml',
|
||||
'**/circle.yml',
|
||||
'**/.coveralls.yml',
|
||||
'**/.instanbul.yml',
|
||||
'**/appveyor.yml',
|
||||
'**/.istanbul.yml',
|
||||
'**/.appveyor.yml',
|
||||
'**/.zuul.yml',
|
||||
'**/.codeclimate.yml',
|
||||
'**/.codecov.yml',
|
||||
'**/.airtap.yml',
|
||||
'**/.gitpod.yml',
|
||||
|
||||
// metadata
|
||||
'**/package-lock.json',
|
||||
|
@ -145,12 +173,31 @@ export const CleanExtraFilesFromModules: Task = {
|
|||
|
||||
// misc
|
||||
'**/.*ignore',
|
||||
'**/*.log',
|
||||
'**/.nvmrc',
|
||||
'**/.DS_Store',
|
||||
'**/Dockerfile',
|
||||
'**/docker-compose.yml',
|
||||
|
||||
// https://github.com/elastic/kibana/issues/107617
|
||||
'**/png-js/images/*.png',
|
||||
'**/*.png',
|
||||
'**/*.jpg',
|
||||
'**/*.jpeg',
|
||||
'**/*.gif',
|
||||
'**/*.webp',
|
||||
|
||||
'**/*.zip',
|
||||
'**/*.7z',
|
||||
'**/*.rar',
|
||||
'**/*.tar',
|
||||
'**/*.tgz',
|
||||
'**/*.gz',
|
||||
|
||||
'**/*.xml',
|
||||
|
||||
'**/@elastic/eui/es',
|
||||
'**/@elastic/eui/test-env',
|
||||
'**/@elastic/eui/optimize',
|
||||
'**/@elastic/eui/i18ntokens.json',
|
||||
]);
|
||||
|
||||
log.info(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue