@knapsack/types 4.70.4--canary.4884.71e1160.0 → 4.70.5--canary.4960.0da831b.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -0
- package/convert-types-to-json-schemas.ts +2 -4
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
# v4.70.4 (Wed Oct 09 2024)
|
2
|
+
|
3
|
+
#### 🏠 Internal
|
4
|
+
|
5
|
+
- Replace json-schema-ref-parser [#4949](https://github.com/knapsack-labs/app-monorepo/pull/4949) ([@greylabel](https://github.com/greylabel))
|
6
|
+
|
7
|
+
#### Authors: 1
|
8
|
+
|
9
|
+
- Grant Gaudet ([@greylabel](https://github.com/greylabel))
|
10
|
+
|
11
|
+
---
|
12
|
+
|
1
13
|
# v4.70.3 (Fri Oct 04 2024)
|
2
14
|
|
3
15
|
#### 🏠 Internal
|
@@ -1,11 +1,9 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import * as TJS from 'typescript-json-schema'; // https://github.com/YousefED/typescript-json-schema
|
3
|
-
import { resolve, relative, join
|
3
|
+
import { resolve, relative, join } from 'path';
|
4
4
|
import fs from 'fs-extra';
|
5
|
-
import $RefParser, { JSONSchema } from 'json-schema-ref-parser';
|
6
|
-
import { fileURLToPath } from 'url';
|
5
|
+
import $RefParser, { JSONSchema } from '@apidevtools/json-schema-ref-parser';
|
7
6
|
|
8
|
-
// const __dirname = dirname(fileURLToPath(import.meta.url));
|
9
7
|
const { writeFile, readdirSync, remove, ensureDirSync } = fs;
|
10
8
|
|
11
9
|
console.log('Start: converting TypeScript types to JSON Schemas');
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/types",
|
3
3
|
"description": "",
|
4
|
-
"version": "4.70.
|
4
|
+
"version": "4.70.5--canary.4960.0da831b.0",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"module": "dist/index.mjs",
|
7
7
|
"types": "dist/index.d.ts",
|
@@ -38,15 +38,16 @@
|
|
38
38
|
"test": "ava"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@knapsack/utils": "4.70.
|
41
|
+
"@knapsack/utils": "4.70.5--canary.4960.0da831b.0",
|
42
42
|
"color-string": "^1.9.1",
|
43
43
|
"immer": "^10.1.1",
|
44
44
|
"superstruct": "^0.16.7"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
|
-
"@
|
48
|
-
"@knapsack/
|
49
|
-
"@knapsack/
|
47
|
+
"@apidevtools/json-schema-ref-parser": "^11.7.0",
|
48
|
+
"@knapsack/eslint-config-starter": "4.70.5--canary.4960.0da831b.0",
|
49
|
+
"@knapsack/test-ava": "4.70.5--canary.4960.0da831b.0",
|
50
|
+
"@knapsack/typescript-config-starter": "4.70.5--canary.4960.0da831b.0",
|
50
51
|
"@tiptap/core": "^2.8.0",
|
51
52
|
"@types/color-string": "^1.5.5",
|
52
53
|
"@types/fs-extra": "^11.0.4",
|
@@ -54,7 +55,6 @@
|
|
54
55
|
"ava": "^6.1.3",
|
55
56
|
"eslint": "^8.57.0",
|
56
57
|
"fs-extra": "^11.2.0",
|
57
|
-
"json-schema-ref-parser": "^6.1.0",
|
58
58
|
"ts-node": "^10.9.2",
|
59
59
|
"tsup": "^8.2.4",
|
60
60
|
"typescript": "^5.5.4",
|
@@ -68,5 +68,5 @@
|
|
68
68
|
"directory": "libs/types",
|
69
69
|
"type": "git"
|
70
70
|
},
|
71
|
-
"gitHead": "
|
71
|
+
"gitHead": "0da831b5b3710e04e17dcde837cc11ee293aed1b"
|
72
72
|
}
|