Skip to content

Commit

Permalink
don't expose copy-compat-table to npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Nov 7, 2022
1 parent 4799ce8 commit 5ab0557
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"compat-hermes": "zx tests/compat/hermes-adapter.mjs",
"compat-node": "node tests/compat/node-runner",
"compat-rhino": "zx tests/compat/rhino-adapter.mjs --version=1.7.14",
"copy-compat-table": "zx scripts/copy-compat-table.mjs",
"lint": "run-s init test-lint",
"test-lint": "npm run zxi tests/eslint/runner.mjs",
"test-unit": "run-s test-unit-karma test-unit-node",
Expand Down
4 changes: 3 additions & 1 deletion scripts/update-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,6 @@ else if (CURRENT_YEAR === OLD_YEAR) echo(red('bump is not required'));
process.env.FORCE_COLOR = '1';

await $`npm run bundle-package deno`;
await $`run-s build-compat copy-compat-table`;
await $`npm run build-compat`;

import './copy-compat-table.mjs';
2 changes: 2 additions & 0 deletions tests/eslint/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,8 @@ module.exports = [
rules: {
// allow use of console
'no-console': OFF,
// import used for tasks
'import/first': OFF,
},
},
{
Expand Down

0 comments on commit 5ab0557

Please sign in to comment.