Skip to content

Releases: angular-architects/nx-ddd-plugin

Update for Nx >= 20 and NG19

03 Dec 16:33
Compare
Choose a tag to compare
  • update to NG version 19

Update for Nx >= 20 and NG18

03 Dec 16:31
Compare
Choose a tag to compare
  • 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

03 Dec 16:28
Compare
Choose a tag to compare
  • update to NG version 18

Update for Nx < 20 and NG17

03 Dec 16:24
Compare
Choose a tag to compare
  • @ngrx/store uses createActionGroup and createFeature now
  • issue with inferring correct folder names has been solved

2.1.0

17 Jun 19:43
Compare
Choose a tag to compare

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

28 Dec 21:22
Compare
Choose a tag to compare
  • refactoring: Migrated to Nx Generators --> increases performance and DX (no unneeded npm installs anymore)
  • feature: works with workspace.json and project.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

23 Aug 17:58
Compare
Choose a tag to compare

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 a dispatch method to make the facade use case-specific and agnostic to the framework used

Nx 11 and More

12 Mar 19:38
f941452
Compare
Choose a tag to compare

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

16 Nov 22:28
Compare
Choose a tag to compare

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

26 Jul 20:40
Compare
Choose a tag to compare
  • 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