Skip to content

Commit

Permalink
feat(meerkat): make meerkat packages public (#102)
Browse files Browse the repository at this point in the history
* feat(meerkat): make meerkat packages public

* fix: version for the meerkat-dbm

* fix: publish config registry
  • Loading branch information
ujaval403 authored Sep 5, 2024
1 parent d26e83c commit e818304
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,32 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18.17
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org/
scope: '@devrev'
- run: npm install
- run: npx nx run-many --target=build --all --parallel
- run: |
cd ./dist/meerkat-dbm
echo "//npm.pkg.github.com/:_authToken=${{secrets.NPM_PACKAGE_PUBLISH_TOKEN}}" >> .npmrc
echo "//registry.npmjs.org/:_authToken=${{secrets.NPMJS_NPM_TOKEN}}" >> .npmrc
npm publish
continue-on-error: true
- run: |
cd ./dist/meerkat-core
echo "//npm.pkg.github.com/:_authToken=${{secrets.NPM_PACKAGE_PUBLISH_TOKEN}}" >> .npmrc
echo "//registry.npmjs.org/:_authToken=${{secrets.NPMJS_NPM_TOKEN}}" >> .npmrc
npm publish
continue-on-error: true
- run: |
cd ./dist/meerkat-node
echo "//npm.pkg.github.com/:_authToken=${{secrets.NPM_PACKAGE_PUBLISH_TOKEN}}" >> .npmrc
echo "//registry.npmjs.org/:_authToken=${{secrets.NPMJS_NPM_TOKEN}}" >> .npmrc
npm publish
continue-on-error: true
- run: |
cd ./dist/meerkat-browser
echo "//npm.pkg.github.com/:_authToken=${{secrets.NPM_PACKAGE_PUBLISH_TOKEN}}" >> .npmrc
echo "//registry.npmjs.org/:_authToken=${{secrets.NPMJS_NPM_TOKEN}}" >> .npmrc
npm publish
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PACKAGE_PUBLISH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPMJS_NPM_TOKEN}}
2 changes: 1 addition & 1 deletion meerkat-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"url": "git+https://github.com/devrev/meerkat.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"registry": "https://registry.npmjs.org"
}
}
2 changes: 1 addition & 1 deletion meerkat-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"url": "git+https://github.com/devrev/meerkat.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"registry": "https://registry.npmjs.org"
},
"keywords": [],
"author": "devrev",
Expand Down
4 changes: 2 additions & 2 deletions meerkat-dbm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devrev/meerkat-dbm",
"version": "0.1.21",
"version": "0.1.22",
"dependencies": {
"tslib": "^2.3.0",
"@devrev/duckdb-wasm": "1.14.3",
Expand All @@ -15,7 +15,7 @@
"url": "git+https://github.com/devrev/meerkat.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"registry": "https://registry.npmjs.org"
},
"type": "commonjs",
"main": "./src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion meerkat-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"url": "git+https://github.com/devrev/meerkat.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"registry": "https://registry.npmjs.org"
},
"keywords": [],
"author": "devrev",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"url": "git+https://github.com/devrev/meerkat.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"registry": "https://registry.npmjs.org"
},
"keywords": [],
"author": "devrev",
Expand Down

0 comments on commit e818304

Please sign in to comment.