From cb17c55e2ce2d8f0026c48c51c7a08f9528130f5 Mon Sep 17 00:00:00 2001 From: Brad White Date: Wed, 18 Dec 2024 12:38:30 -0700 Subject: [PATCH] Remove references to old type check script (#202825) ## Summary Remove references to `scripts/build_ts_refs` which doesn't exist anymore Co-authored-by: Alex Szabo --- dev_docs/getting_started/troubleshooting.mdx | 2 +- packages/kbn-ts-type-check-cli/root_refs_config.ts | 2 +- x-pack/plugins/rule_registry/docs/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev_docs/getting_started/troubleshooting.mdx b/dev_docs/getting_started/troubleshooting.mdx index cb0e1bad1bef5..fb283b92a5e75 100644 --- a/dev_docs/getting_started/troubleshooting.mdx +++ b/dev_docs/getting_started/troubleshooting.mdx @@ -14,7 +14,7 @@ When switching branches, sometimes the TypeScript cache can get mixed up and sho 1. Build TypeScript references with the clean command. ``` -node scripts/build_ts_refs --clean +node scripts/type_check.js --clean-cache ``` 2. Restore your repository to a totally fresh state by running `git clean` diff --git a/packages/kbn-ts-type-check-cli/root_refs_config.ts b/packages/kbn-ts-type-check-cli/root_refs_config.ts index d73634ce8dbc3..c2d02a54ff2d3 100644 --- a/packages/kbn-ts-type-check-cli/root_refs_config.ts +++ b/packages/kbn-ts-type-check-cli/root_refs_config.ts @@ -35,7 +35,7 @@ async function isRootRefsConfigSelfManaged() { function generateTsConfig(refs: string[]) { return dedent` - // This file is automatically updated when you run \`node scripts/build_ts_refs\`. + // This file is automatically updated when you run \`node scripts/type_check\`. { "include": [], "references": [ diff --git a/x-pack/plugins/rule_registry/docs/README.md b/x-pack/plugins/rule_registry/docs/README.md index 0eb2463005193..74823de8a2b47 100644 --- a/x-pack/plugins/rule_registry/docs/README.md +++ b/x-pack/plugins/rule_registry/docs/README.md @@ -40,5 +40,5 @@ If you run into tsc errors that seem unrelated to the cases plugin try executing ```bash cd npx yarn kbn bootstrap -node scripts/build_ts_refs.js --clean --no-cache +node scripts/type_check.js --clean-cache ```