@omnia/tooling-vue 8.0.256-dev → 8.0.258-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 +38 -32
- package/internal-do-not-import-from-here/index.js +2 -2
- package/internal-do-not-import-from-here/shared.js +7 -7
- package/internal-do-not-import-from-here/tasks/ComponentDocRegistrations.js +1 -1
- package/internal-do-not-import-from-here/tasks/bundle.js +11 -12
- package/internal-do-not-import-from-here/tasks/doc.js +2 -3
- package/internal-do-not-import-from-here/vite/hmr/graph.js +5 -6
- package/internal-do-not-import-from-here/vite/hmr/manifest.js +6 -6
- package/internal-do-not-import-from-here/vite/hmr/resolvers/base.js +1 -2
- package/internal-do-not-import-from-here/vite/hmr/runtime.js +2 -3
- package/internal-do-not-import-from-here/vite/hmr/transformers/base.js +1 -2
- package/internal-do-not-import-from-here/vite/hmr/transformers/vendorImportPath.js +2 -2
- package/internal-do-not-import-from-here/vite/hmr/utils/env.js +4 -5
- package/internal-do-not-import-from-here/vite/hmr/utils/manifest.js +4 -5
- package/internal-do-not-import-from-here/vite/hmr/utils/moduleAnalysis.js +5 -6
- package/internal-do-not-import-from-here/vite/hmr/utils/path.js +17 -17
- package/internal-do-not-import-from-here/vite/hmr/utils/transform.js +3 -3
- package/internal-do-not-import-from-here/vite/hmr/utils/webpack.js +1 -2
- package/internal-do-not-import-from-here/vite/hmr/vueJsx.js +1 -2
- package/internal-do-not-import-from-here/vite/index.js +23 -3
- package/internal-do-not-import-from-here/vite/middlewares/HmrMiddleware.js +4 -4
- package/internal-do-not-import-from-here/vite/middlewares/OmniaMiddleware.js +2 -2
- package/internal-do-not-import-from-here/vite/middlewares/StaticFileMiddleware.js +1 -2
- package/internal-do-not-import-from-here/vite/middlewares/WebpackMiddleware.js +1 -2
- package/internal-do-not-import-from-here/vite/plugins/OmniaPlugin.js +1 -2
- package/internal-do-not-import-from-here/webpack-loaders/doc-loader.js +1 -1
- package/internal-do-not-import-from-here/webpack-loaders/esbuild-custom-loader.js +1 -1
- package/internal-do-not-import-from-here/webpack-loaders/group-manifest-hot-loader.js +1 -1
- package/internal-do-not-import-from-here/webpack-loaders/ingore-vuetify-locale.js +1 -1
- package/internal-do-not-import-from-here/webpack-loaders/replacement-loader.js +1 -1
- package/internal-do-not-import-from-here/webpack-loaders/ts-loader.js +1 -1
- package/internal-do-not-import-from-here/webpack-loaders/tsx-loader.js +1 -1
- package/internal-do-not-import-from-here/webpack-loaders/vue-domprops-loader.js +1 -1
- package/internal-do-not-import-from-here/webpack-loaders/vue-localization-hot-loader.js +1 -1
- package/internal-do-not-import-from-here/webpack-plugins/omnia.webpack.plugins.js +3 -3
- package/internal-do-not-import-from-here/webpack-plugins/stylexjs/loader.js +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registerHmrMiddleware =
|
|
3
|
+
exports.registerHmrMiddleware = registerHmrMiddleware;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
6
6
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
@@ -130,7 +130,6 @@ function registerHmrMiddleware(server) {
|
|
|
130
130
|
res.end(content);
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
-
exports.registerHmrMiddleware = registerHmrMiddleware;
|
|
134
133
|
async function preBundleIfNeeded(entries) {
|
|
135
134
|
if (preBundled) {
|
|
136
135
|
return;
|
|
@@ -140,7 +139,8 @@ async function preBundleIfNeeded(entries) {
|
|
|
140
139
|
if (Object.keys(preBundleEntries).length == 0) {
|
|
141
140
|
return Promise.resolve();
|
|
142
141
|
}
|
|
143
|
-
|
|
142
|
+
const startTime = new Date().getTime();
|
|
143
|
+
$.tooling.logTime("Pre-Bundling...", startTime);
|
|
144
144
|
return new Promise(function (resolve, reject) {
|
|
145
145
|
const configs = utils_1.webpackUtils.createWebpackConfig(preBundleEntries, 'prebundle');
|
|
146
146
|
const compiler = (0, webpack_1.webpack)(configs);
|
|
@@ -150,7 +150,7 @@ async function preBundleIfNeeded(entries) {
|
|
|
150
150
|
reject();
|
|
151
151
|
return;
|
|
152
152
|
}
|
|
153
|
-
$.tooling.
|
|
153
|
+
$.tooling.logTime("Pre-Bundle done", startTime);
|
|
154
154
|
resolve(entries);
|
|
155
155
|
});
|
|
156
156
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ManifestChangedMessage = exports.resolvableManifest = void 0;
|
|
4
|
+
exports.registerOmniaMiddleware = registerOmniaMiddleware;
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
5
6
|
const chokidar_1 = tslib_1.__importDefault(require("chokidar"));
|
|
6
7
|
const url_1 = tslib_1.__importDefault(require("url"));
|
|
@@ -89,7 +90,6 @@ function registerOmniaMiddleware(server, hmr) {
|
|
|
89
90
|
// // trigger build manifest
|
|
90
91
|
// setTimeout(ensureLoadManifest, 100);
|
|
91
92
|
}
|
|
92
|
-
exports.registerOmniaMiddleware = registerOmniaMiddleware;
|
|
93
93
|
function isLocalizeManifestFile(filePath) {
|
|
94
94
|
const content = fsExtra.readFileSync(filePath, 'utf8');
|
|
95
95
|
return content.indexOf(".registerLocalization") > -1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registerStaticFileMiddleware =
|
|
3
|
+
exports.registerStaticFileMiddleware = registerStaticFileMiddleware;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const tooling_1 = require("@omnia/tooling");
|
|
6
6
|
const $ = tslib_1.__importStar(require("../../variables"));
|
|
@@ -86,4 +86,3 @@ function registerStaticFileMiddleware(server) {
|
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
exports.registerStaticFileMiddleware = registerStaticFileMiddleware;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registerWebpackMiddleware =
|
|
3
|
+
exports.registerWebpackMiddleware = registerWebpackMiddleware;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const webpack_1 = require("webpack");
|
|
6
6
|
const webpack_dev_middleware_1 = tslib_1.__importDefault(require("webpack-dev-middleware"));
|
|
@@ -24,7 +24,6 @@ function registerWebpackMiddleware(server) {
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
exports.registerWebpackMiddleware = registerWebpackMiddleware;
|
|
28
27
|
function registerWebpackMiddleWareBundle(entries) {
|
|
29
28
|
_server.httpServer.on('upgrade', (req, socket, head) => {
|
|
30
29
|
// have new connection
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.omniaPlugin =
|
|
3
|
+
exports.omniaPlugin = omniaPlugin;
|
|
4
4
|
const middlewares_1 = require("../middlewares");
|
|
5
5
|
const hmr_1 = require("../hmr");
|
|
6
6
|
function omniaPlugin(options) {
|
|
@@ -94,4 +94,3 @@ function omniaPlugin(options) {
|
|
|
94
94
|
...hmrPlugin
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
exports.omniaPlugin = omniaPlugin;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
5
6
|
const doc_1 = require("../tasks/doc");
|
|
@@ -8,4 +9,3 @@ function default_1(content, context) {
|
|
|
8
9
|
content = (0, doc_1.importSnippetCode)(content, filePath);
|
|
9
10
|
return content;
|
|
10
11
|
}
|
|
11
|
-
exports.default = default_1;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
function default_1(content, context) {
|
|
4
5
|
if (!content) {
|
|
5
6
|
// console.log(this.resourcePath)
|
|
@@ -7,4 +8,3 @@ function default_1(content, context) {
|
|
|
7
8
|
}
|
|
8
9
|
return content;
|
|
9
10
|
}
|
|
10
|
-
exports.default = default_1;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const $ = tslib_1.__importStar(require("../variables"));
|
|
5
6
|
//register ts-node
|
|
@@ -54,5 +55,4 @@ function default_1(contents, context) {
|
|
|
54
55
|
document.getElementsByTagName("body")[0].appendChild(script);
|
|
55
56
|
})`;
|
|
56
57
|
}
|
|
57
|
-
exports.default = default_1;
|
|
58
58
|
;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
function default_1(contents) {
|
|
4
5
|
return "export default {};";
|
|
5
6
|
//const index = contents.indexOf('export {};')
|
|
@@ -9,4 +10,3 @@ function default_1(contents) {
|
|
|
9
10
|
//}
|
|
10
11
|
//return contents;
|
|
11
12
|
}
|
|
12
|
-
exports.default = default_1;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
5
6
|
const shared_1 = require("../shared");
|
|
@@ -8,4 +9,3 @@ function default_1(content, context) {
|
|
|
8
9
|
content = (0, shared_1.transformDefineVueComponent)(content, filePath);
|
|
9
10
|
return (0, shared_1.replaceTokens)(content);
|
|
10
11
|
}
|
|
11
|
-
exports.default = default_1;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const $ = tslib_1.__importStar(require("../variables"));
|
|
5
6
|
var path = require('path');
|
|
@@ -35,4 +36,3 @@ function default_1() {
|
|
|
35
36
|
]
|
|
36
37
|
}];
|
|
37
38
|
}
|
|
38
|
-
exports.default = default_1;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
var path = require('path');
|
|
5
6
|
const $ = tslib_1.__importStar(require("../variables"));
|
|
@@ -81,4 +82,3 @@ function default_1() {
|
|
|
81
82
|
}
|
|
82
83
|
];
|
|
83
84
|
}
|
|
84
|
-
exports.default = default_1;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
function default_1(contents, context) {
|
|
4
5
|
const loaderUtils = require("loader-utils");
|
|
5
6
|
const options = loaderUtils.getOptions(this);
|
|
@@ -25,7 +26,6 @@ function default_1(contents, context) {
|
|
|
25
26
|
}
|
|
26
27
|
return contents;
|
|
27
28
|
}
|
|
28
|
-
exports.default = default_1;
|
|
29
29
|
function getElements(elementName, inputText) {
|
|
30
30
|
var preElement = `<${elementName}`;
|
|
31
31
|
var midElement = `</${elementName}`;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const loaderUtils = require("loader-utils");
|
|
5
6
|
const $ = tslib_1.__importStar(require("../variables"));
|
|
@@ -51,5 +52,4 @@ function default_1(contents, context) {
|
|
|
51
52
|
else
|
|
52
53
|
return "";
|
|
53
54
|
}
|
|
54
|
-
exports.default = default_1;
|
|
55
55
|
;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PreventInlineEntryModule = exports.ChunkAssets = exports.BuildWebpackRequire = exports.
|
|
3
|
+
exports.PreventInlineEntryModule = exports.ChunkAssets = exports.BuildWebpackRequire = exports.StatsWriterPlugin = exports.DllReferencePlugin = void 0;
|
|
4
|
+
exports.NamedModulesPlugin = NamedModulesPlugin;
|
|
5
|
+
exports.ModifyContent = ModifyContent;
|
|
4
6
|
const tslib_1 = require("tslib");
|
|
5
7
|
const $ = tslib_1.__importStar(require("../variables"));
|
|
6
8
|
const webpack_1 = require("webpack");
|
|
@@ -47,7 +49,6 @@ function ModifyContent(replacements, allowAllFileExtensions) {
|
|
|
47
49
|
this.replacements = replacements;
|
|
48
50
|
this.allowAllFileExtensions = allowAllFileExtensions;
|
|
49
51
|
}
|
|
50
|
-
exports.ModifyContent = ModifyContent;
|
|
51
52
|
ModifyContent.prototype.apply = function (compiler) {
|
|
52
53
|
compiler.hooks.compilation.tap("ModifyContent", (compilation) => {
|
|
53
54
|
compilation.hooks.processAssets.tap({
|
|
@@ -163,7 +164,6 @@ exports.BuildWebpackRequire = BuildWebpackRequire;
|
|
|
163
164
|
function NamedModulesPlugin(options) {
|
|
164
165
|
this.options = options || {};
|
|
165
166
|
}
|
|
166
|
-
exports.NamedModulesPlugin = NamedModulesPlugin;
|
|
167
167
|
NamedModulesPlugin.prototype.apply = function (compiler) {
|
|
168
168
|
compiler.hooks.compilation.tap("OmniaNamedModulesPlugin", function (compilation) {
|
|
169
169
|
compilation.hooks.beforeModuleIds.tap("OmniaNamedModulesPlugin", function (modules) {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
'use strict';
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.default = stylexLoader;
|
|
11
12
|
const PLUGIN_NAME = 'stylex';
|
|
12
13
|
function stylexLoader(inputCode) {
|
|
13
14
|
const callback = this.async();
|
|
@@ -19,5 +20,4 @@ function stylexLoader(inputCode) {
|
|
|
19
20
|
callback(error);
|
|
20
21
|
});
|
|
21
22
|
}
|
|
22
|
-
exports.default = stylexLoader;
|
|
23
23
|
;
|
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.258-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.258-dev",
|
|
23
|
+
"@omnia/tooling-composers": "8.0.258-dev",
|
|
24
24
|
"@types/mousetrap": "1.5.34",
|
|
25
25
|
"@types/quill": "1.3.6",
|
|
26
26
|
"@types/zepto": "1.0.29",
|