1
0

2 Коммиты 0e8b20e98b ... 9cee4991f7

Автор SHA1 Сообщение Дата
  jmacura 9cee4991f7 🚨 (don't) resolve "fs" and "path" modules 2 лет назад
  jmacura 8a9ebbd1a0 ⬆️ upgrade HSL to v11 2 лет назад
3 измененных файлов с 337 добавлено и 302 удалено
  1. 10 7
      custom-webpack.config.js
  2. 318 286
      package-lock.json
  3. 9 9
      package.json

+ 10 - 7
custom-webpack.config.js

@@ -1,13 +1,11 @@
 //const webpack = require('webpack');
 const { shareAll, withModuleFederationPlugin } = require('@angular-architects/module-federation/webpack');
 
-module.exports = withModuleFederationPlugin({
+const withModuleFederationConfig = withModuleFederationPlugin({
   name: 'fieldcalc',
-
   exposes: {
     './FcCalculatorComponent': './src/app/calculator/calculator-panel.component.ts',
   },
-
   shared: {
     "@angular/core": {
       singleton: true,
@@ -49,12 +47,17 @@ module.exports = withModuleFederationPlugin({
     'hslayers-ng': {
       singleton: true,
       strictVersion: true,
-      requiredVersion: '^10.0.0',
-      version: '10.0.0'
+      requiredVersion: '^11.0.0',
+      version: '11.0.0'
     },
-  }
+  },
+});
+withModuleFederationConfig.resolve.fallback = {
+  "path": false,
+  "fs": false
+};
+module.exports = withModuleFederationConfig;
 
-})
 /*module.exports = {
   devtool: false,
   plugins: [

Разница между файлами не показана из-за своего большого размера
+ 318 - 286
package-lock.json


+ 9 - 9
package.json

@@ -27,17 +27,17 @@
   },
   "homepage": "https://git.lesprojekt.cz/jmacura/fieldcalc-frontend/README.md",
   "dependencies": {
-    "hslayers-ng": "10.0.0"
+    "hslayers-ng": "~11.0.0"
   },
   "devDependencies": {
-    "@angular-architects/module-federation": "^14.3.14",
-    "@angular-builders/custom-webpack": "^14.0.0",
-    "@angular-devkit/build-angular": "^14.0.0",
-    "@angular-eslint/builder": "^14.0.0",
-    "@angular-eslint/eslint-plugin": "^14.0.0",
-    "@angular-eslint/eslint-plugin-template": "^14.0.0",
-    "@angular-eslint/template-parser": "^14.0.0",
-    "@angular/cli": "~14.2.10",
+    "@angular-architects/module-federation": "^15.0.3",
+    "@angular-builders/custom-webpack": "^15.0.0",
+    "@angular-devkit/build-angular": "^15.0.0",
+    "@angular-eslint/builder": "^15.2.0",
+    "@angular-eslint/eslint-plugin": "^15.2.0",
+    "@angular-eslint/eslint-plugin-template": "^15.2.0",
+    "@angular-eslint/template-parser": "^15.2.0",
+    "@angular/cli": "~15.1.2",
     "@types/karma-jasmine": "^4.0.2",
     "@typescript-eslint/eslint-plugin": "^5.7.0",
     "eslint": "^8.17.0",

Некоторые файлы не были показаны из-за большого количества измененных файлов