akita-schematics
Advanced tools
Comparing version 1.0.0-rc.3 to 1.0.0-rc.4
{ | ||
"name": "akita-schematics", | ||
"version": "1.0.0-rc.3", | ||
"version": "1.0.0-rc.4", | ||
"description": "Akita Schematics for Angular", | ||
@@ -22,11 +22,14 @@ "scripts": { | ||
"dependencies": { | ||
"@angular-devkit/architect": "0.7.2", | ||
"@angular-devkit/core": "0.7.2", | ||
"@angular-devkit/schematics": "0.7.2", | ||
"@types/jasmine": "^2.6.0", | ||
"@angular-devkit/architect": "0.8.3", | ||
"@angular-devkit/core": "0.8.3", | ||
"@angular-devkit/schematics": "0.8.3", | ||
"@types/jasmine": "^2.8.8", | ||
"@types/node": "^8.0.31", | ||
"jasmine": "^2.8.0", | ||
"typescript": "2.9.2", | ||
"pluralize": "^7.0.0" | ||
"pluralize": "^7.0.0", | ||
"typescript": "2.9.2" | ||
}, | ||
"devDependencies": { | ||
"@schematics/angular": "^0.8.3" | ||
} | ||
} |
@@ -87,1 +87,7 @@ # Akita Schematics | ||
``` | ||
## Generate Tests | ||
Add the `--spec` option. For example: | ||
`ng g af products/products --spec` |
@@ -12,2 +12,3 @@ "use strict"; | ||
const templateSource = schematics_1.apply(schematics_1.url('./files'), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign({}, utils_1.stringUtils, options)), | ||
@@ -14,0 +15,0 @@ schematics_1.move(parsedPath.path) |
@@ -11,3 +11,5 @@ import { | ||
Tree, | ||
SchematicContext | ||
SchematicContext, | ||
noop, | ||
filter | ||
} from '@angular-devkit/schematics'; | ||
@@ -26,2 +28,3 @@ | ||
const templateSource = apply(url('./files'), [ | ||
options.spec ? noop() : filter(path => !path.endsWith('.spec.ts')), | ||
template({ | ||
@@ -28,0 +31,0 @@ ...stringUtils, |
@@ -12,2 +12,3 @@ "use strict"; | ||
const templateSource = schematics_1.apply(schematics_1.url('./files'), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign({}, utils_1.stringUtils, options)), | ||
@@ -14,0 +15,0 @@ schematics_1.move(parsedPath.path) |
@@ -6,4 +6,6 @@ import { | ||
chain, | ||
filter, | ||
mergeWith, | ||
move, | ||
noop, | ||
template, | ||
@@ -25,2 +27,3 @@ url, | ||
const templateSource = apply(url('./files'), [ | ||
options.spec ? noop() : filter(path => !path.endsWith('.spec.ts')), | ||
template({ | ||
@@ -27,0 +30,0 @@ ...stringUtils, |
@@ -12,2 +12,3 @@ "use strict"; | ||
const templateSource = schematics_1.apply(schematics_1.url('./files'), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign({}, utils_1.stringUtils, options)), | ||
@@ -14,0 +15,0 @@ schematics_1.move(parsedPath.path) |
@@ -6,4 +6,6 @@ import { | ||
chain, | ||
filter, | ||
mergeWith, | ||
move, | ||
noop, | ||
template, | ||
@@ -26,2 +28,3 @@ url, | ||
const templateSource = apply(url('./files'), [ | ||
options.spec ? noop() : filter(path => !path.endsWith('.spec.ts')), | ||
template({ | ||
@@ -28,0 +31,0 @@ ...stringUtils, |
@@ -12,2 +12,3 @@ "use strict"; | ||
const templateSource = schematics_1.apply(schematics_1.url('./files'), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign({}, utils_1.stringUtils, options)), | ||
@@ -14,0 +15,0 @@ schematics_1.move(parsedPath.path) |
@@ -6,4 +6,6 @@ import { | ||
chain, | ||
filter, | ||
mergeWith, | ||
move, | ||
noop, | ||
template, | ||
@@ -26,2 +28,3 @@ url, | ||
const templateSource = apply(url('./files'), [ | ||
options.spec ? noop() : filter(path => !path.endsWith('.spec.ts')), | ||
template({ | ||
@@ -28,0 +31,0 @@ ...stringUtils, |
@@ -12,2 +12,3 @@ "use strict"; | ||
const templateSource = schematics_1.apply(schematics_1.url('./files'), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign({}, utils_1.stringUtils, options)), | ||
@@ -14,0 +15,0 @@ schematics_1.move(parsedPath.path) |
@@ -11,3 +11,5 @@ import { | ||
Tree, | ||
SchematicContext | ||
SchematicContext, | ||
noop, | ||
filter | ||
} from '@angular-devkit/schematics'; | ||
@@ -26,2 +28,3 @@ | ||
const templateSource = apply(url('./files'), [ | ||
options.spec ? noop() : filter(path => !path.endsWith('.spec.ts')), | ||
template({ | ||
@@ -28,0 +31,0 @@ ...stringUtils, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
111
2781
93
0
109484
1
+ Added@angular-devkit/architect@0.8.3(transitive)
+ Added@angular-devkit/core@0.8.3(transitive)
+ Added@angular-devkit/schematics@0.8.3(transitive)
+ Addedrxjs@6.2.2(transitive)
- Removed@angular-devkit/architect@0.7.2(transitive)
- Removed@angular-devkit/core@0.7.2(transitive)
- Removed@angular-devkit/schematics@0.7.2(transitive)
- Removedrxjs@6.6.7(transitive)
Updated@angular-devkit/core@0.8.3
Updated@types/jasmine@^2.8.8