@vtj/utils 0.0.6 → 0.0.7

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/package.json CHANGED
@@ -1,22 +1,26 @@
1
1
  {
2
2
  "name": "@vtj/utils",
3
3
  "private": false,
4
- "version": "0.0.6",
4
+ "version": "0.0.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
+ "setup": "npm install --registry=https://registry.npmmirror.com",
7
8
  "dev": "cross-env ENV_TYPE=dev vite",
8
9
  "build": "vue-tsc --noEmit && cross-env ENV_TYPE=prod vite build && npm run build:cdn",
9
10
  "build:cdn": "vue-tsc --noEmit && cross-env ENV_TYPE=prod CDN=true vite build",
10
- "preview": "vite preview"
11
+ "preview": "vite preview",
12
+ "deploy:major": "npm run build:engine && npm version major && npm publish --access public",
13
+ "deploy:minor": "npm run build:engine && npm version minor && npm publish --access public",
14
+ "deploy:patch": "npm run build:engine && npm version patch && npm publish --access public"
11
15
  },
12
16
  "devDependencies": {
13
17
  "@babel/types": "^7.18.10",
14
18
  "@types/js-cookie": "^3.0.2",
15
19
  "@types/lodash-es": "^4.17.6",
16
- "@types/node": "^18.7.8",
17
- "@vitejs/plugin-legacy": "^2.0.1",
18
- "@vitejs/plugin-vue": "^3.0.3",
19
- "@vitejs/plugin-vue-jsx": "^2.0.0",
20
+ "@types/node": "^18.7.18",
21
+ "@vitejs/plugin-legacy": "^2.1.0",
22
+ "@vitejs/plugin-vue": "^3.1.0",
23
+ "@vitejs/plugin-vue-jsx": "^2.0.1",
20
24
  "axios": "^0.27.2",
21
25
  "cross-env": "^7.0.3",
22
26
  "crypto-js": "^4.1.1",
@@ -24,14 +28,13 @@
24
28
  "js-cookie": "^3.0.1",
25
29
  "lodash-es": "^4.17.16",
26
30
  "rollup-plugin-external-globals": "^0.6.1",
27
- "sass": "^1.54.5",
28
- "typescript": "^4.7.4",
29
- "unplugin-element-plus": "^0.4.1",
30
- "vite": "^3.0.7",
31
- "vite-plugin-dts": "^1.4.1",
32
- "vue": "^3.2.37",
33
- "vue-router": "^4.1.3",
34
- "vue-tsc": "^0.39.5"
31
+ "sass": "^1.54.9",
32
+ "typescript": "^4.8.3",
33
+ "vite": "^3.1.2",
34
+ "vite-plugin-dts": "^1.5.0",
35
+ "vue": "^3.2.39",
36
+ "vue-router": "^4.1.5",
37
+ "vue-tsc": "^0.40.13"
35
38
  },
36
39
  "files": [
37
40
  "lib",
package/src/request.ts CHANGED
@@ -25,7 +25,7 @@ export interface ISettings {
25
25
  loading?: boolean;
26
26
  showLoading?: () => void;
27
27
  hideLoading?: () => void;
28
- loadingTime?: 200;
28
+ loadingTime?: number;
29
29
  type?: 'form' | 'json' | 'data';
30
30
  originResponse?: boolean;
31
31
  validSuccess?: boolean;
@@ -3,7 +3,7 @@ export interface ISettings {
3
3
  loading?: boolean;
4
4
  showLoading?: () => void;
5
5
  hideLoading?: () => void;
6
- loadingTime?: 200;
6
+ loadingTime?: number;
7
7
  type?: 'form' | 'json' | 'data';
8
8
  originResponse?: boolean;
9
9
  validSuccess?: boolean;