New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@nx/nest

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx/nest - npm Package Compare versions

Comparing version 18.0.0-beta.0 to 18.0.0-beta.1

{
"name": "@nx/nest",
"version": "18.0.0-beta.0",
"version": "18.0.0-beta.1",
"private": false,

@@ -34,9 +34,9 @@ "description": "The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.",

"@nestjs/schematics": "^9.1.0",
"@nx/devkit": "18.0.0-beta.0",
"@nx/js": "18.0.0-beta.0",
"@nx/eslint": "18.0.0-beta.0",
"@nx/node": "18.0.0-beta.0",
"@nx/devkit": "18.0.0-beta.1",
"@nx/js": "18.0.0-beta.1",
"@nx/eslint": "18.0.0-beta.1",
"@nx/node": "18.0.0-beta.1",
"@phenomnomnominal/tsquery": "~5.0.1",
"tslib": "^2.3.0",
"@nrwl/nest": "18.0.0-beta.0"
"@nrwl/nest": "18.0.0-beta.1"
},

@@ -43,0 +43,0 @@ "publishConfig": {

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestApplicationGenerator",

@@ -4,0 +4,0 @@ "title": "Nx Application Options Schema",

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestClassGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Class Options Schema",

"alias": "p",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18."
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
},

@@ -52,3 +52,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": true

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestControllerGenerator",

@@ -25,3 +25,3 @@ "title": "Nest Controller Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -52,3 +52,3 @@ "nameAndDirectoryFormat": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": false

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestDecoratorGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Decorator Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -46,3 +46,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -49,0 +49,0 @@ "default": true

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestFilterGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Filter Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -52,3 +52,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": true

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestGatewayGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Gateway Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -52,3 +52,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": true

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestGuardGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Guard Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -52,3 +52,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": true

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestInitGenerator",

@@ -4,0 +4,0 @@ "title": "Init Nest Plugin",

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestInterceptorGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Interceptor Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -52,3 +52,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": true

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestInterfaceGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Interface Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -46,3 +46,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -49,0 +49,0 @@ "default": true

@@ -52,2 +52,3 @@ "use strict";

skipTsConfig: options.skipTsConfig,
skipPackageJson: options.skipPackageJson,
strict: options.strict,

@@ -54,0 +55,0 @@ tags: options.tags,

@@ -8,2 +8,3 @@ "use strict";

const init_1 = require("../init/init");
const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
async function libraryGenerator(tree, rawOptions) {

@@ -19,3 +20,3 @@ return await libraryGeneratorInternal(tree, {

await (0, js_1.libraryGenerator)(tree, (0, lib_1.toJsLibraryGeneratorOptions)(options));
const initTask = (0, init_1.default)(tree, rawOptions);
const initTask = await (0, init_1.default)(tree, rawOptions);
(0, lib_1.deleteFiles)(tree, options);

@@ -29,5 +30,10 @@ (0, lib_1.createFiles)(tree, options);

}
return initTask;
return (0, devkit_1.runTasksInSerial)(...[
initTask,
() => {
(0, log_show_project_command_1.logShowProjectCommand)(options.projectName);
},
]);
}
exports.libraryGeneratorInternal = libraryGeneratorInternal;
exports.default = libraryGenerator;
{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestLibraryGenerator",

@@ -4,0 +4,0 @@ "title": "Create a NestJS Library for Nx",

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestMiddlewareGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Middleware Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -52,3 +52,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": true

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestModuleGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Module Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -46,3 +46,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -49,0 +49,0 @@ "default": false

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestPipeGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Pipe Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -52,3 +52,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": true

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestProviderGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Provider Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -52,3 +52,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": true

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestResolverGenerator",

@@ -25,3 +25,3 @@ "title": "Nest Resolver Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -47,3 +47,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -50,0 +50,0 @@ "default": false

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestResourceGenerator",

@@ -25,3 +25,3 @@ "title": "Nest Resource Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -47,3 +47,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -50,0 +50,0 @@ "default": false

{
"$schema": "http://json-schema.org/schema",
"$schema": "https://json-schema.org/schema",
"$id": "NxNestServiceGenerator",

@@ -30,3 +30,3 @@ "title": "Nest Service Options Schema",

"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18."
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19."
},

@@ -52,3 +52,3 @@ "directory": {

"description": "Flag to indicate if a directory is created.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.",
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.",
"type": "boolean",

@@ -55,0 +55,0 @@ "default": false

@@ -12,7 +12,7 @@ import { NameAndDirectoryFormat } from '@nx/devkit/src/generators/artifact-name-and-directory-utils';

/**
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18.
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.
*/
flat?: boolean;
/**
* @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v18.
* @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19.
*/

@@ -19,0 +19,0 @@ project?: string;