-
Notifications
You must be signed in to change notification settings - Fork 352
refactor: integrate Bootstrap and migrate to Angular 21 application b… #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
GustavoKoglin
wants to merge
1
commit into
felipeAguiarCode:main
Choose a base branch
from
GustavoKoglin:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,18 +11,22 @@ | |
| "prefix": "app", | ||
| "architect": { | ||
| "build": { | ||
| "builder": "@angular-devkit/build-angular:browser", | ||
| "builder": "@angular-devkit/build-angular:application", | ||
| "options": { | ||
| "outputPath": "dist/store", | ||
| "index": "src/index.html", | ||
| "main": "src/main.ts", | ||
| "polyfills": "src/polyfills.ts", | ||
| "browser": "src/main.ts", | ||
| "polyfills": [ | ||
| "zone.js", | ||
| "src/polyfills.ts" | ||
| ], | ||
| "tsConfig": "tsconfig.app.json", | ||
| "assets": [ | ||
| "src/favicon.ico", | ||
| "src/assets" | ||
| ], | ||
| "styles": [ | ||
| "node_modules/bootstrap/dist/css/bootstrap.min.css", | ||
| "src/styles.css" | ||
| ], | ||
| "scripts": [] | ||
|
|
@@ -50,12 +54,9 @@ | |
| "outputHashing": "all" | ||
| }, | ||
| "development": { | ||
| "buildOptimizer": false, | ||
| "optimization": false, | ||
| "vendorChunk": true, | ||
| "extractLicenses": false, | ||
| "sourceMap": true, | ||
| "namedChunks": true | ||
| "sourceMap": true | ||
| } | ||
| }, | ||
| "defaultConfiguration": "production" | ||
|
|
@@ -64,32 +65,36 @@ | |
| "builder": "@angular-devkit/build-angular:dev-server", | ||
| "configurations": { | ||
| "production": { | ||
| "browserTarget": "store:build:production" | ||
| "buildTarget": "store:build:production" | ||
| }, | ||
| "development": { | ||
| "browserTarget": "store:build:development" | ||
| "buildTarget": "store:build:development" | ||
| } | ||
| }, | ||
| "defaultConfiguration": "development" | ||
| }, | ||
| "extract-i18n": { | ||
| "builder": "@angular-devkit/build-angular:extract-i18n", | ||
| "options": { | ||
| "browserTarget": "store:build" | ||
| "buildTarget": "store:build" | ||
| } | ||
| }, | ||
| "test": { | ||
| "builder": "@angular-devkit/build-angular:karma", | ||
| "options": { | ||
| "main": "src/test.ts", | ||
| "polyfills": "src/polyfills.ts", | ||
| "polyfills": [ | ||
| "zone.js", | ||
| "zone.js/testing", | ||
| "src/polyfills.ts" | ||
| ], | ||
|
Comment on lines
+85
to
+89
|
||
| "tsConfig": "tsconfig.spec.json", | ||
| "karmaConfig": "karma.conf.js", | ||
| "assets": [ | ||
| "src/favicon.ico", | ||
| "src/assets" | ||
| ], | ||
| "styles": [ | ||
| "node_modules/bootstrap/dist/css/bootstrap.min.css", | ||
| "src/styles.css" | ||
| ], | ||
| "scripts": [] | ||
|
|
@@ -101,4 +106,4 @@ | |
| "cli": { | ||
| "analytics": false | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,144 @@ | ||
| node : Node.js version | ||
| v25.7.0 detected. | ||
| No linha:1 caractere:1 | ||
| + node node_modules/@an | ||
| gular/cli/bin/ng.js | ||
| build 2>&1 | | ||
| Select-Object - ... | ||
| + ~~~~~~~~~~~~~~~~~~~~~ | ||
| ~~~~~~~~~~~~~~~~~~~~~~~ | ||
| ~~~~~~~ | ||
| + CategoryInfo | ||
| : NotSpecifi | ||
| ed: (Node.js versi | ||
| on v25.7.0 detecte | ||
| d.:String) [], Rem | ||
| oteException | ||
| + FullyQualifiedEr | ||
| rorId : NativeComm | ||
| andError | ||
|
|
||
| Odd numbered Node.js | ||
| versions will not | ||
| enter LTS status and | ||
| should not be used for | ||
| production. For more | ||
| information, please | ||
| see https://nodejs.org/ | ||
| en/about/previous-relea | ||
| ses/. | ||
| [33mÔØ»[39m Building... | ||
| [32mÔ£ö[39m Building... | ||
| Application bundle generation failed. [1.826 seconds] - 2026-03-04T03:49:44.913Z | ||
|
|
||
| [1m[33m[33mÔû▓ [43; | ||
| 33m[[43;30mWARNING[43 | ||
| ;33m][0m | ||
| [1mTypeScript | ||
| compiler options | ||
| 'target' and 'useDefine | ||
| ForClassFields' are | ||
| set to 'ES2022' and | ||
| 'false' respectively | ||
| by the Angular | ||
| CLI.[0m | ||
| [1m[35m[plugin | ||
| angular-compiler][0m | ||
|
|
||
|
|
||
| tsconfig.app.json:0:0: | ||
| [37m 0 Ôöé | ||
| [32m[37m | ||
| ÔòÁ [32m^[0m | ||
|
|
||
| To control ECMA | ||
| version and features | ||
| use the Browserslist | ||
| configuration. For | ||
| more information, see | ||
| [4mhttps://angular.dev/ | ||
| tools/cli/build#configu | ||
| ring-browser-compatibil | ||
| ity[0m | ||
|
|
||
|
|
||
| [33mÔû▓ [43;33m[[43; | ||
| 30mWARNING[43;33m][0m | ||
| [1mTypeScript | ||
| compiler options | ||
| 'target' and 'useDefine | ||
| ForClassFields' are | ||
| set to 'ES2022' and | ||
| 'false' respectively | ||
| by the Angular | ||
| CLI.[0m | ||
| [1m[35m[plugin | ||
| angular-compiler][0m | ||
|
|
||
|
|
||
| tsconfig.app.json:0:0: | ||
| [37m 0 Ôöé | ||
| [32m[37m | ||
| ÔòÁ [32m^[0m | ||
|
|
||
| To control ECMA | ||
| version and features | ||
| use the Browserslist | ||
| configuration. For | ||
| more information, see | ||
| [4mhttps://angular.dev/ | ||
| tools/cli/build#configu | ||
| ring-browser-compatibil | ||
| ity[0m | ||
|
|
||
| [39m[22m | ||
| [1m[31m[31mX [41;31 | ||
| m[[41;97mERROR[41;31m | ||
| ][0m [1mTS2307: | ||
| Cannot find module '@an | ||
| gular/core/primitives/d | ||
| i' or its | ||
| corresponding type | ||
| declarations.[0m | ||
| [1m[35m[plugin | ||
| angular-compiler][0m | ||
|
|
||
| node_modules/@angul | ||
| ar/core/types/_discover | ||
| y-chunk.d.ts:12:85: | ||
| [37m 12 Ôöé ...s | ||
| InjectionToken$1, | ||
| NotFound } from [32m'@ | ||
| angular/core/primitives | ||
| /di'[37m; | ||
| ÔòÁ | ||
|
|
||
| [32m~~~~~~~~~~~~ | ||
| ~~~~~~~~~~~~~~~~~[0m | ||
|
|
||
|
|
||
| [31mX [41;31m[[41;97 | ||
| mERROR[41;31m][0m | ||
| [1mTS2307: Cannot | ||
| find module | ||
| '@angular/common/http' | ||
| or its corresponding | ||
| type declarations.[0m | ||
| [1m[35m[plugin | ||
| angular-compiler][0m | ||
|
|
||
| node_modules/@angul | ||
| ar/platform-browser/typ | ||
| es/platform-browser.d.t | ||
| s:10:41: | ||
| [37m 10 Ôöé | ||
| import { HttpTransferCa | ||
| cheOptions } from [32m | ||
| '@angular/common/http' | ||
| [37m; | ||
| ÔòÁ | ||
|
|
||
| [32m~~~~~~~~~~ | ||
| ~~~~~~~~~~~~[0m | ||
|
|
||
| [39m[22m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| node : Node.js version | ||
| v25.7.0 detected. | ||
| No linha:1 caractere:1 | ||
| + node node_modules/@angula | ||
| r/cli/bin/ng.js build 2>&1 | ||
| | Select-Object - ... | ||
| + ~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| + CategoryInfo | ||
| : NotSpecified: (Nod | ||
| e.js version v25.7.0 d | ||
| etected.:String) [], R | ||
| emoteException | ||
| + FullyQualifiedErrorI | ||
| d : NativeCommandError | ||
|
|
||
| Odd numbered Node.js | ||
| versions will not enter | ||
| LTS status and should not | ||
| be used for production. | ||
| For more information, | ||
| please see https://nodejs.o | ||
| rg/en/about/previous-releas | ||
| es/. | ||
| - Generating browser | ||
| application bundles | ||
| (phase: setup)... | ||
| [1m[33m TypeScript | ||
| compiler options "target" | ||
| and | ||
| "useDefineForClassFields" | ||
| are set to "ES2022" and | ||
| "false" respectively by | ||
| the Angular CLI. To | ||
| control ECMA version and | ||
| features use the | ||
| Browserslist | ||
| configuration. For more | ||
| information, see https://an | ||
| gular.dev/tools/cli/build#c | ||
| onfiguring-browser-compatib | ||
| ility | ||
| NOTE: You can set the | ||
| "target" to "ES2022" in | ||
| the project's tsconfig to | ||
| remove this | ||
| warning.[39m[22m | ||
| [32mÔ£ö[39m Browser | ||
| application bundle | ||
| generation complete. | ||
| [32mÔ£ö[39m Browser | ||
| application bundle | ||
| generation complete. | ||
| [1m[31m | ||
| Error: [96mnode_modules/@a | ||
| ngular/core/types/_discover | ||
| y-chunk.d.ts[0m:[93m12[0 | ||
| m:[93m86[0m - | ||
| [91merror[0m[90m | ||
| TS2307: [0mCannot find | ||
| module '@angular/core/primi | ||
| tives/di' or its | ||
| corresponding type | ||
| declarations. | ||
|
|
||
| [7m12[0m import { | ||
| Injector as Injector$1, | ||
| InjectionToken as | ||
| InjectionToken$1, NotFound | ||
| } from '@angular/core/primi | ||
| tives/di'; | ||
| [7m [0m [91m | ||
|
|
||
|
|
||
| ~~~~~~~ | ||
| ~~~~~~~~~~~~~~~~~~~~~~[0m | ||
|
|
||
|
|
||
| Error: [96mnode_modules/@a | ||
| ngular/platform-browser/typ | ||
| es/platform-browser.d.ts[0 | ||
| m:[93m10[0m:[93m42[0m | ||
| - [91merror[0m[90m | ||
| TS2307: [0mCannot find | ||
| module | ||
| '@angular/common/http' or | ||
| its corresponding type | ||
| declarations. | ||
|
|
||
| [7m10[0m import { | ||
| HttpTransferCacheOptions } | ||
| from | ||
| '@angular/common/http'; | ||
| [7m [0m [91m | ||
|
|
||
|
|
||
| ~~~~~~~~~~~~~~~~~~~~~~[0m | ||
|
|
||
|
|
||
| [39m[22m |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
polyfillsincludes bothzone.jsandsrc/polyfills.ts, butsrc/polyfills.tsalready importszone.js. This results in loading ZoneJS twice (also in the test target), which is unnecessary and can cause subtle runtime issues. Keep only one source of ZoneJS (either removezone.jsfrom these arrays or remove the ZoneJS import fromsrc/polyfills.ts).