Skip to content

Commit

Permalink
chore: update npm package dependencies
Browse files Browse the repository at this point in the history
Also fix JSON type assertion in script
  • Loading branch information
jahow committed Jan 14, 2025
1 parent 3285c1f commit dd1e81e
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 45 deletions.
1 change: 1 addition & 0 deletions docs/guide/custom-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ npm install --save \
@ngrx/router-store \
@ngrx/store \
@ngrx/store-devtools \
@ngrx/operators \
@ngx-translate/core \
@ngx-translate/http-loader
```
Expand Down
6 changes: 3 additions & 3 deletions package/generate-package.js
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 6 additions & 0 deletions package/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -35,6 +40,7 @@
"papaparse",
"pg",
"proj4",
"rdflib",
"reflect-metadata",
"semver",
"tippy.js",
Expand Down
91 changes: 49 additions & 42 deletions package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
}

0 comments on commit dd1e81e

Please sign in to comment.