You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`.editorconfig`| Configuration for code editors. See [EditorConfig](https://editorconfig.org/). |
22
22
|`.gitignore`| Specifies intentionally untracked files that [Git](https://git-scm.com/) should ignore. |
23
-
|`angular.json`| CLI configuration for all projects in the workspace, including configuration options for build, serve, and test tools that the CLI uses, such as [Karma](https://karma-runner.github.io/) and [Protractor](http://www.protractortest.org/). |
23
+
|`angular.json`| CLI configuration defaults for all projects in the workspace, including configuration options for build, serve, and test tools that the CLI uses, such as [TSLint](https://palantir.github.io/tslint/), [Karma](https://karma-runner.github.io/), and [Protractor](http://www.protractortest.org/). For details, see [Angular Workspace Configuration](guide/workspace-config).|
24
24
|`node_modules`| Provides [npm packages](guide/npm-packages) to the entire workspace. |
25
-
|`package.json`| Lists package dependencies. See [npm documentation](https://docs.npmjs.com/files/package.json) for the specific format and contents of this file.|
26
-
|`tsconfig.app.json`| Default [TypeScript](https://www.typescriptlang.org/) configuration for apps in the workspace. |
27
-
|`tsconfig.spec.json`| Default TypeScript configuration for e2e test apps in the workspace. |
28
-
|`tslint.json`| Default [TSLint](https://palantir.github.io/tslint/) configuration for apps in the workspace. |
29
-
|`README.md`| Introductory documentation. |
25
+
|`package.json`| Configures [npm package dependencies](guide/npm-packages) that are available to all projects in the workspace. See [npm documentation](https://docs.npmjs.com/files/package.json) for the specific format and contents of this file. |
30
26
|`package-lock.json`| Provides version information for all packages installed into `node_modules` by the npm client. See [npm documentation](https://docs.npmjs.com/files/package-lock.json) for details. If you use the yarn client, this file will be [yarn.lock](https://yarnpkg.com/lang/en/docs/yarn-lock/) instead. |
27
+
|`tsconfig.json`| Default [TypeScript](https://www.typescriptlang.org/) configuration for apps in the workspace, including TypeScript and Angular template compiler options. See [TypeScript Configuration](guide/typescript-configuration). |
28
+
|`tslint.json`| Default [TSLint](https://palantir.github.io/tslint/) configuration for apps in the workspace. |
29
+
|`README.md`| Introductory documentation. |
31
30
32
-
All projects within a workspace share this configuration context.
31
+
All projects within a workspace share a [CLI configuration context](guide/workspace-config).
33
32
Project-specific [TypeScript](https://www.typescriptlang.org/) configuration files inherit from the workspace-wide `tsconfig.*.json`, and app-specific [TSLint](https://palantir.github.io/tslint/) configuration files inherit from the workspace-wide `tslint.json`.
34
33
35
34
### Default app project files
@@ -40,9 +39,9 @@ This initial app is the *default app* for CLI commands (unless you change the de
40
39
A newly generated app contains the source files for a root module, with a root component and template.
41
40
When the workspace file structure is in place, you can use the `ng generate` command on the command line to add functionality and data to the initial app.
42
41
43
-
<divclass="alertis-helpful>
42
+
<divclass="alert is-helpful">
44
43
45
-
Besides using the CLI on the command line, You can also use an interactive development environment like [Angular Console](https://angular.console.com), or manipulate files directly in the app's source folder and configuration files.
44
+
Besides using the CLI on the command line, you can also use an interactive development environment like [Angular Console](https://angular.console.com), or manipulate files directly in the app's source folder and configuration files.
46
45
47
46
</div>
48
47
@@ -104,18 +103,6 @@ my-app/
104
103
105
104
Inside the `src/` folder, the `app/` folder contains your app's logic and data. Angular components, templates, and styles go here. An `assets/` subfolder contains images and anything else your app needs. Files at the top level of `src/` support testing and running your app.
|`app/app.component.ts`| Defines the logic for the app's root component, named `AppComponent`. The view associated with this root component becomes the root of the [view hierarchy](guide/glossary#view-hierarchy) as you add components and services to your app. |
0 commit comments