Skip to content

chore: align scaffolder with textmode tooling - #6

Merged
humanbydefinition merged 1 commit into
devfrom
humanbydefinition-scaffolder-textmode-tooling
Aug 7, 2026
Merged

chore: align scaffolder with textmode tooling#6
humanbydefinition merged 1 commit into
devfrom
humanbydefinition-scaffolder-textmode-tooling

Conversation

@humanbydefinition

Copy link
Copy Markdown
Owner

What

Align create-textmode with the textmode.js ecosystem tooling foundation, starting with a single @textmode package.

Changes

  • @textmode/tooling-scripts (the ecosystem hub, zero deps) with prepare: install-git-hooks
  • @textmode/commitlint-config + @commitlint/cli (required by the commit-msg hook)
  • lint-staged (pre-commit hook; runs node --check on staged JS)
  • npm run check (lint && test), lint via node --check, test:watch
  • .nvmrc (24) + .github/workflows/ci.yml (npm ci + npm run check, no release job)
  • vitest bumped to ^4.1.10 (clears 4 audit vulnerabilities — 1 critical, 3 high)

Security / governance

  • pre-push hook blocks direct pushes to dev/beta/main (PR flow enforced)
  • commit-msg hook enforces conventional commits
  • npm audit now reports 0 vulnerabilities

Why this scope

First step only — matches the "single @Textmode package, more only if the chosen one depends on others" constraint. Deferred (future PRs): @textmode/eslint-config, @textmode/prettier-config, markdownlint, full textmode-project check parity, semantic-release.

Verification

  • npm ci + npm run check pass locally (10 tests)
  • npm audit: 0 vulnerabilities

Add the textmode.js ecosystem tooling foundation:
- @textmode/tooling-scripts (install-git-hooks + textmode-project)
- @textmode/commitlint-config + @commitlint/cli (commit-msg hook)
- lint-staged (pre-commit hook)
- npm run check (lint + test), lint via node --check
- prepare script installs git hooks incl. pre-push dev/beta/main protection
- .nvmrc (24), CI workflow with npm ci + npm run check
- bump vitest to ^4.1.10 (clears audit vulnerabilities)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@humanbydefinition

Copy link
Copy Markdown
Owner Author

Re-triggering CI workflow detection.

@humanbydefinition
humanbydefinition merged commit d87bec0 into dev Aug 7, 2026
1 check passed
@humanbydefinition
humanbydefinition deleted the humanbydefinition-scaffolder-textmode-tooling branch August 7, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant