From f81391a9f8ba5f911f7c1bcd4bd54b12a0a4e81f Mon Sep 17 00:00:00 2001 From: lastlink Date: Mon, 2 Nov 2026 18:24:37 -0500 Subject: [PATCH 1/2] Prepare 1.0.0: repository moved to funktechno, baseline version and changelog --- CHANGELOG.md | 17 +++++++++-------- package.json | 8 ++++---- scripts/version/resetVersion.ps1 | 4 ++-- scripts/version/resetVersion.sh | 4 ++-- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf94915..b62e1c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog -## 0.1.0 (2026-11-02) +## 1.0.0 (2026-11-03) + +First stable release, published to npm with trusted publishing and provenance. It carries +everything from the 0.1.x development versions, which are no longer on npm: - `multiAssert` / `multiAssertAsync` run every check and throw one `MultiAssertError` (an `AggregateError`) listing all failures, with labels (tuples or object), a short summary @@ -11,10 +14,8 @@ - `configure()` for defaults, `color`, `stackFrames`, `message` and `rethrowSingle` options. - `@funktechno/multi-assert/jest`: `expect(value).toPassAll([...])` matcher. - Dual ESM + CJS build with types; zero runtime dependencies; Node >= 18. - -## Unreleased - -- Versions come from git: GitVersion (`GitVersion.yml`) plus `scripts/version/*` stamp - `package.json` at release time. Patch bumps on merge to `main`; minor/major with - `+semver: minor|major` in a commit message or a tag. -- Publish workflow: runs from a release or by manual dispatch, with an opt-in `dry_run`. +- Versions come from git: `scripts/version/*` (GitVersion plus doi's merged-PR rule) stamp + `package.json` at release time; the release tag is the published version. +- Publish workflow: runs from a release or by manual dispatch with an opt-in `dry_run`, only on + `main`, `dev` or `master`. +- Repository moved to https://github.com/funktechno/multi-assert. diff --git a/package.json b/package.json index 37bcd3b..ad8cd51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@funktechno/multi-assert", - "version": "0.1.0", + "version": "1.0.0", "description": "Run a group of assertions in any Node test framework and report every failure in one readable error.", "type": "commonjs", "main": "./dist/index.js", @@ -56,7 +56,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/lastlink/multi-assert.git" + "url": "git+https://github.com/funktechno/multi-assert.git" }, "keywords": [ "assert", @@ -72,9 +72,9 @@ "author": "lastlink", "license": "MIT", "bugs": { - "url": "https://github.com/lastlink/multi-assert/issues" + "url": "https://github.com/funktechno/multi-assert/issues" }, - "homepage": "https://github.com/lastlink/multi-assert#readme", + "homepage": "https://github.com/funktechno/multi-assert#readme", "devDependencies": { "@arethetypeswrong/cli": "^0.18.5", "@eslint/js": "^10.0.1", diff --git a/scripts/version/resetVersion.ps1 b/scripts/version/resetVersion.ps1 index 03084f8..cdd03c5 100644 --- a/scripts/version/resetVersion.ps1 +++ b/scripts/version/resetVersion.ps1 @@ -1,9 +1,9 @@ # resetVersion.ps1 -# Puts package.json "version" back to the 0.1.0 baseline it is committed with. version-*.txt is +# Puts package.json "version" back to the 1.0.0 baseline it is committed with. version-*.txt is # left alone. Windows twin of resetVersion.sh. # # Usage: .\scripts\version\resetVersion.ps1 $ErrorActionPreference = "Stop" -$baseline = "0.1.0" +$baseline = "1.0.0" & "$PSScriptRoot/updateVersion.ps1" -Version $baseline Write-Host "Version reset complete (baseline $baseline)." diff --git a/scripts/version/resetVersion.sh b/scripts/version/resetVersion.sh index ff49a74..15b85dc 100755 --- a/scripts/version/resetVersion.sh +++ b/scripts/version/resetVersion.sh @@ -2,13 +2,13 @@ set -euo pipefail # resetVersion.sh -# Puts package.json "version" back to the 0.1.0 baseline it is committed with. version-*.txt is +# Puts package.json "version" back to the 1.0.0 baseline it is committed with. version-*.txt is # left alone. Use it after testing updateVersion.sh locally so a GitVersion-derived number is not # committed by accident. # # Usage: ./scripts/version/resetVersion.sh (from anywhere; cd's to repo root) -BASELINE="0.1.0" +BASELINE="1.0.0" REPO="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" cd "$REPO" From 1f515d9e115251d6857c55b98a103240c980bf3a Mon Sep 17 00:00:00 2001 From: lastlink Date: Mon, 2 Nov 2026 18:25:58 -0500 Subject: [PATCH 2/2] Keep the 0.1.0 placeholder version; 1.0.0 comes from the git tag --- package.json | 2 +- scripts/version/resetVersion.ps1 | 4 ++-- scripts/version/resetVersion.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ad8cd51..28d22b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@funktechno/multi-assert", - "version": "1.0.0", + "version": "0.1.0", "description": "Run a group of assertions in any Node test framework and report every failure in one readable error.", "type": "commonjs", "main": "./dist/index.js", diff --git a/scripts/version/resetVersion.ps1 b/scripts/version/resetVersion.ps1 index cdd03c5..03084f8 100644 --- a/scripts/version/resetVersion.ps1 +++ b/scripts/version/resetVersion.ps1 @@ -1,9 +1,9 @@ # resetVersion.ps1 -# Puts package.json "version" back to the 1.0.0 baseline it is committed with. version-*.txt is +# Puts package.json "version" back to the 0.1.0 baseline it is committed with. version-*.txt is # left alone. Windows twin of resetVersion.sh. # # Usage: .\scripts\version\resetVersion.ps1 $ErrorActionPreference = "Stop" -$baseline = "1.0.0" +$baseline = "0.1.0" & "$PSScriptRoot/updateVersion.ps1" -Version $baseline Write-Host "Version reset complete (baseline $baseline)." diff --git a/scripts/version/resetVersion.sh b/scripts/version/resetVersion.sh index 15b85dc..ff49a74 100755 --- a/scripts/version/resetVersion.sh +++ b/scripts/version/resetVersion.sh @@ -2,13 +2,13 @@ set -euo pipefail # resetVersion.sh -# Puts package.json "version" back to the 1.0.0 baseline it is committed with. version-*.txt is +# Puts package.json "version" back to the 0.1.0 baseline it is committed with. version-*.txt is # left alone. Use it after testing updateVersion.sh locally so a GitVersion-derived number is not # committed by accident. # # Usage: ./scripts/version/resetVersion.sh (from anywhere; cd's to repo root) -BASELINE="1.0.0" +BASELINE="0.1.0" REPO="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" cd "$REPO"