Socket
Socket
Sign inDemoInstall

@angular-eslint/schematics

Package Overview
Dependencies
Maintainers
1
Versions
751
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-eslint/schematics - npm Package Compare versions

Comparing version 0.0.1-alpha.29 to 0.0.1-alpha.30

18

dist/ng-add/index.js

@@ -14,2 +14,5 @@ "use strict";

json.devDependencies = json.devDependencies || {};
/**
* @angular-eslint packages
*/
json.devDependencies['@angular-eslint/builder'] = packageJSON.version;

@@ -19,4 +22,19 @@ json.devDependencies['@angular-eslint/eslint-plugin'] = packageJSON.version;

packageJSON.version;
/**
* It seems `ng add` will automatically add the @angular-eslint/schematics package to the
* dependencies section, so move it to devDependencies at this point
*/
if (json.dependencies && json.dependencies['@angular-eslint/schematics']) {
json.devDependencies['@angular-eslint/schematics'] =
json.dependencies['@angular-eslint/schematics'];
delete json.dependencies['@angular-eslint/schematics'];
}
json.devDependencies['@angular-eslint/template-parser'] =
packageJSON.version;
/**
* @typescript-eslint packages
*/
const typescriptESLintVersion = packageJSON.devDependencies['@typescript-eslint/experimental-utils'];
json.devDependencies['@typescript-eslint/eslint-plugin'] = typescriptESLintVersion;
json.devDependencies['@typescript-eslint/parser'] = typescriptESLintVersion;
host.overwrite('package.json', JSON.stringify(json, null, 2));

@@ -23,0 +41,0 @@ context.addTask(new tasks_1.NodePackageInstallTask());

7

package.json
{
"name": "@angular-eslint/schematics",
"version": "0.0.1-alpha.29",
"version": "0.0.1-alpha.30",
"description": "Angular Schematics for angular-eslint",

@@ -26,3 +26,4 @@ "license": "MIT",

"devDependencies": {
"@angular-devkit/schematics": "^9.0.7"
"@angular-devkit/schematics": "^9.0.7",
"@typescript-eslint/experimental-utils": "2.31.0"
},

@@ -32,3 +33,3 @@ "peerDependencies": {

},
"gitHead": "c685f64bc8eda992bf90db2418b835a14e0de808"
"gitHead": "03d1841f493b7322b4dc50703df02eff2e9dbfbb"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc