Skip to content

Commit 25da477

Browse files
authored
build: add semver
* chore: add semver * chore: move changelog in project's dir * chore: set version in project's `package.json` * chore: set default project
1 parent c7dc795 commit 25da477

File tree

5 files changed

+215
-14
lines changed

5 files changed

+215
-14
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
{
22
"name": "bikecoders",
3-
"version": "3.0.2",
3+
"version": "0.0.0",
44
"license": "MIT",
55
"scripts": {
66
"start": "nx serve",
77
"build": "nx build",
88
"test": "nx test",
9-
"release": "standard-version"
9+
"release": "nx version"
1010
},
1111
"private": true,
1212
"dependencies": {
1313
"tslib": "^2.0.0"
1414
},
1515
"devDependencies": {
16+
"@jscutlery/semver": "^2.10.0",
1617
"@nrwl/cli": "13.0.2",
1718
"@nrwl/devkit": "13.0.2",
1819
"@nrwl/eslint-plugin-nx": "13.0.2",
@@ -31,7 +32,6 @@
3132
"jest": "27.2.3",
3233
"ngx-deploy-npm": "^3.0.1",
3334
"prettier": "^2.3.1",
34-
"standard-version": "^9.3.2",
3535
"ts-jest": "27.0.5",
3636
"tslib": "^2.0.0",
3737
"typescript": "~4.3.5"
File renamed without changes.

packages/ngx-deploy-npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-deploy-npm",
3-
"version": "0.0.1",
3+
"version": "3.0.2",
44
"description": "Publish your libraries to NPM with just one command",
55
"main": "src/index.js",
66
"generators": "./generators.json",

workspace.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@
6161
"options": {
6262
"access": "public"
6363
}
64+
},
65+
"version": {
66+
"executor": "@jscutlery/semver:version",
67+
"options": {
68+
"versionTagPrefix": "v",
69+
"baseBranch": "master"
70+
}
6471
}
6572
},
6673
"tags": []
@@ -81,5 +88,6 @@
8188
"tags": [],
8289
"implicitDependencies": ["ngx-deploy-npm"]
8390
}
84-
}
91+
},
92+
"defaultProject": "ngx-deploy-npm"
8593
}

0 commit comments

Comments
 (0)