From 7842c9862ab8cbfcda1fab7693b5a80f44508180 Mon Sep 17 00:00:00 2001 From: Simon Petrac Date: Wed, 11 Dec 2024 14:00:40 +0100 Subject: [PATCH] changes for the npm registry --- .../workflows/npm-publish-github-packages.yml | 36 ------------------- .npmrc | 1 - README.md | 2 +- package.json | 4 +-- 4 files changed, 3 insertions(+), 40 deletions(-) delete mode 100644 .github/workflows/npm-publish-github-packages.yml delete mode 100644 .npmrc diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml deleted file mode 100644 index ea2d329..0000000 --- a/.github/workflows/npm-publish-github-packages.yml +++ /dev/null @@ -1,36 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages - -name: Node.js Package - -on: - release: - types: [created] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - run: npm ci - - run: npm test - - publish-gpr: - needs: build - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://npm.pkg.github.com/ - - run: npm ci - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index e36b41c..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -@nicosResearchAndDevelopment:registry=https://npm.pkg.github.com \ No newline at end of file diff --git a/README.md b/README.md index bf56794..2f273c4 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# fua.core.assert +# @fua/core.assert diff --git a/package.json b/package.json index ee1a118..1e42a30 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "@nicosResearchAndDevelopment/fua.core.assert", + "name": "@fua/core.assert", "version": "1.0.2", - "description": "", + "description": "Assertion functions help to easily validate the expected type of values. It is best used in cases where input arguments must be reliable and any deviation should cause an error.", "main": "src/assert.js", "files": [ "src/*"