New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tsed/cli-plugin-tslint

Package Overview
Dependencies
Maintainers
5
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsed/cli-plugin-tslint - npm Package Compare versions

Comparing version 1.10.2 to 1.11.0

4

lib/hooks/TslintInitHook.d.ts

@@ -10,2 +10,6 @@ import { IInitCmdContext } from "@tsed/cli";

}[];
onPostInstall(ctx: IInitCmdContext): {
title: string;
task: () => any;
}[];
addScripts(ctx: IInitCmdContext): void;

@@ -12,0 +16,0 @@ addDependencies(ctx: IInitCmdContext): void;

@@ -30,2 +30,15 @@ "use strict";

}
onPostInstall(ctx) {
if (!ctx.tsLint) {
return [];
}
return [
{
title: "Run eslint",
task: () => {
return this.packageJson.runScript("test:lint:fix", true);
}
}
];
}
addScripts(ctx) {

@@ -82,2 +95,8 @@ this.packageJson.addScripts({

], TslintInitHook.prototype, "onExec", null);
tslib_1.__decorate([
cli_core_1.OnPostInstall("init"),
tslib_1.__metadata("design:type", Function),
tslib_1.__metadata("design:paramtypes", [Object]),
tslib_1.__metadata("design:returntype", void 0)
], TslintInitHook.prototype, "onPostInstall", null);
TslintInitHook = tslib_1.__decorate([

@@ -84,0 +103,0 @@ cli_core_1.Injectable()

6

package.json
{
"name": "@tsed/cli-plugin-tslint",
"version": "1.10.2",
"version": "1.11.0",
"main": "lib/index.js",

@@ -8,4 +8,4 @@ "typings": "lib/index.d.ts",

"devDependencies": {
"@tsed/cli": "1.10.2",
"@tsed/cli-core": "1.10.2"
"@tsed/cli": "1.11.0",
"@tsed/cli-core": "1.11.0"
},

@@ -12,0 +12,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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