Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 9ba020c

Browse files
fix(scripts): Make minor fixes to release scripts (and docs) (#164)
- Change wording in pre-release script to omit info regarding committing a changelog. This is done within a post-release step. - Make scripts/post-release executable - Add a note about adding the correct publishConfig to new packages so that lerna can auto-published scoped packages to npm [ci skip]
1 parent 66c7c42 commit 9ba020c

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

docs/authoring-components.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,16 @@ demos
484484
When contributing a new component, we encourage you to look at existing components to get a better
485485
sense of our conventions. Your new component should "blend in" with all existing components.
486486

487+
Additionally, all new components require the following within their `package.json`:
488+
489+
```
490+
"publishConfig": {
491+
"access": "public"
492+
}
493+
```
494+
495+
This is needed so that lerna will be able to automatically publish new scoped packages.
496+
487497
### License Stanzas
488498

489499
We are required to put the following at the _top_ of _every source code file_, including tests,

scripts/post-release.sh

100644100755
File mode changed.

scripts/pre-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ log "Determining package versions..."
3838
node scripts/determine-pkg-versions.js
3939
echo ""
4040

41-
log "Pre-release steps done! You should now commit the changelog and then run " \
41+
log "Pre-release steps done! You should now run " \
4242
"\$(npm bin)/lerna publish, followed by ./scripts/post-release.sh"
4343
log "Please use the package versions specified above to increment the different package versions " \
4444
"When prompted by lerna. Or, override those versions if need be."

0 commit comments

Comments
 (0)