Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [kbn/bootstrap] validate that certain deps don't ship in production (#80549) #80710

Merged
merged 1 commit into from
Oct 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,7 @@
"@kbn/i18n": "1.0.0",
"@kbn/interpreter": "1.0.0",
"@kbn/logging": "1.0.0",
"@kbn/pm": "1.0.0",
"@kbn/std": "1.0.0",
"@kbn/telemetry-tools": "1.0.0",
"@kbn/test-subj-selector": "0.2.1",
"@kbn/ui-framework": "1.0.0",
"@kbn/ace": "1.0.0",
"@kbn/monaco": "1.0.0",
Expand Down Expand Up @@ -243,8 +240,11 @@
"@kbn/expect": "1.0.0",
"@kbn/optimizer": "1.0.0",
"@kbn/plugin-generator": "1.0.0",
"@kbn/pm": "1.0.0",
"@kbn/release-notes": "1.0.0",
"@kbn/telemetry-tools": "1.0.0",
"@kbn/test": "1.0.0",
"@kbn/test-subj-selector": "0.2.1",
"@kbn/utility-types": "1.0.0",
"@microsoft/api-documenter": "7.7.2",
"@microsoft/api-extractor": "7.7.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/elastic-eslint-config-kibana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"type": "git",
"url": "git+https://github.com/elastic/kibana.git"
},
"kibana": {
"devOnly": true
},
"keywords": [],
"author": "Spencer Alger <email@spalger.com>",
"license": "Apache-2.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/kbn-babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"private": true,
"license": "Apache-2.0",
"kibana": {
"devOnly": true
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-export-namespace-from": "^7.10.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/kbn-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@
"dependencies": {
"@elastic/safer-lodash-set": "0.0.0",
"@kbn/config-schema": "1.0.0",
"@kbn/dev-utils": "1.0.0",
"@kbn/logging": "1.0.0",
"@kbn/std": "1.0.0",
"@kbn/utility-types": "1.0.0",
"js-yaml": "^3.14.0",
"load-json-file": "^6.2.0",
"lodash": "^4.17.20",
Expand All @@ -24,6 +22,8 @@
"type-detect": "^4.0.8"
},
"devDependencies": {
"@kbn/dev-utils": "1.0.0",
"@kbn/utility-types": "1.0.0",
"typescript": "4.0.2",
"tsd": "^0.13.1"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/kbn-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"kbn:bootstrap": "yarn build",
"kbn:watch": "yarn build --watch"
},
"kibana": {
"devOnly": true
},
"dependencies": {
"@babel/core": "^7.11.6",
"@kbn/utils": "1.0.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/kbn-es-archiver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"license": "Apache-2.0",
"main": "target/index.js",
"kibana": {
"devOnly": true
},
"scripts": {
"kbn:bootstrap": "rm -rf target && tsc",
"kbn:watch": "rm -rf target && tsc --watch"
Expand Down
3 changes: 3 additions & 0 deletions packages/kbn-es/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"version": "1.0.0",
"license": "Apache-2.0",
"private": true,
"kibana": {
"devOnly": true
},
"scripts": {
"kbn:bootstrap": "node scripts/build",
"kbn:watch": "node scripts/build --watch"
Expand Down
3 changes: 3 additions & 0 deletions packages/kbn-eslint-import-resolver-kibana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"version": "2.0.0",
"main": "import_resolver_kibana.js",
"license": "Apache-2.0",
"kibana": {
"devOnly": true
},
"repository": {
"type": "git",
"url": "https://github.com/elastic/kibana/tree/master/packages/kbn-eslint-import-resolver-kibana"
Expand Down
3 changes: 3 additions & 0 deletions packages/kbn-eslint-plugin-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"private": true,
"license": "Apache-2.0",
"kibana": {
"devOnly": true
},
"peerDependencies": {
"eslint": "6.8.0",
"babel-eslint": "^10.0.3"
Expand Down
5 changes: 4 additions & 1 deletion packages/kbn-expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"main": "./expect.js",
"version": "1.0.0",
"license": "MIT",
"private": true
"private": true,
"kibana": {
"devOnly": true
}
}
Loading