@omnia/tooling-vue 8.0.317-dev → 8.0.321-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 +46 -4
- package/internal-do-not-import-from-here/index.d.ts +0 -1
- package/internal-do-not-import-from-here/index.js +0 -3
- package/internal-do-not-import-from-here/rspack/bundle.d.ts +1 -0
- package/internal-do-not-import-from-here/rspack/bundle.js +72 -0
- package/internal-do-not-import-from-here/tasks/ComponentDocRegistrations.js +1 -1
- package/internal-do-not-import-from-here/tasks/bundle.d.ts +1 -0
- package/internal-do-not-import-from-here/tasks/bundle.js +46 -42
- package/internal-do-not-import-from-here/vite/hmr/vueJsx.d.ts +10 -2
- package/internal-do-not-import-from-here/webpack-plugins/stylexjs/index.d.ts +10 -2
- package/internal-do-not-import-from-here/webpack-plugins/stylexjs/index.js +3 -2
- package/package.json +6 -4
- package/internal-do-not-import-from-here/rspack/index.d.ts +0 -0
- package/internal-do-not-import-from-here/rspack/index.js +0 -0
|
@@ -17,6 +17,7 @@ const del_1 = tslib_1.__importDefault(require("del"));
|
|
|
17
17
|
const fsExtra = tslib_1.__importStar(require("fs-extra"));
|
|
18
18
|
const globby_1 = require("globby");
|
|
19
19
|
const terser_1 = require("terser");
|
|
20
|
+
require("../rspack/bundle");
|
|
20
21
|
const ts_loader_1 = tslib_1.__importDefault(require("../webpack-loaders/ts-loader"));
|
|
21
22
|
const tsx_loader_1 = tslib_1.__importDefault(require("../webpack-loaders/tsx-loader"));
|
|
22
23
|
const tooling_composers_1 = require("@omnia/tooling-composers");
|
|
@@ -35,6 +36,7 @@ let outDirManifestMetadata = "client/tooling/vue/output_manifests", _manifestsEn
|
|
|
35
36
|
if ($.isExtensionEnv) {
|
|
36
37
|
outDirManifestMetadata = "node_modules/@omnia/tooling-vue/internal-do-not-import-from-here/output_manifests";
|
|
37
38
|
}
|
|
39
|
+
const useWebpack = process.argv.find(argv => argv === "--rspack") === undefined;
|
|
38
40
|
tooling_1.core.registerCleanTask({
|
|
39
41
|
order: 2,
|
|
40
42
|
task: function () {
|
|
@@ -90,48 +92,50 @@ $.tooling.core.registerServeTask({
|
|
|
90
92
|
});
|
|
91
93
|
}
|
|
92
94
|
});
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
95
|
+
if (useWebpack) {
|
|
96
|
+
$.tooling.core.registerBuildTask({
|
|
97
|
+
stage: $.tooling.core.TaskStage.BeforeBundleManifest,
|
|
98
|
+
order: 2,
|
|
99
|
+
task: function (entries) {
|
|
100
|
+
return new Promise(function (resolve, reject) {
|
|
101
|
+
if (!entries || entries.length === 0) {
|
|
102
|
+
resolve(entries);
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
beforeBundleManifest(entries)
|
|
106
|
+
.then(resolve, reject);
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
$.tooling.core.registerServeTask({
|
|
111
|
+
stage: $.tooling.core.TaskStage.BeforeBundleManifest,
|
|
112
|
+
order: 2,
|
|
113
|
+
task: function (entries) {
|
|
114
|
+
return new Promise(function (resolve, reject) {
|
|
115
|
+
if (!entries || entries.length === 0) {
|
|
116
|
+
resolve(entries);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
beforeBundleManifest(entries)
|
|
120
|
+
.then(resolve, reject);
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
$.tooling.core.registerBuildTask({
|
|
125
|
+
stage: $.tooling.core.TaskStage.BundleManifest,
|
|
126
|
+
order: 2,
|
|
127
|
+
task: function (entries) {
|
|
128
|
+
return new Promise(function (resolve, reject) {
|
|
129
|
+
if (!entries || entries.length === 0) {
|
|
130
|
+
resolve(entries);
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
bundleManifest(entries)
|
|
134
|
+
.then(resolve, reject);
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
}
|
|
135
139
|
$.tooling.core.registerBuildTask({
|
|
136
140
|
stage: $.tooling.core.TaskStage.AfterBundleManifest,
|
|
137
141
|
order: 2,
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export declare function transformVueJsx(code: string, id: string): {
|
|
2
|
-
code:
|
|
3
|
-
map:
|
|
2
|
+
code: string;
|
|
3
|
+
map: {
|
|
4
|
+
version: number;
|
|
5
|
+
sources: string[];
|
|
6
|
+
names: string[];
|
|
7
|
+
sourceRoot?: string | undefined;
|
|
8
|
+
sourcesContent?: string[] | undefined;
|
|
9
|
+
mappings: string;
|
|
10
|
+
file: string;
|
|
11
|
+
};
|
|
4
12
|
};
|
|
@@ -43,8 +43,16 @@ export declare class StylexPlugin {
|
|
|
43
43
|
constructor(options?: PluginOptions);
|
|
44
44
|
apply(compiler: any): void;
|
|
45
45
|
transformCode(inputCode: string, filename: any, logger: any): Promise<{
|
|
46
|
-
code:
|
|
47
|
-
map:
|
|
46
|
+
code: string;
|
|
47
|
+
map: {
|
|
48
|
+
version: number;
|
|
49
|
+
sources: string[];
|
|
50
|
+
names: string[];
|
|
51
|
+
sourceRoot?: string | undefined;
|
|
52
|
+
sourcesContent?: string[] | undefined;
|
|
53
|
+
mappings: string;
|
|
54
|
+
file: string;
|
|
55
|
+
};
|
|
48
56
|
} | {
|
|
49
57
|
code: string;
|
|
50
58
|
map?: undefined;
|
|
@@ -181,8 +181,9 @@ class StylexPlugin {
|
|
|
181
181
|
],
|
|
182
182
|
presets: this.babelConfig.presets,
|
|
183
183
|
});
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
const stylex = metadata.stylex;
|
|
185
|
+
if (stylex != null && stylex.length > 0) {
|
|
186
|
+
this.stylexRules[filename] = stylex;
|
|
186
187
|
}
|
|
187
188
|
if (!this.babelConfig.babelrc) {
|
|
188
189
|
return { code, map };
|
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.321-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.321-dev",
|
|
23
|
+
"@omnia/tooling-composers": "8.0.321-dev",
|
|
24
24
|
"@types/mousetrap": "1.5.34",
|
|
25
25
|
"@types/quill": "1.3.6",
|
|
26
26
|
"@types/zepto": "1.0.29",
|
|
@@ -61,7 +61,9 @@
|
|
|
61
61
|
"vite-plugin-inspect": "0.8.3",
|
|
62
62
|
"appdata-path": "1.0.0",
|
|
63
63
|
"url": "0.11.0",
|
|
64
|
-
"@stylexjs/babel-plugin": "0.6.1"
|
|
64
|
+
"@stylexjs/babel-plugin": "0.6.1",
|
|
65
|
+
"@rsbuild/core": "1.1.1",
|
|
66
|
+
"@rsbuild/plugin-vue-jsx": "1.0.1"
|
|
65
67
|
},
|
|
66
68
|
"bugs": {
|
|
67
69
|
"url": "https://github.com/preciofishbone/OmniaFx/issues"
|
|
File without changes
|
|
File without changes
|