You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: release mc-populated-blank v0.2.1 and publish guidance
Bump @pie-element/mc-populated-blank to 0.2.1 and record the changelog entry, and document workspace-targeted npm publish plus sandbox auth fallback to prevent root-package publish and token confusion.
Made-with: Cursor
Copy file name to clipboardExpand all lines: .claude/instructions.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -228,6 +228,8 @@ oclif-based CLI for:
228
228
-**Default bump policy**: Always use `patch` by default for releases/versioning.
229
229
- Use `minor` or `major` only when the user explicitly requests it.
230
230
-**Selective publish only**: Publish only selected packages and changeset-propagated dependents, never all unpublished packages.
231
+
-**Workspace-targeted npm publish**: In this monorepo, publish using an explicit workspace target (for example `npm publish --workspace @pie-element/<name> --access public`) so npm does not try to publish the private root package.
232
+
-**Sandbox publish fallback**: If npm publish/auth fails in sandbox while token is valid, retry outside sandbox and use explicit npm auth config via `NPM_CONFIG_USERCONFIG` with `NPM_TOKEN`.
231
233
-**Independent versions (current policy)**: Packages version independently (no workspace-wide lockstep assumption).
232
234
-**Upstream sync versioning**: `upstream:update` must preserve/copy upstream package versions for synced `elements-react` and `lib-react` packages.
Copy file name to clipboardExpand all lines: .cursorrules
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,5 +13,7 @@
13
13
- Release/versioning default: always use a patch bump by default.
14
14
- For Changesets-driven releases, default to `patch` unless the user explicitly asks for `minor` or `major`.
15
15
- Publish policy: publish only explicitly selected packages (and packages bumped by changeset dependency propagation), never "all unpublished packages".
16
+
- For npm publishing in this monorepo, always target a specific workspace package (for example `npm publish --workspace @pie-element/<name> --access public`) to avoid accidentally publishing the private repo root package.
17
+
- If npm auth/publish fails in sandbox despite a valid token, retry outside sandbox with an explicit npm user config pointing at `NPM_TOKEN` (for example `NPM_CONFIG_USERCONFIG=.npmrc.publish`).
16
18
- Versioning policy (current): packages are versioned independently; do not assume workspace-wide lockstep versions.
17
19
- Upstream sync policy: `upstream:update` should preserve/copy package versions from upstream package.json when syncing `packages/elements-react/*` and `packages/lib-react/*`.
0 commit comments