File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff 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` ` `
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments