Skip to content

Commit 39b7610

Browse files
authored
Merge pull request #14 from hankei6km/topic/access-pbulic
Add access=pbulic flag
2 parents 303101b + e0405a8 commit 39b7610

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.github/workflows/npm_pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ jobs:
5959
- name: Build
6060
run: npm run build
6161

62-
- run: npm publish
62+
- run: npm publish --access public
6363
env:
6464
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ $ gh release create v0.1.2-5 -t 0.1.2-5 --target <branch>
5555

5656
GitHub で Release を Publish すると `npm publish` される。ただし Pre Release のときは Publish されない。
5757

58-
なお、`npm publish`` --access public` は指定されていないので、scope を利用する場合は注意。
59-
6058
```console
6159
$ npm version patch
6260
$ git push origin

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "my-starter-ts-npm-cli-and-lib",
3-
"version": "0.1.2",
3+
"version": "0.1.3-pre.0",
44
"description": "Typescript で CLI とライブラリの npm パッケージを作成するためのスターター。",
55
"license": "MIT",
66
"keywords": [],

0 commit comments

Comments
 (0)