* ignore node_modules specifically to limit size of build_output * build and publish backoffice artifacts * instruct GitVersioning to output all variables such as npm to use in Pipelines * use NBGV variables * prepare npm package for nightlies * instruct to deploy to MyGet for nightlies * Deploy to npm only after Myget * add public access to publish * write scopes to .npmrc file * add scope to registry.npmjs.org * nightly param
24 lines
572 B
JSON
24 lines
572 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json",
|
|
"version": "14.0.0--preview004",
|
|
"assemblyVersion": {
|
|
"precision": "build"
|
|
},
|
|
"gitCommitIdShortFixedLength": 7,
|
|
"nuGetPackageVersion": {
|
|
"semVer": 2.0
|
|
},
|
|
"publicReleaseRefSpec": [
|
|
"^refs/heads/main$",
|
|
"^refs/heads/release/"
|
|
],
|
|
"release": {
|
|
"branchName": "release/{version}",
|
|
"tagName": "release-{version}"
|
|
},
|
|
"cloudBuild": {
|
|
"setVersionVariables": true,
|
|
"setAllVariables": true
|
|
}
|
|
}
|