Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/legal-women-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-rspeedy": patch
---

Enable TypeScript check in templates.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,11 @@ jobs:
npx --registry http://localhost:4873 create-rspeedy-canary@latest --template react --dir create-rspeedy-regression
cd create-rspeedy-regression
pnpm install --registry=http://localhost:4873
pnpm tsc --noEmit
pnpm run build
pnpm tsc --noEmit
npx --registry http://localhost:4873 create-rspeedy-canary@latest --template react-vitest-rltl --dir create-rspeedy-regression-vitest-rltl
cd create-rspeedy-regression-vitest-rltl
pnpm install --registry=http://localhost:4873
pnpm tsc --noEmit
pnpm run build
pnpm tsc --noEmit
pnpm run test
test-react:
needs: build
Expand Down
3 changes: 2 additions & 1 deletion packages/rspeedy/create-rspeedy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"@lynx-js/qrcode-rsbuild-plugin": "workspace:^",
"@lynx-js/react": "workspace:^",
"@lynx-js/react-rsbuild-plugin": "workspace:^",
"@lynx-js/rspeedy": "workspace:^"
"@lynx-js/rspeedy": "workspace:^",
"@rsbuild/plugin-type-check": "1.2.3"
},
"engines": {
"node": ">=18"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineConfig } from '@lynx-js/rspeedy'

import { pluginQRCode } from '@lynx-js/qrcode-rsbuild-plugin'
import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin'
import { pluginTypeCheck } from '@rsbuild/plugin-type-check'

export default defineConfig({
plugins: [
Expand All @@ -12,5 +13,6 @@ export default defineConfig({
},
}),
pluginReactLynx(),
pluginTypeCheck(),
],
})
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@lynx-js/react-rsbuild-plugin": "workspace:*",
"@lynx-js/rspeedy": "workspace:*",
"@lynx-js/types": "3.3.0",
"@rsbuild/plugin-type-check": "1.2.3",
"@types/react": "^18.3.23",
"typescript": "~5.8.3"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineConfig } from '@lynx-js/rspeedy'

import { pluginQRCode } from '@lynx-js/qrcode-rsbuild-plugin'
import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin'
import { pluginTypeCheck } from '@rsbuild/plugin-type-check'

export default defineConfig({
plugins: [
Expand All @@ -12,5 +13,6 @@ export default defineConfig({
},
}),
pluginReactLynx(),
pluginTypeCheck(),
],
})
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@lynx-js/react-rsbuild-plugin": "workspace:*",
"@lynx-js/rspeedy": "workspace:*",
"@lynx-js/types": "3.3.0",
"@rsbuild/plugin-type-check": "1.2.3",
"@testing-library/jest-dom": "^6.6.3",
"@types/react": "^18.3.23",
"jsdom": "^26.1.0",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading