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

jacob-setup

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jacob-setup - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

36

index.js

@@ -81,2 +81,5 @@ #!/usr/bin/env node

default: "/src/types",
when: function (answers) {
return answers.language === "TypeScript";
},
},

@@ -94,2 +97,5 @@ {

default: "/tailwind.config.js",
when: function (answers) {
return answers.style === "Tailwind";
},
},

@@ -103,8 +109,2 @@ {

{
type: "input",
name: "envVariables.exampleFile",
message: "Enter the path to your .env.example file:",
default: "/.env.example",
},
{
type: "list",

@@ -122,2 +122,5 @@ name: "stateManagement.tool",

default: "/src/store",
when: function (answers) {
return answers.stateManagement.tool !== "None";
},
},

@@ -135,2 +138,5 @@ {

default: "Jest",
when: function (answers) {
return answers.testing.writeTests;
},
},

@@ -148,7 +154,23 @@ {

default: "/src/stories",
when: function (answers) {
return answers.storybook.writeStories;
},
},
{
type: "input",
name: "envVariables.exampleFile",
message: "Enter the path to your .env.example file:",
default: "/.env.example",
},
{
type: "input",
name: "env",
message:
"Enter any environment variables needed for the app to build (for testing, not production):",
default: "",
},
];
const answers = await inquirer.default.prompt(questions); // Access prompt via default
const configFilePath = path.join(process.cwd(), "jacob-config.json");
const configFilePath = path.join(process.cwd(), "otto.json"); // change this to jacob-config.json or something similar

@@ -155,0 +177,0 @@ fs.writeFile(configFilePath, JSON.stringify(answers, null, 2), (err) => {

5

package.json
{
"name": "jacob-setup",
"version": "1.0.4",
"version": "1.0.5",
"description": "A command-line utility for generating JACoB configuration files, enabling easy setup and integration of the JACoB AI coding assistant into web development projects.",
"main": "index.js",
"scripts": {
"create": "node index.js create"
},
"repository": {

@@ -10,0 +7,0 @@ "type": "git",

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