From b8dfbd93e7e55d928dc9966c2ad5d19e52200d85 Mon Sep 17 00:00:00 2001 From: Badisi Date: Mon, 10 Jun 2024 10:06:46 +0200 Subject: [PATCH] chore(release): improvements --- nx.json | 22 ++++++- projects/core/CHANGELOG.md | 8 +-- projects/core/package.json | 89 ++++++++++++++------------- projects/list-loader/CHANGELOG.md | 9 ++- projects/list-loader/package.json | 81 ++++++++++++------------ projects/message-box/CHANGELOG.md | 9 ++- projects/message-box/package.json | 85 ++++++++++++------------- projects/numeric-stepper/package.json | 89 ++++++++++++++------------- projects/overlay/package.json | 2 +- projects/snackbar/package.json | 2 +- projects/splitter/package.json | 2 +- projects/status/package.json | 2 +- projects/time-picker/package.json | 2 +- projects/tooltip/package.json | 2 +- tsconfig.base.json | 2 +- 15 files changed, 213 insertions(+), 193 deletions(-) diff --git a/nx.json b/nx.json index 3b9ec18a..772492fd 100644 --- a/nx.json +++ b/nx.json @@ -1,9 +1,9 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", "targetDefaults": { - "build": { + "build:ng": { "dependsOn": [ - "^build" + "^build:ng" ] } }, @@ -12,6 +12,24 @@ "version": { "conventionalCommits": true }, + "conventionalCommits": { + "types": { + "refactor": { + "semverBump": "patch", + "changelog": false + }, + "styles": { + "semverBump": "patch", + "changelog": false + }, + "docs": { + "semverBump": "patch", + "changelog": { + "title": "Documentation Changes" + } + } + } + }, "changelog": { "projectChangelogs": { "createRelease": "github" diff --git a/projects/core/CHANGELOG.md b/projects/core/CHANGELOG.md index f07eabcc..25946e5a 100644 --- a/projects/core/CHANGELOG.md +++ b/projects/core/CHANGELOG.md @@ -1,11 +1,11 @@ ## 1.1.0 (2024-05-01) -### Features +### 馃殌 Features -- Core package ([1cb90ba](https://github.com/DSI-HUG/ngx-components/commit/1cb90bac803acbb9708e3983ab9e4d6a872d2a5c)) +- **core**: first commit ([1cb90ba](https://github.com/DSI-HUG/ngx-components/commit/1cb90bac803acbb9708e3983ab9e4d6a872d2a5c)) -### 鉂わ笍 Thank You +### 鉂わ笍 Thank You -- Badisi +- @Badisi diff --git a/projects/core/package.json b/projects/core/package.json index 121a184a..fc065212 100644 --- a/projects/core/package.json +++ b/projects/core/package.json @@ -1,47 +1,48 @@ { - "name": "@hug/ngx-core", - "version": "1.1.0", - "description": "", - "homepage": "https://github.com/dsi-hug/ngx-components", - "license": "GPL-3.0-only", - "author": "HUG - H么pitaux Universitaires Gen猫ve", - "contributors": [ - "badisi (https://github.com/badisi)", - "vapkse (https://github.com/vapkse)" - ], - "repository": { - "type": "git", - "url": "https://github.com/dsi-hug/ngx-components.git" - }, - "keywords": [ - "angular", - "material", - "material design", - "components" - ], - "sideEffects": false, - "exports": { - ".": { - "sass": "./styles" + "name": "@hug/ngx-core", + "version": "1.1.0", + "description": "HUG Angular - the core framework", + "homepage": "https://github.com/dsi-hug/ngx-components", + "license": "GPL-3.0-only", + "author": "HUG - H么pitaux Universitaires Gen猫ve", + "contributors": [ + "badisi (https://github.com/badisi)", + "vapkse (https://github.com/vapkse)" + ], + "repository": { + "type": "git", + "url": "https://github.com/dsi-hug/ngx-components.git" + }, + "keywords": [ + "angular", + "material", + "material design", + "components" + ], + "sideEffects": false, + "exports": { + ".": { + "sass": "./styles" + } + }, + "scripts": { + "lint": "eslint . --fix", + "test": "ng test core", + "test:ci": "ng test core --watch=false --browsers=ChromeHeadless", + "build:ng": "ng build core -c=production", + "build": "nx build:ng @hug/ngx-core", + "release": "nx release -p=@hug/ngx-core", + "release:dry-run": "nx release -p=@hug/ngx-core --dry-run" + }, + "peerDependencies": { + "@angular/common": ">= 14", + "@angular/core": ">= 14", + "@angular/cdk": ">= 14", + "@angular/material": ">= 14", + "rxjs": ">= 7.0.0", + "date-fns": "^2.30.0" + }, + "dependencies": { + "tslib": "^2.6.2" } - }, - "scripts": { - "lint": "eslint . --fix", - "test": "ng test core", - "test:ci": "ng test core --watch=false --browsers=ChromeHeadless", - "build": "ng build core -c=production", - "release": "nx release -p=@hug/ngx-core", - "release:dry-run": "nx release -p=@hug/ngx-core --dry-run" - }, - "peerDependencies": { - "@angular/common": ">= 14", - "@angular/core": ">= 14", - "@angular/cdk": ">= 14", - "@angular/material": ">= 14", - "rxjs": ">= 7.0.0", - "date-fns": "^2.30.0" - }, - "dependencies": { - "tslib": "^2.6.2" - } } diff --git a/projects/list-loader/CHANGELOG.md b/projects/list-loader/CHANGELOG.md index cdf9d2b8..ead70c1c 100644 --- a/projects/list-loader/CHANGELOG.md +++ b/projects/list-loader/CHANGELOG.md @@ -1,11 +1,10 @@ ## 1.1.0 (2024-05-01) -### Features +### 馃殌 Features -- List-loader package ([c33cbae](https://github.com/DSI-HUG/ngx-components/commit/c33cbae53d66241197356d3984e8c37796a3a6a4)) +- **list-loader:**: first commit ([c33cbae](https://github.com/DSI-HUG/ngx-components/commit/c33cbae53d66241197356d3984e8c37796a3a6a4)) +### 鉂わ笍 Thank You -### 鉂わ笍 Thank You - -- Badisi +- @Badisi diff --git a/projects/list-loader/package.json b/projects/list-loader/package.json index be93e58a..8220f203 100644 --- a/projects/list-loader/package.json +++ b/projects/list-loader/package.json @@ -1,43 +1,44 @@ { - "name": "@hug/ngx-list-loader", - "version": "1.1.0", - "description": "", - "homepage": "https://github.com/dsi-hug/ngx-components", - "license": "GPL-3.0-only", - "author": "HUG - H么pitaux Universitaires Gen猫ve", - "contributors": [ - "badisi (https://github.com/badisi)", - "vapkse (https://github.com/vapkse)" - ], - "repository": { - "type": "git", - "url": "https://github.com/dsi-hug/ngx-components.git" - }, - "keywords": [ - "angular", - "material", - "material design", - "components" - ], - "sideEffects": false, - "exports": { - ".": { - "sass": "./_list-loader-theme.scss" + "name": "@hug/ngx-list-loader", + "version": "1.1.0", + "description": "HUG Angular - list loader component", + "homepage": "https://github.com/dsi-hug/ngx-components", + "license": "GPL-3.0-only", + "author": "HUG - H么pitaux Universitaires Gen猫ve", + "contributors": [ + "badisi (https://github.com/badisi)", + "vapkse (https://github.com/vapkse)" + ], + "repository": { + "type": "git", + "url": "https://github.com/dsi-hug/ngx-components.git" + }, + "keywords": [ + "angular", + "material", + "material design", + "components" + ], + "sideEffects": false, + "exports": { + ".": { + "sass": "./_list-loader-theme.scss" + } + }, + "scripts": { + "lint": "eslint . --fix", + "test": "ng test list-loader", + "test:ci": "ng test list-loader --watch=false --browsers=ChromeHeadless", + "build:ng": "ng build list-loader -c=production", + "build": "nx build:ng @hug/ngx-list-loader --verbose", + "release": "nx release -p=@hug/ngx-list-loader", + "release:dry-run": "nx release -p=@hug/ngx-list-loader --dry-run" + }, + "peerDependencies": { + "@angular/common": ">= 14", + "@angular/core": ">= 14" + }, + "dependencies": { + "tslib": "^2.6.2" } - }, - "scripts": { - "lint": "eslint . --fix", - "test": "ng test list-loader", - "test:ci": "ng test list-loader --watch=false --browsers=ChromeHeadless", - "build": "ng build list-loader -c=production", - "release": "nx release -p=@hug/ngx-list-loader", - "release:dry-run": "nx release -p=@hug/ngx-list-loader --dry-run" - }, - "peerDependencies": { - "@angular/common": ">= 14", - "@angular/core": ">= 14" - }, - "dependencies": { - "tslib": "^2.6.2" - } } diff --git a/projects/message-box/CHANGELOG.md b/projects/message-box/CHANGELOG.md index 5d52c9d6..e6405794 100644 --- a/projects/message-box/CHANGELOG.md +++ b/projects/message-box/CHANGELOG.md @@ -1,11 +1,10 @@ ## 1.1.0 (2024-05-01) -### Features +### 馃殌 Features -- Message-box package ([ca30f27](https://github.com/DSI-HUG/ngx-components/commit/ca30f2791b4b013bedf38839e2bc2aed296c2acc)) +- **message-box:** first commit ([ca30f27](https://github.com/DSI-HUG/ngx-components/commit/ca30f2791b4b013bedf38839e2bc2aed296c2acc)) +### 鉂わ笍 Thank You -### 鉂わ笍 Thank You - -- Badisi +- @Badisi diff --git a/projects/message-box/package.json b/projects/message-box/package.json index fcbd58b5..ac04fbca 100644 --- a/projects/message-box/package.json +++ b/projects/message-box/package.json @@ -1,45 +1,46 @@ { - "name": "@hug/ngx-message-box", - "version": "1.1.0", - "description": "", - "homepage": "https://github.com/dsi-hug/ngx-components", - "license": "GPL-3.0-only", - "author": "HUG - H么pitaux Universitaires Gen猫ve", - "contributors": [ - "badisi (https://github.com/badisi)", - "vapkse (https://github.com/vapkse)" - ], - "repository": { - "type": "git", - "url": "https://github.com/dsi-hug/ngx-components.git" - }, - "keywords": [ - "angular", - "material", - "material design", - "components" - ], - "sideEffects": false, - "exports": { - ".": { - "sass": "./_message-box-theme.scss" + "name": "@hug/ngx-message-box", + "version": "1.1.0", + "description": "HUG Angular - message box component", + "homepage": "https://github.com/dsi-hug/ngx-components", + "license": "GPL-3.0-only", + "author": "HUG - H么pitaux Universitaires Gen猫ve", + "contributors": [ + "badisi (https://github.com/badisi)", + "vapkse (https://github.com/vapkse)" + ], + "repository": { + "type": "git", + "url": "https://github.com/dsi-hug/ngx-components.git" + }, + "keywords": [ + "angular", + "material", + "material design", + "components" + ], + "sideEffects": false, + "exports": { + ".": { + "sass": "./_message-box-theme.scss" + } + }, + "scripts": { + "lint": "eslint . --fix", + "test": "ng test message-box", + "test:ci": "ng test message-box --watch=false --browsers=ChromeHeadless", + "build:ng": "ng build message-box -c=production", + "build": "nx build:ng @hug/ngx-message-box --verbose", + "release": "nx release -p=@hug/ngx-message-box", + "release:dry-run": "nx release -p=@hug/ngx-message-box --dry-run" + }, + "peerDependencies": { + "@angular/common": ">= 14", + "@angular/core": ">= 14", + "@angular/cdk": ">= 14", + "@angular/material": ">= 14" + }, + "dependencies": { + "tslib": "^2.6.2" } - }, - "scripts": { - "lint": "eslint . --fix", - "test": "ng test message-box", - "test:ci": "ng test message-box --watch=false --browsers=ChromeHeadless", - "build": "ng build message-box -c=production", - "release": "nx release -p=@hug/ngx-message-box", - "release:dry-run": "nx release -p=@hug/ngx-message-box --dry-run" - }, - "peerDependencies": { - "@angular/common": ">= 14", - "@angular/core": ">= 14", - "@angular/cdk": ">= 14", - "@angular/material": ">= 14" - }, - "dependencies": { - "tslib": "^2.6.2" - } } diff --git a/projects/numeric-stepper/package.json b/projects/numeric-stepper/package.json index 80216a0f..afa2b48e 100644 --- a/projects/numeric-stepper/package.json +++ b/projects/numeric-stepper/package.json @@ -1,47 +1,48 @@ { - "name": "@hug/ngx-numeric-stepper", - "version": "1.0.0", - "description": "", - "homepage": "https://github.com/dsi-hug/ngx-components", - "license": "GPL-3.0-only", - "author": "HUG - H么pitaux Universitaires Gen猫ve", - "contributors": [ - "badisi (https://github.com/badisi)", - "vapkse (https://github.com/vapkse)" - ], - "repository": { - "type": "git", - "url": "https://github.com/dsi-hug/ngx-components.git" - }, - "keywords": [ - "angular", - "material", - "material design", - "components" - ], - "sideEffects": false, - "exports": { - ".": { - "sass": "./_numeric-stepper-theme.scss" + "name": "@hug/ngx-numeric-stepper", + "version": "1.0.0", + "description": "HUG Angular - numeric stepper component", + "homepage": "https://github.com/dsi-hug/ngx-components", + "license": "GPL-3.0-only", + "author": "HUG - H么pitaux Universitaires Gen猫ve", + "contributors": [ + "badisi (https://github.com/badisi)", + "vapkse (https://github.com/vapkse)" + ], + "repository": { + "type": "git", + "url": "https://github.com/dsi-hug/ngx-components.git" + }, + "keywords": [ + "angular", + "material", + "material design", + "components" + ], + "sideEffects": false, + "exports": { + ".": { + "sass": "./_numeric-stepper-theme.scss" + } + }, + "scripts": { + "lint": "eslint . --fix", + "test": "ng test numeric-stepper", + "test:ci": "ng test numeric-stepper --watch=false --browsers=ChromeHeadless", + "build:ng": "ng build numeric-stepper -c=production", + "build": "nx build:ng @hug/ngx-numeric-stepper --verbose", + "release": "nx release -p=@hug/ngx-numeric-stepper", + "release:dry-run": "nx release -p=@hug/ngx-numeric-stepper --dry-run" + }, + "peerDependencies": { + "@angular/common": ">= 14", + "@angular/core": ">= 14", + "@angular/cdk": ">= 14", + "@angular/material": ">= 14", + "rxjs": ">= 7.0.0", + "@hug/ngx-core": "1.1.0" + }, + "dependencies": { + "tslib": "^2.6.2" } - }, - "scripts": { - "lint": "eslint . --fix", - "test": "ng test numeric-stepper", - "test:ci": "ng test numeric-stepper --watch=false --browsers=ChromeHeadless", - "build": "ng build numeric-stepper -c=production", - "release": "nx release -p=@hug/ngx-numeric-stepper", - "release:dry-run": "nx release -p=@hug/ngx-numeric-stepper --dry-run" - }, - "peerDependencies": { - "@angular/common": ">= 14", - "@angular/core": ">= 14", - "@angular/cdk": ">= 14", - "@angular/material": ">= 14", - "rxjs": ">= 7.0.0", - "@hug/ngx-core": "1.1.0" - }, - "dependencies": { - "tslib": "^2.6.2" - } } diff --git a/projects/overlay/package.json b/projects/overlay/package.json index 22560e57..11b18dac 100644 --- a/projects/overlay/package.json +++ b/projects/overlay/package.json @@ -1,7 +1,7 @@ { "name": "@hug/ngx-overlay", "version": "1.0.0", - "description": "", + "description": "HUG Angular - overlay component", "homepage": "https://github.com/dsi-hug/ngx-components", "license": "GPL-3.0-only", "author": "HUG - H么pitaux Universitaires Gen猫ve", diff --git a/projects/snackbar/package.json b/projects/snackbar/package.json index 3f162243..323bb2c8 100644 --- a/projects/snackbar/package.json +++ b/projects/snackbar/package.json @@ -1,7 +1,7 @@ { "name": "@hug/ngx-snackbar", "version": "1.0.0", - "description": "", + "description": "HUG Angular - snackbar component", "homepage": "https://github.com/dsi-hug/ngx-components", "license": "GPL-3.0-only", "author": "HUG - H么pitaux Universitaires Gen猫ve", diff --git a/projects/splitter/package.json b/projects/splitter/package.json index ba28694e..0bcd6719 100644 --- a/projects/splitter/package.json +++ b/projects/splitter/package.json @@ -1,7 +1,7 @@ { "name": "@hug/ngx-splitter", "version": "1.0.0", - "description": "", + "description": "HUG Angular - splitter component", "homepage": "https://github.com/dsi-hug/ngx-components", "license": "GPL-3.0-only", "author": "HUG - H么pitaux Universitaires Gen猫ve", diff --git a/projects/status/package.json b/projects/status/package.json index 9ed4e683..1b131cb4 100644 --- a/projects/status/package.json +++ b/projects/status/package.json @@ -1,7 +1,7 @@ { "name": "@hug/ngx-status", "version": "1.0.0", - "description": "", + "description": "HUG Angular - status component", "homepage": "https://github.com/dsi-hug/ngx-components", "license": "GPL-3.0-only", "author": "HUG - H么pitaux Universitaires Gen猫ve", diff --git a/projects/time-picker/package.json b/projects/time-picker/package.json index c3eb543c..a0c56a5a 100644 --- a/projects/time-picker/package.json +++ b/projects/time-picker/package.json @@ -1,7 +1,7 @@ { "name": "@hug/ngx-time-picker", "version": "1.0.0", - "description": "", + "description": "HUG Angular - time picker component", "homepage": "https://github.com/dsi-hug/ngx-components", "license": "GPL-3.0-only", "author": "HUG - H么pitaux Universitaires Gen猫ve", diff --git a/projects/tooltip/package.json b/projects/tooltip/package.json index 9245c755..8547b848 100644 --- a/projects/tooltip/package.json +++ b/projects/tooltip/package.json @@ -1,7 +1,7 @@ { "name": "@hug/ngx-tooltip", "version": "1.0.0", - "description": "", + "description": "HUG Angular - tooltip component", "homepage": "https://github.com/dsi-hug/ngx-components", "license": "GPL-3.0-only", "author": "HUG - H么pitaux Universitaires Gen猫ve", diff --git a/tsconfig.base.json b/tsconfig.base.json index 67489fb3..89773d71 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -23,7 +23,7 @@ ], "paths": { "@hug/ngx-core": [ - "dist/core/src" + "dist/core" ], "@hug/ngx-list-loader": [ "dist/list-loader"