Thomas G. Lopes commited on
Commit
17c3edf
·
1 Parent(s): 5853d12
Files changed (4) hide show
  1. package.json +1 -0
  2. pnpm-lock.yaml +16 -6
  3. src/lib/utils/json.ts +1 -1
  4. 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([email protected])
26
  typia:
27
  specifier: ^8.0.0
28
- version: 8.0.0([email protected])
29
  devDependencies:
30
  '@ryoppippi/unplugin-typia':
31
  specifier: ^1.0.0
32
 
 
 
33
  '@sveltejs/adapter-auto':
34
  specifier: ^3.2.2
35
@@ -630,6 +633,9 @@ packages:
630
  '@ryoppippi/[email protected]':
631
  resolution: {integrity: sha512-TlrqL2WQie2HvSqJpmKPXrFsNPbMwU5Jw2Asx+E3E3Fuyya5mN1lqaeILwSZLmkCOMTQLazIrTWNOGs0V6XL6A==}
632
 
 
 
 
633
  '@sveltejs/[email protected]':
634
  resolution: {integrity: sha512-5Sc7WAxYdL6q9j/+D0jJKjGREGlfIevDyHSQ2eNETHcB1TKlQWHcAo8AS8H1QdjNvSXpvOwNjykDUHPEAyGgdQ==}
635
  peerDependencies:
@@ -2534,7 +2540,7 @@ snapshots:
2534
  '@rollup/[email protected]':
2535
  optional: true
2536
 
2537
2538
  dependencies:
2539
  '@rollup/pluginutils': 5.1.4([email protected])
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([email protected])
2550
  unplugin: 1.16.1
2551
2552
  transitivePeerDependencies:
@@ -2564,6 +2570,8 @@ snapshots:
2564
  - tsx
2565
  - yaml
2566
 
 
 
2567
2568
  dependencies:
2569
@@ -3914,8 +3922,9 @@ snapshots:
3914
 
3915
3916
 
3917
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
3927
  dependencies:
 
3928
  commander: 10.0.1
3929
  comment-json: 4.2.5
3930
  inquirer: 8.2.6
 
25
  version: 0.1.1([email protected])
26
  typia:
27
  specifier: ^8.0.0
28
+ version: 8.0.0(@samchon/[email protected])([email protected])
29
  devDependencies:
30
  '@ryoppippi/unplugin-typia':
31
  specifier: ^1.0.0
32
33
+ '@samchon/openapi':
34
+ specifier: ^3.0.0
35
+ version: 3.0.0
36
  '@sveltejs/adapter-auto':
37
  specifier: ^3.2.2
38
 
633
  '@ryoppippi/[email protected]':
634
  resolution: {integrity: sha512-TlrqL2WQie2HvSqJpmKPXrFsNPbMwU5Jw2Asx+E3E3Fuyya5mN1lqaeILwSZLmkCOMTQLazIrTWNOGs0V6XL6A==}
635
 
636
+ '@samchon/[email protected]':
637
+ resolution: {integrity: sha512-eVQlyKRYv1/C2Mikc1xZr7c0jMjg1vjPkeY/gheKB4c5WOOWyTNZ1uvnXR+ETpPHwaQ54I9NrQZhoNk6BEGuuw==}
638
+
639
  '@sveltejs/[email protected]':
640
  resolution: {integrity: sha512-5Sc7WAxYdL6q9j/+D0jJKjGREGlfIevDyHSQ2eNETHcB1TKlQWHcAo8AS8H1QdjNvSXpvOwNjykDUHPEAyGgdQ==}
641
  peerDependencies:
 
2540
  '@rollup/[email protected]':
2541
  optional: true
2542
 
2543
2544
  dependencies:
2545
  '@rollup/pluginutils': 5.1.4([email protected])
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/[email protected])([email protected])
2556
  unplugin: 1.16.1
2557
2558
  transitivePeerDependencies:
 
2570
  - tsx
2571
  - yaml
2572
 
2573
+ '@samchon/[email protected]': {}
2574
+
2575
2576
  dependencies:
2577
 
3922
 
3923
3924
 
3925
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
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): any {
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
- "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": [
23
- "vite.config.ts"
24
- ]
25
- // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
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
  }