@adonisjs/sink
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "@adonisjs/sink", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "AdonisJS sink is a swiss knife for managing project files by applying minimal changes, inferring formatting from EditorConfig file and comes with specialized tasks for different file formats and file types.", | ||
@@ -32,3 +32,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@adonisjs/application": "^1.3.11", | ||
"@adonisjs/application": "^1.3.12", | ||
"@adonisjs/dev-utils": "^1.4.0", | ||
@@ -40,4 +40,4 @@ "@adonisjs/fold": "^6.3.5", | ||
"@types/marked": "^0.7.4", | ||
"@types/node": "^13.13.0", | ||
"@types/yaml": "^1.2.0", | ||
"@types/node": "^13.13.4", | ||
"@types/yaml": "^1.9.7", | ||
"commitizen": "^4.0.4", | ||
@@ -55,5 +55,5 @@ "cz-conventional-changelog": "^3.1.0", | ||
"np": "^5.2.1", | ||
"ts-node": "^8.8.2", | ||
"ts-node": "^8.9.1", | ||
"typescript": "^3.8.3", | ||
"yaml": "^1.9.0" | ||
"yaml": "^1.9.2" | ||
}, | ||
@@ -79,10 +79,10 @@ "nyc": { | ||
"dependencies": { | ||
"@poppinss/colors": "^1.0.5", | ||
"@poppinss/fancy-logs": "^1.3.6", | ||
"@poppinss/colors": "^1.0.6", | ||
"@poppinss/fancy-logs": "^1.3.7", | ||
"@poppinss/prompts": "^1.0.9", | ||
"@poppinss/utils": "^2.2.4", | ||
"@poppinss/utils": "^2.2.6", | ||
"cp-file": "^9.0.0", | ||
"fs-extra": "^9.0.0", | ||
"marked": "^0.8.2", | ||
"marked-terminal": "^4.0.0", | ||
"marked": "^1.0.0", | ||
"marked-terminal": "^4.1.0", | ||
"mrm-core": "^4.1.0", | ||
@@ -89,0 +89,0 @@ "mustache": "^4.0.1", |
@@ -48,3 +48,3 @@ "use strict"; | ||
if (['MODULE_NOT_FOUND', 'ENOENT'].includes(error.code)) { | ||
throw new Error(`Cannot invoke instructions. Missing package "${this.packagePath}"`); | ||
throw new Error(`Cannot invoke instructions. Missing package "${this.packageName}"`); | ||
} | ||
@@ -81,4 +81,3 @@ throw error; | ||
envFile.commit(); | ||
const suffix = this.verbose ? `{${Object.keys(instructions.env)}}` : ''; | ||
logger_1.logger.update({ message: '.env', suffix: suffix }); | ||
logger_1.logger.update({ message: '.env' }); | ||
} | ||
@@ -103,3 +102,3 @@ /** | ||
} | ||
const suffix = this.verbose ? `{types += ${instructions.types}}` : ''; | ||
const suffix = this.verbose ? `{ types += ${instructions.types} }` : ''; | ||
logger_1.logger.update({ message: fileName, suffix }); | ||
@@ -117,3 +116,3 @@ } | ||
adonisRcFile.commit(); | ||
const suffix = this.verbose ? `{commands += ${instructions.commands}}` : ''; | ||
const suffix = this.verbose ? `{ commands += ${instructions.commands} }` : ''; | ||
logger_1.logger.update({ message: '.adonisrc.json', suffix }); | ||
@@ -135,7 +134,7 @@ } | ||
instructions.providers.forEach((provider) => adonisRcFile.addProvider(provider)); | ||
suffix += `{providers += ${instructions.providers}} `; | ||
suffix += `{ providers += ${instructions.providers} } `; | ||
} | ||
if (instructions.aceProviders) { | ||
instructions.aceProviders.forEach((provider) => adonisRcFile.addAceProvider(provider)); | ||
suffix += `{aceProviders += ${instructions.aceProviders}}`; | ||
suffix += `{ aceProviders += ${instructions.aceProviders} }`; | ||
} | ||
@@ -191,2 +190,3 @@ adonisRcFile.commit(); | ||
else { | ||
console.log(''); | ||
renderer.renderInTerminal(); | ||
@@ -193,0 +193,0 @@ } |
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
102459
+ Addedmarked@1.2.9(transitive)
- Removedmarked@0.8.22.1.3(transitive)
Updated@poppinss/colors@^1.0.6
Updated@poppinss/fancy-logs@^1.3.7
Updated@poppinss/utils@^2.2.6
Updatedmarked@^1.0.0
Updatedmarked-terminal@^4.1.0