Skip to content

Commit

Permalink
Use new platform CLI as the main entry point.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Aug 24, 2018
1 parent ab19b31 commit c28ac07
Show file tree
Hide file tree
Showing 48 changed files with 765 additions and 664 deletions.
2 changes: 1 addition & 1 deletion bin/kibana
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ if [ ! -x "$NODE" ]; then
exit 1
fi

NODE_ENV=production exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/cli" ${@}
NODE_ENV=production exec "${NODE}" $NODE_OPTIONS --no-warnings "${DIR}/src/core/cli" ${@}
2 changes: 1 addition & 1 deletion bin/kibana.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If Not Exist "%NODE%" (
Exit /B 1
)

"%NODE%" %NODE_OPTIONS% --no-warnings "%DIR%\src\cli" %*
"%NODE%" %NODE_OPTIONS% --no-warnings "%DIR%\src\core\cli" %*

:finally

Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
"whatwg-fetch": "^2.0.3",
"wreck": "12.4.0",
"x-pack": "link:x-pack",
"yargs": "^12.0.1",
"yauzl": "2.7.0"
},
"devDependencies": {
Expand All @@ -222,6 +223,7 @@
"@types/fetch-mock": "^5.12.2",
"@types/getopts": "^2.0.0",
"@types/glob": "^5.0.35",
"@types/hapi": "^13.0.38",
"@types/hapi-latest": "npm:@types/hapi@17.0.12",
"@types/has-ansi": "^3.0.0",
"@types/jest": "^22.2.3",
Expand All @@ -242,6 +244,7 @@
"@types/strip-ansi": "^3.0.0",
"@types/supertest": "^2.0.4",
"@types/type-detect": "^4.0.1",
"@types/yargs": "^11.1.0",
"angular-mocks": "1.4.7",
"babel-eslint": "8.1.2",
"babel-jest": "^22.4.3",
Expand Down Expand Up @@ -336,5 +339,8 @@
"engines": {
"node": "8.11.4",
"yarn": "^1.6.0"
},
"yargs": {
"dot-notation": false
}
}
2 changes: 1 addition & 1 deletion scripts/kibana.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
*/

require('../src/setup_node_env');
require('../src/cli/cli');
require('../src/core/cli');
64 changes: 0 additions & 64 deletions src/cli/cli.js

This file was deleted.

13 changes: 0 additions & 13 deletions src/cli/serve/integration_tests/__fixtures__/invalid_config.yml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

49 changes: 0 additions & 49 deletions src/cli/serve/integration_tests/invalid_config.test.js

This file was deleted.

Loading

0 comments on commit c28ac07

Please sign in to comment.