diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1e255c808..97ece0565 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -50,7 +50,7 @@ To run the tests of a package, it's recommended to `cd` into the package directo ### Adding New Packages -For all projects, the tsconfig/jsconfig configuration files are auto-generated. You need to add an entry to the [./workspace-packages.mjs](./workspace-packages.mjs) to let it generate a config for you. After adding an entry, run `npm run update-package-configs` to generate the files for you. +For all projects, the tsconfig/jsconfig configuration files are auto-generated. You need to add an entry to the [./workspace-packages.mjs](./workspace-packages.mjs) to let it generate a config for you. After adding an entry, run `npm run update:tsconfigs` to generate the files for you. ### Creating a Changeset diff --git a/packages/browser-logs/tsconfig.json b/packages/browser-logs/tsconfig.json index 086653675..b18369d42 100644 --- a/packages/browser-logs/tsconfig.json +++ b/packages/browser-logs/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/config-loader/tsconfig.json b/packages/config-loader/tsconfig.json index bc18563fe..27fc2e874 100644 --- a/packages/config-loader/tsconfig.json +++ b/packages/config-loader/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/dev-server-core/tsconfig.json b/packages/dev-server-core/tsconfig.json index 006d0beed..4b7a7f52c 100644 --- a/packages/dev-server-core/tsconfig.json +++ b/packages/dev-server-core/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/dev-server-esbuild/tsconfig.json b/packages/dev-server-esbuild/tsconfig.json index 328ed6eef..2fdcd256e 100644 --- a/packages/dev-server-esbuild/tsconfig.json +++ b/packages/dev-server-esbuild/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/dev-server-hmr/tsconfig.json b/packages/dev-server-hmr/tsconfig.json index cb8e4d5c8..7ecf08209 100644 --- a/packages/dev-server-hmr/tsconfig.json +++ b/packages/dev-server-hmr/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/dev-server-import-maps/tsconfig.json b/packages/dev-server-import-maps/tsconfig.json index 0c6479005..4dc58f4f2 100644 --- a/packages/dev-server-import-maps/tsconfig.json +++ b/packages/dev-server-import-maps/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/dev-server-legacy/tsconfig.json b/packages/dev-server-legacy/tsconfig.json index 873d758a4..8c75f7b5b 100644 --- a/packages/dev-server-legacy/tsconfig.json +++ b/packages/dev-server-legacy/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/dev-server-rollup/tsconfig.json b/packages/dev-server-rollup/tsconfig.json index 4d28a253c..9006f902a 100644 --- a/packages/dev-server-rollup/tsconfig.json +++ b/packages/dev-server-rollup/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/dev-server-storybook/tsconfig.json b/packages/dev-server-storybook/tsconfig.json index 5499aee60..d23e2f604 100644 --- a/packages/dev-server-storybook/tsconfig.json +++ b/packages/dev-server-storybook/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/dev-server/tsconfig.json b/packages/dev-server/tsconfig.json index 525be3017..2142d95b1 100644 --- a/packages/dev-server/tsconfig.json +++ b/packages/dev-server/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/parse5-utils/tsconfig.json b/packages/parse5-utils/tsconfig.json index bc18563fe..27fc2e874 100644 --- a/packages/parse5-utils/tsconfig.json +++ b/packages/parse5-utils/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/polyfills-loader/tsconfig.json b/packages/polyfills-loader/tsconfig.json index 006d0beed..4b7a7f52c 100644 --- a/packages/polyfills-loader/tsconfig.json +++ b/packages/polyfills-loader/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/rollup-plugin-copy/tsconfig.json b/packages/rollup-plugin-copy/tsconfig.json index bc18563fe..27fc2e874 100644 --- a/packages/rollup-plugin-copy/tsconfig.json +++ b/packages/rollup-plugin-copy/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/rollup-plugin-html/tsconfig.json b/packages/rollup-plugin-html/tsconfig.json index 006d0beed..4b7a7f52c 100644 --- a/packages/rollup-plugin-html/tsconfig.json +++ b/packages/rollup-plugin-html/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/rollup-plugin-import-meta-assets/tsconfig.json b/packages/rollup-plugin-import-meta-assets/tsconfig.json index bc18563fe..27fc2e874 100644 --- a/packages/rollup-plugin-import-meta-assets/tsconfig.json +++ b/packages/rollup-plugin-import-meta-assets/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/rollup-plugin-polyfills-loader/tsconfig.json b/packages/rollup-plugin-polyfills-loader/tsconfig.json index 60ca0f6d8..0775fcc8e 100644 --- a/packages/rollup-plugin-polyfills-loader/tsconfig.json +++ b/packages/rollup-plugin-polyfills-loader/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/rollup-plugin-workbox/tsconfig.json b/packages/rollup-plugin-workbox/tsconfig.json index d84476198..9bc06410a 100644 --- a/packages/rollup-plugin-workbox/tsconfig.json +++ b/packages/rollup-plugin-workbox/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-browserstack/tsconfig.json b/packages/test-runner-browserstack/tsconfig.json index 1baf383fd..46eb9c084 100644 --- a/packages/test-runner-browserstack/tsconfig.json +++ b/packages/test-runner-browserstack/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-chrome/tsconfig.json b/packages/test-runner-chrome/tsconfig.json index 81bcc95d2..99982d745 100644 --- a/packages/test-runner-chrome/tsconfig.json +++ b/packages/test-runner-chrome/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-commands/tsconfig.json b/packages/test-runner-commands/tsconfig.json index eae699c71..d7bae1ca2 100644 --- a/packages/test-runner-commands/tsconfig.json +++ b/packages/test-runner-commands/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-core/tsconfig.json b/packages/test-runner-core/tsconfig.json index 6eddc761f..ddc8cf4cc 100644 --- a/packages/test-runner-core/tsconfig.json +++ b/packages/test-runner-core/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-coverage-v8/tsconfig.json b/packages/test-runner-coverage-v8/tsconfig.json index 734713694..cfc2218ee 100644 --- a/packages/test-runner-coverage-v8/tsconfig.json +++ b/packages/test-runner-coverage-v8/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-junit-reporter/tsconfig.json b/packages/test-runner-junit-reporter/tsconfig.json index 1ebe3a4a7..9cd7febd8 100644 --- a/packages/test-runner-junit-reporter/tsconfig.json +++ b/packages/test-runner-junit-reporter/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-mocha/tsconfig.json b/packages/test-runner-mocha/tsconfig.json index c0b63959c..8eb7c546b 100644 --- a/packages/test-runner-mocha/tsconfig.json +++ b/packages/test-runner-mocha/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.browser-base.json", diff --git a/packages/test-runner-playwright/tsconfig.json b/packages/test-runner-playwright/tsconfig.json index 81bcc95d2..99982d745 100644 --- a/packages/test-runner-playwright/tsconfig.json +++ b/packages/test-runner-playwright/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-puppeteer/tsconfig.json b/packages/test-runner-puppeteer/tsconfig.json index 4d28a253c..9006f902a 100644 --- a/packages/test-runner-puppeteer/tsconfig.json +++ b/packages/test-runner-puppeteer/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-saucelabs/tsconfig.json b/packages/test-runner-saucelabs/tsconfig.json index fb46271e8..4c78a39c8 100644 --- a/packages/test-runner-saucelabs/tsconfig.json +++ b/packages/test-runner-saucelabs/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-selenium/tsconfig.json b/packages/test-runner-selenium/tsconfig.json index 734713694..cfc2218ee 100644 --- a/packages/test-runner-selenium/tsconfig.json +++ b/packages/test-runner-selenium/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-visual-regression/tsconfig.json b/packages/test-runner-visual-regression/tsconfig.json index 0cc03875e..8d4f397d3 100644 --- a/packages/test-runner-visual-regression/tsconfig.json +++ b/packages/test-runner-visual-regression/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner-webdriver/tsconfig.json b/packages/test-runner-webdriver/tsconfig.json index 734713694..cfc2218ee 100644 --- a/packages/test-runner-webdriver/tsconfig.json +++ b/packages/test-runner-webdriver/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/packages/test-runner/tsconfig.json b/packages/test-runner/tsconfig.json index 13bab233a..8ebd3a78b 100644 --- a/packages/test-runner/tsconfig.json +++ b/packages/test-runner/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "../../tsconfig.node-base.json", diff --git a/scripts/generate-ts-configs.mjs b/scripts/generate-ts-configs.mjs index 405449c24..eaa8ea23d 100644 --- a/scripts/generate-ts-configs.mjs +++ b/scripts/generate-ts-configs.mjs @@ -5,7 +5,7 @@ import { packages } from '../workspace-packages.mjs'; import merge from 'deepmerge'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); -const TSCONFIG_COMMENT = `// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts\n\n`; +const TSCONFIG_COMMENT = `// Don't edit this file directly. It is generated by generate-ts-configs script\n\n`; const packagesRoot = path.join(__dirname, '..', 'packages'); diff --git a/tsconfig.json b/tsconfig.json index 9f35e5f78..95211724a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,4 @@ -// Don't edit this file directly. It is generated by /scripts/update-package-configs.ts +// Don't edit this file directly. It is generated by generate-ts-configs script { "extends": "./tsconfig.node-base.json",