mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 05:24:57 +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 |
|
||||
| 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 |
|
||||
| component | Creates a new, generic component definition in the given or default project |
|
||||
| directive | Creates a new, generic directive definition in the given or default project |
|
||||
| enum | Generates a new, generic enum definition for the given or default project |
|
||||
| guard | Generates a new, generic route guard definition in the given or default project |
|
||||
| interceptor | Creates a new, generic interceptor definition in the given or default project |
|
||||
| interface | Creates a new, generic interface 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 project |
|
||||
| directive | Creates a new, generic directive definition in the given project |
|
||||
| enum | Generates a new, generic enum definition in the given project |
|
||||
| guard | Generates a new, generic route guard definition in the given project |
|
||||
| interceptor | Creates a new, generic interceptor definition in the given project |
|
||||
| interface | Creates a new, generic interface definition in the given project |
|
||||
| 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 |
|
||||
| pipe | Creates a new, generic pipe definition in the given or default project |
|
||||
| resolver | Creates a new, generic resolver definition in the given or default project |
|
||||
| service | Creates a new, generic service 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 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 |
|
||||
| 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 |
|
||||
|
||||
## Disclaimer
|
||||
|
@ -3,7 +3,7 @@
|
||||
"$id": "SchematicsAngularClass",
|
||||
"title": "Angular Class Options Schema",
|
||||
"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,
|
||||
"properties": {
|
||||
"name": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"$id": "SchematicsAngularComponent",
|
||||
"title": "Angular Component Options Schema",
|
||||
"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,
|
||||
"properties": {
|
||||
"path": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"$id": "SchematicsAngularDirective",
|
||||
"title": "Angular Directive Options Schema",
|
||||
"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,
|
||||
"properties": {
|
||||
"name": {
|
||||
|
@ -4,7 +4,7 @@
|
||||
"title": "Angular e2e Application Options Schema",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"rootSelector": {
|
||||
"description": "The HTML selector for the root component of the test app.",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"$id": "SchematicsAngularEnum",
|
||||
"title": "Angular Enum Options Schema",
|
||||
"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,
|
||||
"properties": {
|
||||
"name": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"$id": "SchematicsAngularGuard",
|
||||
"title": "Angular Guard Options Schema",
|
||||
"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,
|
||||
"properties": {
|
||||
"name": {
|
||||
|
@ -4,7 +4,7 @@
|
||||
"title": "Angular Interceptor Options Schema",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"title": "Angular Interface Options Schema",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"title": "Angular Module Options Schema",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"title": "Angular Pipe Options Schema",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"title": "Angular resolver Options Schema",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"title": "Angular Service Options Schema",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -35986,7 +35986,7 @@ var ts;
|
||||
if (node.flags & 32 /* NodeFlags.OptionalChain */) {
|
||||
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)) {
|
||||
var expr = node.expression;
|
||||
while (ts.isNonNullExpression(expr) && !(expr.flags & 32 /* NodeFlags.OptionalChain */)) {
|
||||
@ -150078,7 +150078,7 @@ var ts;
|
||||
var lineAction = 0 /* LineAction.None */;
|
||||
if (rules) {
|
||||
// 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) {
|
||||
lineAction = applyRuleEdits(rule, previousItem, previousStartLine, currentItem, currentStartLine);
|
||||
if (dynamicIndentation) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
"title": "Angular Web Worker Options Schema",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
|
Loading…
x
Reference in New Issue
Block a user