chore: simplify ts-node calls (#22401)

This commit is contained in:
Michael Kriese 2023-05-24 11:31:48 +02:00 committed by GitHub
parent 6780200ffd
commit 2958a44242
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View file

@ -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",
@ -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",

View file

@ -32,5 +32,6 @@
"coverage",
"config.js",
"tmp"
]
],
"ts-node": { "transpileOnly": true, "esm": true }
}