Skip to content

Commit ba61c0a

Browse files
committed
refactor: wip
1 parent b7109fb commit ba61c0a

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

nx.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@
126126
"executor": "nx:run-commands",
127127
"dependsOn": ["code-pushup-*"],
128128
"options": {
129-
"command": "npx @push-based/jiti-tsc packages/cli/src/index.ts",
129+
"command": "node packages/cli/src/index.ts",
130130
"args": [
131131
"--config={projectRoot}/code-pushup.config.ts",
132132
"--cache.read",
133133
"--persist.outputDir=.code-pushup/{projectName}"
134134
],
135135
"env": {
136-
"JITI_TSCONFIG_PATH": "tsconfig.base.json",
137-
"JITI_DEBUG": "0"
136+
"NODE_OPTIONS": "--import tsx",
137+
"TSX_TSCONFIG_PATH": "tsconfig.base.json"
138138
}
139139
}
140140
},

package-lock.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"@types/benchmark": "^2.1.5",
7676
"@types/debug": "^4.1.12",
7777
"@types/eslint": "^8.44.2",
78+
"@types/jsdom": "^27.0.0",
7879
"@types/node": "^22.13.4",
7980
"@types/react": "18.3.1",
8081
"@types/react-dom": "18.3.0",

packages/models/code-pushup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const config: CoreConfig = [
1515
await configureCoveragePlugin(projectName),
1616
// FIXME: Can't create TS program in getDiagnostics. Cannot find module './packages/models/transformers/dist'
1717
// configureTypescriptPlugin(projectName),
18-
configureJsDocsPlugin(projectName),
18+
await configureJsDocsPlugin(projectName),
1919
].reduce(
2020
(acc, { plugins, categories }) => ({
2121
...acc,

0 commit comments

Comments
 (0)