Commit graph

403 commits

Author SHA1 Message Date
spalger 8aa0287dd7 [build] expose build specific babel config
During build we transpile the server source to prevent runtime transpilation with babel/register. In order to support untranspiled plugin code, we still use babel/register with special ignore options, which used to be included in cli/index.js and now is moved to src/optimize/babelOptions.js so other code that wants to initialize a server (without the cli) can also configure babel/register.
2015-09-07 17:22:42 -07:00
spalger 0f4fe22252 [build/shrinkwrap] apparently it is loglevel 2015-09-07 17:03:04 -07:00
spalger 3672ac5ebf [esvm] test against es 2.0 2015-09-03 16:28:31 -07:00
Joe Fleming 4463355c8f Merge pull request #4815 from spalger/node/downgradeTo012
[node] downgrade to 0.12.7
2015-09-01 14:49:22 -07:00
spalger af2c09edbb [build] prevent massive warnings in build
Since npm is creating a shrinkwrap file that ignores devDeps it logs a huge number of warnings, and since these warnings are logged to stderr they are not hidden by exec.silent(). This changes the logLevel to "error" for these commands and removes the `.silent()` call so that it is clear what is happening
2015-09-01 09:06:28 -07:00
spalger 708f1f1a25 [node] downgrade to 0.12.7
While working to reintroduce shrinkwrap into our workflow it became
apparent that we needed to be using npm3 but unfortunately node-gyp
is not compatible with iojs, and the iojs distros actually contain a
patched version. This means that you can only use iojs with the npm
it ships with.

When trying to find a solution for this issue, we contemplated not
using npm3, but that would mean that we can't use npm-shrinkwrap and
decided that since we are using babel anyway that switching back to
node was the best option.

The only code that must be updated to work in the new node 0.12 env
is lodash templates that use the template string syntax inside their
source (Since 0.12 does not support template strings).
2015-08-31 21:58:46 -07:00
spalger fa35652bd8 [babel] configure babel to use native generators in node 2015-08-27 19:06:50 -07:00
Joe Fleming 3b18afee8f use exec.silent so npm errors are not swallowed 2015-08-27 09:32:51 -07:00
Joe Fleming 62df5a19c6 proper shrinkwrap in build and release
build will create it if it's missing, copy it to the build and also create a version without dev deps
release requires it and fatals if it doesn't exist

Conflicts:
	tasks/build/index.js
2015-08-26 18:41:37 -07:00
Joe Fleming 8918f26e21 clearer task naming 2015-08-26 18:41:03 -07:00
spalger 694ab70cbe Merge branch 'master' of github.com:elastic/kibana into implement/npm3 2015-08-26 17:12:19 -07:00
spalger af3387442d [build] ☝️ include webpackShims in build 2015-08-26 17:05:54 -07:00
spalger faa1011bbd upgrade to npm 3.0 2015-08-26 16:36:19 -07:00
Jim Unger 85e3579105 Merge pull request #4742 from w33ble/test-coverage
Return of the test coverage
2015-08-26 11:51:02 -05:00
Joe Fleming a395853f34 fix test server command for windows machines 2015-08-26 09:39:01 -07:00
Spencer 2f780507bf Merge pull request #4665 from spalger/chore/packageJsonUpkeep
[package.json] clear out old packages and move dev packages into place
2015-08-25 08:58:20 -07:00
Joe Fleming 2e3ba07774 generate the test coverage 2015-08-24 17:10:21 -07:00
Spencer 6525554a3d Merge pull request #4706 from spalger/implement/testingDocsAndHelpers
Testing docs and helpers
2015-08-19 13:14:24 -07:00
spalger 349ba49b95 [grunt/test] just use test:quick rather than relisting it 2015-08-19 13:13:16 -07:00
spalger 4fdb7c7853 Merge branch 'master' of github.com:elastic/kibana into chore/packageJsonUpkeep 2015-08-19 11:13:40 -07:00
spalger 1fa3210cba [build] hotfix for #4713 2015-08-18 23:39:15 -07:00
spalger a27d7ba314 [build] remove the "bin" files for deep modules 2015-08-18 23:17:53 -07:00
spalger 8b37a1fc23 [jenkins] build snapshots as the final task of core jobs 2015-08-18 19:26:15 -07:00
spalger e5390a66f0 [karma] move config into grunt task for client.mocha support 2015-08-18 15:36:00 -07:00
spalger 94b1de68a3 [grunt] broke test task into chunks, linked from package.json 2015-08-18 14:51:31 -07:00
spalger 38ff67b019 [grunt test] always start a new server for the tests, added test:dev task 2015-08-18 13:32:44 -07:00
spalger e39a47e9bf [optimize] remove optimize.tests config, rely on optimize.bundleFilter instead 2015-08-18 13:30:45 -07:00
spalger 3d2812c13d [build] ship with the 32bit version of node on windows 2015-08-17 11:50:42 -07:00
spalger 1d40ed48a3 [build] drop the .node-version file 2015-08-14 16:28:18 -07:00
spalger 219c7a3b9e [build] allow installed plugins to use live compiled es7->es5 2015-08-14 16:20:48 -07:00
spalger bc3529ec65 [build] move to absolute paths and improve fpm/pleaserun support 2015-08-14 13:27:41 -07:00
spalger e1a04f9514 remove "build" task from jenkins script 2015-08-14 11:54:08 -07:00
spalger 552b824711 [build] finish updates 2015-08-14 11:53:26 -07:00
spalger e4c4bcc513 [build] move some select node modules up in the tree to prevent paths over windows limit 2015-08-14 11:51:23 -07:00
spalger 4f8cad5a0d [webpack] switch to rjs-repack-loader for shorter id and smaller dep tree 2015-08-13 23:38:00 -07:00
spalger afb283d1b5 [build] stick with grunt:task naming convention 2015-08-13 21:25:40 -07:00
spalger ce366a06f4 [build] initial fix 2015-08-13 21:16:54 -07:00
spalger ee83c4103c [build/downloadNode] async/await 2015-08-13 15:43:58 -07:00
spalger 073b6500c6 Merge branch 'master' of github.com:elastic/kibana into chore/packageJsonUpkeep 2015-08-13 15:28:21 -07:00
Joe Fleming 2d43d1cbe9 syntax change, output staged file count 2015-08-13 13:21:04 -07:00
Joe Fleming ff9b273a2b fix eslint pattern fetch, fatal if missing 2015-08-13 13:15:04 -07:00
spalger 5fb9bbae69 [package.json] clear out old packages and move dev packages into place 2015-08-13 10:24:22 -07:00
spalger 2f416a5ad2 simplify elasticsearch proxy creation to prevent a bug that creates a .kibana type 2015-08-12 17:26:07 -07:00
spalger 7671fc689a ensure that current buildSha and buildNum are read into config 2015-08-11 15:32:13 -07:00
spalger a016f536ca use fs optimizer in test server 2015-08-11 14:22:58 -07:00
spalger 1c0720a9e5 goodbye mocha timeouts 2015-08-09 23:19:11 -07:00
spalger 41ab3824a9 improve karma support 2015-08-08 22:38:14 -07:00
spalger cd5b6656aa fixed the test bundling 2015-08-07 11:49:56 -07:00
spalger e63800ed71 wait for optimization to complete before considering the dev server ready 2015-08-03 11:37:57 -07:00
spalger e977e642d5 switch from eslint cli to gruntify-eslint 2015-08-03 09:35:31 -07:00