Skip to content

Commit

Permalink
Setup publish
Browse files Browse the repository at this point in the history
  • Loading branch information
maksim.zhemerenko committed Dec 15, 2023
1 parent fb3313b commit 92a1e6a
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish package
on:
push
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn lint
- run: yarn build
- run: yarn lerna:publish from-package --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "5.0.0-alpha.2",
"version": "independent",
"npmClient": "yarn"
}
4 changes: 2 additions & 2 deletions packages/capacitor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spryrocks/capacitor-http-plugin",
"version": "5.0.0-alpha.2",
"version": "5.0.0-alpha.3",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
Expand All @@ -19,7 +19,7 @@
"compile": "tsc --noEmit"
},
"dependencies": {
"@spryrocks/mobile-http-plugin-core": "^5.0.0-alpha.2"
"@spryrocks/mobile-http-plugin-core": "^5.0.0-alpha.3"
},
"peerDependencies": {
"@capacitor/core": "^5.5.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spryrocks/mobile-http-plugin-core",
"version": "5.0.0-alpha.2",
"version": "5.0.0-alpha.3",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spryrocks/react-native-http-plugin",
"version": "5.0.0-alpha.2",
"version": "5.0.0-alpha.3",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
Expand All @@ -19,7 +19,7 @@
"compile": "tsc --noEmit"
},
"dependencies": {
"@spryrocks/mobile-http-plugin-core": "^5.0.0-alpha.2"
"@spryrocks/mobile-http-plugin-core": "^5.0.0-alpha.3"
},
"devDependencies": {
"@spryrocks/eslint-config": "^0.3.0-alpha.2",
Expand Down

0 comments on commit 92a1e6a

Please sign in to comment.