Skip to content

Commit 36ba417

Browse files
committed
publish as @ns0m/cordova-plugin-advanced-http
1 parent b0fbce2 commit 36ba417

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

.github/workflows/publish-npm.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish NPM
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
publish-npm:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
11+
with:
12+
node-version: 18
13+
registry-url: https://registry.npmjs.org/
14+
- run: npm ci
15+
- run: npm publish --access public
16+
env:
17+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "cordova-plugin-advanced-http",
2+
"name": "@ns0m/cordova-plugin-advanced-http",
33
"version": "2.5.1",
44
"description": "Cordova / Phonegap plugin for communicating with HTTP servers using SSL pinning",
55
"scripts": {
@@ -23,7 +23,7 @@
2323
},
2424
"repository": {
2525
"type": "git",
26-
"url": "git+https://github.com/silkimen/cordova-plugin-advanced-http.git"
26+
"url": "git+https://github.com/ns0m/cordova-plugin-advanced-http.git"
2727
},
2828
"keywords": [
2929
"cordova",
@@ -54,9 +54,9 @@
5454
],
5555
"license": "MIT",
5656
"bugs": {
57-
"url": "https://github.com/silkimen/cordova-plugin-advanced-http/issues"
57+
"url": "https://github.com/ns0m/cordova-plugin-advanced-http/issues"
5858
},
59-
"homepage": "https://github.com/silkimen/cordova-plugin-advanced-http#readme",
59+
"homepage": "https://github.com/ns0m/cordova-plugin-advanced-http#readme",
6060
"devDependencies": {
6161
"chai": "4.1.2",
6262
"chai-as-promised": "7.1.1",
@@ -69,4 +69,4 @@
6969
"wd": "1.4.1",
7070
"xml2js": "0.4.19"
7171
}
72-
}
72+
}

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@
9595
<runs/>
9696
</js-module>
9797
</platform>
98-
</plugin>
98+
</plugin>

0 commit comments

Comments
 (0)