From f5cf24ef50333b997256d3fbd627426bb97b3540 Mon Sep 17 00:00:00 2001 From: MeAkib Date: Thu, 15 Oct 2026 23:58:12 +0600 Subject: [PATCH 1/3] docs(@schematics/angular): correct `directory` and `entryFile` option descriptions The `ng new` `directory` option claimed the workspace is created in the current directory when the option is omitted, but a new directory named after the workspace is created instead. The library `entryFile` option described a path relative to the workspace root, but the value is a file name without the `.ts` extension that is placed in the library's `src` directory. --- packages/schematics/angular/library/schema.json | 2 +- packages/schematics/angular/ng-new/schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/schematics/angular/library/schema.json b/packages/schematics/angular/library/schema.json index bb3d227e5245..a00337f28356 100644 --- a/packages/schematics/angular/library/schema.json +++ b/packages/schematics/angular/library/schema.json @@ -19,7 +19,7 @@ "entryFile": { "type": "string", "format": "path", - "description": "The path to the library's public API file, relative to the workspace root. This file defines what parts of the library are accessible to applications that import it.", + "description": "The name of the library's public API file, without the `.ts` extension, relative to the library's `src` directory. This file defines what parts of the library are accessible to applications that import it.", "default": "public-api" }, "prefix": { diff --git a/packages/schematics/angular/ng-new/schema.json b/packages/schematics/angular/ng-new/schema.json index 257628fcda9e..7041967f96ee 100644 --- a/packages/schematics/angular/ng-new/schema.json +++ b/packages/schematics/angular/ng-new/schema.json @@ -8,7 +8,7 @@ "properties": { "directory": { "type": "string", - "description": "The directory where the new workspace and project should be created. If not specified, the workspace will be created in the current directory." + "description": "The directory where the new workspace and project should be created. If not specified, a new directory named after the workspace is created in the current directory." }, "name": { "description": "The name for the new workspace and the initial project. This name will be used for the root directory and various identifiers throughout the project.", From 67f34e9ed874c882665056e6ea1d3098f5ca09d4 Mon Sep 17 00:00:00 2001 From: Shuaib Hasan Akib <48770016+MeAkib@users.noreply.github.com> Date: Fri, 16 Oct 2026 15:25:37 +0600 Subject: [PATCH 2/3] fixup! docs(@schematics/angular): correct `directory` and `entryFile` option descriptions Co-authored-by: Alan Agius --- packages/schematics/angular/library/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/schematics/angular/library/schema.json b/packages/schematics/angular/library/schema.json index a00337f28356..02c6c6f8acaa 100644 --- a/packages/schematics/angular/library/schema.json +++ b/packages/schematics/angular/library/schema.json @@ -19,7 +19,7 @@ "entryFile": { "type": "string", "format": "path", - "description": "The name of the library's public API file, without the `.ts` extension, relative to the library's `src` directory. This file defines what parts of the library are accessible to applications that import it.", + "description": "The name of the library's public API file, without the `.ts` extension, created in the library's `src` directory. This file defines what parts of the library are accessible to applications that import it.", "default": "public-api" }, "prefix": { From 8602c39ef87db6eb9976c1708f51fe162ef344c4 Mon Sep 17 00:00:00 2001 From: Shuaib Hasan Akib <48770016+MeAkib@users.noreply.github.com> Date: Fri, 16 Oct 2026 15:25:55 +0600 Subject: [PATCH 3/3] fixup! docs(@schematics/angular): correct `directory` and `entryFile` option descriptions Co-authored-by: Alan Agius --- packages/schematics/angular/ng-new/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/schematics/angular/ng-new/schema.json b/packages/schematics/angular/ng-new/schema.json index 7041967f96ee..2c69fa84aaad 100644 --- a/packages/schematics/angular/ng-new/schema.json +++ b/packages/schematics/angular/ng-new/schema.json @@ -8,7 +8,7 @@ "properties": { "directory": { "type": "string", - "description": "The directory where the new workspace and project should be created. If not specified, a new directory named after the workspace is created in the current directory." + "description": "The directory where the new workspace and project should be created. If not specified, the workspace will be created in a subfolder within the current directory, using the workspace's name." }, "name": { "description": "The name for the new workspace and the initial project. This name will be used for the root directory and various identifiers throughout the project.",