@progress/kendo-angular-schematics
Advanced tools
Comparing version 18.1.0-develop.1 to 18.1.0-develop.2
{ | ||
"name": "@progress/kendo-angular-schematics", | ||
"version": "18.1.0-develop.1", | ||
"version": "18.1.0-develop.2", | ||
"description": "Kendo UI Schematics for Angular", | ||
@@ -32,3 +32,3 @@ "license": "SEE LICENSE in LICENSE.md", | ||
"dependencies": { | ||
"@progress/kendo-angular-schematics": "18.1.0-develop.1", | ||
"@progress/kendo-angular-schematics": "18.1.0-develop.2", | ||
"semver": "^7.5.3", | ||
@@ -35,0 +35,0 @@ "@types/semver": "^7.5.0" |
@@ -70,3 +70,3 @@ /**----------------------------------------------------------------------------------------- | ||
function createDataSource(options) { | ||
return async (tree, context) => { | ||
return async (tree, _context) => { | ||
try { | ||
@@ -73,0 +73,0 @@ let dataSourceCode; |
@@ -22,3 +22,3 @@ /**----------------------------------------------------------------------------------------- | ||
function createDataSource(options) { | ||
return async (tree, context) => { | ||
return async (tree, _context) => { | ||
if (options.dataSource == schema_1.DataSource['Mock Data']) { | ||
@@ -25,0 +25,0 @@ // Generate mocked data out of the column definitions |
@@ -20,3 +20,3 @@ /**----------------------------------------------------------------------------------------- | ||
export declare function checkOrAddKendoTheme(options: Options, project: ProjectDefinition): Rule; | ||
export declare const npmi: (name: string, version?: string) => (tree: Tree, context: SchematicContext) => void; | ||
export declare const npmi: (name: string, version?: string) => (tree: Tree, _context?: SchematicContext) => void; | ||
export declare function ngAddLocalize(options: Options, project: ProjectDefinition): (tree: Tree, context: SchematicContext) => void; |
@@ -43,3 +43,3 @@ /**----------------------------------------------------------------------------------------- | ||
function checkOrAddKendoTheme(options, project) { | ||
return (tree, context) => { | ||
return (tree, _context) => { | ||
try { | ||
@@ -73,3 +73,3 @@ const configPath = project.root + "/angular.json"; | ||
exports.checkOrAddKendoTheme = checkOrAddKendoTheme; | ||
const npmi = (name, version = "*") => (tree, context) => (0, dependencies_1.addPackageJsonDependency)(tree, { type: dependencies_1.NodeDependencyType.Default, name, version, overwrite: false }); | ||
const npmi = (name, version = "*") => (tree, _context) => (0, dependencies_1.addPackageJsonDependency)(tree, { type: dependencies_1.NodeDependencyType.Default, name, version, overwrite: false }); | ||
exports.npmi = npmi; | ||
@@ -76,0 +76,0 @@ function ngAddLocalize(options, project) { |
@@ -43,3 +43,3 @@ /**----------------------------------------------------------------------------------------- | ||
const allProjectNames = Object.entries(config.projects) | ||
.filter(([name, value]) => value.projectType !== 'library') | ||
.filter(([_name, value]) => value.projectType !== 'library') | ||
.filter(([name, _]) => !name.includes('e2e')); | ||
@@ -46,0 +46,0 @@ if (allProjectNames.length !== 1) |
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
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
345093