@amplication/plugin-auth-basic
Advanced tools
Comparing version 1.4.0 to 1.4.1-beta.0
{ | ||
"name": "@amplication/plugin-auth-basic", | ||
"version": "1.4.0", | ||
"version": "1.4.1-beta.0", | ||
"description": "set basic auth for Amplication build", | ||
@@ -15,3 +15,4 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@amplication/code-gen-types": "^2.0.1", | ||
"@amplication/code-gen-types": "^2.0.2-beta.2", | ||
"@amplication/code-gen-utils": "^0.0.5", | ||
"@babel/parser": "^7.18.11", | ||
@@ -26,2 +27,3 @@ "@babel/types": "^7.18.10", | ||
"@typescript-eslint/parser": "^5.33.0", | ||
"babylon": "^6.18.0", | ||
"copy-webpack-plugin": "^11.0.0", | ||
@@ -32,2 +34,3 @@ "eslint": "^8.21.0", | ||
"prettier": "^2.8.7", | ||
"recast": "^0.20.5", | ||
"rimraf": "^5.0.1", | ||
@@ -34,0 +37,0 @@ "ts-loader": "^9.4.2", |
@@ -7,3 +7,2 @@ import { | ||
Events, | ||
Module, | ||
ModuleMap, | ||
@@ -13,2 +12,3 @@ } from "@amplication/code-gen-types"; | ||
import { resolve } from "path"; | ||
import { createAuthModule, createBasicStrategyBase } from "./core"; | ||
class BasicAuthPlugin implements AmplicationPlugin { | ||
@@ -57,2 +57,10 @@ register(): Events { | ||
// 1. create basic strategy base file. | ||
const basicStrategyBase = await createBasicStrategyBase(context); | ||
await modules.set(basicStrategyBase); | ||
// 2. create auth module file. | ||
const authModule = await createAuthModule(context); | ||
await modules.set(authModule); | ||
await modules.merge(staticsFiles); | ||
@@ -59,0 +67,0 @@ return modules; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
40892677
28
2454
23
2