|
3 | 3 | "private": true,
|
4 | 4 | "scripts": {
|
5 | 5 | "prebuild": "shx rm -rf packages/*/dist/",
|
6 |
| - "build": "pnpm build:core && pnpm build:preact && pnpm build:react-runtime && pnpm build:react-auto && pnpm build:react && pnpm build:react-transform", |
| 6 | + "build": "pnpm build:core && pnpm build:preact && pnpm build:react-runtime && pnpm build:react-auto && pnpm build:react && pnpm build:react-transform && pnpm build:react-utils", |
7 | 7 | "_build": "microbundle --raw --globals @preact/signals-core=preactSignalsCore,preact/hooks=preactHooks,@preact/signals-react/runtime=reactSignalsRuntime",
|
8 | 8 | "build:core": "pnpm _build --cwd packages/core && pnpm postbuild:core",
|
9 | 9 | "build:preact": "pnpm _build --cwd packages/preact && pnpm postbuild:preact",
|
10 | 10 | "build:react": "pnpm _build --cwd packages/react --external \"react,@preact/signals-react/runtime,@preact/signals-core\" && pnpm postbuild:react",
|
11 |
| - "build:react-utils": "pnpm _build --cwd packages/react-utils && pnpm postbuild:react-utils", |
| 11 | + "build:react-utils": "pnpm _build --cwd packages/react/utils && pnpm postbuild:react-utils", |
12 | 12 | "build:react-auto": "pnpm _build --cwd packages/react/auto && pnpm postbuild:react-auto",
|
13 | 13 | "build:react-runtime": "pnpm _build --cwd packages/react/runtime && pnpm postbuild:react-runtime",
|
14 | 14 | "build:react-transform": "pnpm _build --no-compress --cwd packages/react-transform",
|
15 | 15 | "postbuild:core": "cd packages/core/dist && shx mv -f index.d.ts signals-core.d.ts",
|
16 | 16 | "postbuild:preact": "cd packages/preact/dist && shx mv -f preact/src/index.d.ts signals.d.ts && shx rm -rf preact",
|
17 | 17 | "postbuild:react": "cd packages/react/dist && shx mv -f react/src/index.d.ts signals.d.ts && shx rm -rf react",
|
18 |
| - "postbuild:react-utils": "cd packages/react-utils/dist && shx mv -f react-utils/src/index.d.ts signals.d.ts && shx rm -rf react-utils", |
| 18 | + "postbuild:react-utils": "cd packages/react/utils/dist && shx mv -f react/utils/src/index.d.ts . && shx rm -rf react", |
19 | 19 | "postbuild:react-auto": "cd packages/react/auto/dist && shx mv -f react/auto/src/*.d.ts . && shx rm -rf react",
|
20 | 20 | "postbuild:react-runtime": "cd packages/react/runtime/dist && shx mv -f react/runtime/src/*.d.ts . && shx rm -rf react",
|
21 | 21 | "lint": "pnpm lint:eslint && pnpm lint:tsc",
|
|
0 commit comments