source: trip-planner-front/node_modules/@schematics/angular/ng-new/schema.json@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 5.1 KB
Line 
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "$id": "SchematicsAngularNgNew",
4 "title": "Angular Ng New Options Schema",
5 "type": "object",
6 "description": "Creates a new project by combining the workspace and application schematics.",
7 "additionalProperties": false,
8 "properties": {
9 "directory": {
10 "type": "string",
11 "description": "The directory name to create the workspace in."
12 },
13 "name": {
14 "description": "The name of the new workspace and initial project.",
15 "type": "string",
16 "format": "html-selector",
17 "$default": {
18 "$source": "argv",
19 "index": 0
20 },
21 "x-prompt": "What name would you like to use for the new workspace and initial project?"
22 },
23 "skipInstall": {
24 "description": "Do not install dependency packages.",
25 "type": "boolean",
26 "default": false
27 },
28 "linkCli": {
29 "description": "Link the CLI to the global version (internal development only).",
30 "type": "boolean",
31 "default": false,
32 "visible": false
33 },
34 "skipGit": {
35 "description": "Do not initialize a git repository.",
36 "type": "boolean",
37 "default": false,
38 "alias": "g"
39 },
40 "commit": {
41 "description": "Initial git repository commit information.",
42 "oneOf": [
43 { "type": "boolean" },
44 {
45 "type": "object",
46 "properties": {
47 "name": {
48 "type": "string"
49 },
50 "email": {
51 "type": "string",
52 "format": "email"
53 },
54 "message": {
55 "type": "string"
56 }
57 },
58 "required": ["name", "email"]
59 }
60 ],
61 "default": true
62 },
63 "newProjectRoot": {
64 "description": "The path where new projects will be created, relative to the new workspace root.",
65 "type": "string",
66 "default": "projects"
67 },
68 "inlineStyle": {
69 "description": "Include styles inline in the component TS file. By default, an external styles file is created and referenced in the component TypeScript file.",
70 "type": "boolean",
71 "alias": "s",
72 "x-user-analytics": 9
73 },
74 "inlineTemplate": {
75 "description": "Include template inline in the component TS file. By default, an external template file is created and referenced in the component TypeScript file.",
76 "type": "boolean",
77 "alias": "t",
78 "x-user-analytics": 10
79 },
80 "viewEncapsulation": {
81 "description": "The view encapsulation strategy to use in the initial project.",
82 "enum": ["Emulated", "None", "ShadowDom"],
83 "type": "string",
84 "x-user-analytics": 11
85 },
86 "version": {
87 "type": "string",
88 "description": "The version of the Angular CLI to use.",
89 "visible": false,
90 "$default": {
91 "$source": "ng-cli-version"
92 }
93 },
94 "routing": {
95 "type": "boolean",
96 "description": "Generate a routing module for the initial project.",
97 "x-user-analytics": 17
98 },
99 "prefix": {
100 "type": "string",
101 "format": "html-selector",
102 "description": "The prefix to apply to generated selectors for the initial project.",
103 "minLength": 1,
104 "default": "app",
105 "alias": "p"
106 },
107 "style": {
108 "description": "The file extension or preprocessor to use for style files.",
109 "type": "string",
110 "enum": ["css", "scss", "sass", "less"],
111 "x-user-analytics": 5
112 },
113 "skipTests": {
114 "description": "Do not generate \"spec.ts\" test files for the new project.",
115 "type": "boolean",
116 "default": false,
117 "alias": "S",
118 "x-user-analytics": 12
119 },
120 "createApplication": {
121 "description": "Create a new initial application project in the 'src' folder of the new workspace. When false, creates an empty workspace with no initial application. You can then use the generate application command so that all applications are created in the projects folder.",
122 "type": "boolean",
123 "default": true
124 },
125 "minimal": {
126 "description": "Create a workspace without any testing frameworks. (Use for learning purposes only.)",
127 "type": "boolean",
128 "default": false,
129 "x-user-analytics": 14
130 },
131 "strict": {
132 "description": "Creates a workspace with stricter type checking and stricter bundle budgets settings. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.io/guide/strict-mode",
133 "type": "boolean",
134 "default": true,
135 "x-user-analytics": 7
136 },
137 "legacyBrowsers": {
138 "type": "boolean",
139 "description": "Add support for legacy browsers like Internet Explorer using differential loading.",
140 "default": false,
141 "x-deprecated": "Legacy browsers support is deprecated since version 12. For more information, see https://angular.io/guide/browser-support"
142 },
143 "packageManager": {
144 "description": "The package manager used to install dependencies.",
145 "type": "string",
146 "enum": ["npm", "yarn", "pnpm", "cnpm"]
147 }
148 },
149 "required": ["name", "version"]
150}
Note: See TracBrowser for help on using the repository browser.