@dao42/d42paas-front 0.5.8 → 0.5.9

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/dist/index.html CHANGED
@@ -25,7 +25,7 @@
25
25
  <div class="edit-container"></div>
26
26
  </main>
27
27
  <!-- <script src="/dist/daoPaaS.js"></script> -->
28
- <script type="module" src="DaoPaaS.umd.js"></script>
28
+ <script type="module" src="./DaoPaaS.umd.js"></script>
29
29
 
30
30
  <script>
31
31
  window.onload = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dao42/d42paas-front",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "> TODO: description",
5
5
  "author": "eric183 <kk297466058@gmail.com>",
6
6
  "homepage": "https://github.com/dao42/d42paas_frontend#readme",
@@ -28,10 +28,12 @@
28
28
  "start:web": "yarn prebuild && yarn vite",
29
29
  "storybook": "start-storybook -p 6006",
30
30
  "build-storybook": "build-storybook -o .storybook/dist",
31
- "dev": "cross-env TS_NODE_PROJECT=\"tsconfig.dev.json\" webpack serve --open --config ./config/webpack.dev.config.ts",
31
+ "dev:disble": "cross-env TS_NODE_PROJECT=\"tsconfig.dev.json\" webpack serve --open --config ./config/webpack.dev.config.ts",
32
32
  "analyse": "cross-env NODE_ENV=production TS_NODE_PROJECT=\"tsconfig.json\" webpack --config ./config/webpack.analytics.config.js",
33
- "vite:dev": "NODE_ENV=development vite serve --host --config ./config/vite.config.ts",
34
- "vite": "NODE_ENV=production vite build --config ./config/vite.config.ts && yarn run copyTS && yarn patch",
33
+ "dev": "vite serve --host --config ./config/vite.config.ts",
34
+ "vite": "vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",
35
+ "dev:save": "NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts",
36
+ "vite:save": "NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",
35
37
  "fix": "eslint --fix --ext .jsx src/**",
36
38
  "copyTS": "shx cp ./src/types/editor.d.ts ./dist",
37
39
  "np": "npm publish --access-public",