Skip to content

Commit 7886cad

Browse files
committed
refactor(node): build intent commands at runtime
1 parent 44e10b4 commit 7886cad

7 files changed

Lines changed: 120 additions & 2518 deletions

File tree

packages/node/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@
8282
"src": "./src"
8383
},
8484
"scripts": {
85-
"sync:intents": "node scripts/generate-intent-commands.ts",
86-
"check": "yarn sync:intents && yarn lint:ts && yarn fix && yarn test:unit",
85+
"check": "yarn lint:ts && yarn fix && yarn test:unit",
8786
"fix:js": "biome check --write .",
8887
"lint:ts": "yarn --cwd ../.. tsc:node",
8988
"fix:js:unsafe": "biome check --write . --unsafe",
@@ -92,7 +91,7 @@
9291
"fix": "yarn fix:js",
9392
"lint:deps": "knip --dependencies --no-progress",
9493
"fix:deps": "knip --dependencies --no-progress --fix",
95-
"prepack": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && rm -f tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo && yarn sync:intents && yarn --cwd ../.. tsc:node",
94+
"prepack": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && rm -f tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo && yarn --cwd ../.. tsc:node",
9695
"test:unit": "yarn --cwd ../.. tsc:utils && ../../node_modules/.bin/vitest run --coverage ./test/unit",
9796
"test:e2e": "yarn --cwd ../.. tsc:utils && ../../node_modules/.bin/vitest run ./test/e2e",
9897
"test": "yarn --cwd ../.. tsc:utils && ../../node_modules/.bin/vitest run --coverage"

packages/node/scripts/generate-intent-commands.ts

Lines changed: 0 additions & 241 deletions
This file was deleted.

0 commit comments

Comments
 (0)