Skip to content

Commit 61a7ce7

Browse files
committed
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
1 parent 3bf7955 commit 61a7ce7

4 files changed

Lines changed: 11 additions & 1 deletion

File tree

.claude/instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ oclif-based CLI for:
228228
- **Default bump policy**: Always use `patch` by default for releases/versioning.
229229
- Use `minor` or `major` only when the user explicitly requests it.
230230
- **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`.
231233
- **Independent versions (current policy)**: Packages version independently (no workspace-wide lockstep assumption).
232234
- **Upstream sync versioning**: `upstream:update` must preserve/copy upstream package versions for synced `elements-react` and `lib-react` packages.
233235

.cursorrules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@
1313
- Release/versioning default: always use a patch bump by default.
1414
- For Changesets-driven releases, default to `patch` unless the user explicitly asks for `minor` or `major`.
1515
- 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`).
1618
- Versioning policy (current): packages are versioned independently; do not assume workspace-wide lockstep versions.
1719
- Upstream sync policy: `upstream:update` should preserve/copy package versions from upstream package.json when syncing `packages/elements-react/*` and `packages/lib-react/*`.

packages/elements-svelte/mc-populated-blank/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @pie-element/mc-populated-blank
22

3+
## 0.2.1
4+
5+
### Patch Changes
6+
7+
- Prepare a patch release for mc-populated-blank.
8+
39
## 0.2.0
410

511
### Minor Changes

packages/elements-svelte/mc-populated-blank/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pie-element/mc-populated-blank",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Multiple-choice option populates an inline blank in a sentence template (Svelte 5 PIE element)",
55
"type": "module",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)