@tachybase/plugin-devkit 1.3.13 → 1.3.15
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/build.config.ts +2 -1
- package/dist/externalVersion.js +2 -2
- package/dist/server/config.js +8 -8
- package/package.json +5 -5
package/build.config.ts
CHANGED
package/dist/externalVersion.js
CHANGED
package/dist/server/config.js
CHANGED
|
@@ -38,7 +38,7 @@ var import_plugin_react = require("@rsbuild/plugin-react");
|
|
|
38
38
|
var import_utils = require("./utils");
|
|
39
39
|
const config = (0, import_utils.getUmiConfig)();
|
|
40
40
|
const pluginDirs = ["packages"].map((item) => import_node_path.default.join(process.cwd(), item));
|
|
41
|
-
const outputPluginPath = import_node_path.default.resolve("apps/
|
|
41
|
+
const outputPluginPath = import_node_path.default.resolve("apps/web/src/.plugins");
|
|
42
42
|
const indexGenerator = new import_utils.IndexGenerator(outputPluginPath, pluginDirs);
|
|
43
43
|
indexGenerator.generate();
|
|
44
44
|
const rsDefined = {};
|
|
@@ -49,24 +49,24 @@ var config_default = (0, import_core.defineConfig)({
|
|
|
49
49
|
html: {
|
|
50
50
|
title: "Tachybase",
|
|
51
51
|
inject: "body",
|
|
52
|
-
template: import_node_path.default.resolve("apps/
|
|
52
|
+
template: import_node_path.default.resolve("apps/web/src/assets/index.html"),
|
|
53
53
|
meta: [{ viewport: "initial-scale=0.1" }],
|
|
54
|
-
favicon: import_node_path.default.resolve("apps/
|
|
54
|
+
favicon: import_node_path.default.resolve("apps/web/src/assets/favicon.ico"),
|
|
55
55
|
appIcon: {
|
|
56
56
|
name: "Tachybase",
|
|
57
57
|
icons: [
|
|
58
58
|
{
|
|
59
|
-
src: import_node_path.default.resolve("apps/
|
|
59
|
+
src: import_node_path.default.resolve("apps/web/src/assets/apple-touch-icon.png"),
|
|
60
60
|
size: 180,
|
|
61
61
|
target: "apple-touch-icon"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
src: import_node_path.default.resolve("apps/
|
|
64
|
+
src: import_node_path.default.resolve("apps/web/src/assets/android-chrome-192x192.png"),
|
|
65
65
|
size: 192,
|
|
66
66
|
target: "web-app-manifest"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
src: import_node_path.default.resolve("apps/
|
|
69
|
+
src: import_node_path.default.resolve("apps/web/src/assets/android-chrome-512x512.png"),
|
|
70
70
|
size: 512,
|
|
71
71
|
target: "web-app-manifest"
|
|
72
72
|
}
|
|
@@ -75,7 +75,7 @@ var config_default = (0, import_core.defineConfig)({
|
|
|
75
75
|
},
|
|
76
76
|
source: {
|
|
77
77
|
entry: {
|
|
78
|
-
index: import_node_path.default.resolve("apps/
|
|
78
|
+
index: import_node_path.default.resolve("apps/web/src/index.tsx")
|
|
79
79
|
},
|
|
80
80
|
define: {
|
|
81
81
|
...rsDefined,
|
|
@@ -105,7 +105,7 @@ var config_default = (0, import_core.defineConfig)({
|
|
|
105
105
|
...config.proxy
|
|
106
106
|
},
|
|
107
107
|
publicDir: {
|
|
108
|
-
name: import_node_path.default.resolve("apps/
|
|
108
|
+
name: import_node_path.default.resolve("apps/web/public")
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
plugins: [(0, import_plugin_react.pluginReact)(), (0, import_plugin_less.pluginLess)(), (0, import_plugin_node_polyfill.pluginNodePolyfill)()],
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/plugin-devkit",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
4
4
|
"main": "dist/server/index.js",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@rsbuild/core": "1.4.
|
|
6
|
+
"@rsbuild/core": "1.4.2",
|
|
7
7
|
"@rsbuild/plugin-less": "1.2.4",
|
|
8
8
|
"@rsbuild/plugin-node-polyfill": "1.3.0",
|
|
9
9
|
"@rsbuild/plugin-react": "1.3.2",
|
|
10
10
|
"fast-glob": "^3.3.2"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@tachybase/
|
|
14
|
-
"@tachybase/
|
|
15
|
-
"@tachybase/test": "1.3.
|
|
13
|
+
"@tachybase/client": "1.3.15",
|
|
14
|
+
"@tachybase/server": "1.3.15",
|
|
15
|
+
"@tachybase/test": "1.3.15"
|
|
16
16
|
}
|
|
17
17
|
}
|