Releases: angular-architects/nx-ddd-plugin
Update for Nx >= 20 and NG19
Update for Nx >= 20 and NG18
- finally supports Nx version 20
Breaking Change:
- starting with v18.1.0, the generated includePaths are using dashes instead of slashes, see README
Known issue:
ddd/init
not yet compatible with ESLint flat config
Update for Nx < 20 and NG18
- update to NG version 18
Update for Nx < 20 and NG17
- @ngrx/store uses
createActionGroup
andcreateFeature
now - issue with inferring correct folder names has been solved
2.1.0
Standalone Components
Now, all Generators provide a --standalone switch for supporting Standalone Components.
Don't mix Standalone Components and traditional ones in the same domain.
Workspace Libraries
We align with the current recommendations for Nx by generating workspace libraries (not buildable and not publishable) by default. In most cases, this leads to the best build time when combined with Module Federation.
If you need publishable or buildable libraries, use --type publishable
or --type buildable
Full Readme
See the full readme here
2.0.0
- refactoring: Migrated to Nx Generators --> increases performance and DX (no unneeded
npm install
s anymore) - feature: works with
workspace.json
andproject.json
files too - feature:
--noApp
flag for feature generator for cases where you don't want to associate a feature directly with an app - feature: api generator for API libs
- feature: domain generator --> creating an app when using the
--ngrx
switch is not needed anymore - feature: we don't generate any unneeded package.json and ng-package.json anymore (in the case of type=internal)
Minor Improvements
General
- schema.json files for schematics use $id property instead of id to prevent a deprecation warning
NGRX support
- FEATURE_KEY contains the domain name as a prefix (format "domain-feature" instead of just "feature")
- The generated facade for NGRX now gets a
load
method instead of adispatch
method to make the facade use case-specific and agnostic to the framework used
Nx 11 and More
Features
feat(lint): add lint rule dependence type:api and type:api
#55 by wizardnet972 was closed 5 hours ago
chore(repo): upgrade to nx 11
#45 by peterbsmyth was merged 6 hours ago
feat(repo): provide commitizen to easily make clean commits
#44 by peterbsmyth was merged 6 hours ago
feat(schematics): include @ngrx/schematics in ng add command
#43 by peterbsmyth was merged 6 hours ago
Feature/add directory support to Domain and Feature
#35 by benpsnyder was merged 6 hours ago
Feature/upgrade nx to v10.4.7
#34 by benpsnyder was merged 6 hours ago
Closed Issues
[Bug] Fix import paths with '/' so that libraries could be published to a registry
#47 by smarletta was closed 4 hours ago
Request - Use eslint instead of tslint
#39 by st-clair-clarke was closed on 5 Jan
[Bug] When using a directory for Feature with NgRx, filenames are not correct
#37 by benpsnyder was closed 3 hours ago
NGRX, ESLint, UI- and Util-Libs, Prompts
Highlights in this Release
- NGRX support: Just use the switch
--ngrx
for creating features and domains - ESLint support: Works with both, TSLint and ESLint
- Schematics for generating ui and util libs
- Prompts for important settings
Thanks to all contributors (see list below). You. Are. Awesome!
Changelog
add support for eslint
#28 by BickelLukas was merged yesterday
feat/ngrx
#26 by peterbsmith2 was merged 8 hours ago
fix(utils): include type:app constraint
#25 by peterbsmith2 was merged on 15 Oct
Feature/15 add util library schematic
#20 by pascalbe-dev was merged on 15 Oct
Feature/15 add ui library
#18 by pascalbe-dev was merged on 20 Aug
feat(domain,feature): add property to specify build type
#14 by pascalbe-dev was merged on 16 Jul
Adding interactive mode and optional feature prefix
#6 by Adrael was merged on 20 Aug
fix(linting-rules): add missing type in tag
#5 by ctaepper was merged on 29 Apr
Optional chaining for ng add error Closes Issue #2
#3 by mcanoglu was merged on 29 Apr
1.0.5
- Libs are now
buildable
by default to support (improved) incremental compilation - Thanks to a great PR, one can change the type of a lib to publishable and to internal