Updating to use gitea for npm registry
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
ed652b2f76
commit
28abf136b7
32
.drone.yml
32
.drone.yml
@ -37,14 +37,14 @@ steps:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
- name: publish pre
|
- name: publish pre
|
||||||
image: plugins/npm:1.0.0
|
image: node
|
||||||
settings:
|
environment:
|
||||||
username:
|
token:
|
||||||
from_secret: npm_username
|
from_secret: npm_token
|
||||||
password:
|
commands:
|
||||||
from_secret: npm_password
|
- npm config set @watsonb8:registry https://gitea.watsonlabs.net/api/packages/watsonb8/npm/
|
||||||
email: brandon@watsonlabs.net
|
- npm config set -- '//gitea.watsonlabs.net/api/packages/watsonb8/npm/:_authToken' "$token"
|
||||||
registry: "http://10.44.1.6:4873/"
|
- npm publish
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
exclude:
|
exclude:
|
||||||
@ -55,14 +55,14 @@ steps:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
- name: publish tagged version
|
- name: publish tagged version
|
||||||
image: plugins/npm:1.0.0
|
image: node
|
||||||
settings:
|
environment:
|
||||||
username:
|
token:
|
||||||
from_secret: npm_username
|
from_secret: npm_token
|
||||||
password:
|
commands:
|
||||||
from_secret: npm_password
|
- npm config set @watsonb8:registry https://gitea.watsonlabs.net/api/packages/watsonb8/npm/
|
||||||
email: brandon@watsonlabs.net
|
- npm config set -- '//gitea.watsonlabs.net/api/packages/watsonb8/npm/:_authToken' "$token"
|
||||||
registry: "http://10.44.1.6:4873/"
|
- npm publish
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "@watsonb8/homebridge-harmony-control",
|
"name": "@watsonb8/homebridge-harmony-control",
|
||||||
"version": "1.2.3",
|
"version": "1.2.4",
|
||||||
"description": "Homebridge platform to control smart home equipment by room.",
|
"description": "Homebridge platform to control smart home equipment by room.",
|
||||||
"main": "bin/index.js",
|
"main": "bin/index.js",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "http://10.44.1.6:4873/"
|
"registry": "https://gitea.watsonlabs.net"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc --build",
|
"build": "tsc --build",
|
||||||
@ -44,4 +44,4 @@
|
|||||||
"request": "^2.88.0",
|
"request": "^2.88.0",
|
||||||
"tsyringe": "^4.6.0"
|
"tsyringe": "^4.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user