mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
7 lines
508 B
Bash
Executable file
7 lines
508 B
Bash
Executable file
#!/bin/bash
|
||
|
||
# Need to tun the script with ts-node/esm since dependency-cruiser is only available as an ESM module.
|
||
# We specify the correct tsconfig.json file to ensure compatibility, as our current setup doesn’t fully support ESM modules.
|
||
# Should be resolved after https://github.com/elastic/kibana/issues/198790 is done.
|
||
NODE_NO_WARNINGS=1 TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=packages/kbn-dependency-usage/tsconfig.json \
|
||
node --loader ts-node/esm packages/kbn-dependency-usage/src/cli.ts "$@"
|