@edsis/angular 21.0.0 → 21.1.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/README.md +32 -3
- package/fesm2022/edsis-angular-auth.mjs +974 -0
- package/fesm2022/edsis-angular-auth.mjs.map +1 -0
- package/fesm2022/edsis-angular-sdk-access.mjs +15 -15
- package/fesm2022/edsis-angular-sdk-access.mjs.map +1 -1
- package/fesm2022/edsis-angular-sdk-approval.mjs +15 -15
- package/fesm2022/edsis-angular-sdk-approval.mjs.map +1 -1
- package/fesm2022/edsis-angular-sdk-auth.mjs +3 -3
- package/fesm2022/edsis-angular-sdk-auth.mjs.map +1 -1
- package/fesm2022/edsis-angular-sdk-employee.mjs +3 -3
- package/fesm2022/edsis-angular-sdk-employee.mjs.map +1 -1
- package/fesm2022/edsis-angular-sdk-health.mjs +3 -3
- package/fesm2022/edsis-angular-sdk-health.mjs.map +1 -1
- package/fesm2022/edsis-angular-sdk-shared.mjs +9 -9
- package/fesm2022/edsis-angular-sdk-shared.mjs.map +1 -1
- package/fesm2022/edsis-angular-sdk-storage.mjs +6 -6
- package/fesm2022/edsis-angular-sdk-storage.mjs.map +1 -1
- package/fesm2022/edsis-angular-sdk-user.mjs +3 -3
- package/fesm2022/edsis-angular-sdk-user.mjs.map +1 -1
- package/fesm2022/edsis-angular.mjs.map +1 -1
- package/package.json +5 -1
- package/types/edsis-angular-auth.d.ts +118 -0
package/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Angular library package for Edsis, including the generated SDK entry points:
|
|
4
4
|
|
|
5
|
+
- `@edsis/angular/auth`
|
|
5
6
|
- `@edsis/angular/sdk`
|
|
6
7
|
- `@edsis/angular/sdk/shared`
|
|
7
8
|
- `@edsis/angular/sdk/access`
|
|
@@ -27,7 +28,7 @@ bun run gen:sdk
|
|
|
27
28
|
bunx ng build library
|
|
28
29
|
```
|
|
29
30
|
|
|
30
|
-
The packaged output is written to `dist/library
|
|
31
|
+
The packaged output is written to `dist/library`, including the reusable `@edsis/angular/auth` entry point.
|
|
31
32
|
|
|
32
33
|
## Full release
|
|
33
34
|
|
|
@@ -77,6 +78,32 @@ The version script only updates the source package manifest. The built package i
|
|
|
77
78
|
|
|
78
79
|
## Pack and publish locally
|
|
79
80
|
|
|
81
|
+
Run the interactive local publish workflow with:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
bun run publish
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
The script will:
|
|
88
|
+
|
|
89
|
+
- verify the active npm login against the public npm registry
|
|
90
|
+
- ask for a version bump using `X`, `Y`, or `Z`
|
|
91
|
+
- update `projects/library/package.json`
|
|
92
|
+
- run `bun run build:library`
|
|
93
|
+
- publish `dist/library` to npm public with `--access public`
|
|
94
|
+
|
|
95
|
+
For a non-interactive publish, provide the bump and confirmation flags explicitly:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
bun run publish --bump Z --yes
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Preview the publish plan without changing files:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
bun run publish --dry-run --bump Y --yes
|
|
105
|
+
```
|
|
106
|
+
|
|
80
107
|
Preview the npm tarball:
|
|
81
108
|
|
|
82
109
|
```bash
|
|
@@ -113,8 +140,10 @@ It supports:
|
|
|
113
140
|
- pushing a tag named `library-vX.Y.Z`
|
|
114
141
|
- manual `workflow_dispatch` runs with an npm tag and optional dry-run
|
|
115
142
|
|
|
116
|
-
The workflow
|
|
117
|
-
|
|
143
|
+
The workflow uses npm trusted publishing via GitHub Actions OIDC, so it does
|
|
144
|
+
not require a repository `NPM_TOKEN` secret. The npm package must be configured
|
|
145
|
+
to trust this repository workflow as a publisher. On tag pushes, the tag
|
|
146
|
+
version must match `projects/library/package.json`.
|
|
118
147
|
|
|
119
148
|
Recommended local release flow:
|
|
120
149
|
|