Skip to content

Commit 4b90bb7

Browse files
committed
chore: update config and dependencies
1 parent 36d8b2f commit 4b90bb7

File tree

6 files changed

+658
-217
lines changed

6 files changed

+658
-217
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"author": "xiaodong2008 <[email protected]>",
1414
"license": "MIT",
1515
"devDependencies": {
16-
"@types/node": "^20.11.15",
16+
"@types/node": "^22.7.5",
1717
"cross-env": "^7.0.3",
1818
"markdown-table": "^3.0.3",
19-
"prettier": "^3.2.5",
19+
"prettier": "^3.3.3",
2020
"pretty-bytes": "^6.1.1",
21-
"tslib": "^2.6.2",
22-
"typescript": "^5.4.5"
21+
"tslib": "^2.7.0",
22+
"typescript": "^5.6.3"
2323
}
2424
}

packages/core/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"bugs": "https://github.com/fastjs-team/core/issues",
77
"funding": "https://github.com/sponsors/xiaodong2008",
88
"main": "index.js",
9+
"type": "module",
910
"module": "dist/fastjs.esm-bundler.js",
1011
"types": "dist/types/main.d.ts",
1112
"unpkg": "dist/fastjs.global.js",
@@ -64,6 +65,7 @@
6465
"@rollup/plugin-terser": "^0.4.4",
6566
"@rollup/plugin-typescript": "^11.1.6",
6667
"jsdom": "^24.0.0",
68+
"rolldown": "^0.13.2",
6769
"rollup": "^4.9.6",
6870
"vitest": "^1.5.0"
6971
}

packages/core/rollup.config.mjs renamed to packages/core/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import typescript from "@rollup/plugin-typescript";
22
import replace from "@rollup/plugin-replace";
33
import terser from "@rollup/plugin-terser";
4-
import packageInfo from "./package.json" assert { type: "json" };
4+
import packageInfo from "./package.json" with { type: "json" };
55
const version = packageInfo.version;
66
const fileBaseName = "fastjs";
77
const packageConfig = [];

packages/core/tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* Visit https://aka.ms/tsconfig to read more about this file */
44
"target": "es2022",
55
"module": "ESNext",
6-
"sourceMap": true,
6+
"sourceMap": false,
77
"esModuleInterop": true,
88
"forceConsistentCasingInFileNames": true,
99
"strict": true,
@@ -12,7 +12,9 @@
1212
"moduleResolution": "node",
1313
"paths": {
1414
"@/*": ["./src/*"]
15-
}
15+
},
16+
"declaration": true,
17+
"declarationDir": "./dist/types"
1618
},
1719
"include": ["src/**/*.ts"],
1820
"exclude": ["node_modules"]

packages/create-app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
],
3131
"license": "MIT",
3232
"dependencies": {
33-
"@inquirer/prompts": "^5.0.2",
34-
"commander": "^12.0.0",
35-
"ora": "^8.0.1",
36-
"picocolors": "^1.0.0"
33+
"@inquirer/prompts": "^7.0.0",
34+
"commander": "^12.1.0",
35+
"ora": "^8.1.0",
36+
"picocolors": "^1.1.0"
3737
},
3838
"devDependencies": {
39-
"esbuild": "^0.20.2"
39+
"esbuild": "^0.24.0"
4040
}
4141
}

0 commit comments

Comments
 (0)