Skip to content

Commit

Permalink
angular 19
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj committed Feb 2, 2025
1 parent d42d93f commit b70bb77
Show file tree
Hide file tree
Showing 15 changed files with 5,820 additions and 5,681 deletions.
50 changes: 41 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,60 @@

# M4.256-PAC5

This project was generated with [Angular CLI](https://github.com/angular/angular-cli).
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.1.5.

## Development server

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.
To start a local development server, run:

```bash
ng serve
```

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.

## Code scaffolding

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`.
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:

```bash
ng generate component component-name
```

For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:

```bash
ng generate --help
```

## Build
## Building

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
To build the project run:

```bash
ng build
```

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.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:

```bash
ng test
```

## Running end-to-end tests

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.
For end-to-end (e2e) testing, run:

```bash
ng e2e
```

Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.

## Further help
## Additional Resources

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
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.
44 changes: 33 additions & 11 deletions angular.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,44 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "npm",
"schematicCollections": [
"angular-eslint"
]
},
"newProjectRoot": "projects",
"projects": {
"M4.256-PAC5": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"skipTests": true,
"standalone": false
},
"@schematics/angular:class": {
"skipTests": true
},
"@schematics/angular:directive": {
"skipTests": true,
"standalone": false
},
"@schematics/angular:guard": {
"skipTests": true
},
"@schematics/angular:interceptor": {
"skipTests": true
},
"@schematics/angular:pipe": {
"skipTests": true,
"standalone": false
},
"@schematics/angular:resolver": {
"skipTests": true
},
"@schematics/angular:service": {
"skipTests": true
}
},
"root": "",
Expand All @@ -30,6 +55,7 @@
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
Expand All @@ -38,7 +64,7 @@
],
"styles": [
"@angular/material/prebuilt-themes/azure-blue.css",
"src/styles.css"
"src/styles.scss"
],
"scripts": []
},
Expand All @@ -47,13 +73,13 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "1MB",
"maximumError": "2MB"
"maximumWarning": "2MB",
"maximumError": "5MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kB",
"maximumError": "4kB"
"maximumWarning": "6kB",
"maximumError": "10kB"
}
],
"outputHashing": "all",
Expand Down Expand Up @@ -90,6 +116,7 @@
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
Expand All @@ -98,7 +125,7 @@
],
"styles": [
"@angular/material/prebuilt-themes/azure-blue.css",
"src/styles.css"
"src/styles.scss"
],
"scripts": []
}
Expand All @@ -114,10 +141,5 @@
}
}
}
},
"cli": {
"schematicCollections": [
"angular-eslint"
]
}
}
Loading

0 comments on commit b70bb77

Please sign in to comment.