@rxap/environment 22.0.0-dev.1 → 22.0.0-dev.2

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 (54) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +5 -3
  3. package/compodoc/changelog.html +11 -0
  4. package/compodoc/index.html +4 -3
  5. package/compodoc/js/search/search_index.js +2 -2
  6. package/compodoc/llms.txt +3 -1
  7. package/compodoc/miscellaneous/functions.html +81 -0
  8. package/compodoc/properties.html +1 -1
  9. package/docs/documentation.json +83 -59
  10. package/docs/html/classes/EnvironmentComponent.html +5 -5
  11. package/docs/html/functions/DetermineProductionEnvironmentName.html +4 -4
  12. package/docs/html/functions/DetermineReleaseName.html +4 -4
  13. package/docs/html/functions/IsNotReleaseVersion.html +4 -4
  14. package/docs/html/functions/ProvideEnvironment.html +4 -4
  15. package/docs/html/functions/UpdateEnvironment.html +4 -4
  16. package/docs/html/hierarchy.html +4 -4
  17. package/docs/html/index.html +8 -7
  18. package/docs/html/interfaces/Environment.html +20 -20
  19. package/docs/html/modules.html +4 -4
  20. package/docs/html/types/AnySchema.html +5 -5
  21. package/docs/html/variables/RXAP_ENVIRONMENT.html +4 -4
  22. package/docs/markdown/README.md +6 -4
  23. package/docs/markdown/classes/EnvironmentComponent.md +3 -3
  24. package/docs/markdown/functions/DetermineProductionEnvironmentName.md +2 -2
  25. package/docs/markdown/functions/DetermineReleaseName.md +2 -2
  26. package/docs/markdown/functions/IsNotReleaseVersion.md +2 -2
  27. package/docs/markdown/functions/ProvideEnvironment.md +2 -2
  28. package/docs/markdown/functions/UpdateEnvironment.md +2 -2
  29. package/docs/markdown/globals.md +2 -2
  30. package/docs/markdown/interfaces/Environment.md +18 -18
  31. package/docs/markdown/type-aliases/AnySchema.md +3 -3
  32. package/docs/markdown/variables/RXAP_ENVIRONMENT.md +2 -2
  33. package/docs/wiki/Class.EnvironmentComponent.md +2 -2
  34. package/docs/wiki/Function.DetermineProductionEnvironmentName.md +1 -1
  35. package/docs/wiki/Function.DetermineReleaseName.md +1 -1
  36. package/docs/wiki/Function.IsNotReleaseVersion.md +1 -1
  37. package/docs/wiki/Function.ProvideEnvironment.md +1 -1
  38. package/docs/wiki/Function.UpdateEnvironment.md +1 -1
  39. package/docs/wiki/Home.md +5 -3
  40. package/docs/wiki/Interface.Environment.md +17 -17
  41. package/docs/wiki/TypeAlias.AnySchema.md +2 -2
  42. package/docs/wiki/Variable.RXAP_ENVIRONMENT.md +1 -1
  43. package/docs/wiki/globals.md +1 -1
  44. package/generators.json +16 -0
  45. package/package.json +4 -6
  46. package/src/generators/init/generator.js +120 -0
  47. package/src/generators/init/index.js +6 -0
  48. package/src/generators/init/schema.json +8 -0
  49. package/src/generators/package.json +3 -0
  50. package/compodoc/js/libs/vis.min.js +0 -47
  51. package/compodoc/js/menu-wc_es5.js +0 -40
  52. package/compodoc/modules/EnvironmentComponentModule/dependencies.svg +0 -66
  53. package/compodoc/modules/EnvironmentComponentModule.html +0 -426
  54. package/theme.css +0 -1
package/compodoc/llms.txt CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Provides utilities and components for managing application environments in Angular, including determining environment names, release versions, and providing environment-specific configurations. It offers a component to display environment information and functions to update the environment with build details. The package also includes an init generator for setting up peer dependencies.
4
4
 
5
- > Generated by compodoc 2.0.0 at 2026-11-23T22:34:11.271Z, llm-md export.
5
+ > Generated by compodoc 2.0.0 at 2026-11-26T16:48:23.989Z, llm-md export.
6
6
 
7
7
  ## Components
8
8
 
@@ -51,6 +51,8 @@ Properties:
51
51
  Defined in `src/lib/is-not-release-version.ts`
52
52
  - `ProvideEnvironment(environment: Environment)`
53
53
  Defined in `src/lib/provide-environment.ts`
54
+ - `resolvePackageDir(root: string, packageName: string): string` — Resolves the directory of a package installed in the workspace. The lookup starts at the workspace root, not at this package: with an isolated node\_modules layout (pnpm) or Yarn PnP the peer is not resolvable from here. The plain node\_modules path is the fallback for packages whose exports map hides their package.json.
55
+ Defined in `src/generators/init/generator.ts`
54
56
  - `UpdateEnvironment(environment: Environment, url: string = 'build.json')` — Loads the build.json and adds all keys to the environment object
55
57
  Defined in `src/lib/update-environment.ts`
56
58
 
@@ -151,6 +151,9 @@
151
151
  <li>
152
152
  <a href="#ProvideEnvironment" title="src/lib/provide-environment.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>ProvideEnvironment</b>&nbsp;&nbsp;&nbsp;(src/.../provide-environment.ts)</span></a>
153
153
  </li>
154
+ <li>
155
+ <a href="#resolvePackageDir" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>resolvePackageDir</b>&nbsp;&nbsp;&nbsp;(src/.../generator.ts)</span></a>
156
+ </li>
154
157
  <li>
155
158
  <a href="#UpdateEnvironment" title="src/lib/update-environment.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>UpdateEnvironment</b>&nbsp;&nbsp;&nbsp;(src/.../update-environment.ts)</span></a>
156
159
  </li>
@@ -368,6 +371,84 @@
368
371
  </tr>
369
372
  </tbody>
370
373
  </table>
374
+ <table class="table table-sm table-bordered">
375
+ <tbody>
376
+ <tr>
377
+ <td class="col-md-4">
378
+ <a name="resolvePackageDir"></a>
379
+ <span class="name">
380
+ <span ><b>resolvePackageDir</b></span>
381
+ <a href="#resolvePackageDir"><span class="icon ion-ios-link"></span></a>
382
+ </span>
383
+ </td>
384
+ </tr>
385
+ <tr>
386
+ <td class="col-md-4">
387
+ <code>resolvePackageDir(root: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, packageName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
388
+ </td>
389
+ </tr>
390
+
391
+
392
+
393
+
394
+ <tr>
395
+ <td class="col-md-4">
396
+ <div class="io-description"><p>Resolves the directory of a package installed in the workspace. The lookup starts at the
397
+ workspace root, not at this package: with an isolated node_modules layout (pnpm) or Yarn PnP
398
+ the peer is not resolvable from here. The plain node_modules path is the fallback for packages
399
+ whose <code>exports</code> map hides their package.json.</p>
400
+ </div>
401
+
402
+ <div class="io-description">
403
+ <b>Parameters :</b>
404
+
405
+ <table class="params">
406
+ <thead>
407
+ <tr>
408
+ <td>Name</td>
409
+ <td>Type</td>
410
+ <td>Optional</td>
411
+ </tr>
412
+ </thead>
413
+ <tbody>
414
+ <tr>
415
+ <td>root</td>
416
+ <td>
417
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
418
+ </td>
419
+
420
+ <td>
421
+ No
422
+ </td>
423
+
424
+
425
+ </tr>
426
+ <tr>
427
+ <td>packageName</td>
428
+ <td>
429
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
430
+ </td>
431
+
432
+ <td>
433
+ No
434
+ </td>
435
+
436
+
437
+ </tr>
438
+ </tbody>
439
+ </table>
440
+ </div>
441
+ <div class="io-description">
442
+ <b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
443
+
444
+ </div>
445
+ <div class="io-description">
446
+
447
+ </div>
448
+ </td>
449
+ </tr>
450
+ </tbody>
451
+ </table>
371
452
  </section>
372
453
  <h3>src/lib/is-not-release-version.ts</h3>
373
454
  <section data-compodoc="block-methods">
@@ -127,7 +127,7 @@
127
127
  </ol>
128
128
  <ul class="properties-list">
129
129
  <li>
130
- <b>Version</b> : 22.0.0-dev.1</li>
130
+ <b>Version</b> : 22.0.0-dev.2</li>
131
131
  <li>
132
132
  <b>Description</b> : Provides utilities and components for managing application environments in Angular, including determining environment names, release versions, and providing environment-specific configurations. It offers a component to display environment information and functions to update the environment with build details. The package also includes an init generator for setting up peer dependencies.
133
133
  </li>