@progress/kendo-schematics
Advanced tools
Comparing version 1.1.0-dev.201911271559 to 1.1.0-dev.201911291531
@@ -6,3 +6,3 @@ { | ||
"license": "SEE LICENSE in LICENSE.md", | ||
"version": "1.1.0-dev.201911271559", | ||
"version": "1.1.0-dev.201911291531", | ||
"scripts": { | ||
@@ -9,0 +9,0 @@ "build-package": "npm run build", |
@@ -65,11 +65,8 @@ "use strict"; | ||
return; | ||
const task = context.addTask(new tasks_1.NodePackageInstallTask()); | ||
postInstall(context, options, task); | ||
const installTask = context.addTask(new tasks_1.NodePackageInstallTask()); | ||
if (needsLocalize(host)) { | ||
context.addTask(new tasks_1.RunSchematicTask('@angular/localize', 'ng-add', { project: options.project }), [installTask]); | ||
} | ||
}; | ||
} | ||
function postInstall(context, options, installTask) { | ||
if (needsLocalize) { | ||
context.addTask(new tasks_1.RunSchematicTask('@angular/localize', 'ng-add', { project: options.project }), [installTask]); | ||
} | ||
} | ||
const progressDependencies = (json, importHammerjs) => { | ||
@@ -76,0 +73,0 @@ const hammerRegEx = importHammerjs ? '|hammerjs' : ''; |
@@ -80,16 +80,12 @@ import { chain, Rule, SchematicContext, TaskId, Tree } from '@angular-devkit/schematics'; | ||
const task = context.addTask(new NodePackageInstallTask()); | ||
postInstall(context, options, task); | ||
const installTask = context.addTask(new NodePackageInstallTask()); | ||
if (needsLocalize(host)) { | ||
context.addTask( | ||
new RunSchematicTask('@angular/localize', 'ng-add', { project: options.project }), | ||
[ installTask ] | ||
); | ||
} | ||
} | ||
} | ||
function postInstall(context: SchematicContext, options: RegisterSchema, installTask: TaskId) { | ||
if (needsLocalize) { | ||
context.addTask( | ||
new RunSchematicTask('@angular/localize', 'ng-add', { project: options.project }), | ||
[ installTask ] | ||
); | ||
} | ||
} | ||
const progressDependencies = (json: any, importHammerjs?: boolean) => { | ||
@@ -96,0 +92,0 @@ const hammerRegEx = importHammerjs ? '|hammerjs' : ''; |
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
163124
4017