@knapsack/ks-file-utils 4.65.7--canary.3291.c011027.0 → 4.65.8--canary.3291.ea4b964.0
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
# v4.65.7 (Wed Jul 03 2024)
|
2
|
+
|
3
|
+
#### 🏠 Internal
|
4
|
+
|
5
|
+
- update to TypeScript 5.5 [#4315](https://github.com/knapsack-labs/app-monorepo/pull/4315) ([@EvanLovely](https://github.com/EvanLovely))
|
6
|
+
|
7
|
+
#### Authors: 1
|
8
|
+
|
9
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
10
|
+
|
11
|
+
---
|
12
|
+
|
1
13
|
# v4.65.3 (Tue Jun 11 2024)
|
2
14
|
|
3
15
|
#### 🐛 Bug Fix
|
@@ -23,7 +23,31 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.
|
26
|
+
exports.readKsNavConfig = readKsNavConfig;
|
27
|
+
exports.writeKsNavConfig = writeKsNavConfig;
|
28
|
+
exports.addKsNavItems = addKsNavItems;
|
29
|
+
exports.readKsPatternConfig = readKsPatternConfig;
|
30
|
+
exports.readKsPatternConfigs = readKsPatternConfigs;
|
31
|
+
exports.writeKsPatternConfigs = writeKsPatternConfigs;
|
32
|
+
exports.writeKsPatternConfig = writeKsPatternConfig;
|
33
|
+
exports.readKsPageConfig = readKsPageConfig;
|
34
|
+
exports.readKsPagesConfig = readKsPagesConfig;
|
35
|
+
exports.writeKsPagesConfig = writeKsPagesConfig;
|
36
|
+
exports.writeKsPageConfig = writeKsPageConfig;
|
37
|
+
exports.readKsPatternsConfig = readKsPatternsConfig;
|
38
|
+
exports.writeKsPatternsConfig = writeKsPatternsConfig;
|
39
|
+
exports.readKsAssetSetsConfig = readKsAssetSetsConfig;
|
40
|
+
exports.writeKsAssetSetsConfig = writeKsAssetSetsConfig;
|
41
|
+
exports.writeKsFilesConfig = writeKsFilesConfig;
|
42
|
+
exports.readKsFilesConfig = readKsFilesConfig;
|
43
|
+
exports.writeKsDesignTokensConfig = writeKsDesignTokensConfig;
|
44
|
+
exports.readKsDesignTokensConfig = readKsDesignTokensConfig;
|
45
|
+
exports.readDb = readDb;
|
46
|
+
exports.writeDb = writeDb;
|
47
|
+
exports.writeBlock = writeBlock;
|
48
|
+
exports.readBlock = readBlock;
|
49
|
+
exports.writeDemo = writeDemo;
|
50
|
+
exports.readDemo = readDemo;
|
27
51
|
const fs = __importStar(require("fs-extra"));
|
28
52
|
const path_1 = require("path");
|
29
53
|
const file_utils_1 = require("@knapsack/file-utils");
|
@@ -34,14 +58,12 @@ async function readKsNavConfig({ dataDir, }) {
|
|
34
58
|
await (0, file_utils_1.ensureDirCached)(dataDir);
|
35
59
|
return (0, file_utils_1.readYaml)((0, path_1.join)(dataDir, 'knapsack.navs.yml'));
|
36
60
|
}
|
37
|
-
exports.readKsNavConfig = readKsNavConfig;
|
38
61
|
async function writeKsNavConfig({ dataDir, data, }) {
|
39
62
|
return (0, file_utils_1.writeYamlFormatted)({
|
40
63
|
contents: data,
|
41
64
|
path: (0, path_1.join)(dataDir, 'knapsack.navs.yml'),
|
42
65
|
});
|
43
66
|
}
|
44
|
-
exports.writeKsNavConfig = writeKsNavConfig;
|
45
67
|
async function addKsNavItems({ dataDir, navItems, }) {
|
46
68
|
const navs = await readKsNavConfig({ dataDir });
|
47
69
|
// Loop over new nav items, insert into navs.byId object
|
@@ -55,25 +77,21 @@ async function addKsNavItems({ dataDir, navItems, }) {
|
|
55
77
|
});
|
56
78
|
await writeKsNavConfig({ dataDir, data: navs });
|
57
79
|
}
|
58
|
-
exports.addKsNavItems = addKsNavItems;
|
59
80
|
async function readKsPatternConfig({ dataDir, patternId, }) {
|
60
81
|
await (0, file_utils_1.ensureDirCached)(dataDir);
|
61
82
|
return (0, file_utils_1.readJSON)((0, path_1.join)(dataDir, patternFileName(patternId)));
|
62
83
|
}
|
63
|
-
exports.readKsPatternConfig = readKsPatternConfig;
|
64
84
|
async function readKsPatternConfigs({ dataDir, }) {
|
65
85
|
const files = await fs.readdir(dataDir);
|
66
86
|
const patternFiles = files.filter((fileName) => fileName.startsWith('knapsack.pattern.'));
|
67
87
|
return Promise.all(patternFiles.map((patternFile) => (0, file_utils_1.readJSON)((0, path_1.join)(dataDir, patternFile))));
|
68
88
|
}
|
69
|
-
exports.readKsPatternConfigs = readKsPatternConfigs;
|
70
89
|
async function writeKsPatternConfigs({ dataDir, patterns, }) {
|
71
90
|
await Promise.all(patterns.map((pattern) => (0, file_utils_1.writeFormattedFile)({
|
72
91
|
path: (0, path_1.join)(dataDir, `knapsack.pattern.${pattern.id}.json`),
|
73
92
|
contents: pattern,
|
74
93
|
})));
|
75
94
|
}
|
76
|
-
exports.writeKsPatternConfigs = writeKsPatternConfigs;
|
77
95
|
async function writeKsPatternConfig({ patternId, dataDir, data, addToNav, navParentId = 'root', }) {
|
78
96
|
await Promise.all([
|
79
97
|
(0, file_utils_1.writeFormattedFile)({
|
@@ -93,18 +111,15 @@ async function writeKsPatternConfig({ patternId, dataDir, data, addToNav, navPar
|
|
93
111
|
}),
|
94
112
|
].filter(Boolean));
|
95
113
|
}
|
96
|
-
exports.writeKsPatternConfig = writeKsPatternConfig;
|
97
114
|
async function readKsPageConfig({ dataDir, pageId, }) {
|
98
115
|
await (0, file_utils_1.ensureDirCached)(dataDir);
|
99
116
|
return (0, file_utils_1.readJSON)((0, path_1.join)(dataDir, pageFileName(pageId)));
|
100
117
|
}
|
101
|
-
exports.readKsPageConfig = readKsPageConfig;
|
102
118
|
async function readKsPagesConfig({ dataDir, }) {
|
103
119
|
const files = await fs.readdir(dataDir);
|
104
120
|
const pageFiles = files.filter((fileName) => fileName.startsWith('knapsack.custom-page.'));
|
105
121
|
return Promise.all(pageFiles.map((pageFile) => (0, file_utils_1.readYaml)((0, path_1.join)(dataDir, pageFile))));
|
106
122
|
}
|
107
|
-
exports.readKsPagesConfig = readKsPagesConfig;
|
108
123
|
async function writeKsPagesConfig({ dataDir, pages, }) {
|
109
124
|
await Promise.all(pages.map(async (page) => {
|
110
125
|
(0, file_utils_1.writeYamlFormatted)({
|
@@ -113,7 +128,6 @@ async function writeKsPagesConfig({ dataDir, pages, }) {
|
|
113
128
|
});
|
114
129
|
}));
|
115
130
|
}
|
116
|
-
exports.writeKsPagesConfig = writeKsPagesConfig;
|
117
131
|
async function writeKsPageConfig({ data, pageId, dataDir, addToNav, navParentId = 'root', }) {
|
118
132
|
await Promise.all([
|
119
133
|
(0, file_utils_1.writeFormattedFile)({
|
@@ -133,55 +147,46 @@ async function writeKsPageConfig({ data, pageId, dataDir, addToNav, navParentId
|
|
133
147
|
}),
|
134
148
|
].filter(Boolean));
|
135
149
|
}
|
136
|
-
exports.writeKsPageConfig = writeKsPageConfig;
|
137
150
|
async function readKsPatternsConfig({ dataDir, }) {
|
138
151
|
await (0, file_utils_1.ensureDirCached)(dataDir);
|
139
152
|
return (0, file_utils_1.readJSON)((0, path_1.join)(dataDir, 'knapsack.patterns.json'));
|
140
153
|
}
|
141
|
-
exports.readKsPatternsConfig = readKsPatternsConfig;
|
142
154
|
async function writeKsPatternsConfig({ dataDir, data, }) {
|
143
155
|
return (0, file_utils_1.writeFormattedFile)({
|
144
156
|
contents: data,
|
145
157
|
path: (0, path_1.join)(dataDir, 'knapsack.patterns.json'),
|
146
158
|
});
|
147
159
|
}
|
148
|
-
exports.writeKsPatternsConfig = writeKsPatternsConfig;
|
149
160
|
async function readKsAssetSetsConfig({ dataDir, }) {
|
150
161
|
await (0, file_utils_1.ensureDirCached)(dataDir);
|
151
162
|
return (0, file_utils_1.readJSON)((0, path_1.join)(dataDir, 'knapsack.asset-sets.json'));
|
152
163
|
}
|
153
|
-
exports.readKsAssetSetsConfig = readKsAssetSetsConfig;
|
154
164
|
async function writeKsAssetSetsConfig({ dataDir, data, }) {
|
155
165
|
return (0, file_utils_1.writeFormattedFile)({
|
156
166
|
contents: data,
|
157
167
|
path: (0, path_1.join)(dataDir, 'knapsack.asset-sets.json'),
|
158
168
|
});
|
159
169
|
}
|
160
|
-
exports.writeKsAssetSetsConfig = writeKsAssetSetsConfig;
|
161
170
|
async function writeKsFilesConfig({ dataDir, data, }) {
|
162
171
|
return (0, file_utils_1.writeFormattedFile)({
|
163
172
|
contents: data,
|
164
173
|
path: (0, path_1.join)(dataDir, 'knapsack.files.json'),
|
165
174
|
});
|
166
175
|
}
|
167
|
-
exports.writeKsFilesConfig = writeKsFilesConfig;
|
168
176
|
async function readKsFilesConfig({ dataDir, }) {
|
169
177
|
await (0, file_utils_1.ensureDirCached)(dataDir);
|
170
178
|
return (0, file_utils_1.readJSON)((0, path_1.join)(dataDir, 'knapsack.files.json'));
|
171
179
|
}
|
172
|
-
exports.readKsFilesConfig = readKsFilesConfig;
|
173
180
|
async function writeKsDesignTokensConfig({ dataDir, data, }) {
|
174
181
|
return (0, file_utils_1.writeFormattedFile)({
|
175
182
|
contents: data,
|
176
183
|
path: (0, path_1.join)(dataDir, 'knapsack.design-tokens.json'),
|
177
184
|
});
|
178
185
|
}
|
179
|
-
exports.writeKsDesignTokensConfig = writeKsDesignTokensConfig;
|
180
186
|
async function readKsDesignTokensConfig({ dataDir, }) {
|
181
187
|
await (0, file_utils_1.ensureDirCached)(dataDir);
|
182
188
|
return (0, file_utils_1.readJSON)((0, path_1.join)(dataDir, 'knapsack.design-tokens.json'));
|
183
189
|
}
|
184
|
-
exports.readKsDesignTokensConfig = readKsDesignTokensConfig;
|
185
190
|
async function globAndReadJson(glob) {
|
186
191
|
const record = {};
|
187
192
|
const filePaths = await (0, file_utils_1.globby)(glob);
|
@@ -230,7 +235,6 @@ async function readDb({ dataDir, blocksSubDir = './blocks', demosSubDir = './dem
|
|
230
235
|
},
|
231
236
|
};
|
232
237
|
}
|
233
|
-
exports.readDb = readDb;
|
234
238
|
async function writeDb({ dataDir, db, blocksSubDir = './blocks', demosSubDir = './demos', }) {
|
235
239
|
const blocksDir = (0, path_1.isAbsolute)(blocksSubDir)
|
236
240
|
? blocksSubDir
|
@@ -273,7 +277,6 @@ async function writeDb({ dataDir, db, blocksSubDir = './blocks', demosSubDir = '
|
|
273
277
|
}),
|
274
278
|
]);
|
275
279
|
}
|
276
|
-
exports.writeDb = writeDb;
|
277
280
|
async function writeBlock({ dataDir, block, addTo, }) {
|
278
281
|
var _a, _b, _c;
|
279
282
|
const blocksDir = (0, path_1.join)(dataDir, `blocks`);
|
@@ -312,11 +315,9 @@ async function writeBlock({ dataDir, block, addTo, }) {
|
|
312
315
|
}
|
313
316
|
}
|
314
317
|
}
|
315
|
-
exports.writeBlock = writeBlock;
|
316
318
|
async function readBlock({ dataDir, blockId, }) {
|
317
319
|
return (0, file_utils_1.readJSON)((0, path_1.join)(dataDir, `blocks/block.${blockId}.json`));
|
318
320
|
}
|
319
|
-
exports.readBlock = readBlock;
|
320
321
|
async function writeDemo({ dataDir, demo, addTo, }) {
|
321
322
|
var _a, _b;
|
322
323
|
const demoDir = (0, path_1.join)(dataDir, `demos`);
|
@@ -339,9 +340,7 @@ async function writeDemo({ dataDir, demo, addTo, }) {
|
|
339
340
|
data: pattern,
|
340
341
|
});
|
341
342
|
}
|
342
|
-
exports.writeDemo = writeDemo;
|
343
343
|
async function readDemo({ dataDir, demoId, }) {
|
344
344
|
return (0, file_utils_1.readJSON)((0, path_1.join)(dataDir, `demos/demo.${demoId}.json`));
|
345
345
|
}
|
346
|
-
exports.readDemo = readDemo;
|
347
346
|
//# sourceMappingURL=ks-app-client-data-file-utils.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ks-app-client-data-file-utils.js","sourceRoot":"","sources":["../src/ks-app-client-data-file-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAa/B,+BAAwC;AACxC,qDAS8B;AAC9B,2CAA4D;AAE5D,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE,CAC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AAc,MAAM,OAAO,CAAC,CAAC,CAAC;AACpE,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/ks-file-utils",
|
3
3
|
"description": "Utilities for working with Knapsack data files",
|
4
|
-
"version": "4.65.
|
4
|
+
"version": "4.65.8--canary.3291.ea4b964.0",
|
5
5
|
"exports": {
|
6
6
|
".": {
|
7
7
|
"types": "./dist/index.d.ts",
|
@@ -19,18 +19,18 @@
|
|
19
19
|
"start": "tsc --watch"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@knapsack/file-utils": "4.65.
|
23
|
-
"@knapsack/utils": "4.65.
|
22
|
+
"@knapsack/file-utils": "4.65.8--canary.3291.ea4b964.0",
|
23
|
+
"@knapsack/utils": "4.65.8--canary.3291.ea4b964.0",
|
24
24
|
"fs-extra": "^11.2.0"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
|
-
"@knapsack/eslint-config-starter": "4.65.
|
28
|
-
"@knapsack/types": "4.65.
|
29
|
-
"@knapsack/typescript-config-starter": "4.65.
|
27
|
+
"@knapsack/eslint-config-starter": "4.65.8--canary.3291.ea4b964.0",
|
28
|
+
"@knapsack/types": "4.65.8--canary.3291.ea4b964.0",
|
29
|
+
"@knapsack/typescript-config-starter": "4.65.8--canary.3291.ea4b964.0",
|
30
30
|
"@types/fs-extra": "^11.0.4",
|
31
31
|
"@types/node": "^20.12.12",
|
32
32
|
"eslint": "^8.57.0",
|
33
|
-
"typescript": "^5.
|
33
|
+
"typescript": "^5.5.3"
|
34
34
|
},
|
35
35
|
"publishConfig": {
|
36
36
|
"access": "public"
|
@@ -40,5 +40,5 @@
|
|
40
40
|
"directory": "libs/ks-file-utils",
|
41
41
|
"type": "git"
|
42
42
|
},
|
43
|
-
"gitHead": "
|
43
|
+
"gitHead": "ea4b9648b127b97def2eb28121284364b6749812"
|
44
44
|
}
|