Skip to content

Commit

Permalink
Merge pull request #293 from honai/tsm-tsx
Browse files Browse the repository at this point in the history
Fix cannot build with tsm (migrate to tsx)
  • Loading branch information
honai authored Jan 25, 2024
2 parents a795bf3 + c709304 commit ee16c81
Show file tree
Hide file tree
Showing 9 changed files with 235 additions and 883 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .node-version

- run: corepack enable

Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
16 changes: 0 additions & 16 deletions .tsm.js

This file was deleted.

32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"author": "Honai Ueoka",
"private": true,
"type": "module",
"packageManager": "pnpm@8.6.8",
"packageManager": "pnpm@8.14.3+sha256.2d0363bb6c314daa67087ef07743eea1ba2e2d360c835e8fec6b5575e4ed9484",
"engines": {
"node": ">=18 <21"
"node": ">=20 <21"
},
"scripts": {
"build": "tsm build.ts --tsmconfig .tsm.js",
"build": "tsx build.ts",
"tscheck": "tsc --noEmit",
"clean": "rimraf public",
"start": "serve public"
Expand All @@ -20,28 +20,28 @@
"@11ty/eleventy-fetch": "^4.0.0",
"@iktakahiro/markdown-it-katex": "^4.0.1",
"@stitches/core": "^1.2.8",
"cloudinary": "^1.36.2",
"esbuild": "^0.18.0",
"cloudinary": "^1.41.3",
"esbuild": "^0.19.12",
"feed": "^4.2.2",
"gray-matter": "^4.0.3",
"highlight.js": "^11.7.0",
"highlight.js": "^11.9.0",
"js-yaml": "^4.1.0",
"lit-html": "^3.0.0",
"markdown-it": "^13.0.1",
"lit-html": "^3.1.1",
"markdown-it": "^13.0.2",
"markdown-it-anchor": "^8.6.7",
"markdown-it-footnote": "^3.0.3",
"markdown-it-link-attributes": "^4.0.1",
"preact": "^10.13.2",
"preact-render-to-string": "^6.0.2",
"tsm": "^2.3.0"
"preact": "^10.19.3",
"preact-render-to-string": "^6.3.1",
"tsx": "^4.7.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.5",
"@types/markdown-it": "^13.0.0",
"@types/markdown-it-link-attributes": "^3.0.1",
"@types/node": "^20.0.0",
"rimraf": "^5.0.0",
"serve": "^14.2.0",
"@types/js-yaml": "^4.0.9",
"@types/markdown-it": "^13.0.7",
"@types/markdown-it-link-attributes": "^3.0.4",
"rimraf": "^5.0.5",
"serve": "^14.2.1",
"typescript": "^4.9.5"
}
}
Loading

0 comments on commit ee16c81

Please sign in to comment.