Skip to content

Commit d48e335

Browse files
committed
fix: restore workspace deps in postpublish, bump to 0.2.0-alpha.7
1 parent 8a44f45 commit d48e335

4 files changed

Lines changed: 14 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@datum-cloud/datum-ui": patch
3+
---
4+
5+
Fix npm publish lifecycle: restore workspace deps in postpublish instead of postpack so the stripped package.json is used during upload

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
},
1111
"changesets": [
1212
"css-architecture-refactor",
13+
"fix-publish-lifecycle",
1314
"fix-published-deps",
1415
"peer-deps-docs",
1516
"per-component-subpath-exports",

packages/datum-ui/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @datum-cloud/datum-ui
22

3+
## 0.2.0-alpha.7
4+
5+
### Patch Changes
6+
7+
- Fix npm publish lifecycle: restore workspace deps in postpublish instead of postpack so the stripped package.json is used during upload
8+
39
## 0.2.0-alpha.6
410

511
### Patch Changes

packages/datum-ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@datum-cloud/datum-ui",
33
"type": "module",
4-
"version": "0.2.0-alpha.6",
4+
"version": "0.2.0-alpha.7",
55
"license": "MIT",
66
"repository": {
77
"url": "https://github.com/datum-cloud/datum-ui"
@@ -253,7 +253,7 @@
253253
"test:coverage": "vitest run --coverage",
254254
"clean": "rm -rf dist .turbo node_modules coverage",
255255
"prepack": "node scripts/strip-workspace-deps.mjs --strip",
256-
"postpack": "node scripts/strip-workspace-deps.mjs --restore"
256+
"postpublish": "node scripts/strip-workspace-deps.mjs --restore"
257257
},
258258
"peerDependencies": {
259259
"@conform-to/react": ">=1",

0 commit comments

Comments
 (0)