Socket
Socket
Sign inDemoInstall

ehapp

Package Overview
Dependencies
150
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

5

bin/utils.js

@@ -99,3 +99,3 @@ const fs = require("fs");

const changeTemplate = async (answers) => {
const { projectName = "", description = "", author = "" } = answers;
const { projectName, description = "", author = "", template } = answers;
const command = `cd ${projectName} && rm -rf .git`;

@@ -123,2 +123,5 @@ try {

packageContent.description = description;
if (template.split(" ")[0].includes('hooks')) {
packageContent.config.commitizen.path = './' + path.join(projectName, packageContent.config.commitizen.path);
}
fs.writeFile(

@@ -125,0 +128,0 @@ path.resolve(process.cwd(), projectName, "package.json"),

2

package.json
{
"name": "ehapp",
"version": "1.0.2",
"version": "1.0.3",
"description": "a company react-app template ",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc