Commit c01bd4c
committed
chore: add explicit "type": "commonjs" to all CJS packages
Node 22 enables --experimental-detect-module by default, which
reparses .ts test files as ESM when they contain import syntax.
This conflicts with mocha/ts-node's CommonJS require-based loading.
Adding explicit "type": "commonjs" removes the ambiguity and fixes
Node 22+ CI failures.
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ff93447 commit c01bd4c
32 files changed
Lines changed: 32 additions & 0 deletions
File tree
- packages
- browser-logs
- dev-server-core
- dev-server-esbuild
- dev-server-hmr
- dev-server-import-maps
- dev-server-legacy
- dev-server-rollup
- dev-server
- parse5-utils
- polyfills-loader
- rollup-plugin-copy
- rollup-plugin-html
- rollup-plugin-import-meta-assets
- rollup-plugin-polyfills-loader
- rollup-plugin-workbox
- storybook-builder
- storybook-framework-web-components
- test-runner-browserstack
- test-runner-chrome
- test-runner-cli
- test-runner-commands
- test-runner-core
- test-runner-coverage-v8
- test-runner-junit-reporter
- test-runner-mocha
- test-runner-playwright
- test-runner-puppeteer
- test-runner-saucelabs
- test-runner-selenium
- test-runner-visual-regression
- test-runner-webdriver
- test-runner
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments