@devopsplaybook.io/common-utils 1.9.0 → 1.9.1-beta.20.cc414b1
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/AGENTS.md +7 -2
- package/README.md +2 -3
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -36,14 +36,19 @@ src/
|
|
|
36
36
|
.github/workflows/
|
|
37
37
|
main-build.yml # Caller: push to main -> reusable-npm-merge
|
|
38
38
|
pr-check.yml # Caller: PR to main -> reusable-npm-pr
|
|
39
|
-
npm-upgrade.yml # Caller: weekly schedule -> reusable-npm-upgrade
|
|
40
39
|
reusable-npm-merge.yml # Lint + test + build + publish release to npm
|
|
41
40
|
reusable-npm-pr.yml # Lint + test + build + publish beta tag + comment PR
|
|
42
|
-
reusable-npm-upgrade.yml # npm-check-updates + auto PR
|
|
41
|
+
reusable-npm-upgrade.yml # npm-check-updates + auto PR (manual, workflow_call)
|
|
43
42
|
reusable-pr-verify.yml # Matrix Node.js + multi-platform Docker build -> beta-pr-<PR> and beta
|
|
44
43
|
reusable-merge-build.yml # Promotes the PR image to the version tags on merge (no build/lint/test)
|
|
45
44
|
```
|
|
46
45
|
|
|
46
|
+
## Weekly Dependency Updates
|
|
47
|
+
|
|
48
|
+
The scheduled `npm-upgrade.yml` caller was retired: it created dependency upgrade pull requests every week that no one merged. `reusable-npm-upgrade.yml` is kept for manual, on-demand upgrades (`workflow_call`; adopting repositories can trigger it through their own `workflow_dispatch` caller).
|
|
49
|
+
|
|
50
|
+
The weekly update of the shared npm libraries is agent-driven instead: a Kubernetes CronJob (`planner-shared-libraries-update` in the `DidierHoarau/didier-home` GitOps repository) creates a Planner task in the `Projects/xMaintenance` project every Friday, and the planner-llm-agent executes the `update-shared-libraries` skill from `DidierHoarau/planner-llm-agent-config`. The skill updates `otel-utils` first, then `otel-utils-fastify` and `common-utils` once the freshly published `otel-utils` version is visible on npm, then the consumer repositories discovered with GitHub code search. It applies minor/patch updates only (majors are reported, never applied), skips repositories already current against the npm registry, and delivers one squash-merged pull request per repository after green checks. Do not reintroduce a scheduled upgrade workflow in this repository: it would compete with the agent-driven update.
|
|
51
|
+
|
|
47
52
|
## Key Conventions
|
|
48
53
|
|
|
49
54
|
- **TypeScript**: Target ES2019, CommonJS output, strict mode enabled, declarations generated.
|
package/README.md
CHANGED
|
@@ -607,13 +607,12 @@ jobs:
|
|
|
607
607
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
608
608
|
```
|
|
609
609
|
|
|
610
|
-
And `.github/workflows/npm-upgrade.yml` for
|
|
610
|
+
And `.github/workflows/npm-upgrade.yml` for manual dependency upgrades (the weekly update of the shared devopsplaybook.io libraries is agent-driven — see the AGENTS.md of this repository — so no schedule trigger is used):
|
|
611
611
|
|
|
612
612
|
```yaml
|
|
613
613
|
name: NPM Upgrade
|
|
614
614
|
on:
|
|
615
|
-
|
|
616
|
-
- cron: "0 6 * * 1" # Monday 6am UTC
|
|
615
|
+
workflow_dispatch:
|
|
617
616
|
jobs:
|
|
618
617
|
npm-upgrade:
|
|
619
618
|
uses: devopsplaybook-io/common-utils/.github/workflows/reusable-npm-upgrade.yml@main
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devopsplaybook.io/common-utils",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1-beta.20.cc414b1",
|
|
4
4
|
"description": "Shared utility modules for devopsplaybook.io projects (DB, Config, OTel context, auth/users, notifications, LLM, system helpers)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Open Telemetry",
|