@llipe.com/dev-tasks 0.6.1 → 0.6.4

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 CHANGED
@@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
+ ## [0.6.4] - 2026-07-30
9
+
10
+ ### Changed
11
+
12
+ - chore(package): add repository field to package.json
13
+
14
+ ## [0.6.3] - 2026-07-30
15
+
16
+ ### Changed
17
+
18
+ - ci(npm-publish): upgrade Node.js to 24 and ensure npm supports OIDC
19
+
20
+ ## [0.6.2] - 2026-07-30
21
+
22
+ ### Changed
23
+
24
+ - ci(npm-publish): migrate to OIDC trusted publishers and update Node.js
25
+ - docs(readme): align markdown table formatting for consistency
26
+ - ci: enhance release workflow and npm publishing
27
+ - ci(npm-publish): add provenance attestation and version verification
28
+ - chore(package): update package name and bump version to 0.6.1
29
+
8
30
  ## [0.6.1] - 2026-07-30
9
31
 
10
32
  ### Changed
package/README.md CHANGED
@@ -34,7 +34,7 @@ curl -fsSL https://raw.githubusercontent.com/llipe/dev-tasks/main/dev-tasks.sh \
34
34
 
35
35
  ```bash
36
36
  # 1. Install the npm package
37
- pnpm add -g @llipe/dev-tasks
37
+ pnpm add -g @llipe.com/dev-tasks
38
38
 
39
39
  # 2. Extract your repo's metadata
40
40
  dt extract all --interactive
@@ -637,12 +637,10 @@ cp -r .dev-tasks-backup/<timestamp>/. ./
637
637
 
638
638
  ### Release publishing (maintainers)
639
639
 
640
- Every git tag matching `v*.*.*` triggers `.github/workflows/release-bundle.yml`, which:
640
+ Every git tag matching `v*.*.*` triggers two workflows:
641
641
 
642
- 1. Runs `scripts/build-bundle.sh` to package managed files into `dev-tasks-bundle-v<version>.tar.gz`
643
- 2. Generates a SHA256 checksum
644
- 3. Runs a smoke test against the bundle
645
- 4. Creates the GitHub Release and attaches the bundle + checksum as assets
642
+ - `.github/workflows/release-bundle.yml` — builds the tarball bundle and creates a GitHub Release
643
+ - `.github/workflows/publish-npm.yml` — publishes the `@llipe.com/dev-tasks` npm package
646
644
 
647
645
  #### How to create a new release
648
646
 
@@ -659,13 +657,16 @@ The script:
659
657
  1. Validates pre-flight conditions (branch, clean tree, format check).
660
658
  2. Auto-generates a CHANGELOG.md entry from commit history and merged PR metadata.
661
659
  3. Suggests an increment type based on Conventional Commit analysis.
662
- 4. Commits the changelog, creates an annotated tag, and pushes the tag.
663
- 5. The tag push triggers `.github/workflows/release-bundle.yml` automatically.
660
+ 4. Updates `package.json` version to the new semver value.
661
+ 5. Commits both CHANGELOG.md and package.json (`chore(release): v<version>`).
662
+ 6. Creates an annotated git tag.
663
+ 7. Pushes the commit to `main` and the tag to `origin`.
664
+ 8. The tag push triggers both CI workflows automatically.
664
665
 
665
- After the workflow completes, verify the GitHub Release contains both assets:
666
+ After the workflows complete, verify:
666
667
 
667
- - `dev-tasks-bundle-v<version>.tar.gz`
668
- - `dev-tasks-bundle-v<version>.tar.gz.sha256`
668
+ - GitHub Release contains `dev-tasks-bundle-v<version>.tar.gz` + `.sha256`
669
+ - npm package is published: `npm view @llipe.com/dev-tasks version`
669
670
 
670
671
  Optional post-release validation:
671
672
 
@@ -673,6 +674,20 @@ Optional post-release validation:
673
674
  ./dev-tasks.sh install v1.3.0
674
675
  ```
675
676
 
677
+ #### CI setup required
678
+
679
+ The npm publish workflow uses **Trusted Publishers (OIDC)** — no npm token secret is needed. Configure once on npmjs.com:
680
+
681
+ 1. Go to npmjs.com → Packages → `@llipe.com/dev-tasks` → Settings → Trusted Publisher
682
+ 2. Select **GitHub Actions** and fill in:
683
+ - Organization or user: `llipe`
684
+ - Repository: `dev-tasks`
685
+ - Workflow filename: `publish-npm.yml`
686
+ - Environment name: `npm`
687
+ - Allowed actions: npm publish
688
+
689
+ Also create a GitHub environment named `npm` in the repo (Settings → Environments → New environment → `npm`). No secrets needed.
690
+
676
691
  #### Option: download assets directly from the Releases page
677
692
 
678
693
  If you prefer manual installation, download the bundle and checksum from:
@@ -701,13 +716,13 @@ tar -xzf "dev-tasks-bundle-${VERSION}.tar.gz"
701
716
 
702
717
  ## `dt` — Multi-Repo Context CLI
703
718
 
704
- `dt` is the runtime binary for the `@llipe/dev-tasks` npm package. It extracts repository metadata (schema, OpenAPI, AsyncAPI), derives a `component.yaml` manifest with provenance and confidence tracking, and (in later phases) builds a cross-repo catalog and resolves scoped context bundles for agent sessions.
719
+ `dt` is the runtime binary for the `@llipe.com/dev-tasks` npm package. It extracts repository metadata (schema, OpenAPI, AsyncAPI), derives a `component.yaml` manifest with provenance and confidence tracking, and (in later phases) builds a cross-repo catalog and resolves scoped context bundles for agent sessions.
705
720
 
706
721
  ### Installation
707
722
 
708
723
  ```bash
709
724
  # Install globally (or as a dev dependency)
710
- pnpm add -g @llipe/dev-tasks
725
+ pnpm add -g @llipe.com/dev-tasks
711
726
 
712
727
  # Verify
713
728
  dt --version
File without changes
package/dist/bin/dt.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llipe.com/dev-tasks",
3
- "version": "0.6.1",
3
+ "version": "0.6.4",
4
4
  "description": "Multi-repo context tooling for dev-tasks",
5
5
  "type": "module",
6
6
  "imports": {
@@ -8,8 +8,8 @@
8
8
  "#adapters/*": "./dist/adapters/*"
9
9
  },
10
10
  "bin": {
11
- "dev-tasks": "./dist/bin/dev-tasks.js",
12
- "dt": "./dist/bin/dt.js"
11
+ "dev-tasks": "dist/bin/dev-tasks.js",
12
+ "dt": "dist/bin/dt.js"
13
13
  },
14
14
  "files": [
15
15
  "dist/bin/",
@@ -28,6 +28,20 @@
28
28
  "engines": {
29
29
  "node": ">=20"
30
30
  },
31
+ "scripts": {
32
+ "build": "tsc",
33
+ "prepublishOnly": "pnpm run validate && pnpm run build",
34
+ "typecheck": "tsc --noEmit",
35
+ "lint": "eslint . --max-warnings 0",
36
+ "lint:fix": "eslint . --fix",
37
+ "format": "prettier --write \"bin/\" \"core/\" \"adapters/\" \"schemas/\" \"test/\" \"*.json\" \"*.ts\" \"eslint.config.js\" --ignore-unknown",
38
+ "format:check": "prettier --check \"bin/\" \"core/\" \"adapters/\" \"schemas/\" \"test/\" \"*.json\" \"*.ts\" \"eslint.config.js\" --ignore-unknown",
39
+ "test": "vitest run",
40
+ "test:unit": "vitest run test/unit",
41
+ "test:integration": "vitest run test/integration",
42
+ "audit": "pnpm audit --prod",
43
+ "validate": "pnpm run typecheck && pnpm run lint && pnpm run format:check && pnpm run test"
44
+ },
31
45
  "keywords": [
32
46
  "dev-tasks",
33
47
  "ai-agents",
@@ -39,7 +53,12 @@
39
53
  "schema"
40
54
  ],
41
55
  "author": "llipe",
56
+ "repository": {
57
+ "type": "git",
58
+ "url": "https://github.com/llipe/dev-tasks.git"
59
+ },
42
60
  "license": "ISC",
61
+ "packageManager": "pnpm@10.11.0",
43
62
  "devDependencies": {
44
63
  "@types/node": "22.15.18",
45
64
  "@typescript-eslint/eslint-plugin": "8.32.1",
@@ -60,18 +79,5 @@
60
79
  },
61
80
  "peerDependencies": {
62
81
  "typescript": ">=5.0.0"
63
- },
64
- "scripts": {
65
- "build": "tsc",
66
- "typecheck": "tsc --noEmit",
67
- "lint": "eslint . --max-warnings 0",
68
- "lint:fix": "eslint . --fix",
69
- "format": "prettier --write \"bin/\" \"core/\" \"adapters/\" \"schemas/\" \"test/\" \"*.json\" \"*.ts\" \"eslint.config.js\" --ignore-unknown",
70
- "format:check": "prettier --check \"bin/\" \"core/\" \"adapters/\" \"schemas/\" \"test/\" \"*.json\" \"*.ts\" \"eslint.config.js\" --ignore-unknown",
71
- "test": "vitest run",
72
- "test:unit": "vitest run test/unit",
73
- "test:integration": "vitest run test/integration",
74
- "audit": "pnpm audit --prod",
75
- "validate": "pnpm run typecheck && pnpm run lint && pnpm run format:check && pnpm run test"
76
82
  }
77
- }
83
+ }