Skip to content

Commit

Permalink
chore: simplify ts-node calls (#22401)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed May 24, 2023
1 parent 6780200 commit 2958a44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -12,9 +12,9 @@
"clean": "rimraf dist tmp",
"clean-cache": "node tools/clean-cache.mjs",
"compile:ts": "tsc -p tsconfig.app.json",
"config-validator": "node -r ts-node/register/transpile-only -- lib/config-validator.ts",
"create-json-schema": "node -r ts-node/register/transpile-only -- tools/generate-schema.ts && prettier --write --cache \"renovate-schema.json\"",
"debug": "node --inspect-brk -r ts-node/register/transpile-only -- lib/renovate.ts",
"config-validator": "ts-node lib/config-validator.ts",
"create-json-schema": "ts-node tools/generate-schema.ts && prettier --write --cache \"renovate-schema.json\"",
"debug": "cross-env NODE_OPTIONS=--inspect-brk ts-node lib/renovate.ts",
"doc-fix": "run-s markdown-lint-fix prettier-fix",
"doc-fence-check": "node tools/check-fenced-code.mjs",
"eslint": "eslint . --cache --report-unused-disable-directives",
Expand All @@ -40,9 +40,9 @@
"pretest": "run-s generate:* ",
"prettier": "prettier --cache --check \"**/*.{ts,js,mjs,json,md,yml}\"",
"prettier-fix": "prettier --write --cache \"**/*.{ts,js,mjs,json,md,yml}\"",
"release:prepare": "node -r ts-node/register/transpile-only -- tools/generate-docs.ts",
"release:prepare": "ts-node tools/generate-docs.ts",
"release:publish": "node tools/release.mjs",
"start": "node -r ts-node/register/transpile-only -- lib/renovate.ts",
"start": "ts-node lib/renovate.ts",
"test": "run-s lint test-schema jest",
"test-dirty": "git diff --exit-code",
"test-e2e": "yarn pack && cd test/e2e && yarn install --no-lockfile --ignore-optional --prod && yarn test",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Expand Up @@ -32,5 +32,6 @@
"coverage",
"config.js",
"tmp"
]
],
"ts-node": { "transpileOnly": true, "esm": true }
}

0 comments on commit 2958a44

Please sign in to comment.