Skip to content

Commit cfddd31

Browse files
author
Christopher Biel
committed
Change package scope
1 parent 23333c2 commit cfddd31

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
- uses: actions/setup-node@v3
1212
with:
1313
node-version: '18.x'
14-
registry-url: 'https://registry.npmjs.org'
14+
registry-url: "https://registry.npmjs.org"
1515
- run: npm ci
1616
- run: npm run build
17-
- run: npm publish
17+
- run: npm publish --access public
1818
env:
1919
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Simple pre commit hook to ensure no file references in package json get committe
4848
```yaml
4949
- id: no-relative-packages
5050
name: no-relative-packages
51-
entry: bash -c "git diff --cached --name-only | grep -q 'package.json' && cat package.json | grep -E 'file:.+\/\.yaln\/.+' && echo -e 'file references not allowed in package.json' 1>&2 && exit 1 || exit 0"
51+
entry: bash -c "git diff --cached --name-only | grep -q 'package.json' && cat package.json | grep -E 'file:.+\/\.lnpm\/.+' && echo -e 'file references not allowed in package.json' 1>&2 && exit 1 || exit 0"
5252
language: system
5353
pass_filenames: false
5454
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "yaln",
2+
"name": "@chbiel/yaln",
33
"version": "1.0.0",
44
"description": "Watch for local changes, pack them and install",
55
"homepage": "https://github.com/chbiel/yaln",

0 commit comments

Comments
 (0)