pi-usereq 0.13.0 → 0.32.0
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/.github/workflows/release-npm.yml +13 -6
- package/.gitignore +1 -2
- package/CHANGELOG.md +134 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/pi-usereq/docs/REFERENCES.md +407 -348
- package/pi-usereq/docs/REQUIREMENTS.md +19 -8
- package/pi-usereq/docs/WORKFLOW.md +16 -6
- package/src/core/config.ts +19 -7
- package/src/core/debug-runtime.ts +24 -0
- package/src/index.ts +167 -10
- package/tests/extension-registration.test.ts +144 -5
- package/tests/release-workflow.test.ts +3 -2
- package/scripts/lib/extension-debug-harness.ts +0 -443
- package/scripts/lib/recording-extension-api.ts +0 -855
- package/scripts/lib/sdk-smoke.ts +0 -503
|
@@ -7,11 +7,11 @@ on:
|
|
|
7
7
|
|
|
8
8
|
permissions:
|
|
9
9
|
contents: write
|
|
10
|
-
id-token: write
|
|
10
|
+
id-token: write # Required for OIDC
|
|
11
11
|
attestations: write
|
|
12
12
|
|
|
13
13
|
env:
|
|
14
|
-
NODE_VERSION: '
|
|
14
|
+
NODE_VERSION: '24.15.0'
|
|
15
15
|
|
|
16
16
|
jobs:
|
|
17
17
|
# 1. Controlla se siamo sul branch corretto
|
|
@@ -51,22 +51,29 @@ jobs:
|
|
|
51
51
|
fetch-depth: 0
|
|
52
52
|
|
|
53
53
|
- name: Setup Node.js
|
|
54
|
-
uses: actions/setup-node@
|
|
54
|
+
uses: actions/setup-node@v6
|
|
55
55
|
with:
|
|
56
56
|
node-version: ${{ env.NODE_VERSION }}
|
|
57
|
-
cache: 'npm'
|
|
58
57
|
registry-url: 'https://registry.npmjs.org'
|
|
58
|
+
package-manager-cache: false # never use caching in release builds
|
|
59
|
+
|
|
60
|
+
# - name: Imposta il registro npm esplicitamente per OIDC
|
|
61
|
+
# run: npm config set registry https://registry.npmjs.org/
|
|
59
62
|
|
|
60
63
|
- name: Install dependencies
|
|
61
64
|
run: npm ci
|
|
62
65
|
|
|
66
|
+
- name: Build if present
|
|
67
|
+
run: npm run build --if-present
|
|
68
|
+
|
|
63
69
|
- name: Remove private package flag
|
|
64
70
|
run: npm pkg delete private
|
|
65
71
|
|
|
66
72
|
- name: Publish package to npm
|
|
73
|
+
# run: npm publish # Or: npm stage publish
|
|
67
74
|
run: npm publish --provenance --access public
|
|
68
|
-
env:
|
|
69
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
75
|
+
# env:
|
|
76
|
+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
70
77
|
|
|
71
78
|
- name: Build Changelog
|
|
72
79
|
id: build_changelog
|
package/.gitignore
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
!LICENSE.txt
|
|
24
24
|
!setup.py
|
|
25
25
|
!pyproject.toml
|
|
26
|
+
!pyrightconfig.json
|
|
26
27
|
!uv.lock
|
|
27
28
|
!.g.conf
|
|
28
29
|
!package-lock.json
|
|
@@ -78,8 +79,6 @@ downloads/
|
|
|
78
79
|
eggs/
|
|
79
80
|
.eggs/
|
|
80
81
|
lib/
|
|
81
|
-
!scripts/lib/
|
|
82
|
-
!scripts/lib/**/*.ts
|
|
83
82
|
lib64/
|
|
84
83
|
parts/
|
|
85
84
|
sdist/
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,101 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.32.0](https://github.com/Ogekuri/PI-useReq/compare/v0.31.0..v0.32.0) - 2026-05-29
|
|
4
|
+
### 🐛 Bug Fixes
|
|
5
|
+
- Revert workflow.
|
|
6
|
+
|
|
7
|
+
### 🚜 Changes
|
|
8
|
+
- update Node.js 24.15.0 release flow [useReq] *(release-workflow)*
|
|
9
|
+
- update REQUIREMENTS.md and WORKFLOW.md traceability for the release runtime
|
|
10
|
+
- pin .github/workflows/release-npm.yml to Node.js 24.15.0 and restore npm publish auth
|
|
11
|
+
- align tests/release-workflow.test.ts with the pinned runtime and publish contract
|
|
12
|
+
|
|
13
|
+
## [0.31.0](https://github.com/Ogekuri/PI-useReq/compare/v0.30.0..v0.31.0) - 2026-05-29
|
|
14
|
+
### 🐛 Bug Fixes
|
|
15
|
+
- Try another workaround, again, and again.
|
|
16
|
+
|
|
17
|
+
## [0.30.0](https://github.com/Ogekuri/PI-useReq/compare/v0.29.0..v0.30.0) - 2026-05-29
|
|
18
|
+
### 🐛 Bug Fixes
|
|
19
|
+
- Revert setup-node version.
|
|
20
|
+
|
|
21
|
+
## [0.29.0](https://github.com/Ogekuri/PI-useReq/compare/v0.28.0..v0.29.0) - 2026-05-29
|
|
22
|
+
### 🐛 Bug Fixes
|
|
23
|
+
- Try another workaround, again, and again.
|
|
24
|
+
|
|
25
|
+
## [0.28.0](https://github.com/Ogekuri/PI-useReq/compare/v0.27.0..v0.28.0) - 2026-05-29
|
|
26
|
+
### 🐛 Bug Fixes
|
|
27
|
+
- Try another workaround, again, and again.
|
|
28
|
+
|
|
29
|
+
## [0.27.0](https://github.com/Ogekuri/PI-useReq/compare/v0.26.0..v0.27.0) - 2026-05-29
|
|
30
|
+
### 🐛 Bug Fixes
|
|
31
|
+
- Try another workaround, again, and again.
|
|
32
|
+
|
|
33
|
+
## [0.26.0](https://github.com/Ogekuri/PI-useReq/compare/v0.25.0..v0.26.0) - 2026-05-29
|
|
34
|
+
### 🐛 Bug Fixes
|
|
35
|
+
- Try another workaround, again.
|
|
36
|
+
|
|
37
|
+
## [0.25.0](https://github.com/Ogekuri/PI-useReq/compare/v0.24.0..v0.25.0) - 2026-05-29
|
|
38
|
+
### 🐛 Bug Fixes
|
|
39
|
+
- Try another workaround.
|
|
40
|
+
|
|
41
|
+
## [0.24.0](https://github.com/Ogekuri/PI-useReq/compare/v0.23.0..v0.24.0) - 2026-05-29
|
|
42
|
+
### 🐛 Bug Fixes
|
|
43
|
+
- Remove install -g npm@latest from workflow.
|
|
44
|
+
|
|
45
|
+
## [0.23.0](https://github.com/Ogekuri/PI-useReq/compare/v0.22.0..v0.23.0) - 2026-05-29
|
|
46
|
+
### 🐛 Bug Fixes
|
|
47
|
+
- Workaround actions/setup-node OIDC bug.
|
|
48
|
+
|
|
49
|
+
## [0.22.0](https://github.com/Ogekuri/PI-useReq/compare/v0.21.0..v0.22.0) - 2026-05-29
|
|
50
|
+
### 🐛 Bug Fixes
|
|
51
|
+
- Update workflow file.
|
|
52
|
+
|
|
53
|
+
## [0.21.0](https://github.com/Ogekuri/PI-useReq/compare/v0.20.0..v0.21.0) - 2026-05-29
|
|
54
|
+
### 🐛 Bug Fixes
|
|
55
|
+
- Update workflow file.
|
|
56
|
+
|
|
57
|
+
## [0.20.0](https://github.com/Ogekuri/PI-useReq/compare/v0.19.0..v0.20.0) - 2026-05-29
|
|
58
|
+
### 🐛 Bug Fixes
|
|
59
|
+
- Update workflow file for 2FA publish.
|
|
60
|
+
|
|
61
|
+
## [0.19.0](https://github.com/Ogekuri/PI-useReq/compare/v0.18.0..v0.19.0) - 2026-05-29
|
|
62
|
+
### 🐛 Bug Fixes
|
|
63
|
+
- Update version number.
|
|
64
|
+
|
|
65
|
+
### ◀️ Revert
|
|
66
|
+
- Roll back branch to 6b800ba9 (6b800ba99e97ec88f7d9d10d6abe125020d3aebb).
|
|
67
|
+
|
|
68
|
+
## [0.18.0](https://github.com/Ogekuri/PI-useReq/compare/v0.17.0..v0.18.0) - 2026-05-29
|
|
69
|
+
### 🐛 Bug Fixes
|
|
70
|
+
- Fix workflow file.
|
|
71
|
+
|
|
72
|
+
## [0.17.0](https://github.com/Ogekuri/PI-useReq/compare/v0.16.0..v0.17.0) - 2026-05-29
|
|
73
|
+
### ⛰️ Features
|
|
74
|
+
- Re-add tocken.
|
|
75
|
+
|
|
76
|
+
## [0.16.0](https://github.com/Ogekuri/PI-useReq/compare/v0.15.0..v0.16.0) - 2026-05-29
|
|
77
|
+
### 🐛 Bug Fixes
|
|
78
|
+
- Fix workflow.
|
|
79
|
+
|
|
80
|
+
### 🚜 Changes
|
|
81
|
+
- adopt trusted npm publishing [useReq] *(release-npm)*
|
|
82
|
+
- update release requirements for Node 24 and OIDC trusted publishing
|
|
83
|
+
- update workflow, package metadata, and release workflow tests
|
|
84
|
+
- refresh release runtime documentation
|
|
85
|
+
|
|
86
|
+
## [0.14.0](https://github.com/Ogekuri/PI-useReq/compare/v0.13.0..v0.14.0) - 2026-05-29
|
|
87
|
+
### ⛰️ Features
|
|
88
|
+
- add debug tool slash commands [useReq] *(debug)*
|
|
89
|
+
- Add DEBUG_TOOL_COMMANDS_ENABLED local config and Debug submenu row.
|
|
90
|
+
- Register config-gated debug-compress, debug-references,
|
|
91
|
+
- debug-static-check, and debug-tokens wrappers.
|
|
92
|
+
- Update requirements, workflow, references, and tests for traceability.
|
|
93
|
+
- Update .gitignore file.
|
|
94
|
+
- Remove REFERENCES.md.
|
|
95
|
+
|
|
96
|
+
### 📚 Documentation
|
|
97
|
+
- Update REFERENCES.md document. [useReq] *(references)*
|
|
98
|
+
|
|
3
99
|
## [0.13.0](https://github.com/Ogekuri/PI-useReq/compare/v0.12.0..v0.13.0) - 2026-04-27
|
|
4
100
|
### 🚜 Changes
|
|
5
101
|
- BREAKING CHANGE: split local and global configuration [useReq] *(config)*
|
|
@@ -369,6 +465,25 @@
|
|
|
369
465
|
- \[0.11.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.11.0
|
|
370
466
|
- \[0.12.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.12.0
|
|
371
467
|
- \[0.13.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.13.0
|
|
468
|
+
- \[0.14.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.14.0
|
|
469
|
+
- \[0.15.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.15.0
|
|
470
|
+
- \[0.16.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.16.0
|
|
471
|
+
- \[0.17.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.17.0
|
|
472
|
+
- \[0.18.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.18.0
|
|
473
|
+
- \[0.19.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.19.0
|
|
474
|
+
- \[0.20.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.20.0
|
|
475
|
+
- \[0.21.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.21.0
|
|
476
|
+
- \[0.22.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.22.0
|
|
477
|
+
- \[0.23.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.23.0
|
|
478
|
+
- \[0.24.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.24.0
|
|
479
|
+
- \[0.25.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.25.0
|
|
480
|
+
- \[0.26.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.26.0
|
|
481
|
+
- \[0.27.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.27.0
|
|
482
|
+
- \[0.28.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.28.0
|
|
483
|
+
- \[0.29.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.29.0
|
|
484
|
+
- \[0.30.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.30.0
|
|
485
|
+
- \[0.31.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.31.0
|
|
486
|
+
- \[0.32.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.32.0
|
|
372
487
|
|
|
373
488
|
[0.1.0]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.1.0
|
|
374
489
|
[0.2.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.1.0..v0.2.0
|
|
@@ -381,3 +496,22 @@
|
|
|
381
496
|
[0.11.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.10.0..v0.11.0
|
|
382
497
|
[0.12.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.11.0..v0.12.0
|
|
383
498
|
[0.13.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.12.0..v0.13.0
|
|
499
|
+
[0.14.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.13.0..v0.14.0
|
|
500
|
+
[0.15.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.14.0..v0.15.0
|
|
501
|
+
[0.16.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.15.0..v0.16.0
|
|
502
|
+
[0.17.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.16.0..v0.17.0
|
|
503
|
+
[0.18.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.17.0..v0.18.0
|
|
504
|
+
[0.19.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.18.0..v0.19.0
|
|
505
|
+
[0.20.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.19.0..v0.20.0
|
|
506
|
+
[0.21.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.20.0..v0.21.0
|
|
507
|
+
[0.22.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.21.0..v0.22.0
|
|
508
|
+
[0.23.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.22.0..v0.23.0
|
|
509
|
+
[0.24.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.23.0..v0.24.0
|
|
510
|
+
[0.25.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.24.0..v0.25.0
|
|
511
|
+
[0.26.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.25.0..v0.26.0
|
|
512
|
+
[0.27.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.26.0..v0.27.0
|
|
513
|
+
[0.28.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.27.0..v0.28.0
|
|
514
|
+
[0.29.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.28.0..v0.29.0
|
|
515
|
+
[0.30.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.29.0..v0.30.0
|
|
516
|
+
[0.31.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.30.0..v0.31.0
|
|
517
|
+
[0.32.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.31.0..v0.32.0
|
package/README.md
CHANGED