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

mvc-integrator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mvc-integrator - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

20

index.js

@@ -29,7 +29,7 @@ /*!

var defaultPath = erdEditorFile.substring(0, erdEditorFile.lastIndexOf("/") + 1);
var mvcIntegratorPath = erdEditorFile.replace(".vuerd.json", ".mvc-integrator");
//Get previous saveOn folders
if (fs.existsSync(defaultPath + ".mvc-integrator")) {
var mvcIntegratorFile = fs.readFileSync(defaultPath + ".mvc-integrator");
if (fs.existsSync(mvcIntegratorPath)) {
var mvcIntegratorFile = fs.readFileSync(mvcIntegratorPath);
var mvcIntegrator = JSON.parse(mvcIntegratorFile);

@@ -88,4 +88,4 @@

try {
pathReadLine.question("Would you like to add model files in more places? (Y/n): ", (answer) => {
if (answer.toLowerCase() != 'n') {
pathReadLine.question("Would you like to add model files in more places? (y/N): ", (answer) => {
if (answer.toLowerCase() == 'y') {
pathReadLine.question("Type the new folder to generate the models: ", (answer) => {

@@ -129,7 +129,7 @@ if (answer != "") {

//Search for the mvc-integrator file on the same folder as '.vuerd.json' file
var defaultPath = erdEditorFile.substring(0, erdEditorFile.lastIndexOf("/") + 1);
var mvcIntegratorPath = erdEditorFile.replace(".vuerd.json", ".mvc-integrator");
var mvcIntegrator = { previousFilesSaved: [] };
if (fs.existsSync(defaultPath + ".mvc-integrator")) {
var mvcIntegratorFile = fs.readFileSync(defaultPath + ".mvc-integrator");
if (fs.existsSync(mvcIntegratorPath)) {
var mvcIntegratorFile = fs.readFileSync(mvcIntegratorPath);
mvcIntegrator = JSON.parse(mvcIntegratorFile);

@@ -289,5 +289,5 @@ }

//Save the work done on the .mvc-integrator file
console.log("==> Saving the configuration on " + defaultPath + ".mvc-integrator");
console.log("==> Saving the configuration on " + mvcIntegratorPath);
mvcIntegrator.saveOn = saveOn;
fs.writeFileSync(defaultPath + ".mvc-integrator", JSON.stringify(mvcIntegrator));
fs.writeFileSync(mvcIntegratorPath, JSON.stringify(mvcIntegrator));

@@ -294,0 +294,0 @@ console.log("\nDone!");

{
"name": "mvc-integrator",
"version": "1.0.0",
"version": "1.0.1",
"description": "The MVC-Integrator is to help developers to build consistency systems. The tool will generate classes releted to an ERD Model created on ERD Editor. Also, it is going to work directly with some database dialects. The development and test are using Visual Studio Code and IBM DB2 on Cloud.",

@@ -19,7 +19,4 @@ "main": "index.js",

"DB2",
"ERD",
"Editor",
"Visual",
"Studio",
"Code"
"ERD Editor",
"Visual Studio Code"
],

@@ -26,0 +23,0 @@ "author": "Patrick Mendes Guimarães",

@@ -11,5 +11,2 @@ # MVC-Integrator

1. [Getting Started](#getting-started)
2. [Using](#using)
3. [Providers](#providers)
4. [i18n](#i18n) (adding languages)

@@ -16,0 +13,0 @@ ## Getting Started

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