Commit 3edf0d12cb91b630f276043acc8560654d4b719b
1 parent
e276640a
🚚 chore(*): 更新依赖
Showing
4 changed files
with
3480 additions
and
1890 deletions
Too many changes to show.
To preserve performance only 2 of 4 files are displayed.
modern.config.ts
@@ -31,6 +31,11 @@ export default defineConfig({ | @@ -31,6 +31,11 @@ export default defineConfig({ | ||
31 | }, | 31 | }, |
32 | }, | 32 | }, |
33 | tools: { | 33 | tools: { |
34 | + swc: { | ||
35 | + jsc: { | ||
36 | + externalHelpers: false, | ||
37 | + }, | ||
38 | + }, | ||
34 | rspack: config => { | 39 | rspack: config => { |
35 | config.experiments = { | 40 | config.experiments = { |
36 | ...config.experiments, | 41 | ...config.experiments, |
package.json
@@ -5,8 +5,10 @@ | @@ -5,8 +5,10 @@ | ||
5 | "reset": "npx rimraf ./**/node_modules", | 5 | "reset": "npx rimraf ./**/node_modules", |
6 | "dev": "cross-env MODERN_ENV=staging modern dev", | 6 | "dev": "cross-env MODERN_ENV=staging modern dev", |
7 | "dev:prod": "cross-env MODERN_ENV=prod modern dev", | 7 | "dev:prod": "cross-env MODERN_ENV=prod modern dev", |
8 | + "dev:ultra": "cross-env MODERN_ENV=ultra modern dev", | ||
8 | "build": "cross-env MODERN_ENV=staging modern build", | 9 | "build": "cross-env MODERN_ENV=staging modern build", |
9 | "build:prod": "cross-env MODERN_ENV=prod modern build", | 10 | "build:prod": "cross-env MODERN_ENV=prod modern build", |
11 | + "build:ultra": "cross-env MODERN_ENV=ultra modern build", | ||
10 | "serve": "modern serve", | 12 | "serve": "modern serve", |
11 | "new": "modern new", | 13 | "new": "modern new", |
12 | "lint": "modern lint", | 14 | "lint": "modern lint", |
@@ -23,34 +25,35 @@ | @@ -23,34 +25,35 @@ | ||
23 | "dist/" | 25 | "dist/" |
24 | ], | 26 | ], |
25 | "dependencies": { | 27 | "dependencies": { |
26 | - "@feewee/h5app-common": "^0.1.39", | ||
27 | - "@modern-js/runtime": "~2.49.4", | 28 | + "@feewee/h5app-common": "^0.1.58", |
29 | + "@modern-js/runtime": "~2.56.2", | ||
28 | "ahooks": "^3.8.0", | 30 | "ahooks": "^3.8.0", |
31 | + "antd": "^5.19.4", | ||
29 | "clsx": "^2.1.1", | 32 | "clsx": "^2.1.1", |
30 | - "dayjs": "^1.11.11", | 33 | + "dayjs": "^1.11.12", |
31 | "react": "^18.3.1", | 34 | "react": "^18.3.1", |
32 | "react-dom": "^18.3.1", | 35 | "react-dom": "^18.3.1", |
33 | "use-immer": "^0.9.0" | 36 | "use-immer": "^0.9.0" |
34 | }, | 37 | }, |
35 | "devDependencies": { | 38 | "devDependencies": { |
36 | "@feewee/fabric": "^1.1.8", | 39 | "@feewee/fabric": "^1.1.8", |
37 | - "@modern-js-app/eslint-config": "~2.49.4", | ||
38 | - "@modern-js/app-tools": "~2.49.4", | ||
39 | - "@modern-js/eslint-config": "~2.49.4", | ||
40 | - "@modern-js/plugin-tailwindcss": "~2.49.4", | ||
41 | - "@modern-js/tsconfig": "~2.49.4", | 40 | + "@modern-js-app/eslint-config": "~2.56.2", |
41 | + "@modern-js/app-tools": "~2.56.2", | ||
42 | + "@modern-js/eslint-config": "~2.56.2", | ||
43 | + "@modern-js/plugin-tailwindcss": "~2.56.2", | ||
44 | + "@modern-js/tsconfig": "~2.56.2", | ||
42 | "@types/jest": "^29.5.12", | 45 | "@types/jest": "^29.5.12", |
43 | - "@types/node": "^18.19.39", | 46 | + "@types/node": "^18.19.42", |
44 | "@types/react": "^18.3.3", | 47 | "@types/react": "^18.3.3", |
45 | "@types/react-dom": "^18.3.0", | 48 | "@types/react-dom": "^18.3.0", |
46 | "cross-env": "^7.0.3", | 49 | "cross-env": "^7.0.3", |
47 | "eslint": "^8.57.0", | 50 | "eslint": "^8.57.0", |
48 | - "husky": "^9.0.11", | 51 | + "husky": "^9.1.4", |
49 | "lint-staged": "^15.2.7", | 52 | "lint-staged": "^15.2.7", |
50 | - "prettier": "^3.3.2", | ||
51 | - "rimraf": "^5.0.7", | ||
52 | - "tailwindcss": "^3.4.4", | ||
53 | - "typescript": "^5.5.2" | 53 | + "prettier": "^3.3.3", |
54 | + "rimraf": "^5.0.9", | ||
55 | + "tailwindcss": "^3.4.7", | ||
56 | + "typescript": "^5.5.4" | ||
54 | }, | 57 | }, |
55 | "pnpm": { | 58 | "pnpm": { |
56 | "peerDependencies": { | 59 | "peerDependencies": { |