Skip to content

Commit

Permalink
Switch to public npm for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-puzon-tri committed Apr 10, 2024
1 parent c30aced commit 88954b8
Show file tree
Hide file tree
Showing 4 changed files with 2,426 additions and 7,027 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
- run: pnpm install --frozen-lockfile
- run: pnpm run build:lib
- run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "@toyotaresearchinstitute/rse-react-library",
"name": "@toyota-research-institute/rse-react-library",
"version": "0.0.10",
"description": "A template for creating React component libraries with Vite, Tailwind, and Storybook.",
"description": "RSE React component libraries with Vite, Tailwind, Material Tailwind and Storybook.",
"author": "TRI",
"license": "MIT",
"type": "module",
"repository": "https://github.com/ToyotaResearchInstitute/rse-react-library",
"publishConfig": {
"@toyotaresearchinstitute:registry": "https://npm.pkg.github.com"
},
"keywords": [
"toyota research",
"material tailwind"
],
"files": [
"dist"
],
Expand All @@ -29,7 +30,7 @@
"default": "./dist/index.cjs"
}
},
"./css": "./dist/style.css"
"./style.css": "./dist/style.css"
},
"scripts": {
"dev": "storybook dev -p 6006",
Expand Down Expand Up @@ -86,7 +87,6 @@
"aws-amplify": "^5.3.12",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3",
"@tanstack/react-query": "^5.28.4"
"react-router-dom": "^6.22.3"
}
}
Loading

0 comments on commit 88954b8

Please sign in to comment.