Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@herodevs/coulson

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@herodevs/coulson - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json
{
"name": "@herodevs/coulson",
"version": "0.0.4",
"version": "0.0.5",
"description": "Add coulson to your angular app",

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

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

const core_1 = require("@angular-devkit/core");
const tasks_1 = require("@angular-devkit/schematics/tasks");
// for now we dont have any option for use

@@ -14,3 +15,3 @@ // @ts-ignore

if (!workspaceConfigBuffer) {
throw new schematics_1.SchematicsException("Not an angular CLI workspasce");
throw new schematics_1.SchematicsException('Not an angular CLI workspace');
}

@@ -29,4 +30,3 @@ // end project workspace data

try {
tree.create('./coulson.json', `
{
tree.create('./coulson.json', `{
// This is a sample Coulson config file

@@ -59,7 +59,7 @@ // The projectroot is mandatory

}
}
}
`);
}
catch (e) {
console.log('The project have coulson.json');
context.logger.log('info', `The project have coulson.json...`);
}

@@ -109,2 +109,4 @@ try {

]);
context.addTask(new tasks_1.NodePackageInstallTask('./node_modules/@herodevs/coulson/src/files/'));
context.logger.log('info', `🔍 Installing packages...`);
return schematics_1.mergeWith(sourceParametrizedTemplates);

@@ -111,0 +113,0 @@ };

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tasks_1 = require("@angular-devkit/schematics/tasks");
const package_config_1 = require("./package-config");

@@ -10,8 +9,4 @@ const version_names_1 = require("./version-names");

const angularDependencyVersion = ngCoreVersionTag || version_names_1.requiredAngularVersionRange;
console.log(angularDependencyVersion);
console.log(angularDependencyVersion, context, options);
package_config_1.addPackageToPackageJson(host, '@herodevs/coulson', `~${version_names_1.coulsonVersion}`);
const installTaskId = context.addTask(new tasks_1.NodePackageInstallTask());
context.addTask(new tasks_1.NodePackageInstallTask('../files/'));
context.logger.log('info', `🔍 Installing packages...`);
context.addTask(new tasks_1.RunSchematicTask('ng-add-setup-project', options), [installTaskId]);
};

@@ -18,0 +13,0 @@ }

Sorry, the diff of this file is not supported yet

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