zywlgis 0.5.90-beta.21 → 0.5.90-beta.22

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.
Files changed (2) hide show
  1. package/package.json +3 -2
  2. package/vite.config.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zywlgis",
3
- "version": "0.5.90-beta.21",
3
+ "version": "0.5.90-beta.22",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "module": "release/ZYWLGIS.es.js",
@@ -19,12 +19,13 @@
19
19
  "dev": "vite",
20
20
  "build": "vite build --mode release",
21
21
  "pre": "vite build --mode preview",
22
+ "betabuild": "vite build --mode beta",
22
23
  "release": "npm publish --registry http://192.168.76.130:8081/repository/AI_Dep._NPM_Hosted/",
23
24
  "internet": "npm publish --registry https://registry.npmjs.org/",
24
25
  "patch": "npm version patch",
25
26
  "minor": "npm version minor",
26
27
  "major": "npm version major",
27
- "beta": "npm version prerelease --preid=beta && npm run build && npm publish --registry https://registry.npmjs.org/ --tag beta"
28
+ "beta": "npm version prerelease --preid=beta && npm run betabuild && npm publish --registry https://registry.npmjs.org/ --tag beta"
28
29
  },
29
30
  "publishConfig": {
30
31
  "registry": "http://192.168.76.130:8081/repository/AI_Dep._NPM_Hosted/"
package/vite.config.js CHANGED
@@ -46,7 +46,7 @@ export default defineConfig(({ command, mode, isSsrBuild, isPreview }) => {
46
46
  // ),
47
47
  },
48
48
  };
49
- if (mode === "release") {
49
+ if (mode === "release" || mode === "beta") {
50
50
  return {
51
51
  plugins: plugins,
52
52
  resolve: resolveConfig,