Преглед на файлове

update Angular to version 20.1.3

tigger преди 10 месеца
родител
ревизия
e6de2c3651
променени са 4 файла, в които са добавени 48 реда и са изтрити 22 реда
  1. 30 4
      angular.json
  2. 16 16
      package.json
  3. 1 1
      src/dependencies/angularlib
  4. 1 1
      tsconfig.json

+ 30 - 4
angular.json

@@ -15,7 +15,7 @@
       "prefix": "app",
       "architect": {
         "build": {
-          "builder": "@angular-devkit/build-angular:application",
+          "builder": "@angular/build:application",
           "options": {
             "outputPath": "dist/fisapp-ui",
             "index": "src/index.html",
@@ -205,7 +205,7 @@
           "defaultConfiguration": "development"
         },
         "serve": {
-          "builder": "@angular-devkit/build-angular:dev-server",
+          "builder": "@angular/build:dev-server",
           "configurations": {
             "production": {
               "buildTarget": "fisapp-ui:build:production"
@@ -217,13 +217,13 @@
           "defaultConfiguration": "development"
         },
         "extract-i18n": {
-          "builder": "@angular-devkit/build-angular:extract-i18n",
+          "builder": "@angular/build:extract-i18n",
           "options": {
             "buildTarget": "fisapp-ui:build"
           }
         },
         "test": {
-          "builder": "@angular-devkit/build-angular:karma",
+          "builder": "@angular/build:karma",
           "options": {
             "polyfills": [
               "zone.js",
@@ -246,5 +246,31 @@
   },
   "cli": {
     "analytics": false
+  },
+  "schematics": {
+    "@schematics/angular:component": {
+      "type": "component"
+    },
+    "@schematics/angular:directive": {
+      "type": "directive"
+    },
+    "@schematics/angular:service": {
+      "type": "service"
+    },
+    "@schematics/angular:guard": {
+      "typeSeparator": "."
+    },
+    "@schematics/angular:interceptor": {
+      "typeSeparator": "."
+    },
+    "@schematics/angular:module": {
+      "typeSeparator": "."
+    },
+    "@schematics/angular:pipe": {
+      "typeSeparator": "."
+    },
+    "@schematics/angular:resolver": {
+      "typeSeparator": "."
+    }
   }
 }

+ 16 - 16
package.json

@@ -16,18 +16,18 @@
   },
   "private": true,
   "dependencies": {
-    "@angular/animations": "^19.2.12",
-    "@angular/cdk": "^19.2.17",
-    "@angular/common": "^19.2.12",
-    "@angular/compiler": "^19.2.12",
-    "@angular/core": "^19.2.12",
-    "@angular/forms": "^19.2.12",
-    "@angular/material": "^19.2.17",
-    "@angular/material-moment-adapter": "^19.2.17",
-    "@angular/platform-browser": "^19.2.12",
-    "@angular/platform-browser-dynamic": "^19.2.12",
-    "@angular/router": "^19.2.12",
-    "@angular/service-worker": "^19.2.12",
+    "@angular/animations": "^20.1.3",
+    "@angular/cdk": "^20.1.3",
+    "@angular/common": "^20.1.3",
+    "@angular/compiler": "^20.1.3",
+    "@angular/core": "^20.1.3",
+    "@angular/forms": "^20.1.3",
+    "@angular/material": "^20.1.3",
+    "@angular/material-moment-adapter": "^20.1.3",
+    "@angular/platform-browser": "^20.1.3",
+    "@angular/platform-browser-dynamic": "^20.1.3",
+    "@angular/router": "^20.1.3",
+    "@angular/service-worker": "^20.1.3",
     "@ngxs/devtools-plugin": "^19.0.0",
     "@ngxs/form-plugin": "^19.0.0",
     "@ngxs/storage-plugin": "^19.0.0",
@@ -42,9 +42,9 @@
     "zone.js": "~0.15.0"
   },
   "devDependencies": {
-    "@angular-devkit/build-angular": "^19.2.13",
-    "@angular/cli": "^19.2.13",
-    "@angular/compiler-cli": "^19.2.12",
+    "@angular/build": "^20.1.3",
+    "@angular/cli": "^20.1.3",
+    "@angular/compiler-cli": "^20.1.3",
     "@types/jasmine": "~5.1.0",
     "jasmine-core": "~5.1.0",
     "karma": "~6.4.0",
@@ -54,4 +54,4 @@
     "karma-jasmine-html-reporter": "~2.1.0",
     "typescript": "~5.8.3"
   }
-}
+}

+ 1 - 1
src/dependencies/angularlib

@@ -1 +1 @@
-Subproject commit e618e2c4dc98253f46d7bc9541f0d5bef9b5b68f
+Subproject commit f4674726584866b2fdb86f3d219315ec475b7b16

+ 1 - 1
tsconfig.json

@@ -19,7 +19,7 @@
     "sourceMap": true,
     "declaration": false,
     "experimentalDecorators": true,
-    "moduleResolution": "node",
+    "moduleResolution": "bundler",
     "importHelpers": true,
     "target": "ES2022",
     "module": "ES2022",