Use scoped npm package
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This way the private nexus repository can be easily used besides the public repository, via a scoped repository in .npmrc
This commit is contained in:
parent
f6fddae187
commit
8e0685819d
3 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,7 @@ steps:
|
|||
- openapi-generator generate
|
||||
-i http://runservice:8080/v3/api-docs
|
||||
-g javascript
|
||||
--additional-properties projectName=flingclient,usePromises=true,npmRepository=https://nexus.friedl.net/repository/npm-private/
|
||||
--additional-properties projectName=@fling/flingclient,usePromises=true,npmRepository=https://nexus.friedl.net/repository/npm-private/
|
||||
-o flingclient.js
|
||||
--enable-post-process-file
|
||||
- cd flingclient.js && npm install && npm run build
|
||||
|
|
|
@ -18,4 +18,5 @@ sed -i "s/${CUR_VERSION^^}/${NEW_VERSION^^}/g" service/fling/pom.xml
|
|||
sed -i "s/${CUR_VERSION,,}/${NEW_VERSION,,}/g" service/fling/src/main/resources/*.yml
|
||||
sed -i "s/${CUR_VERSION,,}/${NEW_VERSION,,}/g" .drone.yml
|
||||
sed -i "s/${CUR_VERSION^^}/${NEW_VERSION^^}/g" .drone.yml
|
||||
sed -i "s/${CUR_VERSION,,}/${NEW_VERSION,,}/g" web/fling/package.json
|
||||
sed -i "s/${CUR_VERSION}/${NEW_VERSION}/g" VERSION
|
||||
|
|
1
web/fling/.npmrc
Normal file
1
web/fling/.npmrc
Normal file
|
@ -0,0 +1 @@
|
|||
@fling:registry=https://nexus.friedl.net/repository/npm-private/
|
Loading…
Reference in a new issue