@tsed/cli-plugin-mongoose
Advanced tools
Comparing version 6.0.0-alpha.8 to 6.0.0-alpha.9
@@ -6,3 +6,3 @@ var MongooseGenerateHook_1; | ||
import { Injectable } from "@tsed/di"; | ||
import { camelCase, paramCase } from "change-case"; | ||
import { camelCase, kebabCase } from "change-case"; | ||
// @ts-ignore | ||
@@ -65,3 +65,3 @@ import { plural } from "pluralize"; | ||
{ | ||
title: `Generate Mongoose configuration file to '${paramCase(ctx.name)}.config.ts'`, | ||
title: `Generate Mongoose configuration file to '${kebabCase(ctx.name)}.config.ts'`, | ||
task: () => this.cliMongoose.writeConfig(ctx.name, ctx) | ||
@@ -68,0 +68,0 @@ }, |
import { __decorate, __metadata } from "tslib"; | ||
import { Inject, Injectable, ProjectPackageJson, SrcRendererService } from "@tsed/cli-core"; | ||
import { camelCase, constantCase, paramCase } from "change-case"; | ||
import { camelCase, constantCase, kebabCase } from "change-case"; | ||
import { basename, join } from "path"; | ||
@@ -11,5 +11,5 @@ import { TEMPLATE_DIR } from "../utils/templateDir.js"; | ||
symbolName: constantCase(name), | ||
name: paramCase(name) | ||
name: kebabCase(name) | ||
}, { | ||
output: `${paramCase(name)}.config.ts`, | ||
output: `${kebabCase(name)}.config.ts`, | ||
rootDir: join(this.srcRenderer.rootDir, "config", "mongoose"), | ||
@@ -16,0 +16,0 @@ templateDir: TEMPLATE_DIR |
{ | ||
"name": "@tsed/cli-plugin-mongoose", | ||
"description": "Ts.ED CLI plugin. Add Mongoose support", | ||
"version": "6.0.0-alpha.8", | ||
"version": "6.0.0-alpha.9", | ||
"type": "module", | ||
@@ -24,10 +24,10 @@ "main": "./lib/esm/index.js", | ||
"dependencies": { | ||
"change-case": "4.1.2", | ||
"change-case": "5.4.4", | ||
"pluralize": "8.0.0", | ||
"tslib": "2.3.1" | ||
"tslib": "2.7.0" | ||
}, | ||
"devDependencies": { | ||
"@tsed/cli": "6.0.0-alpha.8", | ||
"@tsed/cli-core": "6.0.0-alpha.8", | ||
"@tsed/typescript": "6.0.0-alpha.8", | ||
"@tsed/cli": "6.0.0-alpha.9", | ||
"@tsed/cli-core": "6.0.0-alpha.9", | ||
"@tsed/typescript": "6.0.0-alpha.9", | ||
"cross-env": "7.0.3", | ||
@@ -34,0 +34,0 @@ "typescript": "5.6.2", |
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
+ Addedchange-case@5.4.4(transitive)
+ Addedtslib@2.7.0(transitive)
- Removedcamel-case@4.1.2(transitive)
- Removedcapital-case@1.0.4(transitive)
- Removedchange-case@4.1.2(transitive)
- Removedconstant-case@3.0.4(transitive)
- Removeddot-case@3.0.4(transitive)
- Removedheader-case@2.0.4(transitive)
- Removedlower-case@2.0.2(transitive)
- Removedno-case@3.0.4(transitive)
- Removedparam-case@3.0.4(transitive)
- Removedpascal-case@3.1.2(transitive)
- Removedpath-case@3.0.4(transitive)
- Removedsentence-case@3.0.4(transitive)
- Removedsnake-case@3.0.4(transitive)
- Removedtslib@2.3.1(transitive)
- Removedupper-case@2.0.2(transitive)
- Removedupper-case-first@2.0.2(transitive)
Updatedchange-case@5.4.4
Updatedtslib@2.7.0