From 08fb79429fdc8c1a230ec911c8f129cfe616512c Mon Sep 17 00:00:00 2001 From: Andrew Bassett <43486400+apbassett@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:42:15 -0500 Subject: [PATCH] 19360: Fixes package.json name typo, publish config (#13) --- .github/workflows/build.yml | 4 ++-- README.md | 2 +- package-lock.json | 4 ++-- package.json | 5 ++++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72a2176..9486633 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: run: | sed -i "s|\"version\": \"0.0.0\"|\"version\": \"${{ needs.metadata.outputs.version }}\"|g" ./package.json - - name: Build Node package + - name: Build and publish Node package run: | npm ci npm run build @@ -73,7 +73,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "21.x" - registry-url: ${{ secrets.JFROG_URL }}/artifactory/npm-edge + registry-url: ${{ secrets.JFROG_URL }}/artifactory/api/npm/npm-edge/ - name: Publish Node package run: | diff --git a/README.md b/README.md index 42f7980..86351a8 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Your home directory must contain a `.npmrc` file pointing to the Azure DevOps ar Standard package installation makes imports available: ```bash -npm i @howso/react-tailwind-flowbit-components +npm i @howso/react-tailwind-flowbite-components ``` Fonts must be installed in your application directly. They are installed here only for Storybook support. diff --git a/package-lock.json b/package-lock.json index 41b6ba7..d3edcf5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@howso/react-tailwind-flowbit-components", + "name": "@howso/react-tailwind-flowbite-components", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@howso/react-tailwind-flowbit-components", + "name": "@howso/react-tailwind-flowbite-components", "version": "0.1.0", "license": "ISC", "devDependencies": { diff --git a/package.json b/package.json index 3c57e49..2d92311 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@howso/react-tailwind-flowbit-components", + "name": "@howso/react-tailwind-flowbite-components", "version": "0.0.0", "description": "Provides display components for React Tailwind Flowbite applications", "main": "lib/index.js", @@ -20,6 +20,9 @@ "storybook": "storybook dev -p 6006", "prepack": "npm run build" }, + "publishConfig": { + "registry":"https://dpbuild.jfrog.io/artifactory/api/npm/npm-edge/" + }, "repository": { "type": "git", "url": "https://github.com/howsoai/react-tailwind-flowbite-components"