diff --git a/nx.json b/nx.json index d9efbb90..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" ] } }, diff --git a/projects/core/package.json b/projects/core/package.json index 121a184a..42cdc5e4 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": "", + "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/package.json b/projects/list-loader/package.json index be93e58a..f443c108 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": "", + "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/package.json b/projects/message-box/package.json index fcbd58b5..3a022b25 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": "", + "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..0e1c2862 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": "", + "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/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"