From be7ff31550d8713d7dfe95cdfd84d529ffe46914 Mon Sep 17 00:00:00 2001 From: Jonathan Gelin Date: Tue, 7 May 2024 09:15:34 +0200 Subject: [PATCH] chore(release): publish 0.5.0 --- CHANGELOG.md | 23 +++ .../huge-next-full-stack.conventions.ts | 133 ++++++++++++++++++ 2 files changed, 156 insertions(+) create mode 100644 packages/conventions/src/examples/huge-next-full-stack.conventions.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index c3087dc..c58cda8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +## 0.5.0 (2024-05-07) + + +### 🚀 Features + +- **conventions:** Add Conventions for Angular Full Stack ([cee42b9](https://github.com/jogelin/huge-nx/commit/cee42b9)) +- **conventions:** Allow to specify interactive value to decide if input are requested or not from create-workspace or project type generator ([f684594](https://github.com/jogelin/huge-nx/commit/f684594)) +- **project-type:** Generate any Project Type from a Generic Generator ([fa6922c](https://github.com/jogelin/huge-nx/commit/fa6922c)) +- **project-type:** Validate new generated project name ([775e7ca](https://github.com/jogelin/huge-nx/commit/775e7ca)) + +### 🩹 Fixes + +- **ci:** Fix npm script on CI ([1bf15ad](https://github.com/jogelin/huge-nx/commit/1bf15ad)) +- **conventions:** Fix lint ([75a4395](https://github.com/jogelin/huge-nx/commit/75a4395)) +- **devkit:** Configure devkit as publish lib ([a2865bf](https://github.com/jogelin/huge-nx/commit/a2865bf)) +- **format:** Fix formatting Changelog ([a89f3f0](https://github.com/jogelin/huge-nx/commit/a89f3f0)) +- **format:** Fix format ([03b685b](https://github.com/jogelin/huge-nx/commit/03b685b)) +- **lint:** Fix missing library for conventions ([0d85afd](https://github.com/jogelin/huge-nx/commit/0d85afd)) + +### ❤️ Thank You + +- Jonathan Gelin @jogelin + ## 0.4.0 (2024-04-16) ### 🚀 Features diff --git a/packages/conventions/src/examples/huge-next-full-stack.conventions.ts b/packages/conventions/src/examples/huge-next-full-stack.conventions.ts new file mode 100644 index 0000000..f32c745 --- /dev/null +++ b/packages/conventions/src/examples/huge-next-full-stack.conventions.ts @@ -0,0 +1,133 @@ +// eslint-disable-next-line @nx/enforce-module-boundaries +import { defineConventions } from '@huge-nx/conventions'; + +export default defineConventions({ + version: '1.0', + generators: { + '@nx/angular:application': { + linter: 'eslint', + style: 'css', + unitTestRunner: 'jest', + bundler: 'esbuild', + e2eTestRunner: 'playwright', + inlineStyle: true, + inlineTemplate: true, + }, + '@nx/angular:library': { + linter: 'eslint', + unitTestRunner: 'jest', + }, + '@nx/angular:component': { + style: 'css', + }, + '@nx/js:lib': { + bundler: 'swc', + }, + }, + projectTypes: { + 'global:angular:app': { + projectPattern: '*-app', + generators: [{ generator: '@nx/angular:application' }], + }, + 'mf:host:app': { + projectPattern: '*-app', + generators: [{ generator: '@nx/angular:host', options: { addTailwind: true } }], + }, + 'mf:remote:app': { + projectPattern: 'mf-*-app', + generators: [{ generator: '@nx/angular:remote' }], + }, + 'backend:api': { + projectPattern: '*-api', + generators: [{ generator: '@nx/nest:application' }], + }, + 'global:angular:lib:data-access': { + projectPattern: '*-data-access', + generators: [{ generator: '@nx/angular:library' }], + }, + 'global:angular:lib:feature': { + projectPattern: '*-feature', + generators: [{ generator: '@nx/angular:library' }], + }, + 'global:angular:lib:ui': { + projectPattern: '*-ui', + generators: [{ generator: '@nx/angular:library' }], + }, + 'global:angular:lib:ui:storybook': { + projectPattern: '*-ui', + generators: [{ generator: '@nx/angular:library' }, { generator: '@nx/storybook:configuration', options: { uiFramework: '@storybook/angular' } }], + }, + 'global:angular:lib:utils': { + projectPattern: '*-utils', + generators: [{ generator: '@nx/angular:library' }], + }, + 'global:ts:lib:utils': { + projectPattern: '*-utils', + generators: [{ generator: '@nx/js:lib', options: { bundler: 'swc' } }], + }, + }, + workspace: { + apps: { + 'hotel-app': 'mf:host:app', + 'mf-guest-services-app': { + projectType: 'mf:remote:app', + options: { + '@nx/angular:remote': { host: 'hotel-app' }, + }, + }, + 'mf-room-maintenance-app': { + projectType: 'mf:remote:app', + options: { + '@nx/angular:remote': { host: 'hotel-app' }, + }, + }, + 'mf-event-management-app': { + projectType: 'mf:remote:app', + options: { + '@nx/angular:remote': { host: 'hotel-app' }, + }, + }, + 'hotel-api': 'backend:api', + 'admin-dashboard-app': 'global:angular:app', + }, + libs: { + guest: { + 'data-access': 'global:angular:lib:data-access', + 'booking-feature': 'global:angular:lib:feature', + 'feedback-feature': 'global:angular:lib:feature', + ui: 'global:angular:lib:ui', + utils: 'global:ts:lib:utils', + }, + staff: { + 'data-access': 'global:angular:lib:data-access', + 'list-feature': 'global:angular:lib:feature', + 'scheduling-feature': 'global:angular:lib:feature', + ui: 'global:angular:lib:ui', + utils: 'global:ts:lib:utils', + }, + room: { + 'data-access': 'global:angular:lib:data-access', + 'list-feature': 'global:angular:lib:feature', + 'request-feature': 'global:angular:lib:feature', + ui: 'global:angular:lib:ui', + utils: 'global:ts:lib:utils', + }, + events: { + 'data-access': 'global:angular:lib:data-access', + 'booking-feature': 'global:angular:lib:feature', + 'management-feature': 'global:angular:lib:feature', + ui: 'global:angular:lib:ui', + utils: 'global:ts:lib:utils', + }, + shared: { + ui: { + projectType: 'global:angular:lib:ui:storybook', + options: { + '@nx/storybook:configuration': { project: 'shared-ui' }, + }, + }, + utils: 'global:ts:lib:utils', + }, + }, + }, +});