@adonisjs/auth
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -51,3 +51,3 @@ "use strict"; | ||
const modelPath = path_1.join(modelsDirectory, `${modelName.replace(/\.ts$/, '')}.ts`); | ||
const template = new sink.files.MustacheFile(projectRoot, modelPath, './templates/model.txt'); | ||
const template = new sink.files.MustacheFile(projectRoot, modelPath, path_1.join(__dirname, './templates/model.txt')); | ||
if (template.exists()) { | ||
@@ -66,3 +66,3 @@ sink.logger.skip(`${modelPath} file already exists`); | ||
const modelImportNamespace = modelName ? `${modelNamespace}/${modelName}` : undefined; | ||
const template = new sink.files.MustacheFile(projectRoot, 'contracts/auth.ts', './templates/contract/auth.txt'); | ||
const template = new sink.files.MustacheFile(projectRoot, 'contracts/auth.ts', path_1.join(__dirname, './templates/contract/auth.txt')); | ||
template.overwrite = true; | ||
@@ -72,4 +72,4 @@ template | ||
.partials({ | ||
guard: `${CONTRACTS_PARTIALS_BASE}/${guard}-guard.txt`, | ||
provider: `${CONTRACTS_PARTIALS_BASE}/user-provider-${provider}.txt`, | ||
guard: path_1.join(__dirname, CONTRACTS_PARTIALS_BASE, `${guard}-guard.txt`), | ||
provider: path_1.join(__dirname, CONTRACTS_PARTIALS_BASE, `user-provider-${provider}.txt`), | ||
}) | ||
@@ -85,3 +85,3 @@ .commit(); | ||
const modelImportNamespace = modelName ? `${modelsNamespace}/${modelName}` : undefined; | ||
const template = new sink.files.MustacheFile(projectRoot, 'config/auth.ts', './templates/config/auth.txt'); | ||
const template = new sink.files.MustacheFile(projectRoot, 'config/auth.ts', path_1.join(__dirname, './templates/config/auth.txt')); | ||
template.overwrite = true; | ||
@@ -91,4 +91,4 @@ template | ||
.partials({ | ||
guard: `${CONFIG_PARTIALS_BASE}/${guard}-guard.txt`, | ||
provider: `${CONFIG_PARTIALS_BASE}/user-provider-${provider}.txt`, | ||
guard: path_1.join(__dirname, CONFIG_PARTIALS_BASE, `${guard}-guard.txt`), | ||
provider: path_1.join(__dirname, CONFIG_PARTIALS_BASE, `user-provider-${provider}.txt`), | ||
}) | ||
@@ -95,0 +95,0 @@ .commit(); |
{ | ||
"name": "@adonisjs/auth", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Offical authentication provider for Adonis framework", | ||
@@ -44,15 +44,15 @@ "types": "build/adonis-typings/index.d.ts", | ||
"devDependencies": { | ||
"@adonisjs/core": "^5.0.0-preview-rc-1.2", | ||
"@adonisjs/core": "^5.0.0-preview-rc-1.3", | ||
"@adonisjs/encryption": "^2.0.2", | ||
"@adonisjs/events": "^2.0.0", | ||
"@adonisjs/fold": "^6.3.5", | ||
"@adonisjs/hash": "^2.0.2", | ||
"@adonisjs/lucid": "^8.0.0", | ||
"@adonisjs/hash": "^2.0.3", | ||
"@adonisjs/lucid": "^8.0.2", | ||
"@adonisjs/mrm-preset": "^2.3.0", | ||
"@adonisjs/profiler": "^3.0.1", | ||
"@adonisjs/session": "^3.0.1", | ||
"@adonisjs/session": "^3.0.2", | ||
"@adonisjs/sink": "^3.0.1", | ||
"@phc/bcrypt": "^1.0.2", | ||
"@poppinss/dev-utils": "^1.0.6", | ||
"@types/node": "^13.13.0", | ||
"@types/node": "^13.13.1", | ||
"commitizen": "^4.0.4", | ||
@@ -103,3 +103,3 @@ "copyfiles": "^2.2.0", | ||
"@poppinss/hooks": "^1.0.5", | ||
"@poppinss/utils": "^2.2.4", | ||
"@poppinss/utils": "^2.2.6", | ||
"array-to-sentence": "^2.0.0" | ||
@@ -106,0 +106,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
83245
Updated@poppinss/utils@^2.2.6