Skip to content

Commit 17e3072

Browse files
added new config
1 parent 5b4a906 commit 17e3072

20 files changed

+2169
-2491
lines changed

.editorconfig

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ trim_trailing_whitespace = true
1010

1111
[*.ts]
1212
quote_type = single
13-
ij_typescript_use_double_quotes = false
1413

1514
[*.md]
1615
max_line_length = off

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
22

33
# Compiled output
44
/dist

.vscode/extensions.json

-4
This file was deleted.

.vscode/launch.json

-20
This file was deleted.

.vscode/tasks.json

-42
This file was deleted.

README.md

+10-42
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,27 @@
1-
# TodoProject
1+
# Essentials
22

3-
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.4.
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.1.2.
44

55
## Development server
66

7-
To start a local development server, run:
8-
9-
```bash
10-
ng serve
11-
```
12-
13-
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
7+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
148

159
## Code scaffolding
1610

17-
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
18-
19-
```bash
20-
ng generate component component-name
21-
```
22-
23-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
24-
25-
```bash
26-
ng generate --help
27-
```
11+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
2812

29-
## Building
13+
## Build
3014

31-
To build the project run:
32-
33-
```bash
34-
ng build
35-
```
36-
37-
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
15+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
3816

3917
## Running unit tests
4018

41-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
42-
43-
```bash
44-
ng test
45-
```
19+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
4620

4721
## Running end-to-end tests
4822

49-
For end-to-end (e2e) testing, run:
50-
51-
```bash
52-
ng e2e
53-
```
54-
55-
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
23+
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
5624

57-
## Additional Resources
25+
## Further help
5826

59-
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

angular.json

+31-32
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"todo-project": {
6+
"essentials": {
77
"projectType": "application",
88
"schematics": {},
99
"root": "",
@@ -13,39 +13,34 @@
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:application",
1515
"options": {
16-
"outputPath": "dist/todo-project",
16+
"outputPath": "dist/essentials",
1717
"index": "src/index.html",
1818
"browser": "src/main.ts",
19-
"polyfills": ["zone.js"],
19+
"polyfills": [
20+
"zone.js"
21+
],
2022
"tsConfig": "tsconfig.app.json",
2123
"assets": [
22-
"src/assets",
23-
{
24-
"glob": "**/*",
25-
"input": "public",
26-
"output": "/assets"
27-
}
24+
"src/favicon.ico",
25+
"src/assets"
2826
],
29-
"styles": ["src/styles.css"],
30-
"scripts": [],
31-
"server": "src/main.server.ts",
32-
"outputMode": "server",
33-
"ssr": {
34-
"entry": "src/server.ts"
35-
}
27+
"styles": [
28+
"src/styles.css"
29+
],
30+
"scripts": []
3631
},
3732
"configurations": {
3833
"production": {
3934
"budgets": [
4035
{
4136
"type": "initial",
42-
"maximumWarning": "500kB",
43-
"maximumError": "1MB"
37+
"maximumWarning": "500kb",
38+
"maximumError": "1mb"
4439
},
4540
{
4641
"type": "anyComponentStyle",
47-
"maximumWarning": "4kB",
48-
"maximumError": "8kB"
42+
"maximumWarning": "2kb",
43+
"maximumError": "4kb"
4944
}
5045
],
5146
"outputHashing": "all"
@@ -62,38 +57,42 @@
6257
"builder": "@angular-devkit/build-angular:dev-server",
6358
"configurations": {
6459
"production": {
65-
"buildTarget": "todo-project:build:production"
60+
"buildTarget": "essentials:build:production"
6661
},
6762
"development": {
68-
"buildTarget": "todo-project:build:development"
63+
"buildTarget": "essentials:build:development"
6964
}
7065
},
7166
"defaultConfiguration": "development"
7267
},
7368
"extract-i18n": {
74-
"builder": "@angular-devkit/build-angular:extract-i18n"
69+
"builder": "@angular-devkit/build-angular:extract-i18n",
70+
"options": {
71+
"buildTarget": "essentials:build"
72+
}
7573
},
7674
"test": {
7775
"builder": "@angular-devkit/build-angular:karma",
7876
"options": {
79-
"polyfills": ["zone.js", "zone.js/testing"],
77+
"polyfills": [
78+
"zone.js",
79+
"zone.js/testing"
80+
],
8081
"tsConfig": "tsconfig.spec.json",
8182
"assets": [
82-
"src/assets",
83-
{
84-
"glob": "**/*",
85-
"input": "public",
86-
"output": "/assets"
87-
}
83+
"src/favicon.ico",
84+
"src/assets"
85+
],
86+
"styles": [
87+
"src/styles.css"
8888
],
89-
"styles": ["src/styles.css"],
9089
"scripts": []
9190
}
9291
}
9392
}
9493
}
9594
},
9695
"cli": {
97-
"analytics": "0f765ac6-79cb-4131-8954-bbab6b07ea0f"
96+
"analytics": "098a7b0e-cd5f-4456-967d-5f31fbcd0b92"
9897
}
9998
}

0 commit comments

Comments
 (0)