@knapsack/renderer-vue 4.69.13 → 4.69.14--canary.4821.246c5f4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +0 -19
- package/dist/client/init.mjs +5 -3
- package/dist/client/init.mjs.map +1 -1
- package/dist/renderer-vue.d.ts.map +1 -1
- package/dist/renderer-vue.js +45 -75
- package/dist/renderer-vue.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
@@ -1,22 +1,3 @@
|
|
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
|
-
- improve Renderer clients [#4770](https://github.com/knapsack-labs/app-monorepo/pull/4770) ([@EvanLovely](https://github.com/EvanLovely))
|
11
|
-
- refactors user flow for updating design src files [#4769](https://github.com/knapsack-labs/app-monorepo/pull/4769) ([@mabry1985](https://github.com/mabry1985))
|
12
|
-
|
13
|
-
#### Authors: 2
|
14
|
-
|
15
|
-
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
16
|
-
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
17
|
-
|
18
|
-
---
|
19
|
-
|
20
1
|
# v4.69.12 (Thu Sep 26 2024)
|
21
2
|
|
22
3
|
#### 🐛 Bug Fix
|
package/dist/client/init.mjs
CHANGED
@@ -1,14 +1,16 @@
|
|
1
|
-
import {
|
1
|
+
import { getKsRendererClientUtils } from '@knapsack/renderer-webpack-base/client';
|
2
2
|
import {
|
3
3
|
// https://vuejs.org/guide/essentials/application.html
|
4
4
|
createApp,
|
5
5
|
// https://vuejs.org/guide/components/async.html
|
6
6
|
defineAsyncComponent, } from 'vue';
|
7
7
|
import { rendererMetaScriptTagId } from '../types.js';
|
8
|
-
const { importedModules, rendererMeta: {
|
8
|
+
const { importedModules, rendererMeta: { neededImportsByPath }, } = getKsRendererClientUtils({
|
9
9
|
rendererMetaScriptTagId,
|
10
10
|
});
|
11
|
-
const components =
|
11
|
+
const components = Object.values(neededImportsByPath)
|
12
|
+
.flat()
|
13
|
+
.reduce((cur, { name, path }) => {
|
12
14
|
const it = importedModules[path];
|
13
15
|
if (!it) {
|
14
16
|
throw new Error(`Could not find module for path: ${path}`);
|
package/dist/client/init.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"init.mjs","sourceRoot":"","sources":["../../src/client/init.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"init.mjs","sourceRoot":"","sources":["../../src/client/init.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO;AACL,sDAAsD;AACtD,SAAS;AAET,gDAAgD;AAChD,oBAAoB,GACrB,MAAM,KAAK,CAAC;AACb,OAAO,EAAa,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEjE,MAAM,EACJ,eAAe,EACf,YAAY,EAAE,EAAE,mBAAmB,EAAE,GACtC,GAAG,wBAAwB,CAA8B;IACxD,uBAAuB;CACxB,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC;KAClD,IAAI,EAAE;KACN,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE;IAC9B,MAAM,EAAE,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,EAAE,CAAC;QACR,MAAM,IAAI,KAAK,CAAC,mCAAmC,IAAI,EAAE,CAAC,CAAC;IAC7D,CAAC;IACD,GAAG,CAAC,IAAI,CAAC,GAAG,oBAAoB,CAAC,EAAE,C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AAC,CAuC3D;IAEO,UAAU,EAAE,QAAQ,CAAC,YAAY,CAAC,CAOzC;IAEF,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,
|
1
|
+
{"version":3,"file":"renderer-vue.d.ts","sourceRoot":"","sources":["../src/renderer-vue.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,QAAQ,EAET,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,UAAU,EAA6B,MAAM,yBAAyB,CAAC;AA4BhF,qBAAa,mBACX,SAAQ,mBACR,YAAW,UAAU;IAErB,gBAAgB,EAAE,OAAO,CAAC;gBACd,EACV,aAAa,EACb,gBAAwB,GACzB,GAAE;QACD,aAAa,CAAC,EAAE,qBAAqB,CACnC,OAAO,mBAAmB,CAC3B,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;QACtB;;;;WAIG;QACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;KACvB;IAYG,mBAAmB,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAuC3D;IAEO,UAAU,EAAE,QAAQ,CAAC,YAAY,CAAC,CAOzC;IAEF,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAgExB;IAEF,kBAAkB,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CA0G3D;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAuCxD;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CAwBzB;IAEH,SAAS,EAAE,QAAQ,CAAC,WAAW,CAAC,CAS9B;CACH"}
|
package/dist/renderer-vue.js
CHANGED
@@ -22,9 +22,9 @@ class KnapsackVueRenderer extends renderer_webpack_base_1.RendererWebpackBase {
|
|
22
22
|
super({
|
23
23
|
id: types_1.rendererIds.vue,
|
24
24
|
language: 'vue',
|
25
|
-
extension: '.vue',
|
26
25
|
webpackConfig,
|
27
26
|
extraScripts: ['@knapsack/renderer-vue/client'],
|
27
|
+
codeSrcs: [],
|
28
28
|
});
|
29
29
|
this.createWebpackConfig = () => {
|
30
30
|
const config = super.createWebpackConfig();
|
@@ -72,21 +72,18 @@ class KnapsackVueRenderer extends renderer_webpack_base_1.RendererWebpackBase {
|
|
72
72
|
return templateName;
|
73
73
|
};
|
74
74
|
this.render = async (opt) => {
|
75
|
-
const { usage,
|
76
|
-
|
77
|
-
|
75
|
+
const { usage, importMap } = await this.getUsageAndImports({
|
76
|
+
...opt,
|
77
|
+
importMap: new Map(),
|
78
78
|
});
|
79
|
-
if (!isDeclaredVarsUnique) {
|
80
|
-
throw new Error(`imports are not unique: ${nameCollisions.join(', ')}`);
|
81
|
-
}
|
82
79
|
const meta = {
|
83
|
-
neededImports: imports,
|
84
80
|
demo: opt.demo,
|
81
|
+
neededImportsByPath: (0, renderer_webpack_base_1.convertImportMapToNeededImportsByPath)(importMap),
|
85
82
|
};
|
86
83
|
let usageDocs = usage;
|
87
84
|
const code = `
|
88
85
|
<script type="application/json" id="${types_2.rendererMetaScriptTagId}">${JSON.stringify(meta)}</script>
|
89
|
-
${
|
86
|
+
${renderer_webpack_base_1.RendererWebpackBase.createHtmlTagsForAssetPaths({
|
90
87
|
assets: this.getWebpackAssetPaths(),
|
91
88
|
// If we don't have `<script async>` tags and we put this below the `div#render-root` then renderering happens but the iFrame is too narrow. Not sure why using a `setTimeout` around `new Vue()` or putting this below `div#render-root` doesn't work, but this does
|
92
89
|
scriptTagsAreAsync: true,
|
@@ -104,8 +101,9 @@ class KnapsackVueRenderer extends renderer_webpack_base_1.RendererWebpackBase {
|
|
104
101
|
<script>
|
105
102
|
export default {
|
106
103
|
components: {
|
107
|
-
${
|
108
|
-
|
104
|
+
${[...importMap.values()]
|
105
|
+
// all vue imports are 'default' imports
|
106
|
+
.map(({ path, name }) => `'${name}': () => import('${path}'),`)
|
109
107
|
.join('\n')}
|
110
108
|
}
|
111
109
|
}
|
@@ -114,64 +112,49 @@ export default {
|
|
114
112
|
});
|
115
113
|
}
|
116
114
|
if ((opt === null || opt === void 0 ? void 0 : opt.demo) && opt.demo.type === 'template') {
|
117
|
-
const
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
const demoContents = await (0, file_utils_1.readFile)(pathInfo.absolutePath);
|
123
|
-
usageDocs = await (0, file_utils_1.formatCode)({
|
124
|
-
path: 'x.vue',
|
125
|
-
contents: demoContents,
|
126
|
-
});
|
115
|
+
const { absolutePath, exists } = await this.resolvePath(opt.demo.templateInfo.path);
|
116
|
+
if (!exists) {
|
117
|
+
throw new Error(`Could not find template: ${opt.demo.templateInfo.path}`);
|
118
|
+
}
|
119
|
+
usageDocs = await (0, file_utils_1.readFile)(absolutePath);
|
127
120
|
}
|
128
121
|
// log.inspect({ demoType: opt.demo.type, code, imports });
|
129
122
|
return {
|
130
123
|
ok: true,
|
131
124
|
templateLanguage: 'html',
|
132
125
|
usage: usageDocs,
|
133
|
-
html:
|
134
|
-
contents: code,
|
135
|
-
path: 'x.html',
|
136
|
-
}),
|
126
|
+
html: code,
|
137
127
|
};
|
138
128
|
};
|
139
|
-
this.getUsageAndImports = async (
|
140
|
-
const
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
patternManifest, } = opt;
|
129
|
+
this.getUsageAndImports = async ({ demo, importMap, patternId, templateId, state, }) => {
|
130
|
+
const pattern = state.patterns[patternId];
|
131
|
+
if (!pattern) {
|
132
|
+
throw new Error(`Could not find pattern: ${patternId}`);
|
133
|
+
}
|
145
134
|
switch (demo === null || demo === void 0 ? void 0 : demo.type) {
|
146
135
|
case 'template': {
|
147
|
-
const
|
148
|
-
|
149
|
-
|
150
|
-
|
136
|
+
const { templateInfo } = demo;
|
137
|
+
const { name: templateName } = await this.addUniqueValueToImportMap({
|
138
|
+
importMap,
|
139
|
+
alias: templateInfo.alias,
|
140
|
+
path: templateInfo.path,
|
151
141
|
});
|
152
|
-
const importInfo = this.getJsImport({
|
153
|
-
patternId: pattern.id,
|
154
|
-
templateId: template.id,
|
155
|
-
demoId: demo.id,
|
156
|
-
});
|
157
|
-
const templateName = importInfo.importInfo.name;
|
158
142
|
return {
|
159
143
|
usage: `<${templateName} />`,
|
160
|
-
|
144
|
+
importMap,
|
161
145
|
};
|
162
146
|
}
|
163
|
-
case 'data':
|
164
|
-
|
147
|
+
case 'data': {
|
148
|
+
const template = pattern.templates.find((t) => t.id === templateId);
|
149
|
+
if (!template) {
|
150
|
+
throw new Error(`Could not find template: ${templateId}`);
|
151
|
+
}
|
165
152
|
const { slotsOptionsComputed, props = {}, slots = {}, } = demo.data || {};
|
166
|
-
const
|
167
|
-
|
168
|
-
|
153
|
+
const { name: templateName } = await this.addUniqueValueToImportMap({
|
154
|
+
importMap,
|
155
|
+
alias: template.alias,
|
156
|
+
path: template.path,
|
169
157
|
});
|
170
|
-
if (!importInfo) {
|
171
|
-
throw new Error(`Could not find import for pattern-template: ${pattern.id}-${template.id}`);
|
172
|
-
}
|
173
|
-
const { type, name: templateName } = importInfo.importInfo;
|
174
|
-
const importInfos = [importInfo];
|
175
158
|
const children = [];
|
176
159
|
await Promise.all(Object.keys(slots).map(async (slotName) => {
|
177
160
|
const slottedTemplates = slots[slotName];
|
@@ -187,24 +170,14 @@ export default {
|
|
187
170
|
slottedTemplate,
|
188
171
|
})}`);
|
189
172
|
}
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
if (!thisTemplate) {
|
198
|
-
throw new Error(`Cannot find template id "${slottedTemplate.templateId}" in "${slottedTemplate.patternId}"`);
|
199
|
-
}
|
200
|
-
const { usage, imports } = await this.getUsageAndImports({
|
201
|
-
pattern: thisPattern,
|
202
|
-
template: thisTemplate,
|
203
|
-
patternManifest,
|
204
|
-
demo: slottedTemplate.demo ||
|
205
|
-
this.patterns.demosById[slottedTemplate.demoId],
|
173
|
+
const slotDemo = slottedTemplate.demo;
|
174
|
+
const { usage } = await this.getUsageAndImports({
|
175
|
+
importMap,
|
176
|
+
patternId: slotDemo.patternId,
|
177
|
+
templateId: slotDemo.templateId,
|
178
|
+
demo: slotDemo,
|
179
|
+
state,
|
206
180
|
});
|
207
|
-
imports.forEach((i) => importInfos.push(i));
|
208
181
|
return usage;
|
209
182
|
})).then((usages) => {
|
210
183
|
const slotOptionsComputed = slotsOptionsComputed === null || slotsOptionsComputed === void 0 ? void 0 : slotsOptionsComputed[slotName];
|
@@ -221,10 +194,6 @@ export default {
|
|
221
194
|
}
|
222
195
|
});
|
223
196
|
}));
|
224
|
-
const pathInfo = opt.patternManifest.getTemplatePath({
|
225
|
-
patternId: pattern.id,
|
226
|
-
templateId: template.id,
|
227
|
-
});
|
228
197
|
const usage = await (0, utils_2.getUsage)({
|
229
198
|
templateName,
|
230
199
|
props,
|
@@ -232,14 +201,15 @@ export default {
|
|
232
201
|
});
|
233
202
|
return {
|
234
203
|
usage,
|
235
|
-
|
204
|
+
importMap,
|
236
205
|
};
|
237
206
|
}
|
238
207
|
}
|
239
208
|
};
|
240
|
-
this.getTemplateSuggestions = async () => {
|
209
|
+
this.getTemplateSuggestions = async ({ state, }) => {
|
241
210
|
const { unusedPaths } = await this.getUnusedTemplatePaths({
|
242
211
|
globPaths: [(0, path_1.join)(gitRoot, '**/*.vue')],
|
212
|
+
state,
|
243
213
|
});
|
244
214
|
const suggestions = await Promise.all(unusedPaths.map(async (path) => {
|
245
215
|
const pkgInfo = await (0, file_utils_1.findUpPkgJsonAsync)(path);
|
package/dist/renderer-vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderer-vue.js","sourceRoot":"","sources":["../src/renderer-vue.ts"],"names":[],"mappings":";;;AAAA,2EAIyC;AACzC,uCAAoC;AACpC,uDAAgF;AAChF,2CAKyB;AACzB,2CAA+D;AAC/D,2CAA4C;AAC5C,qDAM8B;AAC9B,yEAAyE;AACzE,+BAAsC;AACtC,mCAAmC;AACnC,6CAAoD;AACpD,mCAA6D;AAE7D,MAAM,EAAE,GAAG,EAAE,GAAG,IAAA,0BAAa,EAAC,SAA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|
1
1
|
{
|
2
2
|
"name": "@knapsack/renderer-vue",
|
3
3
|
"description": "Render Vue",
|
4
|
-
"version": "4.69.
|
4
|
+
"version": "4.69.14--canary.4821.246c5f4.0",
|
5
5
|
"main": "dist/renderer-vue.js",
|
6
6
|
"types": "dist/renderer-vue.d.ts",
|
7
7
|
"exports": {
|
@@ -28,12 +28,12 @@
|
|
28
28
|
},
|
29
29
|
"author": "Knapsack (https://www.knapsack.cloud)",
|
30
30
|
"dependencies": {
|
31
|
-
"@knapsack/app": "4.69.
|
32
|
-
"@knapsack/babel-config-starter": "4.69.
|
33
|
-
"@knapsack/file-utils": "4.69.
|
34
|
-
"@knapsack/renderer-webpack-base": "4.69.
|
35
|
-
"@knapsack/types": "4.69.
|
36
|
-
"@knapsack/utils": "4.69.
|
31
|
+
"@knapsack/app": "4.69.14--canary.4821.246c5f4.0",
|
32
|
+
"@knapsack/babel-config-starter": "4.69.14--canary.4821.246c5f4.0",
|
33
|
+
"@knapsack/file-utils": "4.69.14--canary.4821.246c5f4.0",
|
34
|
+
"@knapsack/renderer-webpack-base": "4.69.14--canary.4821.246c5f4.0",
|
35
|
+
"@knapsack/types": "4.69.14--canary.4821.246c5f4.0",
|
36
|
+
"@knapsack/utils": "4.69.14--canary.4821.246c5f4.0",
|
37
37
|
"@vue/compiler-sfc": "^3.5.8",
|
38
38
|
"babel-loader": "^9.2.1",
|
39
39
|
"css-loader": "^6.11.0",
|
@@ -46,9 +46,9 @@
|
|
46
46
|
"vue-style-loader": "^4.1.3"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
|
-
"@knapsack/eslint-config-starter": "4.69.
|
50
|
-
"@knapsack/test-ava": "4.69.
|
51
|
-
"@knapsack/typescript-config-starter": "4.69.
|
49
|
+
"@knapsack/eslint-config-starter": "4.69.14--canary.4821.246c5f4.0",
|
50
|
+
"@knapsack/test-ava": "4.69.14--canary.4821.246c5f4.0",
|
51
|
+
"@knapsack/typescript-config-starter": "4.69.14--canary.4821.246c5f4.0",
|
52
52
|
"@types/fs-extra": "^11.0.4",
|
53
53
|
"@types/lodash": "^4.17.5",
|
54
54
|
"ava": "^6.1.3",
|
@@ -63,5 +63,5 @@
|
|
63
63
|
"directory": "apps/client/renderers/renderer-vue",
|
64
64
|
"type": "git"
|
65
65
|
},
|
66
|
-
"gitHead": "
|
66
|
+
"gitHead": "246c5f4d3f98f63d8198b9a702f48d1f59ee4637"
|
67
67
|
}
|