Skip to content

Commit cccbc53

Browse files
committed
publish package properly
1 parent 418fc4b commit cccbc53

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/release-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
always-auth: true
3737
node-version: 23
3838
registry-url: 'https://registry.npmjs.org'
39-
- run: npm publish dist
39+
- run: npm pack
40+
- run: npm publish
4041
env:
4142
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ yarn-error.log*
2424
.idea
2525
dist
2626
storybook-static
27+
/packages/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"directory": "packages/@react-barcode-scanner/hooks"
77
},
88
"license": "MIT",
9-
"version": "0.0.13-alpha",
9+
"version": "0.0.15-alpha",
1010
"private": false,
1111
"main": "dist/index.js",
1212
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)