@omnia/tooling-vue 8.0.254-dev → 8.0.256-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/config/tooling.output.json +1 -1
- package/internal-do-not-import-from-here/config/wctypings.d.ts +18 -0
- package/internal-do-not-import-from-here/tasks/ComponentDocRegistrations.js +1 -1
- package/internal-do-not-import-from-here/tasks/doc.js +1 -0
- package/internal-do-not-import-from-here/vite/middlewares/HmrMiddleware.js +4 -3
- package/package.json +3 -3
|
@@ -207,6 +207,7 @@ function populateElementNamespace(namespace, elementName, importElement) {
|
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
209
|
if (i === parts.length - 1) {
|
|
210
|
+
tooling_1.utils.log(`Generate namespace for component with suffix $ -> ${parts.slice(0, i + 1).join(".")}$`);
|
|
210
211
|
namespace[`${name}$`] = `typeof ${importElement} extends { propsDefinition: infer TProp } ? { new(...args: any[]): { $props: TProp & Omit<VueComponentBaseProps, keyof TProp> } } : typeof ${importElement} <<end>>`;
|
|
211
212
|
// throw new Error("Build element namespace -> Exist an element name contain a above that element name");
|
|
212
213
|
}
|
|
@@ -19,11 +19,12 @@ function registerHmrMiddleware(server) {
|
|
|
19
19
|
order: 3,
|
|
20
20
|
task: async function (entries) {
|
|
21
21
|
const serviceId = $.tooling.composer.getServiceId();
|
|
22
|
-
|
|
22
|
+
const startTime = new Date().getTime();
|
|
23
|
+
$.tooling.logTime("HMR Middleware running...", startTime);
|
|
23
24
|
hmr_1.entriesResolver.resolveEntries(entries);
|
|
24
|
-
$.tooling.
|
|
25
|
+
$.tooling.logTime("Building module dependency graphs...", startTime);
|
|
25
26
|
const manifests = await (0, graph_1.buildFileGraphs)(entries);
|
|
26
|
-
$.tooling.
|
|
27
|
+
$.tooling.logTime("Done - Building module dependency graphs", startTime);
|
|
27
28
|
return ensureManifestInfo(entries).then(preBundleIfNeeded).then(() => {
|
|
28
29
|
bundler.processManifestGenerated(entries, $.tooling.composer.OmniaOutput.OutputBundlePath);
|
|
29
30
|
Object.keys(manifests).forEach(resourceId => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/tooling-vue",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.256-dev",
|
|
5
5
|
"description": "Used to bundle and serve manifests web component that build on Vue framework.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"author": "Precio Fishbone",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@omnia/fx-models": "8.0.
|
|
23
|
-
"@omnia/tooling-composers": "8.0.
|
|
22
|
+
"@omnia/fx-models": "8.0.256-dev",
|
|
23
|
+
"@omnia/tooling-composers": "8.0.256-dev",
|
|
24
24
|
"@types/mousetrap": "1.5.34",
|
|
25
25
|
"@types/quill": "1.3.6",
|
|
26
26
|
"@types/zepto": "1.0.29",
|