diff --git a/docs/guide/custom-app.md b/docs/guide/custom-app.md index d64d16e28..a038d5bff 100644 --- a/docs/guide/custom-app.md +++ b/docs/guide/custom-app.md @@ -173,6 +173,7 @@ npm install --save \ @ngrx/router-store \ @ngrx/store \ @ngrx/store-devtools \ + @ngrx/operators \ @ngx-translate/core \ @ngx-translate/http-loader ``` diff --git a/package/generate-package.js b/package/generate-package.js old mode 100644 new mode 100755 index 825d18538..79b46f253 --- a/package/generate-package.js +++ b/package/generate-package.js @@ -1,11 +1,11 @@ import * as ngPackage from 'ng-packagr' -import baseTsConfig from '../tsconfig.base.json' assert { type: 'json' } +import baseTsConfig from '../tsconfig.base.json' with { type: 'json' } import fs from 'fs/promises' -import { existsSync, createReadStream, createWriteStream, mkdirSync } from 'fs' +import { createReadStream, createWriteStream, existsSync, mkdirSync } from 'fs' import path from 'path' import { fileURLToPath } from 'url' import { Transform } from 'stream' -import { rewriteFiles, listDirectoryFiles } from '../tools/file-utils.js' +import { listDirectoryFiles, rewriteFiles } from '../tools/file-utils.js' const PATH_ALIASES = baseTsConfig.compilerOptions.paths diff --git a/package/ng-package.json b/package/ng-package.json index ae171d34c..0aa13ecf2 100644 --- a/package/ng-package.json +++ b/package/ng-package.json @@ -10,8 +10,13 @@ "@geospatial-sdk/core", "@geospatial-sdk/openlayers", "@geospatial-sdk/geocoding", + "@geospatial-sdk/legend", "@ltd/j-toml", "@messageformat/core", + "@ng-icons/core", + "@ng-icons/iconoir", + "@ng-icons/material-icons", + "@ng-icons/tabler-icons", "@nx/angular", "@rgrove/parse-xml", "alasql", @@ -35,6 +40,7 @@ "papaparse", "pg", "proj4", + "rdflib", "reflect-metadata", "semver", "tippy.js", diff --git a/package/package.json b/package/package.json index fa8b9849a..6c012c7bc 100644 --- a/package/package.json +++ b/package/package.json @@ -2,7 +2,7 @@ "name": "geonetwork-ui", "version": "2.4.0-alpha.2", "engines": { - "node": ">=14.17.0" + "node": ">=20" }, "main": "./index.ts", "type": "module", @@ -14,65 +14,72 @@ "url": "https://github.com/geonetwork/geonetwork-ui" }, "peerDependencies": { - "@angular/animations": "16.x || 17.x", - "@angular/cdk": "16.x || 17.x", - "@angular/common": "16.x || 17.x", - "@angular/compiler": "16.x || 17.x", - "@angular/core": "16.x || 17.x", - "@angular/forms": "16.x || 17.x", - "@angular/material": "16.x || 17.x", - "@angular/material-moment-adapter": "16.x || 17.x", - "@angular/platform-browser": "16.x || 17.x", - "@angular/platform-browser-dynamic": "16.x || 17.x", - "@angular/router": "16.x || 17.x", - "@ngrx/component": "16.x || 17.x", - "@ngrx/effects": "16.x || 17.x", - "@ngrx/router-store": "16.x || 17.x", - "@ngrx/store": "16.x || 17.x", - "@ngrx/store-devtools": "16.x || 17.x", - "@ngx-translate/core": "14.x", - "@ngx-translate/http-loader": "7.x", + "@angular/animations": "17.x || 18.x || 19.x", + "@angular/cdk": "17.x || 18.x || 19.x", + "@angular/common": "17.x || 18.x || 19.x", + "@angular/compiler": "17.x || 18.x || 19.x", + "@angular/core": "17.x || 18.x || 19.x", + "@angular/forms": "17.x || 18.x || 19.x", + "@angular/material": "17.x || 18.x || 19.x", + "@angular/material-moment-adapter": "17.x || 18.x || 19.x", + "@angular/platform-browser": "17.x || 18.x || 19.x", + "@angular/platform-browser-dynamic": "17.x || 18.x || 19.x", + "@angular/router": "17.x || 18.x || 19.x", + "@ngrx/component": "17.x || 18.x || 19.x", + "@ngrx/effects": "17.x || 18.x || 19.x", + "@ngrx/router-store": "17.x || 18.x || 19.x", + "@ngrx/store": "17.x || 18.x || 19.x", + "@ngrx/store-devtools": "17.x || 18.x || 19.x", + "@ngrx/operators": "18.x", + "@ngx-translate/core": "15.x", + "@ngx-translate/http-loader": "16.x", "rxjs": "7.x", "zone.js": "*", "tailwindcss": "3.x" }, "dependencies": { "@biesbjerg/ngx-translate-extract-marker": "^1.0.0", - "@camptocamp/ogc-client": "1.1.1-dev.c75dcba", - "@geospatial-sdk/core": "^0.0.5-dev.20", - "@geospatial-sdk/geocoding": "^0.0.5-dev.20", - "@geospatial-sdk/openlayers": "^0.0.5-dev.20", + "@camptocamp/ogc-client": "1.1.1-dev.3e2d3cc", + "@geospatial-sdk/core": "0.0.5-dev.31", + "@geospatial-sdk/geocoding": "0.0.5-dev.31", + "@geospatial-sdk/legend": "0.0.5-dev.31", + "@geospatial-sdk/openlayers": "0.0.5-dev.31", "@ltd/j-toml": "~1.35.2", "@messageformat/core": "^3.0.1", - "@nx/angular": "16.6.0", - "@rgrove/parse-xml": "~4.0.1", - "alasql": "^3.1.0", - "axios": "^1.6.0", + "@ng-icons/core": "29.10.0", + "@ng-icons/iconoir": "29.10.0", + "@ng-icons/material-icons": "29.10.0", + "@ng-icons/tabler-icons": "29.10.0", + "@nx/angular": "20.2.2", + "@rgrove/parse-xml": "4.2.0", + "alasql": "4.6.0", + "axios": "1.7.9", "basiclightbox": "^5.0.4", - "chart.js": "^4.2.0", - "chroma-js": "^2.1.2", - "date-fns": "^2.29.3", + "chart.js": "4.4.7", + "chroma-js": "3.1.2", + "date-fns": "4.1.0", "document-register-element": "^1.14.10", - "duration-relativetimeformat": "^2.0.3", - "embla-carousel": "^8.0.0-rc14", - "express": "^4.17.1", + "duration-relativetimeformat": "^2.0.4", + "embla-carousel": "8.5.1", + "express": "^4.21.1", "geojson-validation": "^1.0.2", - "marked": "^11.1.1", - "moment": "^2.29.4", - "ng-table-virtual-scroll": "^1.4.1", + "marked": "15.0.4", + "moment": "2.30.1", + "ng-table-virtual-scroll": "1.6.1", "ngx-chips": "3.0.0", - "ngx-dropzone": "^3.0.0", - "ngx-translate-messageformat-compiler": "~6.5.0", + "ngx-dropzone": "3.1.0", + "ngx-translate-messageformat-compiler": "7.0.0", "ol": "^8.2.0", - "papaparse": "^5.3.1", + "papaparse": "5.4.1", "pg": "^8.9.0", "proj4": "^2.9.2", + "rdflib": "^2.2.35", "reflect-metadata": "^0.1.13", - "semver": "^7.5.4", - "tippy.js": "^6.3.7", + "semver": "7.6.3", + "tippy.js": "6.3.7", "tslib": "^2.3.0", "typeorm": "^0.3.14", "whatwg-fetch": "^3.6.2", - "xlsx": "^0.17.3" + "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz" } }