mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[kbn/generate] fix type deps and --web help (#127354)
This commit is contained in:
parent
cdeea9f0e0
commit
1b30d982a0
3 changed files with 5 additions and 3 deletions
1
.github/CODEOWNERS
vendored
1
.github/CODEOWNERS
vendored
|
@ -225,6 +225,7 @@
|
|||
/packages/kbn-es-archiver/ @elastic/kibana-operations
|
||||
/packages/kbn-utils/ @elastic/kibana-operations
|
||||
/packages/kbn-cli-dev-mode/ @elastic/kibana-operations
|
||||
/packages/kbn-generate/ @elastic/kibana-operations
|
||||
/src/cli/keystore/ @elastic/kibana-operations
|
||||
/.ci/es-snapshots/ @elastic/kibana-operations
|
||||
/.github/workflows/ @elastic/kibana-operations
|
||||
|
|
|
@ -58,7 +58,8 @@ export function runGenerateCli() {
|
|||
string: ['dir'],
|
||||
help: `
|
||||
--dev Generate a package which is intended for dev-only use and can access things like devDependencies
|
||||
--web Build webpack-compatible version of sources for this package
|
||||
--web Build webpack-compatible version of sources for this package. If your package is intended to be
|
||||
used in the browser and Node.js then you need to opt-into these sources being created.
|
||||
--dir Directory where this package will live, defaults to [./packages]
|
||||
--force If the packageDir already exists, delete it before generation
|
||||
`,
|
||||
|
|
|
@ -48,8 +48,8 @@ RUNTIME_DEPS = [
|
|||
#
|
||||
# References to NPM packages work the same as RUNTIME_DEPS
|
||||
TYPES_DEPS = [
|
||||
"//@npm//@types/node",
|
||||
"//@npm//@types/jest",
|
||||
"@npm//@types/node",
|
||||
"@npm//@types/jest",
|
||||
]
|
||||
|
||||
jsts_transpiler(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue