mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 21:42:38 +08:00
docs: remove default project from schematic description
The default project is deprecated.
This commit is contained in:
parent
25574864b6
commit
ace34b7af3
@ -9,21 +9,21 @@ for generating an Angular application.
|
|||||||
| -------------- | ----------------------------------------------------------------------------------------------------- |
|
| -------------- | ----------------------------------------------------------------------------------------------------- |
|
||||||
| app-shell | Generates an app shell for running a server-side version of an app |
|
| app-shell | Generates an app shell for running a server-side version of an app |
|
||||||
| application | Generates a new basic app definition in the "projects" subfolder of the workspace |
|
| application | Generates a new basic app definition in the "projects" subfolder of the workspace |
|
||||||
| class | Creates a new, generic class definition in the given or default project |
|
| class | Creates a new, generic class definition in the given project |
|
||||||
| component | Creates a new, generic component definition in the given or default project |
|
| component | Creates a new, generic component definition in the given project |
|
||||||
| directive | Creates a new, generic directive definition in the given or default project |
|
| directive | Creates a new, generic directive definition in the given project |
|
||||||
| enum | Generates a new, generic enum definition for the given or default project |
|
| enum | Generates a new, generic enum definition in the given project |
|
||||||
| guard | Generates a new, generic route guard definition in the given or default project |
|
| guard | Generates a new, generic route guard definition in the given project |
|
||||||
| interceptor | Creates a new, generic interceptor definition in the given or default project |
|
| interceptor | Creates a new, generic interceptor definition in the given project |
|
||||||
| interface | Creates a new, generic interface definition in the given or default project |
|
| interface | Creates a new, generic interface definition in the given project |
|
||||||
| library | Creates a new, generic library project in the current workspace |
|
| library | Creates a new, generic library project in the current workspace |
|
||||||
| module | Creates a new, generic NgModule definition in the given or default project |
|
| module | Creates a new, generic NgModule definition in the given project |
|
||||||
| ng-new | Creates a new project by combining the workspace and application schematics |
|
| ng-new | Creates a new project by combining the workspace and application schematics |
|
||||||
| pipe | Creates a new, generic pipe definition in the given or default project |
|
| pipe | Creates a new, generic pipe definition in the given project |
|
||||||
| resolver | Creates a new, generic resolver definition in the given or default project |
|
| resolver | Creates a new, generic resolver definition in the given project |
|
||||||
| service | Creates a new, generic service definition in the given or default project |
|
| service | Creates a new, generic service definition in the given project |
|
||||||
| service-worker | Pass this schematic to the "run" command to create a service worker |
|
| service-worker | Pass this schematic to the "run" command to create a service worker |
|
||||||
| web-worker | Creates a new, generic web worker definition in the given or default project |
|
| web-worker | Creates a new, generic web worker definition in the given project |
|
||||||
| workspace | Initializes an empty workspace and adds the necessary dependencies required by an Angular application |
|
| workspace | Initializes an empty workspace and adds the necessary dependencies required by an Angular application |
|
||||||
|
|
||||||
## Disclaimer
|
## Disclaimer
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"$id": "SchematicsAngularClass",
|
"$id": "SchematicsAngularClass",
|
||||||
"title": "Angular Class Options Schema",
|
"title": "Angular Class Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Creates a new, generic class definition in the given or default project.",
|
"description": "Creates a new, generic class definition in the given project.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"$id": "SchematicsAngularComponent",
|
"$id": "SchematicsAngularComponent",
|
||||||
"title": "Angular Component Options Schema",
|
"title": "Angular Component Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Creates a new, generic component definition in the given or default project.",
|
"description": "Creates a new, generic component definition in the given project.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"path": {
|
"path": {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"$id": "SchematicsAngularDirective",
|
"$id": "SchematicsAngularDirective",
|
||||||
"title": "Angular Directive Options Schema",
|
"title": "Angular Directive Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Creates a new, generic directive definition in the given or default project.",
|
"description": "Creates a new, generic directive definition in the given project.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"title": "Angular e2e Application Options Schema",
|
"title": "Angular e2e Application Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Generates a new, generic end-to-end test definition for the given or default project.",
|
"description": "Generates a new, generic end-to-end test definition in the given project.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"rootSelector": {
|
"rootSelector": {
|
||||||
"description": "The HTML selector for the root component of the test app.",
|
"description": "The HTML selector for the root component of the test app.",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"$id": "SchematicsAngularEnum",
|
"$id": "SchematicsAngularEnum",
|
||||||
"title": "Angular Enum Options Schema",
|
"title": "Angular Enum Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Generates a new, generic enum definition for the given or default project.",
|
"description": "Generates a new, generic enum definition in the given project.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"$id": "SchematicsAngularGuard",
|
"$id": "SchematicsAngularGuard",
|
||||||
"title": "Angular Guard Options Schema",
|
"title": "Angular Guard Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Generates a new, generic route guard definition in the given or default project.",
|
"description": "Generates a new, generic route guard definition in the given project.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"title": "Angular Interceptor Options Schema",
|
"title": "Angular Interceptor Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Creates a new, generic interceptor definition in the given or default project.",
|
"description": "Creates a new, generic interceptor definition in the given project.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"title": "Angular Interface Options Schema",
|
"title": "Angular Interface Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Creates a new, generic interface definition in the given or default project.",
|
"description": "Creates a new, generic interface definition in the given project.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"title": "Angular Module Options Schema",
|
"title": "Angular Module Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Creates a new, generic NgModule definition in the given or default project.",
|
"description": "Creates a new, generic NgModule definition in the given project.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"title": "Angular Pipe Options Schema",
|
"title": "Angular Pipe Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Creates a new, generic pipe definition in the given or default project.",
|
"description": "Creates a new, generic pipe definition in the given project.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"title": "Angular resolver Options Schema",
|
"title": "Angular resolver Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Generates a new, generic resolver definition in the given or default project.",
|
"description": "Generates a new, generic resolver definition in the given project.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"title": "Angular Service Options Schema",
|
"title": "Angular Service Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Creates a new, generic service definition in the given or default project.",
|
"description": "Creates a new, generic service definition in the given project.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -35986,7 +35986,7 @@ var ts;
|
|||||||
if (node.flags & 32 /* NodeFlags.OptionalChain */) {
|
if (node.flags & 32 /* NodeFlags.OptionalChain */) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// check for an optional chain in a non-null expression
|
// check for an optional chain a non-null expression
|
||||||
if (ts.isNonNullExpression(node)) {
|
if (ts.isNonNullExpression(node)) {
|
||||||
var expr = node.expression;
|
var expr = node.expression;
|
||||||
while (ts.isNonNullExpression(expr) && !(expr.flags & 32 /* NodeFlags.OptionalChain */)) {
|
while (ts.isNonNullExpression(expr) && !(expr.flags & 32 /* NodeFlags.OptionalChain */)) {
|
||||||
@ -150078,7 +150078,7 @@ var ts;
|
|||||||
var lineAction = 0 /* LineAction.None */;
|
var lineAction = 0 /* LineAction.None */;
|
||||||
if (rules) {
|
if (rules) {
|
||||||
// Apply rules in reverse order so that higher priority rules (which are first in the array)
|
// Apply rules in reverse order so that higher priority rules (which are first in the array)
|
||||||
// win in a conflict with lower priority rules.
|
// win a conflict with lower priority rules.
|
||||||
ts.forEachRight(rules, function (rule) {
|
ts.forEachRight(rules, function (rule) {
|
||||||
lineAction = applyRuleEdits(rule, previousItem, previousStartLine, currentItem, currentStartLine);
|
lineAction = applyRuleEdits(rule, previousItem, previousStartLine, currentItem, currentStartLine);
|
||||||
if (dynamicIndentation) {
|
if (dynamicIndentation) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"title": "Angular Web Worker Options Schema",
|
"title": "Angular Web Worker Options Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "Creates a new, generic web worker definition in the given or default project.",
|
"description": "Creates a new, generic web worker definition in the given project.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"path": {
|
"path": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user