@rxap/environment 19.0.1 → 19.0.2-dev.1

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 (43) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +25 -23
  3. package/compodoc/changelog.html +4 -0
  4. package/compodoc/dependencies.html +1 -1
  5. package/compodoc/index.html +15 -21
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +1 -1
  8. package/docs/documentation.json +76 -75
  9. package/docs/html/assets/highlight.css +6 -13
  10. package/docs/html/classes/EnvironmentComponent.html +2 -2
  11. package/docs/html/functions/DetermineProductionEnvironmentName.html +1 -1
  12. package/docs/html/functions/DetermineReleaseName.html +1 -1
  13. package/docs/html/functions/IsNotReleaseVersion.html +1 -1
  14. package/docs/html/functions/ProvideEnvironment.html +1 -1
  15. package/docs/html/functions/UpdateEnvironment.html +2 -2
  16. package/docs/html/index.html +23 -22
  17. package/docs/html/interfaces/Environment.html +11 -11
  18. package/docs/html/modules.html +1 -1
  19. package/docs/html/types/AnySchema.html +1 -1
  20. package/docs/html/variables/RXAP_ENVIRONMENT.html +1 -1
  21. package/docs/markdown/README.md +26 -24
  22. package/docs/markdown/classes/EnvironmentComponent.md +3 -3
  23. package/docs/markdown/functions/DetermineProductionEnvironmentName.md +2 -2
  24. package/docs/markdown/functions/DetermineReleaseName.md +2 -2
  25. package/docs/markdown/functions/IsNotReleaseVersion.md +2 -2
  26. package/docs/markdown/functions/ProvideEnvironment.md +2 -2
  27. package/docs/markdown/functions/UpdateEnvironment.md +2 -2
  28. package/docs/markdown/globals.md +2 -2
  29. package/docs/markdown/interfaces/Environment.md +18 -18
  30. package/docs/markdown/type-aliases/AnySchema.md +2 -2
  31. package/docs/markdown/variables/RXAP_ENVIRONMENT.md +2 -2
  32. package/docs/wiki/Class.EnvironmentComponent.md +2 -2
  33. package/docs/wiki/Function.DetermineProductionEnvironmentName.md +1 -1
  34. package/docs/wiki/Function.DetermineReleaseName.md +1 -1
  35. package/docs/wiki/Function.IsNotReleaseVersion.md +1 -1
  36. package/docs/wiki/Function.ProvideEnvironment.md +1 -1
  37. package/docs/wiki/Function.UpdateEnvironment.md +1 -1
  38. package/docs/wiki/Home.md +25 -23
  39. package/docs/wiki/Interface.Environment.md +17 -17
  40. package/docs/wiki/TypeAlias.AnySchema.md +1 -1
  41. package/docs/wiki/Variable.RXAP_ENVIRONMENT.md +1 -1
  42. package/docs/wiki/globals.md +1 -1
  43. package/package.json +3 -3
@@ -1,37 +1,39 @@
1
- **@rxap/environment**
1
+ **@rxap/environment v19.0.2-dev.1**
2
2
 
3
3
  ***
4
4
 
5
5
  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.
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/@rxap/environment?style=flat-square)](https://www.npmjs.com/package/@rxap/environment)
8
- [![commitizen
9
- friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
10
- [![styled with
11
- prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
12
- ![Libraries.io dependency status for latest release, scoped npm
13
- package](https://img.shields.io/librariesio/release/npm/@rxap/environment)
8
+ [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
9
+ [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
10
+ ![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@rxap/environment)
14
11
  ![npm](https://img.shields.io/npm/dm/@rxap/environment)
15
- ![NPM](https://img.shields.io/npm/l/@rxap/environment) -
16
- [Installation](#installation)
12
+ ![NPM](https://img.shields.io/npm/l/@rxap/environment)
13
+
14
+ - [Installation](#installation)
17
15
  - [Generators](#generators)
18
- - [init](#init)
16
+ - [init](#init)
17
+
18
+ # Installation
19
19
 
20
- # Installation **Add the package to your workspace:** ```bash yarn add
21
- @rxap/environment
20
+ **Add the package to your workspace:**
21
+ ```bash
22
+ yarn add @rxap/environment
23
+ ```
24
+ **Install peer dependencies:**
25
+ ```bash
26
+ yarn add @angular/common@^19.1.3 @angular/core@^19.1.3
27
+ ```
28
+ **Execute the init generator:**
29
+ ```bash
30
+ yarn nx g @rxap/environment:init
22
31
  ```
23
- **Install peer dependencies:** ```bash yarn add
24
- @angular/common@^19.1.3 @angular/core@^19.1.3
25
- ```
26
- **Execute the init generator:** ```bash yarn nx g
27
- @rxap/environment:init ```
28
32
  # Generators
29
33
 
30
- ##
31
- init
32
- >
33
- Initialize the package in the workspace
34
+ ## init
35
+ > Initialize the package in the workspace
34
36
 
35
- ```bash nx g
36
- @rxap/environment:init
37
- ```
37
+ ```bash
38
+ nx g @rxap/environment:init
39
+ ```
@@ -1,4 +1,4 @@
1
- [**@rxap/environment**](../README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Class: EnvironmentComponent
8
8
 
9
- Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment/environment.component.ts#L22)
9
+ Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment/environment.component.ts#L22)
10
10
 
11
11
  ## Constructors
12
12
 
@@ -24,4 +24,4 @@ Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/pa
24
24
 
25
25
  > `readonly` **environment**: [`Environment`](../interfaces/Environment.md)
26
26
 
27
- Defined in: [environment/environment.component.ts:24](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment/environment.component.ts#L24)
27
+ Defined in: [environment/environment.component.ts:24](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment/environment.component.ts#L24)
@@ -1,4 +1,4 @@
1
- [**@rxap/environment**](../README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **DetermineProductionEnvironmentName**(`environment`): `undefined` \| `string`
10
10
 
11
- Defined in: [determine-production-environment-name.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/determine-production-environment-name.ts#L3)
11
+ Defined in: [determine-production-environment-name.ts:3](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/determine-production-environment-name.ts#L3)
12
12
 
13
13
  ## Parameters
14
14
 
@@ -1,4 +1,4 @@
1
- [**@rxap/environment**](../README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **DetermineReleaseName**(`environment`, `defaultReleaseName`): `string`
10
10
 
11
- Defined in: [determine-release-name.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/determine-release-name.ts#L3)
11
+ Defined in: [determine-release-name.ts:3](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/determine-release-name.ts#L3)
12
12
 
13
13
  ## Parameters
14
14
 
@@ -1,4 +1,4 @@
1
- [**@rxap/environment**](../README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **IsNotReleaseVersion**(`environment`): `boolean`
10
10
 
11
- Defined in: [is-not-release-version.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/is-not-release-version.ts#L3)
11
+ Defined in: [is-not-release-version.ts:3](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/is-not-release-version.ts#L3)
12
12
 
13
13
  ## Parameters
14
14
 
@@ -1,4 +1,4 @@
1
- [**@rxap/environment**](../README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **ProvideEnvironment**(`environment`): `object`
10
10
 
11
- Defined in: [provide-environment.ts:4](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/provide-environment.ts#L4)
11
+ Defined in: [provide-environment.ts:4](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/provide-environment.ts#L4)
12
12
 
13
13
  ## Parameters
14
14
 
@@ -1,4 +1,4 @@
1
- [**@rxap/environment**](../README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **UpdateEnvironment**(`environment`, `url`): `Promise`\<`void`\>
10
10
 
11
- Defined in: [update-environment.ts:6](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/update-environment.ts#L6)
11
+ Defined in: [update-environment.ts:6](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/update-environment.ts#L6)
12
12
 
13
13
  Loads the build.json and adds all keys to the environment object
14
14
 
@@ -1,8 +1,8 @@
1
- [**@rxap/environment**](README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](README.md)
2
2
 
3
3
  ***
4
4
 
5
- # @rxap/environment
5
+ # @rxap/environment v19.0.2-dev.1
6
6
 
7
7
  ## Classes
8
8
 
@@ -1,4 +1,4 @@
1
- [**@rxap/environment**](../README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: Environment
8
8
 
9
- Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L3)
9
+ Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L3)
10
10
 
11
11
  ## Indexable
12
12
 
@@ -18,7 +18,7 @@ Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe
18
18
 
19
19
  > **app**: `string`
20
20
 
21
- Defined in: [environment.ts:7](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L7)
21
+ Defined in: [environment.ts:7](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L7)
22
22
 
23
23
  The name of the app
24
24
 
@@ -28,7 +28,7 @@ The name of the app
28
28
 
29
29
  > `optional` **branch**: `null` \| `string`
30
30
 
31
- Defined in: [environment.ts:35](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L35)
31
+ Defined in: [environment.ts:35](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L35)
32
32
 
33
33
  The current branch
34
34
 
@@ -38,7 +38,7 @@ The current branch
38
38
 
39
39
  > `optional` **commit**: `null` \| `string`
40
40
 
41
- Defined in: [environment.ts:27](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L27)
41
+ Defined in: [environment.ts:27](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L27)
42
42
 
43
43
  The current commit
44
44
 
@@ -48,7 +48,7 @@ The current commit
48
48
 
49
49
  > `optional` **config**: `string` \| \{ `fromLocalStorage`: `boolean`; `fromUrlParam`: `string` \| `boolean`; `schema`: [`AnySchema`](../type-aliases/AnySchema.md); `static`: `Record`\<`string`, `any`\>; `url`: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]; \}
50
50
 
51
- Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L66)
51
+ Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L66)
52
52
 
53
53
  #### Type declaration
54
54
 
@@ -84,7 +84,7 @@ static config values
84
84
 
85
85
  > `optional` **moduleFederation**: `object`
86
86
 
87
- Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L47)
87
+ Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L47)
88
88
 
89
89
  #### manifest?
90
90
 
@@ -96,7 +96,7 @@ Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/753c877f
96
96
 
97
97
  > `optional` **name**: `string`
98
98
 
99
- Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L11)
99
+ Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L11)
100
100
 
101
101
  The name of the environment
102
102
 
@@ -106,7 +106,7 @@ The name of the environment
106
106
 
107
107
  > `optional` **openApi**: `object`
108
108
 
109
- Defined in: [environment.ts:79](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L79)
109
+ Defined in: [environment.ts:79](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L79)
110
110
 
111
111
  #### load?
112
112
 
@@ -118,7 +118,7 @@ Defined in: [environment.ts:79](https://gitlab.com/rxap/packages/-/blob/753c877f
118
118
 
119
119
  > `optional` **origin**: `string`
120
120
 
121
- Defined in: [environment.ts:77](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L77)
121
+ Defined in: [environment.ts:77](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L77)
122
122
 
123
123
  ***
124
124
 
@@ -126,7 +126,7 @@ Defined in: [environment.ts:77](https://gitlab.com/rxap/packages/-/blob/753c877f
126
126
 
127
127
  > **production**: `boolean`
128
128
 
129
- Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L15)
129
+ Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L15)
130
130
 
131
131
  The app is compiled from code in the production branch
132
132
 
@@ -136,7 +136,7 @@ The app is compiled from code in the production branch
136
136
 
137
137
  > `optional` **release**: `null` \| `string`
138
138
 
139
- Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L23)
139
+ Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L23)
140
140
 
141
141
  The current app release
142
142
 
@@ -146,7 +146,7 @@ The current app release
146
146
 
147
147
  > `optional` **sentry**: `object`
148
148
 
149
- Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L51)
149
+ Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L51)
150
150
 
151
151
  #### debug?
152
152
 
@@ -190,7 +190,7 @@ Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/753c877f
190
190
 
191
191
  > `optional` **serviceWorker**: `boolean`
192
192
 
193
- Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L19)
193
+ Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L19)
194
194
 
195
195
  Where the service worker is active or not
196
196
 
@@ -200,7 +200,7 @@ Where the service worker is active or not
200
200
 
201
201
  > `optional` **slug**: `object`
202
202
 
203
- Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L43)
203
+ Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L43)
204
204
 
205
205
  #### name?
206
206
 
@@ -212,7 +212,7 @@ Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/753c877f
212
212
 
213
213
  > `optional` **tag**: `null` \| `string`
214
214
 
215
- Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L39)
215
+ Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L39)
216
216
 
217
217
  The current tag
218
218
 
@@ -222,7 +222,7 @@ The current tag
222
222
 
223
223
  > `optional` **tier**: `string`
224
224
 
225
- Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L41)
225
+ Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L41)
226
226
 
227
227
  ***
228
228
 
@@ -230,6 +230,6 @@ Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/753c877f
230
230
 
231
231
  > `optional` **timestamp**: `null` \| `string` \| `number`
232
232
 
233
- Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L31)
233
+ Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L31)
234
234
 
235
235
  The build timestamp
@@ -1,4 +1,4 @@
1
- [**@rxap/environment**](../README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **AnySchema**: `object`
10
10
 
11
- Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L1)
11
+ Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L1)
12
12
 
13
13
  ## Type declaration
14
14
 
@@ -1,4 +1,4 @@
1
- [**@rxap/environment**](../README.md)
1
+ [**@rxap/environment v19.0.2-dev.1**](../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -8,4 +8,4 @@
8
8
 
9
9
  > `const` **RXAP\_ENVIRONMENT**: `InjectionToken`\<[`Environment`](../interfaces/Environment.md)\>
10
10
 
11
- Defined in: [environment/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment/tokens.ts#L4)
11
+ Defined in: [environment/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment/tokens.ts#L4)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: EnvironmentComponent
4
4
 
5
- Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment/environment.component.ts#L22)
5
+ Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment/environment.component.ts#L22)
6
6
 
7
7
  ## Constructors
8
8
 
@@ -20,4 +20,4 @@ Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/pa
20
20
 
21
21
  > `readonly` **environment**: [`Environment`](../wiki/Interface.Environment)
22
22
 
23
- Defined in: [environment/environment.component.ts:24](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment/environment.component.ts#L24)
23
+ Defined in: [environment/environment.component.ts:24](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment/environment.component.ts#L24)
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **DetermineProductionEnvironmentName**(`environment`): `undefined` \| `string`
6
6
 
7
- Defined in: [determine-production-environment-name.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/determine-production-environment-name.ts#L3)
7
+ Defined in: [determine-production-environment-name.ts:3](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/determine-production-environment-name.ts#L3)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **DetermineReleaseName**(`environment`, `defaultReleaseName`): `string`
6
6
 
7
- Defined in: [determine-release-name.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/determine-release-name.ts#L3)
7
+ Defined in: [determine-release-name.ts:3](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/determine-release-name.ts#L3)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **IsNotReleaseVersion**(`environment`): `boolean`
6
6
 
7
- Defined in: [is-not-release-version.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/is-not-release-version.ts#L3)
7
+ Defined in: [is-not-release-version.ts:3](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/is-not-release-version.ts#L3)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **ProvideEnvironment**(`environment`): `object`
6
6
 
7
- Defined in: [provide-environment.ts:4](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/provide-environment.ts#L4)
7
+ Defined in: [provide-environment.ts:4](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/provide-environment.ts#L4)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **UpdateEnvironment**(`environment`, `url`): `Promise`\<`void`\>
6
6
 
7
- Defined in: [update-environment.ts:6](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/update-environment.ts#L6)
7
+ Defined in: [update-environment.ts:6](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/update-environment.ts#L6)
8
8
 
9
9
  Loads the build.json and adds all keys to the environment object
10
10
 
package/docs/wiki/Home.md CHANGED
@@ -1,33 +1,35 @@
1
1
  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.
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@rxap/environment?style=flat-square)](https://www.npmjs.com/package/@rxap/environment)
4
- [![commitizen
5
- friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
6
- [![styled with
7
- prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
8
- ![Libraries.io dependency status for latest release, scoped npm
9
- package](https://img.shields.io/librariesio/release/npm/@rxap/environment)
4
+ [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
5
+ [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
6
+ ![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@rxap/environment)
10
7
  ![npm](https://img.shields.io/npm/dm/@rxap/environment)
11
- ![NPM](https://img.shields.io/npm/l/@rxap/environment) -
12
- [Installation](../wiki/#installation)
8
+ ![NPM](https://img.shields.io/npm/l/@rxap/environment)
9
+
10
+ - [Installation](../wiki/#installation)
13
11
  - [Generators](../wiki/#generators)
14
- - [init](../wiki/#init)
12
+ - [init](../wiki/#init)
13
+
14
+ # Installation
15
15
 
16
- # Installation **Add the package to your workspace:** ```bash yarn add
17
- @rxap/environment
16
+ **Add the package to your workspace:**
17
+ ```bash
18
+ yarn add @rxap/environment
19
+ ```
20
+ **Install peer dependencies:**
21
+ ```bash
22
+ yarn add @angular/common@^19.1.3 @angular/core@^19.1.3
23
+ ```
24
+ **Execute the init generator:**
25
+ ```bash
26
+ yarn nx g @rxap/environment:init
18
27
  ```
19
- **Install peer dependencies:** ```bash yarn add
20
- @angular/common@^19.1.3 @angular/core@^19.1.3
21
- ```
22
- **Execute the init generator:** ```bash yarn nx g
23
- @rxap/environment:init ```
24
28
  # Generators
25
29
 
26
- ##
27
- init
28
- >
29
- Initialize the package in the workspace
30
+ ## init
31
+ > Initialize the package in the workspace
30
32
 
31
- ```bash nx g
32
- @rxap/environment:init
33
- ```
33
+ ```bash
34
+ nx g @rxap/environment:init
35
+ ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: Environment
4
4
 
5
- Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L3)
5
+ Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L3)
6
6
 
7
7
  ## Indexable
8
8
 
@@ -14,7 +14,7 @@ Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/753c877fe
14
14
 
15
15
  > **app**: `string`
16
16
 
17
- Defined in: [environment.ts:7](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L7)
17
+ Defined in: [environment.ts:7](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L7)
18
18
 
19
19
  The name of the app
20
20
 
@@ -24,7 +24,7 @@ The name of the app
24
24
 
25
25
  > `optional` **branch**: `null` \| `string`
26
26
 
27
- Defined in: [environment.ts:35](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L35)
27
+ Defined in: [environment.ts:35](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L35)
28
28
 
29
29
  The current branch
30
30
 
@@ -34,7 +34,7 @@ The current branch
34
34
 
35
35
  > `optional` **commit**: `null` \| `string`
36
36
 
37
- Defined in: [environment.ts:27](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L27)
37
+ Defined in: [environment.ts:27](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L27)
38
38
 
39
39
  The current commit
40
40
 
@@ -44,7 +44,7 @@ The current commit
44
44
 
45
45
  > `optional` **config**: `string` \| \{ `fromLocalStorage`: `boolean`; `fromUrlParam`: `string` \| `boolean`; `schema`: [`AnySchema`](../wiki/TypeAlias.AnySchema); `static`: `Record`\<`string`, `any`\>; `url`: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]; \}
46
46
 
47
- Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L66)
47
+ Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L66)
48
48
 
49
49
  #### Type declaration
50
50
 
@@ -80,7 +80,7 @@ static config values
80
80
 
81
81
  > `optional` **moduleFederation**: `object`
82
82
 
83
- Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L47)
83
+ Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L47)
84
84
 
85
85
  #### manifest?
86
86
 
@@ -92,7 +92,7 @@ Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/753c877f
92
92
 
93
93
  > `optional` **name**: `string`
94
94
 
95
- Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L11)
95
+ Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L11)
96
96
 
97
97
  The name of the environment
98
98
 
@@ -102,7 +102,7 @@ The name of the environment
102
102
 
103
103
  > `optional` **openApi**: `object`
104
104
 
105
- Defined in: [environment.ts:79](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L79)
105
+ Defined in: [environment.ts:79](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L79)
106
106
 
107
107
  #### load?
108
108
 
@@ -114,7 +114,7 @@ Defined in: [environment.ts:79](https://gitlab.com/rxap/packages/-/blob/753c877f
114
114
 
115
115
  > `optional` **origin**: `string`
116
116
 
117
- Defined in: [environment.ts:77](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L77)
117
+ Defined in: [environment.ts:77](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L77)
118
118
 
119
119
  ***
120
120
 
@@ -122,7 +122,7 @@ Defined in: [environment.ts:77](https://gitlab.com/rxap/packages/-/blob/753c877f
122
122
 
123
123
  > **production**: `boolean`
124
124
 
125
- Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L15)
125
+ Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L15)
126
126
 
127
127
  The app is compiled from code in the production branch
128
128
 
@@ -132,7 +132,7 @@ The app is compiled from code in the production branch
132
132
 
133
133
  > `optional` **release**: `null` \| `string`
134
134
 
135
- Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L23)
135
+ Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L23)
136
136
 
137
137
  The current app release
138
138
 
@@ -142,7 +142,7 @@ The current app release
142
142
 
143
143
  > `optional` **sentry**: `object`
144
144
 
145
- Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L51)
145
+ Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L51)
146
146
 
147
147
  #### debug?
148
148
 
@@ -186,7 +186,7 @@ Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/753c877f
186
186
 
187
187
  > `optional` **serviceWorker**: `boolean`
188
188
 
189
- Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L19)
189
+ Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L19)
190
190
 
191
191
  Where the service worker is active or not
192
192
 
@@ -196,7 +196,7 @@ Where the service worker is active or not
196
196
 
197
197
  > `optional` **slug**: `object`
198
198
 
199
- Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L43)
199
+ Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L43)
200
200
 
201
201
  #### name?
202
202
 
@@ -208,7 +208,7 @@ Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/753c877f
208
208
 
209
209
  > `optional` **tag**: `null` \| `string`
210
210
 
211
- Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L39)
211
+ Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L39)
212
212
 
213
213
  The current tag
214
214
 
@@ -218,7 +218,7 @@ The current tag
218
218
 
219
219
  > `optional` **tier**: `string`
220
220
 
221
- Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L41)
221
+ Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L41)
222
222
 
223
223
  ***
224
224
 
@@ -226,6 +226,6 @@ Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/753c877f
226
226
 
227
227
  > `optional` **timestamp**: `null` \| `string` \| `number`
228
228
 
229
- Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/environment/src/lib/environment.ts#L31)
229
+ Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/environment/src/lib/environment.ts#L31)
230
230
 
231
231
  The build timestamp