Skip to content

Commit ef0aa89

Browse files
committed
fix(release): route package prepack through turbo so cross-package deps build in order
1 parent 6972d38 commit ef0aa89

18 files changed

Lines changed: 18 additions & 18 deletions

File tree

packages/devframe/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"build": "tsdown",
7575
"watch": "tsdown --watch",
7676
"typecheck": "tsc --noEmit",
77-
"prepack": "pnpm build && mkdir -p ./skills && cp -r ../../skills/devframe ./skills/devframe"
77+
"prepack": "turbo run build --filter=devframe && mkdir -p ./skills && cp -r ../../skills/devframe ./skills/devframe"
7878
},
7979
"peerDependencies": {
8080
"@modelcontextprotocol/client": "^2.0.0",

packages/hub-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"build:standalone": "vite build --config src/client/standalone/vite.config.ts",
3737
"dev": "pnpm -C ../.. exec turbo run build --filter=@devframes/hub... --filter=@devframes/plugin-git... && vite --config playground/vite.config.ts",
3838
"typecheck": "tsc --noEmit",
39-
"prepack": "pnpm build",
39+
"prepack": "turbo run build --filter=@devframes/hub-ui",
4040
"storybook": "storybook dev -p 6014",
4141
"build-storybook": "storybook build"
4242
},

packages/hub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"build": "tsdown",
3838
"watch": "tsdown --watch",
3939
"typecheck": "tsc --noEmit",
40-
"prepack": "pnpm run build"
40+
"prepack": "turbo run build --filter=@devframes/hub"
4141
},
4242
"peerDependencies": {
4343
"devframe": "workspace:*"

packages/json-render-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"storybook": "storybook dev -p 6014",
3939
"build-storybook": "storybook build",
4040
"test": "vitest run",
41-
"prepack": "pnpm run build"
41+
"prepack": "turbo run build --filter=@devframes/json-render-ui"
4242
},
4343
"peerDependencies": {
4444
"@devframes/hub": "workspace:*",

packages/json-render/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"build": "tsdown",
3434
"watch": "tsdown --watch",
3535
"typecheck": "tsc --noEmit",
36-
"prepack": "pnpm run build"
36+
"prepack": "turbo run build --filter=@devframes/json-render"
3737
},
3838
"peerDependencies": {
3939
"@devframes/hub": "workspace:*",

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"build": "tsdown",
5151
"watch": "tsdown --watch",
5252
"typecheck": "tsc --noEmit",
53-
"prepack": "pnpm run build"
53+
"prepack": "turbo run build --filter=@devframes/next"
5454
},
5555
"peerDependencies": {
5656
"@devframes/hub": "workspace:*",

packages/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"build": "tsdown",
4646
"watch": "tsdown --watch",
4747
"typecheck": "tsc --noEmit",
48-
"prepack": "pnpm run build"
48+
"prepack": "turbo run build --filter=@devframes/nuxt"
4949
},
5050
"peerDependencies": {
5151
"@devframes/hub": "workspace:*",

packages/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"build": "tsdown",
3434
"watch": "tsdown --watch",
3535
"typecheck": "tsc --noEmit",
36-
"prepack": "pnpm run build",
36+
"prepack": "turbo run build --filter=@devframes/vite",
3737
"test": "vitest run"
3838
},
3939
"peerDependencies": {

plugins/a11y/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"demo": "node demo/server.mjs",
4949
"demo:build": "node demo/server.mjs build",
5050
"typecheck": "tsc --noEmit",
51-
"prepack": "pnpm run build",
51+
"prepack": "turbo run build --filter=@devframes/plugin-a11y",
5252
"test": "vitest run"
5353
},
5454
"peerDependencies": {

plugins/assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"watch": "tsdown --watch",
4343
"storybook": "storybook dev -p 6013 --host 0.0.0.0",
4444
"storybook:build": "storybook build",
45-
"prepack": "pnpm build",
45+
"prepack": "turbo run build --filter=@devframes/plugin-assets",
4646
"test": "vitest run",
4747
"typecheck": "tsc --noEmit"
4848
},

0 commit comments

Comments
 (0)