Skip to content

Commit d0a03c8

Browse files
authored
add releasing instructions
1 parent 959af9e commit d0a03c8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,17 @@ $ npm install --save-dev prettier prettier-plugin-tailwindcss @planetscale/core-
2121

2222
```
2323

24-
[Read more on sharing configurations.](https://prettier.io/docs/en/configuration.html#sharing-configurations)
24+
[Read more on sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations).
25+
26+
## Releasing
27+
28+
Create a [Personal Access Token (classic)](https://github.com/settings/tokens) with the `write:package` scope and log into npm with that token [(per GitHub docs)](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-with-a-personal-access-token):
29+
30+
```shell
31+
$ npm login --scope=@NAMESPACE --auth-type=legacy --registry=https://npm.pkg.github.com
32+
33+
> Username: USERNAME
34+
> Password: TOKEN
35+
```
36+
37+
Run the `postpublish` script with `$ npm run postpublish`.

0 commit comments

Comments
 (0)