File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 991 . Click ** Use this template** .
10102 . ** Clone** your project.
11113 . Run ` pnpm install ` to install dependencies.
12- 4 . Run ` npx napi rename -n [name]` command under the project folder to rename your package.
12+ 4 . Run ` pnpm napi rename -n [@your-scope/package-name] -b [binary- name]` command under the project folder to rename your package.
1313
1414## Install this test package
1515
16- ```
16+ ``` bash
1717pnpm add @napi-rs/package-template
1818```
1919
@@ -76,10 +76,12 @@ In `Settings -> Secrets`, add **NPM_TOKEN** into it.
7676
7777When you want to release the package:
7878
79- ```
79+ ``` bash
8080npm version [< newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease [--preid=< prerelease-id> ] | from-git]
8181
8282git push
8383```
8484
8585GitHub actions will do the rest job for you.
86+
87+ > WARN: Don't run ` npm publish ` manually.
You can’t perform that action at this time.
0 commit comments