Skip to content

Commit 9e58ccb

Browse files
committed
docs: 📝 update publishing instructions
1 parent cadf1d2 commit 9e58ccb

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,32 @@ npm publish
162162
git push --tags
163163
```
164164

165+
**Publish @next package**
166+
167+
Same procedure except use the `--tag` flag:
168+
169+
```bash
170+
# authenticate with npm
171+
npm login
172+
# bump version with npm
173+
npm version 0.0.8
174+
# package with sveltekit
175+
pnpm run package
176+
# publish with tag
177+
npm publish --tag next
178+
# push tags to github
179+
git push --tags
180+
```
181+
182+
**Move @next package to latest**
183+
184+
```bash
185+
# authenticate with npm
186+
npm login
187+
# move @next to latest
188+
npm dist-tag add
189+
```
190+
165191
## Contributors ✨
166192

167193
Thanks goes to these wonderful people

0 commit comments

Comments
 (0)