Skip to content

Commit

Permalink
move modules-by-versions check to tests/compat-data/ and run on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Nov 7, 2022
1 parent 5ab0557 commit f7f5189
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -23,10 +23,9 @@
"check-compat-tests": "zx scripts/check-compat-tests.mjs",
"check-dependencies": "npm run zxi scripts/check-dependencies/check-dependencies.mjs",
"check-mapping": "zx scripts/check-compat-data-mapping.mjs",
"check-modules-by-versions": "zx scripts/check-compat-data-modules-by-versions.mjs",
"check-unused-modules": "zx scripts/check-unused-modules.mjs",
"check-v8-protectors": "node --trace-protector-invalidation packages/core-js",
"check": "run-s check-v8-protectors check-unused-modules check-compat-tests check-modules-by-versions check-mapping check-dependencies",
"check": "run-s check-v8-protectors check-unused-modules check-compat-tests check-mapping check-dependencies",
"compat-bun": "bun tests/compat/bun-runner.js",
"compat-deno": "deno run --allow-read tests/compat/deno-runner.mjs",
"compat-hermes": "zx tests/compat/hermes-adapter.mjs",
Expand All @@ -41,11 +40,12 @@
"test-observables": "npm run zxi cd tests/observables/runner.mjs",
"test-entries": "zx tests/entries/index.mjs",
"test-builder": "zx tests/builder/builder.mjs",
"test-compat-data": "zx tests/compat-data/index.mjs",
"test-compat-tools": "zx tests/compat-tools/index.mjs",
"test262": "npm run zxi tests/test262/runner.mjs",
"test": "run-s init test-lint bundle test-unit test-promises test-observables test-entries test-compat-tools test-builder check",
"test": "run-s init test-lint bundle test-unit test-promises test-observables test-entries test-compat-data test-compat-tools test-builder check",
"ci-karma": "run-s init bundle test-unit-karma",
"ci-tests": "run-s init bundle test-unit-node test-entries test-compat-tools test-builder",
"ci-tests": "run-s init bundle test-unit-node test-entries test-compat-data test-compat-tools test-builder",
"ci-promises-and-observables": "run-s init test-promises test-observables",
"clean-dependencies": "node scripts/clean-dependencies.mjs",
"refresh": "npm run clean-dependencies && npm it",
Expand Down
1 change: 1 addition & 0 deletions tests/compat-data/index.mjs
@@ -0,0 +1 @@
import './modules-by-versions.mjs';
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/eslint/eslint.config.js
Expand Up @@ -1276,7 +1276,7 @@ module.exports = [
'packages/core-js-compat/src/**',
'scripts/**',
'tests/compat/*.mjs',
'tests/@(compat-tools|eslint|entries|observables|promises-aplus|unit-@(karma|node))/**',
'tests/@(compat-@(data|tools)|eslint|entries|observables|promises-aplus|unit-@(karma|node))/**',
],
rules: nodeDev,
},
Expand Down

0 comments on commit f7f5189

Please sign in to comment.