@knapsack/renderer-vue 4.69.13--canary.4739.37477c8.0 → 4.69.13--canary.4821.ae550c0.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,20 @@
1
+ # v4.69.12 (Thu Sep 26 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Merge branch 'latest' into feature/ksp-5560-replace-schema-forms-in-content-blocks ([@GormanDesign](https://github.com/GormanDesign))
6
+
7
+ #### 🏠 Internal
8
+
9
+ - fix(deps): update vue monorepo to ^3.5.8 [#4841](https://github.com/knapsack-labs/app-monorepo/pull/4841) ([@renovate[bot]](https://github.com/renovate[bot]))
10
+
11
+ #### Authors: 2
12
+
13
+ - [@renovate[bot]](https://github.com/renovate[bot])
14
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
15
+
16
+ ---
17
+
1
18
  # v4.69.11 (Fri Sep 20 2024)
2
19
 
3
20
  #### 🏠 Internal
@@ -1,15 +1,20 @@
1
- import { getKsRendererClientGlobal } from '@knapsack/renderer-webpack-base/client';
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, allAvailableImports } = getKsRendererClientGlobal({
8
+ const { importedModules, rendererMeta: { neededImportsByPath }, } = getKsRendererClientUtils({
9
9
  rendererMetaScriptTagId,
10
10
  });
11
- const components = allAvailableImports.reduce((cur, { importInfo: { name, path } }) => {
11
+ const components = Object.values(neededImportsByPath)
12
+ .flat()
13
+ .reduce((cur, { name, path }) => {
12
14
  const it = importedModules[path];
15
+ if (!it) {
16
+ throw new Error(`Could not find module for path: ${path}`);
17
+ }
13
18
  cur[name] = defineAsyncComponent(it);
14
19
  return cur;
15
20
  }, {});
@@ -1 +1 @@
1
- {"version":3,"file":"init.mjs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ACnC,CAAC;KAAM,CAAC;IACN,MAAM,GAAG,GAAG,SAAS,CAAC;QACpB,UAAU;KACX,CAAC,CAAC;IAEH,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAC1B,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IAE5B,kCAAkC;IACjC,MAAc,CAAC,QAAQ,GAAG,GAAG,CAAC;AACjC,CAAC"}
@@ -1 +1 @@
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,CA8ExB;IAEF,kBAAkB,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAgJ3D;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAoCxD;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CAwBzB;IAEH,SAAS,EAAE,QAAQ,CAAC,WAAW,CAAC,CAS9B;CACH"}
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"}
@@ -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,23 +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, imports: nonUniqueImports } = await this.getUsageAndImports(opt);
76
- const { imports, declaredVars, nameCollisions, isDeclaredVarsUnique } = this.makeKsJsImportsUnique({
77
- imports: nonUniqueImports,
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
- imports,
84
80
  demo: opt.demo,
85
- patternId: opt.pattern.id,
86
- templateId: opt.template.id,
81
+ neededImportsByPath: (0, renderer_webpack_base_1.convertImportMapToNeededImportsByPath)(importMap),
87
82
  };
88
83
  let usageDocs = usage;
89
84
  const code = `
90
85
  <script type="application/json" id="${types_2.rendererMetaScriptTagId}">${JSON.stringify(meta)}</script>
91
- ${this.createHtmlTagsForAssetPaths({
86
+ ${renderer_webpack_base_1.RendererWebpackBase.createHtmlTagsForAssetPaths({
92
87
  assets: this.getWebpackAssetPaths(),
93
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
94
89
  scriptTagsAreAsync: true,
@@ -106,8 +101,9 @@ class KnapsackVueRenderer extends renderer_webpack_base_1.RendererWebpackBase {
106
101
  <script>
107
102
  export default {
108
103
  components: {
109
- ${imports
110
- .map(({ importInfo }) => `'${importInfo.name}': () => import('${importInfo.path}'),`)
104
+ ${[...importMap.values()]
105
+ // all vue imports are 'default' imports
106
+ .map(({ path, name }) => `'${name}': () => import('${path}'),`)
111
107
  .join('\n')}
112
108
  }
113
109
  }
@@ -116,64 +112,49 @@ export default {
116
112
  });
117
113
  }
118
114
  if ((opt === null || opt === void 0 ? void 0 : opt.demo) && opt.demo.type === 'template') {
119
- const pathInfo = opt.patternManifest.getTemplatePath({
120
- patternId: opt.pattern.id,
121
- templateId: opt.template.id,
122
- demoId: opt.demo.id,
123
- });
124
- const demoContents = await (0, file_utils_1.readFile)(pathInfo.absolutePath);
125
- usageDocs = await (0, file_utils_1.formatCode)({
126
- path: 'x.vue',
127
- contents: demoContents,
128
- });
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);
129
120
  }
130
121
  // log.inspect({ demoType: opt.demo.type, code, imports });
131
122
  return {
132
123
  ok: true,
133
124
  templateLanguage: 'html',
134
125
  usage: usageDocs,
135
- html: await (0, file_utils_1.formatCode)({
136
- contents: code,
137
- path: 'x.html',
138
- }),
126
+ html: code,
139
127
  };
140
128
  };
141
- this.getUsageAndImports = async (opt) => {
142
- const { pattern, template, demo,
143
- /**
144
- * The Patterns class
145
- */
146
- 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
+ }
147
134
  switch (demo === null || demo === void 0 ? void 0 : demo.type) {
148
135
  case 'template': {
149
- const pathInfo = opt.patternManifest.getTemplatePath({
150
- patternId: pattern.id,
151
- templateId: template.id,
152
- demoId: demo.id,
136
+ const { templateInfo } = demo;
137
+ const { name: templateName } = await this.addUniqueValueToImportMap({
138
+ importMap,
139
+ alias: templateInfo.alias,
140
+ path: templateInfo.path,
153
141
  });
154
- const importInfo = this.getJsImport({
155
- patternId: pattern.id,
156
- templateId: template.id,
157
- demoId: demo.id,
158
- });
159
- const templateName = importInfo.importInfo.name;
160
142
  return {
161
143
  usage: `<${templateName} />`,
162
- imports: [importInfo],
144
+ importMap,
163
145
  };
164
146
  }
165
- case 'data':
166
- default: {
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
+ }
167
152
  const { slotsOptionsComputed, props = {}, slots = {}, } = demo.data || {};
168
- const importInfo = this.getJsImport({
169
- patternId: pattern.id,
170
- templateId: template.id,
153
+ const { name: templateName } = await this.addUniqueValueToImportMap({
154
+ importMap,
155
+ alias: template.alias,
156
+ path: template.path,
171
157
  });
172
- if (!importInfo) {
173
- throw new Error(`Could not find import for pattern-template: ${pattern.id}-${template.id}`);
174
- }
175
- const { type, name: templateName } = importInfo.importInfo;
176
- const importInfos = [importInfo];
177
158
  const children = [];
178
159
  await Promise.all(Object.keys(slots).map(async (slotName) => {
179
160
  const slottedTemplates = slots[slotName];
@@ -189,24 +170,14 @@ export default {
189
170
  slottedTemplate,
190
171
  })}`);
191
172
  }
192
- if (!slottedTemplate.patternId ||
193
- !slottedTemplate.templateId ||
194
- !slottedTemplate.demoId) {
195
- return '';
196
- }
197
- const thisPattern = patternManifest.getPattern(slottedTemplate.patternId);
198
- const thisTemplate = thisPattern.templates.find((t) => t.id === slottedTemplate.templateId);
199
- if (!thisTemplate) {
200
- throw new Error(`Cannot find template id "${slottedTemplate.templateId}" in "${slottedTemplate.patternId}"`);
201
- }
202
- const { usage, imports } = await this.getUsageAndImports({
203
- pattern: thisPattern,
204
- template: thisTemplate,
205
- patternManifest,
206
- demo: slottedTemplate.demo ||
207
- 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,
208
180
  });
209
- imports.forEach((i) => importInfos.push(i));
210
181
  return usage;
211
182
  })).then((usages) => {
212
183
  const slotOptionsComputed = slotsOptionsComputed === null || slotsOptionsComputed === void 0 ? void 0 : slotsOptionsComputed[slotName];
@@ -223,10 +194,6 @@ export default {
223
194
  }
224
195
  });
225
196
  }));
226
- const pathInfo = opt.patternManifest.getTemplatePath({
227
- patternId: pattern.id,
228
- templateId: template.id,
229
- });
230
197
  const usage = await (0, utils_2.getUsage)({
231
198
  templateName,
232
199
  props,
@@ -234,14 +201,15 @@ export default {
234
201
  });
235
202
  return {
236
203
  usage,
237
- imports: importInfos,
204
+ importMap,
238
205
  };
239
206
  }
240
207
  }
241
208
  };
242
- this.getTemplateSuggestions = async () => {
209
+ this.getTemplateSuggestions = async ({ state, }) => {
243
210
  const { unusedPaths } = await this.getUnusedTemplatePaths({
244
211
  globPaths: [(0, path_1.join)(gitRoot, '**/*.vue')],
212
+ state,
245
213
  });
246
214
  const suggestions = await Promise.all(unusedPaths.map(async (path) => {
247
215
  const pkgInfo = await (0, file_utils_1.findUpPkgJsonAsync)(path);
@@ -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,SAAS,CAAC,CAAC;AACzC,MAAM,OAAO,GAAG,IAAA,wBAAW,GAAE,CAAC;AAE9B,oEAAoE;AACpE,SAAG,CAAC,mBAAmB,CAAC,EAAE,GAAG,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,IAAK,EAAE,OAAO,EAAE,GAAG,CAAC,OAAQ,EAAE,CAAC,CAAC;AAE5E,MAAa,mBACX,SAAQ,2CAAmB;IAI3B,YAAY,EACV,aAAa,EACb,gBAAgB,GAAG,KAAK,MAWtB,EAAE;QACJ,KAAK,CAAC;YACJ,EAAE,EAAE,mBAAW,CAAC,GAAG;YACnB,QAAQ,EAAE,KAAK;YACf,SAAS,EAAE,MAAM;YACjB,aAAa;YACb,YAAY,EAAE,CAAC,+BAA+B,CAAC;SAChD,CAAC,CAAC;QAKI,wBAAmB,GAAoC,GAAG,EAAE;YACnE,MAAM,MAAM,GAAG,KAAK,CAAC,mBAAmB,EAAE,CAAC;YAC3C,IAAI,IAAI,CAAC,gBAAgB;gBAAE,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;YACrB,qBAAqB,EAAE,IAAI;YAC3B,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,mBAAmB,EAAE,IAAI;YACzB,6BAA6B,EAAE,IAAI;YACnC,mBAAmB,EAAE;gBACnB,IAAI,EAAE,+CAA+C;gBACrD,IAAI,EAAE;oBACJ,UAAU,EAAE,KAAK;oBACjB,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,UAAU,EAAE,EAAE;qBACf;oBACD,KAAK,EAAE;wBACL,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;qBAC9B;iBACF;aACF;SACF,CAAC,CAAC;QAEH,cAAS,GAA0B,KAAK,EAAE,EACxC,QAAQ,EACR,YAAY,GAIb,EAAmC,EAAE;YACpC,MAAM,IAAI,GAAG,MAAM,IAAA,iCAAoB,EAAC,YAAY,CAAC,CAAC;YACtD,OAAO,IAAI,CAAC;QACd,CAAC,CAAC;QAhTA,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC3C,CAAC;CA+SF;AA3UD,kDA2UC"}
package/dist/types.d.ts CHANGED
@@ -1,13 +1,10 @@
1
1
  import type { Demo } from '@knapsack/types';
2
- import type { KsJsImport } from '@knapsack/renderer-webpack-base';
2
+ import type { RendererMetaBase } from '@knapsack/renderer-webpack-base';
3
3
  /**
4
4
  * Found as JSON in HTML `#ks-vue-meta`
5
5
  */
6
6
  export type KsVueMeta = {
7
- imports: KsJsImport[];
8
7
  demo: Demo;
9
- patternId: string;
10
- templateId: string;
11
- };
8
+ } & RendererMetaBase;
12
9
  export declare const rendererMetaScriptTagId = "ks-vue-meta";
13
10
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,uBAAuB,gBAAgB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,IAAI,CAAC;CACZ,GAAG,gBAAgB,CAAC;AAErB,eAAO,MAAM,uBAAuB,gBAAgB,CAAC"}
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAaa,QAAA,uBAAuB,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAUa,QAAA,uBAAuB,GAAG,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/renderer-vue",
3
3
  "description": "Render Vue",
4
- "version": "4.69.13--canary.4739.37477c8.0",
4
+ "version": "4.69.13--canary.4821.ae550c0.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.13--canary.4739.37477c8.0",
32
- "@knapsack/babel-config-starter": "4.69.13--canary.4739.37477c8.0",
33
- "@knapsack/file-utils": "4.69.13--canary.4739.37477c8.0",
34
- "@knapsack/renderer-webpack-base": "4.69.13--canary.4739.37477c8.0",
35
- "@knapsack/types": "4.69.13--canary.4739.37477c8.0",
36
- "@knapsack/utils": "4.69.13--canary.4739.37477c8.0",
31
+ "@knapsack/app": "4.69.13--canary.4821.ae550c0.0",
32
+ "@knapsack/babel-config-starter": "4.69.13--canary.4821.ae550c0.0",
33
+ "@knapsack/file-utils": "4.69.13--canary.4821.ae550c0.0",
34
+ "@knapsack/renderer-webpack-base": "4.69.13--canary.4821.ae550c0.0",
35
+ "@knapsack/types": "4.69.13--canary.4821.ae550c0.0",
36
+ "@knapsack/utils": "4.69.13--canary.4821.ae550c0.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.13--canary.4739.37477c8.0",
50
- "@knapsack/test-ava": "4.69.13--canary.4739.37477c8.0",
51
- "@knapsack/typescript-config-starter": "4.69.13--canary.4739.37477c8.0",
49
+ "@knapsack/eslint-config-starter": "4.69.13--canary.4821.ae550c0.0",
50
+ "@knapsack/test-ava": "4.69.13--canary.4821.ae550c0.0",
51
+ "@knapsack/typescript-config-starter": "4.69.13--canary.4821.ae550c0.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": "37477c8999118bdbe0775dda4dd0c9c640800d46"
66
+ "gitHead": "ae550c01a29adac4bac77c6147d975fa372c3131"
67
67
  }