ngx-edu-sharing-metaqs2 0.9.22 → 0.9.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -5,7 +5,7 @@ This library provides the widgets for the MetaDataQualityService.
5
5
  A running version of the widgets can be found [here](https://metaqs-2-ng.staging.openeduhub.net/).
6
6
 
7
7
  ## Dependencies
8
- - Angular 17 to 19 (16 is not supported due to using input() signals in the library)
8
+ - Angular 16 to 19
9
9
  - [ng2-charts](https://valor-software.com/ng2-charts/)
10
10
 
11
11
  These are not enforced as peer dependencies, but are required for the widgets to work:
@@ -14,13 +14,20 @@ These are not enforced as peer dependencies, but are required for the widgets to
14
14
 
15
15
  ## Installation
16
16
  As the library uses the MatLuxonDateModule, you need to install the adapter according to your material version:
17
-
18
17
  `npx ng add @angular/material-luxon-adapter`
18
+ _(declaring it in peerDependencies would always install the newest version)_
19
+
20
+ ### Angular >= 17
19
21
  Then install the library via npm:
20
22
 
21
23
  `npm install ngx-edu-sharing-metaqs2 --save`
22
24
 
23
- _(declaring it in peerDependencies would always install the newest version)_
25
+ ### with Angular 16
26
+
27
+ Our peerDependency on ng2-charts >= 6 has itself a peerDependency on Angular 17, but also works with Angular 16.
28
+ You need to install the lib with the `--force` flag:
29
+ `npm install ngx-edu-sharing-metaqs2 --save --force`
30
+
24
31
  ## Usage
25
32
  This library is provided as an Angular module.
26
33
  To use it in your application, import the `NgMetaWidgetsModule` in your `app.module.ts` file:
package/package.json CHANGED
@@ -2,12 +2,12 @@
2
2
  "name": "ngx-edu-sharing-metaqs2",
3
3
  "description": "OEH MetaQS widgets library",
4
4
  "license": "GNU GPL v2",
5
- "version": "0.9.22",
5
+ "version": "0.9.23",
6
6
  "author": "Torsten Simon",
7
7
  "peerDependencies": {
8
- "@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
9
- "@angular/core": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
10
- "ng2-charts": "^6.0.1"
8
+ "@angular/common": ">=16.0.0",
9
+ "@angular/core": ">=16.0.0",
10
+ "ng2-charts": ">=6.0.1"
11
11
  },
12
12
  "dependencies": {
13
13
  "tslib": "^2.3.0"