Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/releases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,15 @@ remote package has no dependency on the Node package, so publish it first and
then publish Heddle:

```bash
npm publish ./packages/heddle-remote
yarn remote:publish
npm publish
```

`yarn remote:publish` cleans, verifies, and compiles the remote package before
invoking npm, so the operator cannot accidentally publish stale `dist` output.
Pass normal npm publish flags through the script when needed, for example
`yarn remote:publish --dry-run`.

This remains a manual operator step unless npm publication was explicitly
delegated.

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"remote:compile": "yarn remote:verify && tsc -p tsconfig.remote-package.json",
"remote:build": "yarn remote:clean && yarn remote:compile",
"remote:pack": "yarn remote:build && npm pack ./packages/heddle-remote",
"remote:publish": "yarn remote:build && npm publish ./packages/heddle-remote",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"eslint": "eslint .",
"lint": "yarn eslint",
Expand Down
Loading