@knapsack/renderer-hbs 4.69.13--canary.4821.022ca72.0 → 4.69.13
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +17 -0
- package/dist/renderer-hbs.d.ts +0 -2
- package/dist/renderer-hbs.d.ts.map +1 -1
- package/dist/renderer-hbs.js +28 -36
- package/dist/renderer-hbs.js.map +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
# v4.69.13 (Thu Sep 26 2024)
|
2
|
+
|
3
|
+
#### 🐛 Bug Fix
|
4
|
+
|
5
|
+
- update design src user flow to be async [#4739](https://github.com/knapsack-labs/app-monorepo/pull/4739) ([@mabry1985](https://github.com/mabry1985))
|
6
|
+
- Merge branch 'latest' into feature/ksp-5512-create-add-design-src-file-async-mutation ([@mabry1985](https://github.com/mabry1985))
|
7
|
+
|
8
|
+
#### 🏠 Internal
|
9
|
+
|
10
|
+
- refactors user flow for updating design src files [#4769](https://github.com/knapsack-labs/app-monorepo/pull/4769) ([@mabry1985](https://github.com/mabry1985))
|
11
|
+
|
12
|
+
#### Authors: 1
|
13
|
+
|
14
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
15
|
+
|
16
|
+
---
|
17
|
+
|
1
18
|
# v4.69.12 (Thu Sep 26 2024)
|
2
19
|
|
3
20
|
#### 🐛 Bug Fix
|
package/dist/renderer-hbs.d.ts
CHANGED
@@ -12,9 +12,7 @@ export declare class KnapsackHbsRenderer extends RendererBase implements Rendera
|
|
12
12
|
});
|
13
13
|
registerComponentPaths(): Promise<void>;
|
14
14
|
init: Renderer['init'];
|
15
|
-
hydrate: Renderer['hydrate'];
|
16
15
|
onChange: Renderer['onChange'];
|
17
|
-
watch: Renderer['watch'];
|
18
16
|
render: Renderer['render'];
|
19
17
|
getUsage: Renderer['getUsage'];
|
20
18
|
getTemplateSuggestions: Renderer['getTemplateSuggestions'];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderer-hbs.d.ts","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C,SAAS,CAAC,CA0BzB;CACJ"}
|
package/dist/renderer-hbs.js
CHANGED
@@ -18,23 +18,17 @@ class KnapsackHbsRenderer extends renderers_1.RendererBase {
|
|
18
18
|
constructor({ alterHandlebars = () => { }, } = {}) {
|
19
19
|
super({
|
20
20
|
id: types_1.rendererIds.hbs,
|
21
|
+
extension: 'hbs',
|
21
22
|
language: 'hbs',
|
22
23
|
});
|
23
|
-
this.init = async () => {
|
24
|
-
await
|
25
|
-
};
|
26
|
-
this.hydrate = async () => {
|
24
|
+
this.init = async (options) => {
|
25
|
+
await super.init(options);
|
27
26
|
await this.registerComponentPaths();
|
28
27
|
};
|
29
28
|
this.onChange = () => {
|
30
29
|
super.onChange();
|
31
30
|
this.registerComponentPaths();
|
32
31
|
};
|
33
|
-
this.watch = async () => {
|
34
|
-
app_1.knapsackEvents.onPatternsDataReady(() => {
|
35
|
-
this.registerComponentPaths();
|
36
|
-
});
|
37
|
-
};
|
38
32
|
this.render = async (opt) => {
|
39
33
|
try {
|
40
34
|
const usage = await this.getUsage(opt);
|
@@ -67,28 +61,20 @@ class KnapsackHbsRenderer extends renderers_1.RendererBase {
|
|
67
61
|
};
|
68
62
|
}
|
69
63
|
};
|
70
|
-
this.getUsage = async ({
|
71
|
-
|
72
|
-
throw new Error(`No demo received when rendering ${patternId}`);
|
73
|
-
}
|
74
|
-
const pattern = state.patterns[patternId];
|
75
|
-
if (!pattern) {
|
76
|
-
throw new Error(`No pattern received when rendering ${patternId}`);
|
77
|
-
}
|
78
|
-
switch (demo.type) {
|
64
|
+
this.getUsage = async ({ pattern, patternManifest, template, demo, }) => {
|
65
|
+
switch (demo === null || demo === void 0 ? void 0 : demo.type) {
|
79
66
|
case 'template': {
|
80
|
-
const {
|
81
|
-
|
67
|
+
const { absolutePath, exists } = patternManifest.getTemplatePath({
|
68
|
+
patternId: pattern.id,
|
69
|
+
templateId: template.id,
|
70
|
+
demoId: demo.id,
|
71
|
+
});
|
82
72
|
if (!exists) {
|
83
73
|
throw new Error(`The Handlebars template demo does not exist at path ${absolutePath}`);
|
84
74
|
}
|
85
75
|
return (0, file_utils_1.readFile)(absolutePath);
|
86
76
|
}
|
87
77
|
case 'data': {
|
88
|
-
const template = pattern.templates.find((t) => t.id === templateId);
|
89
|
-
if (!template) {
|
90
|
-
throw new Error(`No template received when rendering ${templateId}`);
|
91
|
-
}
|
92
78
|
const { data: { props, slots, slotsOptionsComputed }, } = demo;
|
93
79
|
// No slots from the UI (empty slots object)
|
94
80
|
if ((0, isEmpty_1.default)(slots)) {
|
@@ -114,12 +100,16 @@ class KnapsackHbsRenderer extends renderers_1.RendererBase {
|
|
114
100
|
slottedTemplate,
|
115
101
|
})}`);
|
116
102
|
}
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
103
|
+
const thisPattern = patternManifest.getPattern(slottedTemplate.patternId);
|
104
|
+
const thisTemplate = thisPattern.templates.find((t) => t.id === slottedTemplate.templateId);
|
105
|
+
const usage = await this.getUsage({
|
106
|
+
pattern: thisPattern,
|
107
|
+
template: thisTemplate,
|
108
|
+
patternManifest,
|
109
|
+
demo: slottedTemplate.demo ||
|
110
|
+
this.patterns.demosById[slottedTemplate.demoId],
|
122
111
|
});
|
112
|
+
return usage;
|
123
113
|
}));
|
124
114
|
const slotOptionsComputed = slotsOptionsComputed === null || slotsOptionsComputed === void 0 ? void 0 : slotsOptionsComputed[slotName];
|
125
115
|
const { openTag, closeTag } = (0, renderers_1.createSlotOptionsHtmlTags)({
|
@@ -146,11 +136,10 @@ class KnapsackHbsRenderer extends renderers_1.RendererBase {
|
|
146
136
|
throw new Error(`Must pass in a demo.type`);
|
147
137
|
}
|
148
138
|
};
|
149
|
-
this.getTemplateSuggestions = async (
|
139
|
+
this.getTemplateSuggestions = async () => {
|
150
140
|
const { unusedPaths } = await this.getUnusedTemplatePaths({
|
151
141
|
globPaths: [(0, path_1.join)(gitRoot, '**/*.{hbs,handlebars}')],
|
152
142
|
cwd: gitRoot,
|
153
|
-
state,
|
154
143
|
});
|
155
144
|
const suggestions = unusedPaths.map((path) => ({
|
156
145
|
path,
|
@@ -192,9 +181,12 @@ class KnapsackHbsRenderer extends renderers_1.RendererBase {
|
|
192
181
|
async registerComponentPaths() {
|
193
182
|
// Wipe out handlebars instance entirely and reregister everything
|
194
183
|
this.handlebars = handlebars_1.default.create();
|
195
|
-
const
|
196
|
-
await Promise.all(
|
197
|
-
const { absolutePath, originalPath } =
|
184
|
+
const { patterns, allTemplates } = this.getMyTemplates();
|
185
|
+
await Promise.all(allTemplates.map(async ({ templateId, patternId }) => {
|
186
|
+
const { absolutePath, originalPath } = this.patterns.getTemplatePath({
|
187
|
+
patternId,
|
188
|
+
templateId,
|
189
|
+
});
|
198
190
|
// ie /path/to/file/ks-test-hbs/src/button.hbs
|
199
191
|
const contents = await (0, file_utils_1.readFile)(absolutePath);
|
200
192
|
try {
|
@@ -202,11 +194,11 @@ class KnapsackHbsRenderer extends renderers_1.RendererBase {
|
|
202
194
|
this.handlebars.registerPartial(originalPath, contents);
|
203
195
|
}
|
204
196
|
catch (e) {
|
205
|
-
const msg = `Couldn't register Handlebars partial: ${
|
197
|
+
const msg = `Couldn't register Handlebars partial. templateID: ${templateId}, patthernID: ${patternId}. Original error message: ${e.message}`;
|
206
198
|
app_1.log.error(msg);
|
207
199
|
throw e;
|
208
200
|
}
|
209
|
-
app_1.log.verbose(`Registered partial: ${originalPath}`);
|
201
|
+
app_1.log.verbose(`Registered partial: templateId: ${templateId}, patternId: ${patternId}: ${originalPath}`);
|
210
202
|
}));
|
211
203
|
const protoContents = await (0, file_utils_1.readFile)(require.resolve(this.getMeta().prototypingTemplate.path));
|
212
204
|
this.handlebars.registerPartial(this.getMeta().prototypingTemplate.alias, protoContents);
|
package/dist/renderer-hbs.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderer-hbs.js","sourceRoot":"","sources":["../src/renderer-hbs.ts"],"names":[],"mappings":";;;;;;AAAA,
|
1
|
+
{"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,EACxC,aAAa,CACd,CAAC;QAEF,2DAA2D;QAC3D,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACxC,CAAC;CAyMF;AA3QD,kDA2QC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/renderer-hbs",
|
3
3
|
"description": "",
|
4
|
-
"version": "4.69.13
|
4
|
+
"version": "4.69.13",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
7
7
|
"exports": {
|
@@ -22,18 +22,18 @@
|
|
22
22
|
"test": "time ava"
|
23
23
|
},
|
24
24
|
"dependencies": {
|
25
|
-
"@knapsack/app": "4.69.13
|
26
|
-
"@knapsack/file-utils": "4.69.13
|
27
|
-
"@knapsack/types": "4.69.13
|
28
|
-
"@knapsack/utils": "4.69.13
|
25
|
+
"@knapsack/app": "4.69.13",
|
26
|
+
"@knapsack/file-utils": "4.69.13",
|
27
|
+
"@knapsack/types": "4.69.13",
|
28
|
+
"@knapsack/utils": "4.69.13",
|
29
29
|
"handlebars": "^4.7.8",
|
30
30
|
"lodash": "^4.17.21"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@knapsack/eslint-config-starter": "4.69.13
|
34
|
-
"@knapsack/prettier-config": "4.69.13
|
35
|
-
"@knapsack/test-ava": "4.69.13
|
36
|
-
"@knapsack/typescript-config-starter": "4.69.13
|
33
|
+
"@knapsack/eslint-config-starter": "4.69.13",
|
34
|
+
"@knapsack/prettier-config": "4.69.13",
|
35
|
+
"@knapsack/test-ava": "4.69.13",
|
36
|
+
"@knapsack/typescript-config-starter": "4.69.13",
|
37
37
|
"@types/lodash": "^4.17.5",
|
38
38
|
"@types/node": "^20.16.6",
|
39
39
|
"ava": "^6.1.3",
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"directory": "apps/client/renderers/renderer-hbs",
|
50
50
|
"type": "git"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "d92e69870e1d094abc7d97fb1170ae68c0411b17"
|
53
53
|
}
|