Updating to use gitea 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
0541680671
commit
32715c5092
32
.drone.yml
32
.drone.yml
@ -28,14 +28,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: b.watson@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:
|
||||||
@ -46,14 +46,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: b.watson@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-hue-chase",
|
"name": "@watsonb8/homebridge-hue-chase",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"description": "A Phillips Hue add on for creating chase sequences.",
|
"description": "A Phillips Hue add on for creating chase sequences.",
|
||||||
"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",
|
||||||
@ -37,4 +37,4 @@
|
|||||||
"homebridge": "^0.4.53",
|
"homebridge": "^0.4.53",
|
||||||
"typescript": "^4.5.4"
|
"typescript": "^4.5.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user