Skip to content

Commit

Permalink
root npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ftery0 committed Jan 24, 2025
1 parent ed5061e commit 55c3696
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ jobs:
- name: Build the project
run: pnpm run rollup

- name: Verify package contents
run: npm pack --dry-run

- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
pnpm publish dist --access public
pnpm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.log
./babel.config.js
./pnpm-lock.yaml
./pnpm-workspace.yaml
./rollup.config.js
README.md
.github
.changeset
.gitignore
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@b1nd/dds-web",
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/cjs/index.cjs.js",
Expand Down

0 comments on commit 55c3696

Please sign in to comment.