From cfddd3164584c230957bca1820a13d03eea79c16 Mon Sep 17 00:00:00 2001 From: Christopher Biel Date: Fri, 8 Dec 2023 11:20:02 +0100 Subject: [PATCH] Change package scope --- .github/workflows/main.yml | 4 ++-- README.md | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index beb9378..7c8228f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,9 +11,9 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '18.x' - registry-url: 'https://registry.npmjs.org' + registry-url: "https://registry.npmjs.org" - run: npm ci - run: npm run build - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index 59a870d..df514ed 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Simple pre commit hook to ensure no file references in package json get committe ```yaml - id: no-relative-packages name: no-relative-packages - 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" + 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" language: system pass_filenames: false ``` diff --git a/package.json b/package.json index 363fa1c..60395d3 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "yaln", + "name": "@chbiel/yaln", "version": "1.0.0", "description": "Watch for local changes, pack them and install", "homepage": "https://github.com/chbiel/yaln",