bunchee 6.9.3 → 6.10.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/README.md CHANGED
@@ -550,6 +550,14 @@ export { readme, config, styles, content }
550
550
 
551
551
  All these imports will be bundled as string content, regardless of the original file extension.
552
552
 
553
+ ### Agent Skills
554
+
555
+ If you want to use bunchee with coding agents with skills, run:
556
+
557
+ ```sh
558
+ npx skills add huozhi/npm-skills
559
+ ```
560
+
553
561
  ### Node.js API
554
562
 
555
563
  ```ts
package/dist/bin/cli.js CHANGED
@@ -856,7 +856,7 @@ async function lint$1(cwd) {
856
856
  }
857
857
  }
858
858
 
859
- var version = "6.9.3";
859
+ var version = "6.10.0";
860
860
 
861
861
  async function writeDefaultTsconfig(tsConfigPath) {
862
862
  await fs.promises.writeFile(tsConfigPath, JSON.stringify(DEFAULT_TS_CONFIG, null, 2), 'utf-8');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunchee",
3
- "version": "6.9.3",
3
+ "version": "6.10.0",
4
4
  "description": "zero config bundler for js/ts/jsx libraries",
5
5
  "bin": "./dist/bin/cli.js",
6
6
  "main": "./dist/index.js",
@@ -13,6 +13,9 @@
13
13
  "docs:build": "next build docs",
14
14
  "clean": "rm -rf ./dist",
15
15
  "new-test": "node ./scripts/new-test.js",
16
+ "test:ts-matrix": "node ./scripts/test-ts-matrix.js all",
17
+ "test:ts5": "node ./scripts/test-ts-matrix.js ts5",
18
+ "test:ts6": "node ./scripts/test-ts-matrix.js ts6",
16
19
  "typecheck": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit",
17
20
  "prepare-release": "pnpm clean && pnpm build",
18
21
  "publish-local": "pnpm prepare-release && pnpm test && pnpm publish",
@@ -70,7 +73,7 @@
70
73
  "picomatch": "^4.0.2",
71
74
  "pretty-bytes": "^5.6.0",
72
75
  "rollup": "^4.52.4",
73
- "rollup-plugin-dts": "^6.3.0",
76
+ "rollup-plugin-dts": "^6.4.1",
74
77
  "rollup-plugin-swc3": "^0.11.1",
75
78
  "rollup-preserve-directives": "^1.1.3",
76
79
  "tinyglobby": "^0.2.14",
@@ -78,8 +81,7 @@
78
81
  "yargs": "^17.7.2"
79
82
  },
80
83
  "peerDependencies": {
81
- "typescript": "^4.1 || ^5.0",
82
- "@typescript/native-preview": "*"
84
+ "typescript": "^4.1 || ^5.0 || ^6.0"
83
85
  },
84
86
  "peerDependenciesMeta": {
85
87
  "typescript": {
@@ -87,9 +89,6 @@
87
89
  },
88
90
  "@swc/helpers": {
89
91
  "optional": true
90
- },
91
- "@typescript/native-preview": {
92
- "optional": true
93
92
  }
94
93
  },
95
94
  "devDependencies": {
@@ -100,21 +99,22 @@
100
99
  "@types/clean-css": "^4.2.11",
101
100
  "@types/node": "^22.9.3",
102
101
  "@types/picomatch": "^3.0.1",
103
- "@types/react": "^19.0.9",
102
+ "@types/react": "^19.2.14",
103
+ "@types/react-dom": "^19.2.3",
104
104
  "@types/yargs": "^17.0.33",
105
105
  "@typescript/native-preview": "*",
106
106
  "bunchee": "link:./",
107
107
  "cross-env": "^7.0.3",
108
108
  "husky": "^9.0.11",
109
109
  "lint-staged": "^15.2.2",
110
- "next": "16.0.10",
110
+ "next": "16.1.1-canary.31",
111
111
  "picocolors": "^1.0.0",
112
112
  "postcss": "^8.5.4",
113
113
  "prettier": "3.4.2",
114
114
  "react": "^19.2.1",
115
115
  "react-dom": "^19.2.1",
116
116
  "tailwindcss": "^4.1.8",
117
- "typescript": "^5.9.2",
117
+ "typescript": "^6.0.2",
118
118
  "vitest": "^3.0.4"
119
119
  },
120
120
  "lint-staged": {