Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
1b9b65a
deps: bump vitest from 5.0.0 to 5.0.1 in the vitest group
dependabot[bot] Sep 23, 2026
b0aed6e
deps: bump @vitest/coverage-v8 from 5.0.0 to 5.0.1 in the patch group
dependabot[bot] Sep 23, 2026
85d7c43
deps: bump vitest from 5.0.0 to 5.0.1 in the vitest group (#18)
cldmv-bot[bot] Sep 23, 2026
ab1b474
deps: bump @vitest/coverage-v8 from 5.0.0 to 5.0.1 in the patch group…
cldmv-bot[bot] Sep 23, 2026
b5b1915
chore: bump version to 1.0.10
cldmv-bot[bot] Sep 23, 2026
26e8234
ci: sync v4 workflows with CLDMV/.github v4.29.2 templates
Shinrai Sep 28, 2026
ec05931
ci: sync v4 workflows with CLDMV/.github v4.29.2 templates (#21)
Shinrai Sep 28, 2026
81fcee1
ci: add the bundle-size workflow and restore the release-merge workfl…
Shinrai Sep 28, 2026
6e0cd2b
ci: explain the leading * in the bundle-size dist_paths
Shinrai Sep 28, 2026
f7fc83f
ci: add the bundle-size workflow and restore the release-merge workfl…
Shinrai Sep 28, 2026
8d72e8f
deps: bump vitest from 5.0.1 to 5.0.2 in the vitest group
dependabot[bot] Sep 30, 2026
d27134c
deps: bump @vitest/coverage-v8 from 5.0.1 to 5.0.2 in the patch group
dependabot[bot] Sep 30, 2026
8a5f657
deps: bump vitest from 5.0.1 to 5.0.2 in the vitest group (#25)
cldmv-bot[bot] Sep 30, 2026
7901f67
deps: bump @vitest/coverage-v8 from 5.0.1 to 5.0.2 in the patch group…
cldmv-bot[bot] Sep 30, 2026
0a6e930
chore: adopt the shared CLDMV fix-headers config and stamp uniform fi…
Shinrai Oct 2, 2026
3fb65a8
chore: adopt the shared CLDMV fix-headers config and stamp uniform fi…
Shinrai Oct 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .configs/fix-headers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "@cldmv/configs/fix-headers.json"
}
15 changes: 15 additions & 0 deletions .configs/vitest.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/**
*
* @Project: @cldmv/sizeofvar
* @Filename: /.configs/vitest.config.mjs
* @Date: 2026-08-01T23:22:31-07:00 (1785651751)
* @Author: Nate Corcoran <CLDMV>
* @Email: <Shinrai@users.noreply.github.com>
* -----
* @Last modified by: Nate Corcoran <CLDMV> (Shinrai@users.noreply.github.com)
* @Last modified time: 2026-10-02T11:30:28-07:00 (1790965828)
* -----
* @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
*
*/

import { defineConfig } from "vitest/config";
import { fileURLToPath } from "node:url";
import path from "node:path";
Expand Down
27 changes: 17 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
#
# @Project: @cldmv/.github
# @Filename: /examples/individual-repo-workflows/automation/dependabot.yml
# @Date: 2026-05-26 00:00:00 -07:00 (1782460800)
# @Author: Nate Corcoran <CLDMV>
# @Email: <Shinrai@users.noreply.github.com>
# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
# @Project: @cldmv/sizeofvar
# @Filename: /.github/dependabot.yml
# @Date: 2026-05-26T00:00:00-07:00 (1779778800)
# @Author: Nate Corcoran <CLDMV>
# @Email: <Shinrai@users.noreply.github.com>
# -----
# @Last modified by: Nate Corcoran <CLDMV> (Shinrai@users.noreply.github.com)
# @Last modified time: 2026-10-02T11:30:28-07:00 (1790965828)
# -----
# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
#

# Individual repo: .github/dependabot.yml
Expand Down Expand Up @@ -69,10 +73,13 @@ updates:
prefix: "deps"
groups:
# vitest and @vitest/coverage-v8 (and other @vitest/* packages) peer
# each other exactly, so bumping one without the other breaks
# `npm ci` with an ERESOLVE. Bump the whole family together in one
# PR. Must come before security/patch/minor below β€” Dependabot
# assigns each update to the FIRST matching group.
# each other EXACTLY, so a partial bump (e.g. vitest to 5.0.0 while
# @vitest/coverage-v8 stays 4.1.11) breaks `npm ci` with an ERESOLVE.
# Bump the whole family together in one PR so the exact-peer
# versions never diverge. Must come before security/patch/minor
# below β€” Dependabot assigns each update to the FIRST matching
# group, and this one has no applies-to restriction so it always
# wins for vitest-family packages regardless of update type.
vitest:
patterns:
- "vitest"
Expand Down
22 changes: 14 additions & 8 deletions .github/workflows/branch-retention.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
#
# @Project: @cldmv/sizeofvar
# @Filename: /.github/workflows/branch-retention.yml
# @Date: 2026-05-20 00:00:00 -07:00 (1779606000)
# @Author: Nate Corcoran <CLDMV>
# @Email: <Shinrai@users.noreply.github.com>
# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
# @Project: @cldmv/sizeofvar
# @Filename: /.github/workflows/branch-retention.yml
# @Date: 2026-05-20T00:00:00-07:00 (1779260400)
# @Author: Nate Corcoran <CLDMV>
# @Email: <Shinrai@users.noreply.github.com>
# -----
# @Last modified by: Nate Corcoran <CLDMV> (Shinrai@users.noreply.github.com)
# @Last modified time: 2026-10-02T11:30:28-07:00 (1790965828)
# -----
# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
#

# Individual repo: .github/workflows/branch-retention.yml
Expand All @@ -26,11 +30,13 @@ on:
branches: [master, main, next, hotfixes]

permissions:
contents: write
pull-requests: read
contents: read

jobs:
retain:
permissions:
contents: write
pull-requests: read
if: github.event.pull_request.merged == true
uses: CLDMV/.github/.github/workflows/reusable-branch-retention.yml@v4
secrets:
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#
# @Project: @cldmv/sizeofvar
# @Filename: /.github/workflows/bundle-size.yml
# @Date: 2026-05-20T00:00:00-07:00 (1779260400)
# @Author: Nate Corcoran <CLDMV>
# @Email: <Shinrai@users.noreply.github.com>
# -----
# @Last modified by: Nate Corcoran <CLDMV> (Shinrai@users.noreply.github.com)
# @Last modified time: 2026-10-02T11:30:28-07:00 (1790965828)
# -----
# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
#

# Individual repo: .github/workflows/bundle-size.yml
#
# Only relevant for runtime libraries where bundle size matters (e.g.
# @cldmv/slothlet). Skip this template for tool repos / meta repos.
#
# Fork-PR caveat: builds PR-supplied code, so we use `pull_request`
# (NOT pull_request_target). Fork builds run safely without secrets;
# comment posting fails for fork PRs because the token is read-only.
# Maintainer can run via workflow_dispatch after reviewing the code.
#
# Batch 5.4 from tmp/plan-future-workflows.md.
name: πŸ“Š Bundle Size

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [master, main]
workflow_dispatch:

permissions:
contents: read
pull-requests: write

jobs:
diff:
uses: CLDMV/.github/.github/workflows/reusable-bundle-size.yml@v4
with:
build_command: "npm run build:ci"
# Every pattern starts with `*` on purpose: the v4.29.2 measure action matches nothing for a bare top-level file and double-counts files when patterns have different roots.
dist_paths: "*.js"
# warning_pct: 5
# warning_bytes: 500
# comment_mode: "update"
# Optional. Without these, the size-diff comment is posted by
# github-actions[bot]. With these, it's posted by your CLDMV bot App.
# Note: fork PRs can't access org secrets, so the bot attribution only
# applies to same-repo PRs; fork PRs fall back to GITHUB_TOKEN.
secrets:
BOT_APP_CLIENT_ID: ${{ secrets.CLDMV_BOT_APP_CLIENT_ID }}
BOT_APP_PRIVATE_KEY: ${{ secrets.CLDMV_BOT_APP_PRIVATE_KEY }}
Loading
Loading