Skip to content

Commit bc75ea1

Browse files
authored
Fix Package Name in Dist (#2613)
* fix: bundle requires browser output in platform (#2608) * fix: bundle requires browser output in platform * fix: rolldown issues * fix: finalize rollup * chore: prettier * chore: prettier * fix: adjust root name for better local linking. Dist folder package confused pnpm * fix: update lockfile for ci * fix: update tests for unbuild * fix: simplified canary * fix: package name copying
1 parent c3c87e6 commit bc75ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"scripts": {
6565
"build": "rimraf dist && yarn typegen && unbuild && yarn copy && yarn copy:native",
6666
"build-storybook": "cross-env NODE_OPTIONS=\"--openssl-legacy-provider\" storybook build",
67-
"copy": "copyfiles package.json README.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.husky=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\"",
67+
"copy": "copyfiles package.json README.md LICENSE dist && json -I -f dist/package.json -e \"this.name='@react-three/drei'; this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.husky=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\"",
6868
"copy:native": "copyfiles -u 2 src/native/package.json dist/native",
6969
"docs:generate": "ts-node scripts/generate-docs.ts",
7070
"docs:generate:watch": "ts-node scripts/generate-docs.ts --watch",

0 commit comments

Comments
 (0)