@xfe-repo/mini-utils 0.0.9 → 1.5.0

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/env.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- type ApiEnv = 'dev' | 'stage' | 'beta' | 'prod' | `test${number | ''}`;
1
+ type ApiEnv = 'dev' | 'stage' | 'prod' | `test${number | ''}`;
2
2
  declare const ENV: string;
3
3
  declare const version = "0.0.1";
4
4
  declare const platform: string;
package/dist/env.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- type ApiEnv = 'dev' | 'stage' | 'beta' | 'prod' | `test${number | ''}`;
1
+ type ApiEnv = 'dev' | 'stage' | 'prod' | `test${number | ''}`;
2
2
  declare const ENV: string;
3
3
  declare const version = "0.0.1";
4
4
  declare const platform: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfe-repo/mini-utils",
3
- "version": "0.0.9",
3
+ "version": "1.5.0",
4
4
  "sideEffects": false,
5
5
  "module": "dist/*.js",
6
6
  "types": "types/*.d.ts",
@@ -20,15 +20,16 @@
20
20
  "dist"
21
21
  ],
22
22
  "dependencies": {
23
- "js-cookie": "^3.0.5",
24
23
  "@tarojs/taro": "4.0.8",
25
- "compare-versions": "^6.1.1"
24
+ "compare-versions": "^6.1.1",
25
+ "js-cookie": "^3.0.5"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/js-cookie": "^3.0.6",
29
- "@types/node": "^20.10.3",
30
- "@xfe-repo/eslint-config": "0.0.5",
31
- "@xfe-repo/typescript-config": "0.0.6"
29
+ "@types/node": "^20.17.0",
30
+ "eslint": "8.57.1",
31
+ "@xfe-repo/typescript-config": "1.5.0",
32
+ "@xfe-repo/eslint-config": "1.5.0"
32
33
  },
33
34
  "publishConfig": {
34
35
  "registry": "https://registry.npmjs.org/"
@@ -36,7 +37,7 @@
36
37
  "scripts": {
37
38
  "build": "tsup",
38
39
  "dev": "tsup --watch",
39
- "lint": "eslint \"src/**/*.ts*\"",
40
+ "lint": "eslint \"src/**/*.ts*\" --fix",
40
41
  "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
41
42
  }
42
43
  }