Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Thomas G. Lopes
commited on
Commit
·
17c3edf
1
Parent(s):
5853d12
format
Browse files- package.json +1 -0
- pnpm-lock.yaml +16 -6
- src/lib/utils/json.ts +1 -1
- tsconfig.json +24 -26
package.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
| 14 |
},
|
| 15 |
"devDependencies": {
|
| 16 |
"@ryoppippi/unplugin-typia": "^1.0.0",
|
|
|
|
| 17 |
"@sveltejs/adapter-auto": "^3.2.2",
|
| 18 |
"@sveltejs/adapter-node": "^5.2.0",
|
| 19 |
"@sveltejs/kit": "^2.0.0",
|
|
|
|
| 14 |
},
|
| 15 |
"devDependencies": {
|
| 16 |
"@ryoppippi/unplugin-typia": "^1.0.0",
|
| 17 |
+
"@samchon/openapi": "^3.0.0",
|
| 18 |
"@sveltejs/adapter-auto": "^3.2.2",
|
| 19 |
"@sveltejs/adapter-node": "^5.2.0",
|
| 20 |
"@sveltejs/kit": "^2.0.0",
|
pnpm-lock.yaml
CHANGED
|
@@ -25,11 +25,14 @@ importers:
|
|
| 25 |
version: 0.1.1(tailwindcss@4.0.9)
|
| 26 |
typia:
|
| 27 |
specifier: ^8.0.0
|
| 28 |
-
version: 8.0.0(typescript@5.8.2)
|
| 29 |
devDependencies:
|
| 30 |
'@ryoppippi/unplugin-typia':
|
| 31 |
specifier: ^1.0.0
|
| 32 |
-
version: 1.2.0(jiti@2.4.2)(lightningcss@1.29.1)(rollup@4.34.9)(yaml@2.7.0)
|
|
|
|
|
|
|
|
|
|
| 33 |
'@sveltejs/adapter-auto':
|
| 34 |
specifier: ^3.2.2
|
| 35 |
version: 3.3.1(@sveltejs/kit@2.18.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))
|
|
@@ -630,6 +633,9 @@ packages:
|
|
| 630 |
'@ryoppippi/unplugin-typia@1.2.0':
|
| 631 |
resolution: {integrity: sha512-TlrqL2WQie2HvSqJpmKPXrFsNPbMwU5Jw2Asx+E3E3Fuyya5mN1lqaeILwSZLmkCOMTQLazIrTWNOGs0V6XL6A==}
|
| 632 |
|
|
|
|
|
|
|
|
|
|
| 633 |
'@sveltejs/adapter-auto@3.3.1':
|
| 634 |
resolution: {integrity: sha512-5Sc7WAxYdL6q9j/+D0jJKjGREGlfIevDyHSQ2eNETHcB1TKlQWHcAo8AS8H1QdjNvSXpvOwNjykDUHPEAyGgdQ==}
|
| 635 |
peerDependencies:
|
|
@@ -2534,7 +2540,7 @@ snapshots:
|
|
| 2534 |
'@rollup/rollup-win32-x64-msvc@4.34.9':
|
| 2535 |
optional: true
|
| 2536 |
|
| 2537 |
-
'@ryoppippi/unplugin-typia@1.2.0(jiti@2.4.2)(lightningcss@1.29.1)(rollup@4.34.9)(yaml@2.7.0)':
|
| 2538 |
dependencies:
|
| 2539 |
'@rollup/pluginutils': 5.1.4(rollup@4.34.9)
|
| 2540 |
consola: 3.4.0
|
|
@@ -2546,7 +2552,7 @@ snapshots:
|
|
| 2546 |
pkg-types: 1.3.1
|
| 2547 |
type-fest: 4.37.0
|
| 2548 |
typescript: 5.6.3
|
| 2549 |
-
typia: 7.6.4(typescript@5.6.3)
|
| 2550 |
unplugin: 1.16.1
|
| 2551 |
vite: 6.2.1(jiti@2.4.2)(lightningcss@1.29.1)(yaml@2.7.0)
|
| 2552 |
transitivePeerDependencies:
|
|
@@ -2564,6 +2570,8 @@ snapshots:
|
|
| 2564 |
- tsx
|
| 2565 |
- yaml
|
| 2566 |
|
|
|
|
|
|
|
| 2567 |
'@sveltejs/adapter-auto@3.3.1(@sveltejs/kit@2.18.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))':
|
| 2568 |
dependencies:
|
| 2569 |
'@sveltejs/kit': 2.18.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1))
|
|
@@ -3914,8 +3922,9 @@ snapshots:
|
|
| 3914 |
|
| 3915 |
typescript@5.8.2: {}
|
| 3916 |
|
| 3917 |
-
typia@7.6.4(typescript@5.6.3):
|
| 3918 |
dependencies:
|
|
|
|
| 3919 |
commander: 10.0.1
|
| 3920 |
comment-json: 4.2.5
|
| 3921 |
inquirer: 8.2.6
|
|
@@ -3923,8 +3932,9 @@ snapshots:
|
|
| 3923 |
randexp: 0.5.3
|
| 3924 |
typescript: 5.6.3
|
| 3925 |
|
| 3926 |
-
typia@8.0.0(typescript@5.8.2):
|
| 3927 |
dependencies:
|
|
|
|
| 3928 |
commander: 10.0.1
|
| 3929 |
comment-json: 4.2.5
|
| 3930 |
inquirer: 8.2.6
|
|
|
|
| 25 |
version: 0.1.1(tailwindcss@4.0.9)
|
| 26 |
typia:
|
| 27 |
specifier: ^8.0.0
|
| 28 |
+
version: 8.0.0(@samchon/openapi@3.0.0)(typescript@5.8.2)
|
| 29 |
devDependencies:
|
| 30 |
'@ryoppippi/unplugin-typia':
|
| 31 |
specifier: ^1.0.0
|
| 32 |
+
version: 1.2.0(@samchon/openapi@3.0.0)(jiti@2.4.2)(lightningcss@1.29.1)(rollup@4.34.9)(yaml@2.7.0)
|
| 33 |
+
'@samchon/openapi':
|
| 34 |
+
specifier: ^3.0.0
|
| 35 |
+
version: 3.0.0
|
| 36 |
'@sveltejs/adapter-auto':
|
| 37 |
specifier: ^3.2.2
|
| 38 |
version: 3.3.1(@sveltejs/kit@2.18.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))
|
|
|
|
| 633 |
'@ryoppippi/unplugin-typia@1.2.0':
|
| 634 |
resolution: {integrity: sha512-TlrqL2WQie2HvSqJpmKPXrFsNPbMwU5Jw2Asx+E3E3Fuyya5mN1lqaeILwSZLmkCOMTQLazIrTWNOGs0V6XL6A==}
|
| 635 |
|
| 636 |
+
'@samchon/openapi@3.0.0':
|
| 637 |
+
resolution: {integrity: sha512-eVQlyKRYv1/C2Mikc1xZr7c0jMjg1vjPkeY/gheKB4c5WOOWyTNZ1uvnXR+ETpPHwaQ54I9NrQZhoNk6BEGuuw==}
|
| 638 |
+
|
| 639 |
'@sveltejs/adapter-auto@3.3.1':
|
| 640 |
resolution: {integrity: sha512-5Sc7WAxYdL6q9j/+D0jJKjGREGlfIevDyHSQ2eNETHcB1TKlQWHcAo8AS8H1QdjNvSXpvOwNjykDUHPEAyGgdQ==}
|
| 641 |
peerDependencies:
|
|
|
|
| 2540 |
'@rollup/rollup-win32-x64-msvc@4.34.9':
|
| 2541 |
optional: true
|
| 2542 |
|
| 2543 |
+
'@ryoppippi/unplugin-typia@1.2.0(@samchon/openapi@3.0.0)(jiti@2.4.2)(lightningcss@1.29.1)(rollup@4.34.9)(yaml@2.7.0)':
|
| 2544 |
dependencies:
|
| 2545 |
'@rollup/pluginutils': 5.1.4(rollup@4.34.9)
|
| 2546 |
consola: 3.4.0
|
|
|
|
| 2552 |
pkg-types: 1.3.1
|
| 2553 |
type-fest: 4.37.0
|
| 2554 |
typescript: 5.6.3
|
| 2555 |
+
typia: 7.6.4(@samchon/openapi@3.0.0)(typescript@5.6.3)
|
| 2556 |
unplugin: 1.16.1
|
| 2557 |
vite: 6.2.1(jiti@2.4.2)(lightningcss@1.29.1)(yaml@2.7.0)
|
| 2558 |
transitivePeerDependencies:
|
|
|
|
| 2570 |
- tsx
|
| 2571 |
- yaml
|
| 2572 |
|
| 2573 |
+
'@samchon/openapi@3.0.0': {}
|
| 2574 |
+
|
| 2575 |
'@sveltejs/adapter-auto@3.3.1(@sveltejs/kit@2.18.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))':
|
| 2576 |
dependencies:
|
| 2577 |
'@sveltejs/kit': 2.18.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1)))(svelte@4.2.19)(vite@5.4.14(lightningcss@1.29.1))
|
|
|
|
| 3922 |
|
| 3923 |
typescript@5.8.2: {}
|
| 3924 |
|
| 3925 |
+
typia@7.6.4(@samchon/openapi@3.0.0)(typescript@5.6.3):
|
| 3926 |
dependencies:
|
| 3927 |
+
'@samchon/openapi': 3.0.0
|
| 3928 |
commander: 10.0.1
|
| 3929 |
comment-json: 4.2.5
|
| 3930 |
inquirer: 8.2.6
|
|
|
|
| 3932 |
randexp: 0.5.3
|
| 3933 |
typescript: 5.6.3
|
| 3934 |
|
| 3935 |
+
typia@8.0.0(@samchon/openapi@3.0.0)(typescript@5.8.2):
|
| 3936 |
dependencies:
|
| 3937 |
+
'@samchon/openapi': 3.0.0
|
| 3938 |
commander: 10.0.1
|
| 3939 |
comment-json: 4.2.5
|
| 3940 |
inquirer: 8.2.6
|
src/lib/utils/json.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
export function safeParse(str: string)
|
| 2 |
try {
|
| 3 |
return JSON.parse(str);
|
| 4 |
} catch {
|
|
|
|
| 1 |
+
export function safeParse(str: string) {
|
| 2 |
try {
|
| 3 |
return JSON.parse(str);
|
| 4 |
} catch {
|
tsconfig.json
CHANGED
|
@@ -1,29 +1,27 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
"moduleResolution": "bundler"
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
| 28 |
-
// from the referenced tsconfig.json - TypeScript does not merge them in
|
| 29 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"extends": "./.svelte-kit/tsconfig.json",
|
| 3 |
+
"compilerOptions": {
|
| 4 |
+
"allowJs": true,
|
| 5 |
+
"checkJs": true,
|
| 6 |
+
"esModuleInterop": true,
|
| 7 |
+
"forceConsistentCasingInFileNames": true,
|
| 8 |
+
"resolveJsonModule": true,
|
| 9 |
+
"skipLibCheck": true,
|
| 10 |
+
"sourceMap": true,
|
| 11 |
+
"strict": true,
|
| 12 |
+
"target": "ES2018",
|
| 13 |
+
"noUncheckedIndexedAccess": true,
|
| 14 |
+
"plugins": [
|
| 15 |
+
{
|
| 16 |
+
"transform": "typia/lib/transform"
|
| 17 |
+
}
|
| 18 |
+
],
|
| 19 |
+
"strictNullChecks": true,
|
| 20 |
"moduleResolution": "bundler"
|
| 21 |
+
},
|
| 22 |
+
"exclude": ["vite.config.ts"]
|
| 23 |
+
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
| 24 |
+
//
|
| 25 |
+
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
| 26 |
+
// from the referenced tsconfig.json - TypeScript does not merge them in
|
|
|
|
|
|
|
| 27 |
}
|