@tsed/cli-plugin-passport
Advanced tools
Comparing version 5.3.1 to 6.0.0-alpha.1
@@ -6,3 +6,2 @@ import { __decorate, __metadata } from "tslib"; | ||
let CliPluginPassportModule = class CliPluginPassportModule { | ||
packageJson; | ||
install() { | ||
@@ -9,0 +8,0 @@ this.packageJson.addDependencies({ |
@@ -10,7 +10,2 @@ var PassportGenerateHook_1; | ||
let PassportGenerateHook = PassportGenerateHook_1 = class PassportGenerateHook { | ||
providersInfoService; | ||
projectPackageJson; | ||
srcRenderService; | ||
passportClient; | ||
packages; | ||
constructor(providersInfoService) { | ||
@@ -17,0 +12,0 @@ this.providersInfoService = providersInfoService; |
@@ -5,3 +5,2 @@ import { __decorate, __metadata } from "tslib"; | ||
let PassportClient = class PassportClient { | ||
httpClient; | ||
async getPackages() { | ||
@@ -8,0 +7,0 @@ const result = await this.httpClient.get(`${HOST}/-/all.json`, {}); |
@@ -1,5 +0,3 @@ | ||
import {getTemplateDirectory} from "@tsed/cli-core"; | ||
import path from "node:path"; | ||
import {fileURLToPath} from "node:url"; | ||
export const TEMPLATE_DIR = getTemplateDirectory(path.dirname(fileURLToPath(import.meta.url))); | ||
import { getTemplateDirectory } from "@tsed/cli-core"; | ||
export const TEMPLATE_DIR = getTemplateDirectory(import.meta.dirname); | ||
//# sourceMappingURL=templateDir.js.map |
import { GenerateCmdContext, ProvidersInfoService } from "@tsed/cli"; | ||
import { ProjectPackageJson, SrcRendererService, Tasks } from "@tsed/cli-core"; | ||
import { PassportClient } from "../services/PassportClient"; | ||
import { PassportClient } from "../services/PassportClient.js"; | ||
export interface PassportGenerateOptions extends GenerateCmdContext { | ||
@@ -5,0 +5,0 @@ passportPackage: string; |
@@ -1,5 +0,5 @@ | ||
import { CliPluginPassportModule } from "./CliPluginPassportModule"; | ||
export * from "./hooks/PassportGenerateHook"; | ||
export * from "./services/PassportClient"; | ||
export * from "./utils/templateDir"; | ||
import { CliPluginPassportModule } from "./CliPluginPassportModule.js"; | ||
export * from "./hooks/PassportGenerateHook.js"; | ||
export * from "./services/PassportClient.js"; | ||
export * from "./utils/templateDir.js"; | ||
export default CliPluginPassportModule; |
{ | ||
"name": "@tsed/cli-plugin-passport", | ||
"version": "5.3.1", | ||
"description": "Ts.ED CLI plugin. Add Passport.js support", | ||
"version": "6.0.0-alpha.1", | ||
"type": "module", | ||
"main": "./lib/esm/index.js", | ||
"source": "./src/index.ts", | ||
"main": "./lib/cjs/index.js", | ||
"module": "./lib/esm/index.js", | ||
"typings": "./lib/types/index.d.ts", | ||
"exports": { | ||
"types": "./lib/types/index.d.ts", | ||
"import": "./lib/esm/index.js", | ||
"require": "./lib/cjs/index.js", | ||
"default": "./lib/esm/index.js" | ||
".": { | ||
"types": "./lib/types/index.d.ts", | ||
"import": "./lib/esm/index.js", | ||
"default": "./lib/esm/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
"build": "yarn build:ts", | ||
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json && cp scripts/templateDir.esm.js lib/esm/utils/templateDir.js", | ||
"lint": "eslint '**/*.{ts,js}'", | ||
"lint:fix": "eslint '**/*.{ts,js}' --fix", | ||
"test": "cross-env NODE_ENV=test yarn jest --max-workers=2 --passWithNoTests && jest-coverage-thresholds-bumper" | ||
"build:ts": "tsc --build tsconfig.json", | ||
"test": "vitest run", | ||
"test:ci": "vitest run --coverage.thresholds.autoUpdate=true" | ||
}, | ||
@@ -27,11 +28,9 @@ "dependencies": { | ||
"devDependencies": { | ||
"@tsed/cli": "5.3.1", | ||
"@tsed/cli-core": "5.3.1", | ||
"@tsed/eslint": "5.3.1", | ||
"@tsed/jest-config": "5.3.1", | ||
"@tsed/typescript": "5.3.1", | ||
"@tsed/cli": "6.0.0-alpha.1", | ||
"@tsed/cli-core": "6.0.0-alpha.1", | ||
"@tsed/typescript": "6.0.0-alpha.1", | ||
"@types/change-case": "^2.3.1", | ||
"cross-env": "7.0.3", | ||
"eslint": "8.22.0", | ||
"jest": "29.5.0" | ||
"typescript": "4.9.5", | ||
"vitest": "2.1.1" | ||
}, | ||
@@ -45,3 +44,6 @@ "peerDependencies": {}, | ||
"author": "Romain Lenzotti", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"publishConfig": { | ||
"tag": "alpha" | ||
} | ||
} |
@@ -1,5 +0,6 @@ | ||
import {getTemplateDirectory} from "@tsed/cli-core"; | ||
import path from "node:path"; | ||
import {fileURLToPath} from "node:url"; | ||
import {getTemplateDirectory} from "@tsed/cli-core"; | ||
export const TEMPLATE_DIR = getTemplateDirectory(path.dirname(fileURLToPath(import.meta.url))); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7
Yes
17580
22
209
1