@rxap/environment 19.2.0 → 21.0.1-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.
- package/CHANGELOG.md +15 -0
- package/compodoc/changelog.html +12 -0
- package/compodoc/components/EnvironmentComponent.html +56 -36
- package/compodoc/dependencies.html +3 -3
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +73 -73
- package/docs/html/classes/EnvironmentComponent.html +2 -2
- package/docs/html/functions/DetermineProductionEnvironmentName.html +1 -1
- package/docs/html/functions/DetermineReleaseName.html +1 -1
- package/docs/html/functions/IsNotReleaseVersion.html +1 -1
- package/docs/html/functions/ProvideEnvironment.html +1 -1
- package/docs/html/functions/UpdateEnvironment.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/Environment.html +11 -11
- package/docs/html/modules.html +1 -1
- package/docs/html/types/AnySchema.html +1 -1
- package/docs/html/variables/RXAP_ENVIRONMENT.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/EnvironmentComponent.md +3 -3
- package/docs/markdown/functions/DetermineProductionEnvironmentName.md +2 -2
- package/docs/markdown/functions/DetermineReleaseName.md +2 -2
- package/docs/markdown/functions/IsNotReleaseVersion.md +2 -2
- package/docs/markdown/functions/ProvideEnvironment.md +2 -2
- package/docs/markdown/functions/UpdateEnvironment.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/Environment.md +18 -18
- package/docs/markdown/type-aliases/AnySchema.md +2 -2
- package/docs/markdown/variables/RXAP_ENVIRONMENT.md +2 -2
- package/docs/wiki/Class.EnvironmentComponent.md +2 -2
- package/docs/wiki/Function.DetermineProductionEnvironmentName.md +1 -1
- package/docs/wiki/Function.DetermineReleaseName.md +1 -1
- package/docs/wiki/Function.IsNotReleaseVersion.md +1 -1
- package/docs/wiki/Function.ProvideEnvironment.md +1 -1
- package/docs/wiki/Function.UpdateEnvironment.md +1 -1
- package/docs/wiki/Interface.Environment.md +17 -17
- package/docs/wiki/TypeAlias.AnySchema.md +1 -1
- package/docs/wiki/Variable.RXAP_ENVIRONMENT.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-environment.mjs +9 -19
- package/fesm2022/rxap-environment.mjs.map +1 -1
- package/package.json +10 -9
- package/{lib/environment.d.ts → types/rxap-environment.d.ts} +32 -2
- package/index.d.ts +0 -8
- package/lib/determine-production-environment-name.d.ts +0 -2
- package/lib/determine-release-name.d.ts +0 -2
- package/lib/environment/environment.component.d.ts +0 -7
- package/lib/environment/tokens.d.ts +0 -3
- package/lib/is-not-release-version.d.ts +0 -2
- package/lib/provide-environment.d.ts +0 -5
- package/lib/update-environment.d.ts +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## 21.0.1-dev.1 (2026-11-22)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **angular:** add ng-prism styleguide targets and environment showcase
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Claude Opus 5.5
|
|
10
|
+
- Merzough Münker
|
|
11
|
+
|
|
12
|
+
## 21.0.1-dev.0 (2026-11-20)
|
|
13
|
+
|
|
14
|
+
This was a version bump only for angular-environment to align it with other projects, there were no code changes.
|
|
15
|
+
|
|
1
16
|
## 19.2.0 (2026-11-20)
|
|
2
17
|
|
|
3
18
|
This was a version bump only for angular-environment to align it with other projects, there were no code changes.
|
package/compodoc/changelog.html
CHANGED
|
@@ -82,6 +82,18 @@
|
|
|
82
82
|
<div class="content getting-started">
|
|
83
83
|
<div class="content-data">
|
|
84
84
|
|
|
85
|
+
<h2>21.0.1-dev.1 (2026-11-22)</h2>
|
|
86
|
+
<h3>🚀 Features</h3>
|
|
87
|
+
<ul>
|
|
88
|
+
<li><strong>angular:</strong> add ng-prism styleguide targets and environment showcase</li>
|
|
89
|
+
</ul>
|
|
90
|
+
<h3>❤️ Thank You</h3>
|
|
91
|
+
<ul>
|
|
92
|
+
<li>Claude Opus 5.5</li>
|
|
93
|
+
<li>Merzough Münker</li>
|
|
94
|
+
</ul>
|
|
95
|
+
<h2>21.0.1-dev.0 (2026-11-20)</h2>
|
|
96
|
+
<p>This was a version bump only for angular-environment to align it with other projects, there were no code changes.</p>
|
|
85
97
|
<h2>19.2.0 (2026-11-20)</h2>
|
|
86
98
|
<p>This was a version bump only for angular-environment to align it with other projects, there were no code changes.</p>
|
|
87
99
|
<h2>19.2.0-dev.0 (2026-06-19)</h2>
|
|
@@ -161,7 +161,6 @@
|
|
|
161
161
|
<tr>
|
|
162
162
|
<td class="col-md-3">imports</td>
|
|
163
163
|
<td class="col-md-9">
|
|
164
|
-
<code>NgIf</code>
|
|
165
164
|
<code>DatePipe</code>
|
|
166
165
|
</td>
|
|
167
166
|
</tr>
|
|
@@ -256,7 +255,7 @@
|
|
|
256
255
|
</tr>
|
|
257
256
|
<tr>
|
|
258
257
|
<td class="col-md-4">
|
|
259
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
258
|
+
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/environment/environment.component.ts:31</a></div>
|
|
260
259
|
</td>
|
|
261
260
|
</tr>
|
|
262
261
|
|
|
@@ -269,18 +268,25 @@
|
|
|
269
268
|
|
|
270
269
|
|
|
271
270
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
272
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
273
|
-
DatePipe,
|
|
274
|
-
NgIf,
|
|
275
|
-
} from '@angular/common';
|
|
271
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { DatePipe } from '@angular/common';
|
|
276
272
|
import {
|
|
277
273
|
ChangeDetectionStrategy,
|
|
278
274
|
Component,
|
|
279
275
|
inject,
|
|
280
276
|
} from '@angular/core';
|
|
277
|
+
import { Showcase } from '@ng-prism/core';
|
|
281
278
|
import { Environment } from '../environment';
|
|
282
279
|
import { RXAP_ENVIRONMENT } from './tokens';
|
|
283
280
|
|
|
281
|
+
@Showcase({
|
|
282
|
+
title: 'Environment',
|
|
283
|
+
category: 'Environment',
|
|
284
|
+
description: 'Shows the build information of the running app. The values are read from the `RXAP_ENVIRONMENT` token, which the styleguide host provides with demo data.',
|
|
285
|
+
status: 'stable',
|
|
286
|
+
variants: [
|
|
287
|
+
{ name: 'Default' },
|
|
288
|
+
],
|
|
289
|
+
})
|
|
284
290
|
@Component({
|
|
285
291
|
selector: 'rxap-environment',
|
|
286
292
|
templateUrl: './environment.component.html',
|
|
@@ -288,7 +294,7 @@ import { RXAP_ENVIRONMENT } from './tokens';
|
|
|
288
294
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
289
295
|
|
|
290
296
|
host: { class: 'rxap-environment' },
|
|
291
|
-
imports: [
|
|
297
|
+
imports: [DatePipe]
|
|
292
298
|
})
|
|
293
299
|
export class EnvironmentComponent {
|
|
294
300
|
|
|
@@ -302,38 +308,52 @@ export class EnvironmentComponent {
|
|
|
302
308
|
<pre class="line-numbers"><code class="language-html"><div class="p-4">
|
|
303
309
|
<h2 class="text-xl font-bold pb-2">{{ environment.app }}</h2>
|
|
304
310
|
<table class="table-auto">
|
|
305
|
-
|
|
306
|
-
<
|
|
307
|
-
|
|
308
|
-
|
|
311
|
+
@if (environment.name) {
|
|
312
|
+
<tr>
|
|
313
|
+
<th>Environment</th>
|
|
314
|
+
<td>{{environment.name}}</td>
|
|
315
|
+
</tr>
|
|
316
|
+
}
|
|
309
317
|
<tr>
|
|
310
318
|
<th>Production</th>
|
|
311
319
|
<td>{{environment.production}}</td>
|
|
312
320
|
</tr>
|
|
313
|
-
|
|
314
|
-
<
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
<
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
<
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
<
|
|
336
|
-
|
|
321
|
+
@if (environment.serviceWorker !== undefined) {
|
|
322
|
+
<tr>
|
|
323
|
+
<th>Service Worker</th>
|
|
324
|
+
<td>{{environment.serviceWorker}}</td>
|
|
325
|
+
</tr>
|
|
326
|
+
}
|
|
327
|
+
@if (environment.release) {
|
|
328
|
+
<tr>
|
|
329
|
+
<th>Release</th>
|
|
330
|
+
<td>{{environment.release}}</td>
|
|
331
|
+
</tr>
|
|
332
|
+
}
|
|
333
|
+
@if (environment.commit) {
|
|
334
|
+
<tr>
|
|
335
|
+
<th>Commit</th>
|
|
336
|
+
<td>{{environment.commit}}</td>
|
|
337
|
+
</tr>
|
|
338
|
+
}
|
|
339
|
+
@if (environment.timestamp) {
|
|
340
|
+
<tr>
|
|
341
|
+
<th>Timestamp</th>
|
|
342
|
+
<td>{{environment.timestamp | date:'dd.MM.yy HH:mm:ss'}}</td>
|
|
343
|
+
</tr>
|
|
344
|
+
}
|
|
345
|
+
@if (environment.branch) {
|
|
346
|
+
<tr>
|
|
347
|
+
<th>Branch</th>
|
|
348
|
+
<td>{{environment.branch}}</td>
|
|
349
|
+
</tr>
|
|
350
|
+
}
|
|
351
|
+
@if (environment.tag) {
|
|
352
|
+
<tr>
|
|
353
|
+
<th>Tag</th>
|
|
354
|
+
<td>{{environment.tag}}</td>
|
|
355
|
+
</tr>
|
|
356
|
+
}
|
|
337
357
|
<ng-content></ng-content>
|
|
338
358
|
</table>
|
|
339
359
|
</div>
|
|
@@ -390,7 +410,7 @@ table {
|
|
|
390
410
|
<script src="../js/libs/htmlparser.js"></script>
|
|
391
411
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
392
412
|
<script>
|
|
393
|
-
var COMPONENT_TEMPLATE = '<div><div class="p-4"> <h2 class="text-xl font-bold pb-2">{{ environment.app }}</h2> <table class="table-auto">
|
|
413
|
+
var COMPONENT_TEMPLATE = '<div><div class="p-4"> <h2 class="text-xl font-bold pb-2">{{ environment.app }}</h2> <table class="table-auto"> @if (environment.name) { <tr> <th>Environment</th> <td>{{environment.name}}</td> </tr> } <tr> <th>Production</th> <td>{{environment.production}}</td> </tr> @if (environment.serviceWorker !== undefined) { <tr> <th>Service Worker</th> <td>{{environment.serviceWorker}}</td> </tr> } @if (environment.release) { <tr> <th>Release</th> <td>{{environment.release}}</td> </tr> } @if (environment.commit) { <tr> <th>Commit</th> <td>{{environment.commit}}</td> </tr> } @if (environment.timestamp) { <tr> <th>Timestamp</th> <td>{{environment.timestamp | date:\'dd.MM.yy HH:mm:ss\'}}</td> </tr> } @if (environment.branch) { <tr> <th>Branch</th> <td>{{environment.branch}}</td> </tr> } @if (environment.tag) { <tr> <th>Tag</th> <td>{{environment.tag}}</td> </tr> } <ng-content></ng-content> </table></div></div>'
|
|
394
414
|
var COMPONENTS = [{'name': 'EnvironmentComponent', 'selector': 'rxap-environment'}];
|
|
395
415
|
var DIRECTIVES = [];
|
|
396
416
|
var ACTUAL_COMPONENT = {'name': 'EnvironmentComponent'};
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</ol>
|
|
102
102
|
<ul class="dependencies-list">
|
|
103
103
|
<li>
|
|
104
|
-
<b>@nx/devkit</b> :
|
|
104
|
+
<b>@nx/devkit</b> : 22.7.5</li>
|
|
105
105
|
<li>
|
|
106
106
|
<b>tslib</b> : 2.6.2</li>
|
|
107
107
|
</ul>
|
|
@@ -113,9 +113,9 @@
|
|
|
113
113
|
</ol>
|
|
114
114
|
<ul class="dependencies-list">
|
|
115
115
|
<li>
|
|
116
|
-
<b>@angular/common</b> : ^
|
|
116
|
+
<b>@angular/common</b> : ^21.2.9</li>
|
|
117
117
|
<li>
|
|
118
|
-
<b>@angular/core</b> : ^
|
|
118
|
+
<b>@angular/core</b> : ^21.2.9</li>
|
|
119
119
|
</ul>
|
|
120
120
|
|
|
121
121
|
|