@knapsack/renderer-vue 4.69.10--canary.4739.305bd52.0 → 4.69.10--canary.4745.042d9e2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +0 -18
- package/dist/renderer-vue-client.d.ts +2 -0
- package/dist/renderer-vue-client.d.ts.map +1 -0
- package/dist/{client/init.mjs → renderer-vue-client.js} +8 -13
- package/dist/renderer-vue-client.js.map +1 -0
- package/dist/renderer-vue.d.ts.map +1 -1
- package/dist/renderer-vue.js +1 -13
- package/dist/renderer-vue.js.map +1 -1
- package/package.json +11 -15
- package/dist/client/init.d.mts +0 -2
- package/dist/client/init.d.mts.map +0 -1
- package/dist/client/init.mjs.map +0 -1
- package/dist/types.d.ts +0 -13
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -5
- package/dist/types.js.map +0 -1
package/CHANGELOG.md
CHANGED
@@ -1,21 +1,3 @@
|
|
1
|
-
# v4.69.9 (Sat Sep 14 2024)
|
2
|
-
|
3
|
-
#### 🐛 Bug Fix
|
4
|
-
|
5
|
-
- refactor Renderer clients [#4768](https://github.com/knapsack-labs/app-monorepo/pull/4768) ([@EvanLovely](https://github.com/EvanLovely))
|
6
|
-
|
7
|
-
#### 🏠 Internal
|
8
|
-
|
9
|
-
- update template stage ui [#4763](https://github.com/knapsack-labs/app-monorepo/pull/4763) ([@GormanDesign](https://github.com/GormanDesign))
|
10
|
-
- add spacing under form feedback banner [#4747](https://github.com/knapsack-labs/app-monorepo/pull/4747) ([@GormanDesign](https://github.com/GormanDesign))
|
11
|
-
|
12
|
-
#### Authors: 2
|
13
|
-
|
14
|
-
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
15
|
-
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
16
|
-
|
17
|
-
---
|
18
|
-
|
19
1
|
# v4.69.8 (Thu Sep 12 2024)
|
20
2
|
|
21
3
|
#### 🐛 Bug Fix
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"renderer-vue-client.d.ts","sourceRoot":"","sources":["../src/renderer-vue-client.ts"],"names":[],"mappings":""}
|
@@ -1,16 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
defineAsyncComponent, } from 'vue';
|
7
|
-
import { rendererMetaScriptTagId } from '../types.js';
|
8
|
-
const { importedModules, allAvailableImports } = getKsRendererClientGlobal({
|
9
|
-
rendererMetaScriptTagId,
|
10
|
-
});
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const types_1 = require("@knapsack/types");
|
4
|
+
const vue_1 = require("vue");
|
5
|
+
const { importedModules, allAvailableImports, getPatternImport } = (0, types_1.getKsRendererClientGlobal)();
|
11
6
|
const components = allAvailableImports.reduce((cur, { importInfo: { name, path } }) => {
|
12
7
|
const it = importedModules[path];
|
13
|
-
cur[name] = defineAsyncComponent(it);
|
8
|
+
cur[name] = (0, vue_1.defineAsyncComponent)(it);
|
14
9
|
return cur;
|
15
10
|
}, {});
|
16
11
|
const el = document.getElementById('render-root');
|
@@ -22,7 +17,7 @@ if (!el) {
|
|
22
17
|
document.body.appendChild(msgEl);
|
23
18
|
}
|
24
19
|
else {
|
25
|
-
const app = createApp({
|
20
|
+
const app = (0, vue_1.createApp)({
|
26
21
|
components,
|
27
22
|
});
|
28
23
|
app.mount('#render-root');
|
@@ -30,4 +25,4 @@ else {
|
|
30
25
|
// just for debugging & curiousity
|
31
26
|
window.ksVueApp = app;
|
32
27
|
}
|
33
|
-
//# sourceMappingURL=
|
28
|
+
//# sourceMappingURL=renderer-vue-client.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"renderer-vue-client.js","sourceRoot":"","sources":["../src/renderer-vue-client.ts"],"names":[],"mappings":";;AAAA,2CAA4D;AAC5D,6BAMa;AAEb,MAAM,EAAE,eAAe,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,GAC9D,IAAA,iCAAyB,GAAa,CAAC;AAEzC,MAAM,UAAU,GAAG,mBAAmB,CAAC,MAAM,CAC3C,CAAC,GAAG,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE;IACtC,MAAM,EAAE,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IACjC,GAAG,CAAC,IAAI,CAAC,GAAG,IAAA,0BAAoB,EAAC,EAAE,CAAC,CAAC;IACrC,OAAO,GAAG,CAAC;AACb,CAAC,EACD,EAAiE,CAClE,CAAC;AAEF,MAAM,EAAE,GAAG,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;AAClD,IAAI,CAAC,EAAE,EAAE,CAAC;IACR,MAAM,GAAG,GACP,+EAA+E,CAAC;IAClF,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACnB,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC5C,KAAK,CAAC,SAAS,GAAG,GAAG,CAAC;IACtB,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AACnC,CAAC;KAAM,CAAC;IACN,MAAM,GAAG,GAAG,IAAA,eAAS,EAAC;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,
|
1
|
+
{"version":3,"file":"renderer-vue.d.ts","sourceRoot":"","sources":["../src/renderer-vue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhF,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,CAoC3D;IAEO,UAAU,EAAE,QAAQ,CAAC,YAAY,CAAC,CAOzC;IAEF,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAqExB;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"}
|
package/dist/renderer-vue.js
CHANGED
@@ -12,7 +12,6 @@ const babel_config_starter_1 = require("@knapsack/babel-config-starter");
|
|
12
12
|
const path_1 = require("path");
|
13
13
|
const utils_2 = require("./utils");
|
14
14
|
const infer_spec_1 = require("./infer-spec");
|
15
|
-
const types_2 = require("./types");
|
16
15
|
const { pkg } = (0, file_utils_1.findUpPkgJson)(__dirname);
|
17
16
|
const gitRoot = (0, file_utils_1.findGitRoot)();
|
18
17
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
@@ -24,7 +23,7 @@ class KnapsackVueRenderer extends renderer_webpack_base_1.RendererWebpackBase {
|
|
24
23
|
language: 'vue',
|
25
24
|
extension: '.vue',
|
26
25
|
webpackConfig,
|
27
|
-
extraScripts: ['
|
26
|
+
extraScripts: [(0, path_1.join)(__dirname, './renderer-vue-client')],
|
28
27
|
});
|
29
28
|
this.createWebpackConfig = () => {
|
30
29
|
const config = super.createWebpackConfig();
|
@@ -57,10 +56,6 @@ class KnapsackVueRenderer extends renderer_webpack_base_1.RendererWebpackBase {
|
|
57
56
|
options: babel_config_starter_1.basicWebpackBabelConfig,
|
58
57
|
});
|
59
58
|
config.plugins.push(new vue_loader_1.VueLoaderPlugin());
|
60
|
-
config.resolve.alias = {
|
61
|
-
...config.resolve.alias,
|
62
|
-
vue: 'vue/dist/vue.esm-bundler.js',
|
63
|
-
};
|
64
59
|
return config;
|
65
60
|
};
|
66
61
|
this.changeCase = (str) => {
|
@@ -79,15 +74,8 @@ class KnapsackVueRenderer extends renderer_webpack_base_1.RendererWebpackBase {
|
|
79
74
|
if (!isDeclaredVarsUnique) {
|
80
75
|
throw new Error(`imports are not unique: ${nameCollisions.join(', ')}`);
|
81
76
|
}
|
82
|
-
const meta = {
|
83
|
-
imports,
|
84
|
-
demo: opt.demo,
|
85
|
-
patternId: opt.pattern.id,
|
86
|
-
templateId: opt.template.id,
|
87
|
-
};
|
88
77
|
let usageDocs = usage;
|
89
78
|
const code = `
|
90
|
-
<script type="application/json" id="${types_2.rendererMetaScriptTagId}">${JSON.stringify(meta)}</script>
|
91
79
|
${this.createHtmlTagsForAssetPaths({
|
92
80
|
assets: this.getWebpackAssetPaths(),
|
93
81
|
// 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
|
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,
|
1
|
+
{"version":3,"file":"renderer-vue.js","sourceRoot":"","sources":["../src/renderer-vue.ts"],"names":[],"mappings":";;;AAAA,2EAAgF;AAChF,uCAAoC;AACpC,uDAAgF;AAChF,2CAMyB;AACzB,2CAA+D;AAC/D,2CAA4C;AAC5C,qD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ACF;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;QArVA,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC3C,CAAC;CAoVF;AAhXD,kDAgXC"}
|
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.10--canary.
|
4
|
+
"version": "4.69.10--canary.4745.042d9e2.0",
|
5
5
|
"main": "dist/renderer-vue.js",
|
6
6
|
"types": "dist/renderer-vue.d.ts",
|
7
7
|
"exports": {
|
@@ -9,10 +9,6 @@
|
|
9
9
|
"types": "./dist/renderer-vue.d.ts",
|
10
10
|
"require": "./dist/renderer-vue.js"
|
11
11
|
},
|
12
|
-
"./client": {
|
13
|
-
"types": "./dist/client/init.d.mts",
|
14
|
-
"default": "./dist/client/init.mjs"
|
15
|
-
},
|
16
12
|
"./package": "./package.json",
|
17
13
|
"./package.json": "./package.json",
|
18
14
|
"./prototype-template.vue": "./prototype-template.vue"
|
@@ -28,12 +24,12 @@
|
|
28
24
|
},
|
29
25
|
"author": "Knapsack (https://www.knapsack.cloud)",
|
30
26
|
"dependencies": {
|
31
|
-
"@knapsack/app": "4.69.10--canary.
|
32
|
-
"@knapsack/babel-config-starter": "4.69.10--canary.
|
33
|
-
"@knapsack/file-utils": "4.69.10--canary.
|
34
|
-
"@knapsack/renderer-webpack-base": "4.69.10--canary.
|
35
|
-
"@knapsack/types": "4.69.10--canary.
|
36
|
-
"@knapsack/utils": "4.69.10--canary.
|
27
|
+
"@knapsack/app": "4.69.10--canary.4745.042d9e2.0",
|
28
|
+
"@knapsack/babel-config-starter": "4.69.10--canary.4745.042d9e2.0",
|
29
|
+
"@knapsack/file-utils": "4.69.10--canary.4745.042d9e2.0",
|
30
|
+
"@knapsack/renderer-webpack-base": "4.69.10--canary.4745.042d9e2.0",
|
31
|
+
"@knapsack/types": "4.69.10--canary.4745.042d9e2.0",
|
32
|
+
"@knapsack/utils": "4.69.10--canary.4745.042d9e2.0",
|
37
33
|
"@vue/compiler-sfc": "^3.5.4",
|
38
34
|
"babel-loader": "^9.1.3",
|
39
35
|
"css-loader": "^6.11.0",
|
@@ -46,9 +42,9 @@
|
|
46
42
|
"vue-style-loader": "^4.1.3"
|
47
43
|
},
|
48
44
|
"devDependencies": {
|
49
|
-
"@knapsack/eslint-config-starter": "4.69.10--canary.
|
50
|
-
"@knapsack/test-ava": "4.69.10--canary.
|
51
|
-
"@knapsack/typescript-config-starter": "4.69.10--canary.
|
45
|
+
"@knapsack/eslint-config-starter": "4.69.10--canary.4745.042d9e2.0",
|
46
|
+
"@knapsack/test-ava": "4.69.10--canary.4745.042d9e2.0",
|
47
|
+
"@knapsack/typescript-config-starter": "4.69.10--canary.4745.042d9e2.0",
|
52
48
|
"@types/fs-extra": "^11.0.4",
|
53
49
|
"@types/lodash": "^4.17.5",
|
54
50
|
"ava": "^6.1.3",
|
@@ -63,5 +59,5 @@
|
|
63
59
|
"directory": "apps/client/renderers/renderer-vue",
|
64
60
|
"type": "git"
|
65
61
|
},
|
66
|
-
"gitHead": "
|
62
|
+
"gitHead": "042d9e298dd2d00a1e60d83f1b0f0e64afebfa90"
|
67
63
|
}
|
package/dist/client/init.d.mts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"init.d.mts","sourceRoot":"","sources":["../../src/client/init.mts"],"names":[],"mappings":""}
|
package/dist/client/init.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"init.mjs","sourceRoot":"","sources":["../../src/client/init.mts"],"names":[],"mappings":"AAAA,OAAO,E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ETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { Demo } from '@knapsack/types';
|
2
|
-
import type { KsJsImport } from '@knapsack/renderer-webpack-base';
|
3
|
-
/**
|
4
|
-
* Found as JSON in HTML `#ks-vue-meta`
|
5
|
-
*/
|
6
|
-
export type KsVueMeta = {
|
7
|
-
imports: KsJsImport[];
|
8
|
-
demo: Demo;
|
9
|
-
patternId: string;
|
10
|
-
templateId: string;
|
11
|
-
};
|
12
|
-
export declare const rendererMetaScriptTagId = "ks-vue-meta";
|
13
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
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"}
|
package/dist/types.js
DELETED
package/dist/types.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAaa,QAAA,uBAAuB,GAAG,aAAa,CAAC"}
|