@tsed/cli-plugin-passport 6.0.0-alpha.7 → 6.0.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import { __decorate, __metadata } from "tslib";
3
3
  import { ProvidersInfoService } from "@tsed/cli";
4
4
  import { Inject, OnExec, OnPrompt, ProjectPackageJson, SrcRendererService } from "@tsed/cli-core";
5
5
  import { Injectable } from "@tsed/di";
6
- import { paramCase } from "change-case";
6
+ import { kebabCase } from "change-case";
7
7
  import { PassportClient } from "../services/PassportClient.js";
8
8
  import { TEMPLATE_DIR } from "../utils/templateDir.js";
9
9
  let PassportGenerateHook = PassportGenerateHook_1 = class PassportGenerateHook {
@@ -60,7 +60,7 @@ let PassportGenerateHook = PassportGenerateHook_1 = class PassportGenerateHook {
60
60
  mapOptions(options) {
61
61
  return {
62
62
  ...options,
63
- protocolName: paramCase(options.name),
63
+ protocolName: kebabCase(options.name),
64
64
  passportPackage: options.passportPackage
65
65
  };
66
66
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tsed/cli-plugin-passport",
3
3
  "description": "Ts.ED CLI plugin. Add Passport.js support",
4
- "version": "6.0.0-alpha.7",
4
+ "version": "6.0.0-alpha.9",
5
5
  "type": "module",
6
6
  "main": "./lib/esm/index.js",
7
7
  "source": "./src/index.ts",
@@ -21,13 +21,13 @@
21
21
  "test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
22
22
  },
23
23
  "dependencies": {
24
- "change-case": "^4.1.2",
25
- "tslib": "2.3.1"
24
+ "change-case": "^5.4.4",
25
+ "tslib": "2.7.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@tsed/cli": "6.0.0-alpha.7",
29
- "@tsed/cli-core": "6.0.0-alpha.7",
30
- "@tsed/typescript": "6.0.0-alpha.7",
28
+ "@tsed/cli": "6.0.0-alpha.9",
29
+ "@tsed/cli-core": "6.0.0-alpha.9",
30
+ "@tsed/typescript": "6.0.0-alpha.9",
31
31
  "@types/change-case": "^2.3.1",
32
32
  "cross-env": "7.0.3",
33
33
  "typescript": "5.6.2",