kibana/tasks/build/index.js
Kim Joar Bekkelund a817517574
[6.x] Switch to Yarn (#15485) (#15955)
* Switch to Yarn (#15485)

* switch to yarn

* cleanup misc references to npm

* [yarn] loosen dependency ranges so yarn will merge more deps

* fix linting error now that moment uses ESM

* [licenses] font-awesome changed the format of its license id

* Use local yarn

* Misc fixes

* eslintignore built yarn file

* Remove mkdir which doesn't do what it should do

* Check build without upgrading lots of versions

* Fix license check

* too many moments

* Better description

* Review fixes

* Lock to angular@1.6.5

* More specific version locks

* Revert "More specific version locks"

This reverts commit 11ef81102e.

* Revert "Lock to angular@1.6.5"

This reverts commit 3ade68c14c.

* rm yarn.lock; yarn

* Forcing a specific version of React, Angular, Moment

* Using vendored version of yarn in ci

* Use --frozen-lockfile

* fixes

* Update lockfile
2018-01-10 16:54:20 +01:00

35 lines
1,007 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',
'clean:devSourceForTestbed',
'babel:build',
'_build:plugins',
'_build:data',
'_build:verifyTranslations',
'_build:packageJson',
'_build:readme',
'_build:babelCache',
'_build:installDependencies',
'_build:notice',
'_build:removePkgJsonDeps',
'clean:testsFromModules',
'clean:examplesFromModules',
'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'
]));
});
};