Skip to content

Ke1R0/RushExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

Rush

npm install -g @microsoft/rush

Verdaccio

npm i -g verdaccio

Usage

Install packages

rush update

Start project

cd ./projects/delivery && rushx start
cd ./projects/orders && rushx start
cd ./projects/orders && rushx start

Deploy

rush deploy --overwrite --project @infinity/ProjectName

or

rush deploy --overwrite --scenario full

Publish Prerequisites

Start Verdaccio

verdaccio

the server is running at http://localhost:4873 and then publish all packages. Use All to npm registry command for ths.

Publish

To .tgz file

Files will be published to RushProj/common/temp/projects/*.tgz

rush publish --pack --include-all --publish

To npm registry

rush publish --apply --target-branch master --publish --registry http://localhost:4873/ --npm-auth-token ${RUSHPROJ_NPM_TOKEN}

All to npm registry

rush publish --apply --target-branch master --publish --registry http://localhost:4873/ --npm-auth-token ${RUSHPROJ_NPM_TOKEN} --include-all --force

Pre release To npm registry

rush publish --apply --target-branch master --publish --registry http://localhost:4873/ --npm-auth-token ${RUSHPROJ_NPM_TOKEN} --prerelease-name beta --partial-prerelease