@adonisjs/sink
Advanced tools
Comparing version 2.4.2 to 2.4.3
{ | ||
"name": "@adonisjs/sink", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"description": "Utilities to create AdonisJs boilerplates and custom providers", | ||
@@ -32,3 +32,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@adonisjs/application": "^1.3.2", | ||
"@adonisjs/application": "^1.3.3", | ||
"@adonisjs/dev-utils": "^1.4.0", | ||
@@ -40,3 +40,3 @@ "@adonisjs/fold": "^6.2.3", | ||
"@types/marked": "^0.7.2", | ||
"@types/node": "^12.12.21", | ||
"@types/node": "^13.1.6", | ||
"@types/yaml": "^1.2.0", | ||
@@ -48,4 +48,4 @@ "commitizen": "^4.0.3", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-adonis": "^1.0.4", | ||
"husky": "^3.1.0", | ||
"eslint-plugin-adonis": "^1.0.5", | ||
"husky": "^4.0.7", | ||
"ini": "^1.3.5", | ||
@@ -55,3 +55,3 @@ "japa": "^3.0.1", | ||
"np": "^5.2.1", | ||
"ts-node": "^8.5.4", | ||
"ts-node": "^8.6.1", | ||
"typescript": "^3.7.4", | ||
@@ -58,0 +58,0 @@ "yaml": "^1.7.2" |
@@ -47,5 +47,5 @@ import { JsonFile } from '../formats/JsonFile'; | ||
/** | ||
* Set custom autoload path | ||
* Set IoC container aliases | ||
*/ | ||
setAutoload(namespace: string, autoloadPath: string): this; | ||
setAlias(namespace: string, autoloadPath: string): this; | ||
/** | ||
@@ -52,0 +52,0 @@ * Set custom directory |
@@ -125,6 +125,6 @@ "use strict"; | ||
/** | ||
* Set custom autoload path | ||
* Set IoC container aliases | ||
*/ | ||
setAutoload(namespace, autoloadPath) { | ||
this.set(`autoloads.${namespace}`, autoloadPath); | ||
setAlias(namespace, autoloadPath) { | ||
this.set(`aliases.${namespace}`, autoloadPath); | ||
return this; | ||
@@ -131,0 +131,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
77785