@angular-eslint/schematics
Advanced tools
Comparing version 0.1.0-beta.1 to 0.2.0-beta.1
@@ -6,5 +6,10 @@ { | ||
"schema": "./ng-add/schema.json", | ||
"description": "Add angular-eslint to an existing project" | ||
"description": "Add angular-eslint to an existing workspace" | ||
}, | ||
"add-config-to-project": { | ||
"factory": "./add-config-to-project", | ||
"schema": "./add-config-to-project/schema.json", | ||
"description": "Add ESLint related configuration to an existing project within a workspace" | ||
} | ||
} | ||
} |
@@ -9,3 +9,3 @@ "use strict"; | ||
if (!host.exists('package.json')) { | ||
throw new Error('Could not locate package.json at the root of your project'); | ||
throw new Error('Could not find a `package.json` file at the root of your workspace'); | ||
} | ||
@@ -12,0 +12,0 @@ const projectPackageJSON = host.read('package.json').toString('utf-8'); |
{ | ||
"$schema": "http://json-schema.org/schema", | ||
"id": "add-angular-eslint", | ||
"title": "Add angular-eslint to an existing project", | ||
"title": "Add angular-eslint to an existing workspace", | ||
"type": "object", | ||
@@ -6,0 +6,0 @@ "properties": {}, |
{ | ||
"name": "@angular-eslint/schematics", | ||
"version": "0.1.0-beta.1", | ||
"version": "0.2.0-beta.1", | ||
"description": "Angular Schematics for angular-eslint", | ||
@@ -9,3 +9,3 @@ "license": "MIT", | ||
"scripts": { | ||
"build": "rm -rf ./dist && tsc -p tsconfig.json && cp src/collection.json dist/collection.json && cp src/ng-add/schema.json dist/ng-add/schema.json", | ||
"build": "rm -rf ./dist && tsc -p tsconfig.json && cp src/collection.json dist/collection.json && cp src/ng-add/schema.json dist/ng-add/schema.json && cp src/add-config-to-project/schema.json dist/add-config-to-project/schema.json && cp -R src/add-config-to-project/files dist/add-config-to-project/files", | ||
"test": "jest --coverage", | ||
@@ -26,2 +26,5 @@ "typecheck": "tsc -p tsconfig.json --noEmit" | ||
"schematics": "./dist/collection.json", | ||
"dependencies": { | ||
"strip-json-comments": "3.1.1" | ||
}, | ||
"devDependencies": { | ||
@@ -35,3 +38,3 @@ "@angular-devkit/schematics": "^10.0.6", | ||
}, | ||
"gitHead": "6f0c87729812e4f81b9d8b856c5de9eea34f6d43" | ||
"gitHead": "1e96dd4097580bfc5517f5e5b8c60b23f80442fb" | ||
} |
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
13703
14
227
2
+ Addedstrip-json-comments@3.1.1
+ Addedstrip-json-comments@3.1.1(transitive)