@multivisio/kpm
Advanced tools
Comparing version 0.3.1 to 0.3.2
11
cli.js
@@ -86,3 +86,2 @@ #!/usr/bin/env node | ||
await exec(command); | ||
console.log(extName) | ||
await addToGitIgnore(`/Ext/${extName}/`); | ||
@@ -110,5 +109,11 @@ | ||
await exec(command); | ||
await addToGitIgnore("/node_modules/"); | ||
await addToGitIgnore("/application.env"); | ||
await addToGitIgnore("/.env"); | ||
await addToGitIgnore("/.dumps/"); | ||
await addToGitIgnore("/Files/"); | ||
await addToGitIgnore("/SqlDumps/"); | ||
await addToGitIgnore("/Koala/"); | ||
if (!preserveVcs) { | ||
@@ -160,2 +165,3 @@ debug('Removing VSC Directory...'); | ||
async function addToGitIgnore(value) { | ||
debug(`Adding ${value} to .gitignore`) | ||
if(!fs.existsSync("./.gitignore")){ | ||
@@ -171,3 +177,2 @@ await fs.promises.writeFile('./.gitignore', ''); | ||
try { | ||
await addToGitIgnore("/node_modules/"); | ||
const config = await getConfig(); | ||
@@ -174,0 +179,0 @@ await installSystem(config.version); |
{ | ||
"name": "@multivisio/kpm", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Koala Package Manager", | ||
@@ -5,0 +5,0 @@ "main": "cli.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6884
166