Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: simplify ts-node calls #22401

Merged
merged 1 commit into from May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 }
}