@angular-architects/ddd
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "@angular-architects/ddd", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Manfred Steyer", |
@@ -17,3 +17,2 @@ # @angular-architects/ddd -- DDD Plugin for Nx | ||
- 🙅♀️ Adding linting rules for access restrictions between layers as proposed by Nrwl | ||
- 📦 Creates buildable libraries to support incremental compilation | ||
@@ -80,10 +79,2 @@ ## Usage | ||
## Incremental Compilation | ||
The schematics allows incremental compilation by creating buildable libraries. Just compile your apps with ``--with-deps``: | ||
``` | ||
nx build your-app-name --with-deps | ||
``` | ||
## Example Application | ||
@@ -90,0 +81,0 @@ |
@@ -19,2 +19,4 @@ "use strict"; | ||
prefix: options.name, | ||
publishable: options.type === 'publishable', | ||
buildable: options.type === 'buildable', | ||
}), | ||
@@ -21,0 +23,0 @@ update_linting_rules_1.addDomainToLintingRules(options.name), |
@@ -32,3 +32,4 @@ import { | ||
prefix: options.name, | ||
// publishable: true, | ||
publishable: options.type === 'publishable', | ||
buildable: options.type === 'buildable', | ||
}), | ||
@@ -35,0 +36,0 @@ addDomainToLintingRules(options.name), |
@@ -15,3 +15,7 @@ /** | ||
addApp?: boolean; | ||
/** | ||
* A type to determine if and how to build the library. | ||
*/ | ||
type?: "internal" | "buildable" | "publishable"; | ||
[k: string]: any; | ||
} |
@@ -18,2 +18,12 @@ { | ||
"default": false | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"internal", | ||
"buildable", | ||
"publishable" | ||
], | ||
"description": "A type to determine if and how to build the library.", | ||
"default": "buildable" | ||
} | ||
@@ -20,0 +30,0 @@ }, |
@@ -17,3 +17,7 @@ /* tslint:disable */ | ||
addApp?: boolean; | ||
/** | ||
* A type to determine if and how to build the library. | ||
*/ | ||
type?: "internal" | "buildable" | "publishable"; | ||
[k: string]: any; | ||
} |
@@ -125,2 +125,4 @@ "use strict"; | ||
prefix: options.domain, | ||
publishable: options.type === 'publishable', | ||
buildable: options.type === 'buildable', | ||
}), | ||
@@ -127,0 +129,0 @@ addImport(featureModulePath, domainImportPath, domainModuleClassName), |
@@ -10,2 +10,4 @@ import { chain, externalSchematic, Rule, Tree, SchematicsException, apply, url, template, move, mergeWith, noop, filter } from '@angular-devkit/schematics'; | ||
// Taken from @schematics/angular | ||
@@ -183,3 +185,4 @@ function readIntoSourceFile(host: Tree, modulePath: string): ts.SourceFile { | ||
prefix: options.domain, | ||
// publishable: true | ||
publishable: options.type === 'publishable', | ||
buildable: options.type === 'buildable', | ||
}), | ||
@@ -186,0 +189,0 @@ addImport(featureModulePath, domainImportPath, domainModuleClassName), |
@@ -27,3 +27,7 @@ /** | ||
entity?: string; | ||
/** | ||
* A type to determine if and how to build the library. | ||
*/ | ||
type?: "internal" | "buildable" | "publishable"; | ||
[k: string]: any; | ||
} |
@@ -30,2 +30,12 @@ { | ||
"description": "Optional entity to create for this feature" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"internal", | ||
"buildable", | ||
"publishable" | ||
], | ||
"description": "A type to determine if and how to build the library.", | ||
"default": "buildable" | ||
} | ||
@@ -32,0 +42,0 @@ }, |
@@ -29,3 +29,7 @@ /* tslint:disable */ | ||
entity?: string; | ||
/** | ||
* A type to determine if and how to build the library. | ||
*/ | ||
type?: "internal" | "buildable" | "publishable"; | ||
[k: string]: any; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51720
890
89