Skip to content

Commit

Permalink
fix: use tsx instead of ts-node
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Jan 24, 2024
1 parent 98c9cd4 commit e3d6e20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"build": "yarn delete:generated && yarn stylelint && yarn lint && yarn build:components",
"build:components": "yarn generate && yarn typecheck && vite build && rimraf ./dist/style.css && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json'",
"build:visualize": "yarn generate && cross-env BUILD_VISUALIZER=true vite build -m production",
"generate": "yarn delete:generated && ts-node -P './scripts/tsconfig.json' './scripts/generate.ts' && yarn fix:generated",
"update-component-list": "ts-node -P './scripts/tsconfig.json' './scripts/component-list.ts' && yarn fix:generated",
"generate": "yarn delete:generated && npx --yes tsx --tsconfig './scripts/tsconfig.json' './scripts/generate.ts' && yarn fix:generated",
"update-component-list": "npx --yes tsx --tsconfig './scripts/tsconfig.json' './scripts/component-list.ts' && yarn fix:generated",
"delete:generated": "rimraf './src/components' && rimraf './dist'",
"build:sandbox": "yarn generate && yarn typecheck && cross-env USE_SANDBOX=true vite build",
"preview:sandbox": "cross-env USE_SANDBOX=true vite preview",
Expand Down Expand Up @@ -90,7 +90,6 @@
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-order": "^6.0.4",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.8",
"typescript": "^5.3.3",
"vite": "^5.0.11",
Expand Down Expand Up @@ -154,7 +153,7 @@
"node": ">=18.17.0"
},
"volta": {
"node": "18.18.2",
"node": "20.11.0",
"yarn": "1.22.21"
},
"config": {
Expand Down
4 changes: 0 additions & 4 deletions scripts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
"moduleResolution": "node",
"sourceMap": true
},
"ts-node": {
"esm": true,
"experimentalSpecifierResolution": "node"
},
"include": [
"/**/*.ts"
]
Expand Down
19 changes: 0 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7582,25 +7582,6 @@ ts-node@^10.8.1:
v8-compile-cache-lib "^3.0.1"
yn "3.1.1"

ts-node@^10.9.2:
version "10.9.2"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f"
integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==
dependencies:
"@cspotcode/source-map-support" "^0.8.0"
"@tsconfig/node10" "^1.0.7"
"@tsconfig/node12" "^1.0.7"
"@tsconfig/node14" "^1.0.0"
"@tsconfig/node16" "^1.0.2"
acorn "^8.4.1"
acorn-walk "^8.1.1"
arg "^4.1.0"
create-require "^1.1.0"
diff "^4.0.1"
make-error "^1.1.1"
v8-compile-cache-lib "^3.0.1"
yn "3.1.1"

tsc-alias@^1.8.8:
version "1.8.8"
resolved "https://registry.yarnpkg.com/tsc-alias/-/tsc-alias-1.8.8.tgz#48696af442b7656dd7905e37ae0bc332d80be3fe"
Expand Down

0 comments on commit e3d6e20

Please sign in to comment.