Skip to content

Commit

Permalink
fix: replace ts-node with tsx for scripts
Browse files Browse the repository at this point in the history
ts-node is quite frustrating to use, but tsx seems to just work
  • Loading branch information
ojeytonwilliams committed Apr 8, 2024
1 parent 73a616e commit a2aa67c
Show file tree
Hide file tree
Showing 2 changed files with 325 additions and 118 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"storybook": "storybook dev -p 6006 --no-open",
"storybook:theming": "pnpm run storybook --no-manager-cache",
"clean": "rm -rf dist/*",
"gen-component": "ts-node ./utils/gen-component-script",
"gen-component": "tsx ./utils/gen-component-script",
"test": "jest"
},
"dependencies": {
Expand All @@ -58,6 +58,7 @@
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "19.0.2",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "8.5.0",
"@storybook/addon-a11y": "^8.0.5",
"@storybook/addon-actions": "^8.0.5",
Expand Down Expand Up @@ -91,12 +92,11 @@
"prettier": "3.2.5",
"rollup": "2.79.1",
"rollup-plugin-postcss": "4.0.2",
"@rollup/plugin-terser": "0.4.4",
"storybook": "^8.0.5",
"style-loader": "3.3.3",
"tailwindcss": "3.4.1",
"ts-node": "^10.9.2",
"tslib": "2.6.2",
"tsx": "^4.7.2",
"typescript": "^5.4.3"
},
"keywords": [
Expand Down
Loading

0 comments on commit a2aa67c

Please sign in to comment.