Skip to content

Commit 5d6331e

Browse files
committed
feat: Integrate Typia and related configurations
This commit includes the following changes: - Typia added to devDependencies in package.json - New npm script 'prepare' added for Typia patching - New registry '@jsr:registry' added in .npmrc for jsr - UnpluginTypia included in vite.config.ts plugins
1 parent d0b6fe4 commit 5d6331e

File tree

4 files changed

+1132
-11
lines changed

4 files changed

+1132
-11
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
engine-strict=true
2+
@jsr:registry=https://npm.jsr.io

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"check:adapters": "node types-exist.js",
5454
"test": "vitest run",
5555
"lint": "prettier --check . && eslint .",
56-
"format": "prettier --write ."
56+
"format": "prettier --write .",
57+
"prepare": "ts-patch install && typia patch"
5758
},
5859
"exports": {
5960
".": {
@@ -165,6 +166,7 @@
165166
"ts-deepmerge": "^7.0.0"
166167
},
167168
"devDependencies": {
169+
"@ryoppippi/unplugin-typia": "npm:@jsr/ryoppippi__unplugin-typia@^0.2.2",
168170
"@sveltejs/adapter-auto": "^3.2.1",
169171
"@sveltejs/kit": "^2.5.10",
170172
"@sveltejs/package": "^2.3.1",
@@ -190,8 +192,11 @@
190192
"sveltekit-flash-message": "^2.4.4",
191193
"sveltekit-rate-limiter": "^0.5.1",
192194
"throttle-debounce": "^5.0.0",
195+
"ts-node": "^10.9.2",
196+
"ts-patch": "^3.2.0",
193197
"tslib": "^2.6.2",
194198
"typescript": "^5.4.5",
199+
"typia": "^6.0.6",
195200
"uuid": "^9.0.1",
196201
"vite": "^5.2.11",
197202
"vitest": "^1.6.0"

0 commit comments

Comments
 (0)