Trae Assistant commited on
Commit
15c3720
·
1 Parent(s): 49af559

Fix: upgrade Node.js to 20 and switch to ESM module type

Browse files
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Build stage
2
- FROM node:18-alpine AS builder
3
 
4
  WORKDIR /app
5
 
 
1
  # Build stage
2
+ FROM node:20-alpine AS builder
3
 
4
  WORKDIR /app
5
 
main/package.json CHANGED
@@ -11,7 +11,7 @@
11
  "keywords": [],
12
  "author": "",
13
  "license": "ISC",
14
- "type": "commonjs",
15
  "dependencies": {
16
  "qiankun": "^2.10.16",
17
  "react": "^19.2.4",
 
11
  "keywords": [],
12
  "author": "",
13
  "license": "ISC",
14
+ "type": "module",
15
  "dependencies": {
16
  "qiankun": "^2.10.16",
17
  "react": "^19.2.4",
sub-react/package.json CHANGED
@@ -11,7 +11,7 @@
11
  "keywords": [],
12
  "author": "",
13
  "license": "ISC",
14
- "type": "commonjs",
15
  "dependencies": {
16
  "react": "^19.2.4",
17
  "react-dom": "^19.2.4"
 
11
  "keywords": [],
12
  "author": "",
13
  "license": "ISC",
14
+ "type": "module",
15
  "dependencies": {
16
  "react": "^19.2.4",
17
  "react-dom": "^19.2.4"
sub-vue/package.json CHANGED
@@ -11,7 +11,7 @@
11
  "keywords": [],
12
  "author": "",
13
  "license": "ISC",
14
- "type": "commonjs",
15
  "dependencies": {
16
  "vue": "^3.5.29"
17
  },
 
11
  "keywords": [],
12
  "author": "",
13
  "license": "ISC",
14
+ "type": "module",
15
  "dependencies": {
16
  "vue": "^3.5.29"
17
  },