Skip to content

Commit 07dd6fc

Browse files
smgvcursoragent
andcommitted
chore: address review on node version, types path, and declarations
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent acb7737 commit 07dd6fc

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎.changeset/stack-upgrade-node-24.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@toruslabs/ffjavascript": major
33
---
44

5-
Require Node.js 24.22.0 and npm 12. Publish the Vite+ build from the existing CommonJS and ESM entry points.
5+
Require Node.js 26 and npm 12. Publish the Vite+ build from the existing CommonJS and ESM entry points.

‎.nvmrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
>=26.x
1+
26

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"module": "./dist/lib.esm/index.js",
77
"unpkg": "./dist/lib.esm/index.js",
88
"jsdelivr": "./dist/lib.esm/index.js",
9-
"types": "./dist/lib.cjs/types/index.d.ts",
9+
"types": "./dist/lib.cjs/index.d.ts",
1010
"files": [
1111
"dist"
1212
],

‎vite.config.mts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export default defineConfig({
1515
cjs: { outDir: "dist/lib.cjs" },
1616
},
1717
outExtensions: () => ({ js: ".js", dts: ".d.ts" }),
18-
copy: [{ from: "dist/lib.cjs/index.d.ts", to: "dist/lib.cjs/types" }],
1918
sourcemap: true,
2019
},
2120
fmt: formatPreset(),

0 commit comments

Comments
 (0)