@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 CHANGED
@@ -1,6 +1,7 @@
1
1
  import fs from 'node:fs/promises';
2
2
  import path from 'node:path';
3
- import { defineConfig } from '@tachybase/devkit';
3
+
4
+ import { defineConfig } from '@tego/devkit';
4
5
 
5
6
  export default defineConfig({
6
7
  afterBuild: async (log) => {
@@ -1,4 +1,4 @@
1
1
  module.exports = {
2
- "@tachybase/client": "1.3.13",
3
- "@tachybase/server": "1.3.13"
2
+ "@tachybase/client": "1.3.15",
3
+ "@tachybase/server": "1.3.15"
4
4
  };
@@ -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/app-web/src/.plugins");
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/app-web/src/assets/index.html"),
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/app-web/src/assets/favicon.ico"),
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/app-web/src/assets/apple-touch-icon.png"),
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/app-web/src/assets/android-chrome-192x192.png"),
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/app-web/src/assets/android-chrome-512x512.png"),
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/app-web/src/index.tsx")
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/app-web/public")
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.13",
3
+ "version": "1.3.15",
4
4
  "main": "dist/server/index.js",
5
5
  "dependencies": {
6
- "@rsbuild/core": "1.4.0-beta.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/server": "1.3.13",
14
- "@tachybase/client": "1.3.13",
15
- "@tachybase/test": "1.3.13"
13
+ "@tachybase/client": "1.3.15",
14
+ "@tachybase/server": "1.3.15",
15
+ "@tachybase/test": "1.3.15"
16
16
  }
17
17
  }