Skip to content

Commit 1cdcb0d

Browse files
committed
chore: update build scripts for native-modules and primitives
- Modified build commands in package.json to include both native-modules and primitives for a more streamlined build process. - Adjusted GitHub Actions workflow to ensure primitives are built after native-modules.
1 parent 12142ef commit 1cdcb0d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131

3232
- name: Build packages
3333
run: |
34-
pnpm -r --filter @native-ui-org/primitives run build
3534
pnpm -r --filter @native-ui-org/native-modules run build
35+
pnpm -r --filter @native-ui-org/primitives run build
3636
3737
- name: Configure pnpm for npm
3838
run: |

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"dev": "pnpm -r --parallel --filter \"./apps/**\" run dev",
1111
"dev:website": "pnpm --filter @native-ui-org/website dev",
1212
"dev:sandbox": "pnpm --filter @native-ui-org/sandbox dev",
13-
"build": "pnpm -r --filter \"./packages/**\" run build && pnpm --filter @native-ui-org/website build",
14-
"build:packages": "pnpm -r --filter \"./packages/**\" run build",
13+
"build": "pnpm --filter @native-ui-org/native-modules run build && pnpm --filter @native-ui-org/primitives run build && pnpm --filter @native-ui-org/website build",
14+
"build:packages": "pnpm --filter @native-ui-org/native-modules run build && pnpm --filter @native-ui-org/primitives run build",
1515
"build:website": "pnpm --filter @native-ui-org/website build",
16-
"build:sandbox": "pnpm --filter @native-ui-org/primitives build && pnpm --filter @native-ui-org/sandbox build",
16+
"build:sandbox": "pnpm --filter @native-ui-org/native-modules run build && pnpm --filter @native-ui-org/primitives build && pnpm --filter @native-ui-org/sandbox build",
1717
"sync-docs": "pnpm --filter @native-ui-org/website sync-docs",
1818
"lint": "pnpm -r lint || true",
1919
"release": "pnpm changeset",

0 commit comments

Comments
 (0)