Socket
Socket
Sign inDemoInstall

boilersuit

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boilersuit - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

commands/rm/index.js

2

commands/up/index.js

@@ -83,3 +83,3 @@ const colors = require('colors'); // eslint-disable-line

const errors = [...checkErrorsInSchema(schema), ...checkIfBadBuffer(folder)];
const errors = [...checkErrorsInSchema(schema, folder), ...checkIfBadBuffer(folder)];

@@ -86,0 +86,0 @@ if (errors.length) {

@@ -7,4 +7,5 @@ #!/usr/bin/env node

const ajax = require('./commands/ajax');
const rm = require('./commands/rm');
program.version('0.2.3');
program.version('0.2.4');

@@ -34,2 +35,3 @@ program.command('up').action(() => {

process.stdout.write('\x1Bc');
// Gets the relative path
const relativePath = Object.keys(relativePaths).filter(path =>

@@ -48,2 +50,10 @@ schemaFile.includes(path),

program.command('remove <folder>').action(folder => {
rm(folder);
});
program.command('rm <folder>').action(folder => {
rm(folder);
});
program.command('field').action(() => {

@@ -50,0 +60,0 @@ console.log('The field command has been deprecated');

{
"name": "boilersuit",
"description": "A CLI tool for generating selectors, reducers, actions, constants and sagas in react-boilerplate",
"version": "0.2.3",
"version": "0.2.4",
"main": "index.js",

@@ -6,0 +6,0 @@ "author": "matt <matt.pocock@thevirtualforge.com>",

const { concat } = require('./utils');
const rm = require('../commands/rm');
module.exports = schema => {
module.exports = (schema, folder) => {
const errors = [];

@@ -15,2 +16,3 @@ if (!Object.keys(schema).length) {

);
rm(folder, { silent: true });
return errors;

@@ -17,0 +19,0 @@ }

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