* [codeshift] add proper ignore comments * [codeshift] apply require-to-import transform * [codeshift/fixup] remove duplicate imports * [eslint] upgrade config for react "unused" support * [codeshift] apply remove-unused-imports transform * [codeshift] apply remove-unused-basic-requires transform * [codeshift] apply remove-unused-function-arguments transform * [lintroller] fix argument list spacing * [codeshift] apply remove-unused-basic-bars transform * [codeshift/fixup] fixup unused basic var removals * manually apply remove-unused-assignments transform * [codeshift] reapply remove-unused-imports transform * [codeshift] reapply remove-unused-function-arguments transform * [eslint] autofix param spacing * manually fix remaining no-undef errors * use more descriptive file ignore pattern * add eslint-plugin-react peerDependency * replace values that looked unused in tests * remove // kibana-jscodeshift-no-babel comment * remove import statements from code required by api tests * Remove '// kibana-jscodeshift-ignore' comments * address review feedback * remove remnant of removed if condition
34 lines
961 B
JavaScript
34 lines
961 B
JavaScript
import { flatten } from 'lodash';
|
|
module.exports = function (grunt) {
|
|
grunt.registerTask('build', 'Build packages', function () {
|
|
grunt.task.run(flatten([
|
|
'clean:build',
|
|
'clean:target',
|
|
'_build:downloadNodeBuilds',
|
|
'_build:extractNodeBuilds',
|
|
'copy:devSource',
|
|
'babel:build',
|
|
'_build:babelOptions',
|
|
'_build:plugins',
|
|
'_build:data',
|
|
'_build:verifyTranslations',
|
|
'_build:packageJson',
|
|
'_build:readme',
|
|
'_build:babelCache',
|
|
'_build:installNpmDeps',
|
|
'_build:notice',
|
|
'_build:removePkgJsonDeps',
|
|
'clean:testsFromModules',
|
|
'run:optimizeBuild',
|
|
'stop:optimizeBuild',
|
|
'_build:versionedLinks',
|
|
'_build:osShellScripts',
|
|
grunt.option('skip-archives') ? [] : ['_build:archives'],
|
|
grunt.option('skip-os-packages') ? [] : [
|
|
'_build:pleaseRun',
|
|
'_build:osPackages',
|
|
],
|
|
'_build:shasums'
|
|
]));
|
|
});
|
|
};
|