@dsivd/prestations-ng 19.0.0-beta.10 → 19.0.0-beta.11

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.
package/.browserslistrc CHANGED
@@ -1,11 +1,24 @@
1
- # Se mettre à la racine du projet
2
- # Mettre à jour avec "npx browserslist --update-db"
3
- # Valider le contenu de ce fichier avec `npx browserslist --coverage=CH "> 2% in CH, last 2 versions, not dead, Firefox ESR, not IE_Mob <= 11, not IE <= 11"`
4
- # Le pourcentage accepté doit être supérieur à 80%
5
- # Regénérer le fichier "supported-browsers.ts" avec "npm run buildScript:generateBrowsersList"
1
+ # Se mettre a la racine du projet
2
+ # Mettre a jour avec "npx browserslist --update-db"
3
+ # Ce bloc par defaut est consomme par Angular CLI.
4
+ # Regenerer le fichier "supported-browser.ts" avec "npm run buildScript:generateBrowsersList"
6
5
  #######################################################################################################################################################################################
7
- # Liste des navigateurs supportés
6
+ # Liste des navigateurs supportes par Angular CLI (evite les warnings "Unsupported browsers")
8
7
  #######################################################################################################################################################################################
8
+ last 2 Chrome major versions
9
+ last 2 Edge major versions
10
+ last 2 Firefox major versions
11
+ Firefox ESR
12
+ last 2 and_chr major versions
13
+ not dead
14
+ # Maintenance: passer a 19.x (puis 20.x, ...) quand la matrice de support Angular l'autorise.
15
+ ios_saf 18.0-18.99
16
+ safari 18.0-18.99
17
+
18
+ [supportedBrowsersRegex]
19
+ # Valider ce bloc avec:
20
+ # npx browserslist --config=src/.browserslistrc --env=supportedBrowsersRegex --coverage=CH
21
+ # Le pourcentage accepte doit etre environ 80%
9
22
  > 2% in CH
10
23
  last 2 versions
11
24
  not dead
package/UPGRADING_V19.md CHANGED
@@ -354,7 +354,9 @@ ng update ngx-matomo-client@9
354
354
 
355
355
  **IMPORTANT: Fix your project because our new prestations-ng v19+ is standalone, uses signals instead of observables and inject function instead of constructor injection parameter.**
356
356
 
357
- - Remove all your `@dsivd/prestations-ng` imports of modules and make sure you are using the new standalone components instead by adding them directly from your html file "alt+enter".
357
+ - Only keep `modules` relative to your application such as `AppRoutingModule`.
358
+ - Remove all other imports of **modules** and make sure you are using the new **standalone components** by adding them directly from your HTML file "alt+enter".
359
+ - Add `providePrestationsNgCore(),` in `providers` array of your `app.modules.ts` file.
358
360
  - Check every `constructor` in your project, and remove useless `constructor` parameters that are not used anymore (like `ActivatedRoute` in components extending `AbstractPageComponent`).
359
361
 
360
362
  Run the following command until you have no more errors.
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "ng-update": {
41
41
  "migrations": "./schematics/migration-collection.json"
42
42
  },
43
- "version": "19.0.0-beta.10",
43
+ "version": "19.0.0-beta.11",
44
44
  "module": "fesm2022/dsivd-prestations-ng.mjs",
45
45
  "typings": "types/dsivd-prestations-ng.d.ts",
46
46
  "exports": {