Repository navigation
chore: align tooling with FRSOURCE org conventions - #2
Merged
Merged
Conversation
Match the setup used across FRSOURCE repos (e.g. autoresize-textarea): - pnpm (lockfile, packageManager) and .nvmrc instead of npm ci + Node 24 - lint with @frsource/eslint-config (typescript preset) and @frsource/prettier-config; `pnpm lint` runs eslint, prettier and clang-format, `pnpm fix` auto-fixes all three - devDependencies pinned to exact versions so Renovate owns the bumps; renovate.json extends the org preset - eslint 10, typescript 6 (tsc gets --ignoreConfig now that a tsconfig.json exists for editors and eslint) - semantic-release via @frsource/semantic-release-config, released by CI on pushes to main through npm trusted publishing (OIDC) - CI split into cache / lint / build-and-release jobs - sources, tests and README formatted with prettier; flat.cpp with clang-format so lint:native passes Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
FRSgit
force-pushed
the
chore/frsource-tooling
branch
from
October 6, 2026 21:42
f00c96d to
c59fff1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Independent of #1: only tooling, lint, build and release setup, brought in line with the other FRSOURCE repos (e.g. autoresize-textarea). The package name, repository URLs, Box3D git dependency, emitted types and Box3D bump stay in #1.
Package manager / Node
packageManager;.nvmrc(24.21.0) drives CI vianode-version-filepackage-lock.jsonremovedLinting / formatting
@frsource/eslint-config(typescript preset) replaces the hand-rolled@eslint/jsconfig;eslint.config.mjs+globalsfor browser/node globals insrcandtest@frsource/prettier-config+.prettierignore;pnpm lintruns eslint, prettier and clang-format,pnpm fixauto-fixes all threetsconfig.jsonfor editors and typescript-eslint (tscinbuild.shgets--ignoreConfig, which TypeScript 6 requires when files are passed on the CLI)src/test/README formatted with prettier,csrc/flat.cppwith clang-format (byte-identical toclang-formatoutput, no code change); build + 26 tests green locallyDependencies
renovate.jsonextendsFRSOURCE/renovate-config(automerges patch,@frsource/*-configand linters)Release
.releaserc.mjsre-exports@frsource/semantic-release-config(angular preset, changelog, GitHub release, npm, git)release/release:ci/release:testscriptsCI
cache→lint→build and release; emsdk andpnpm fetch-depsonly in the build jobmainonly, skips dependabot, pinsNPM_CONFIG_REGISTRY, publishes through trusted publishing (OIDC), noNPM_TOKENmainhas no conventional commits or tags, so merging this alone does not publish anything; the first real release happens once feat: publish as @frsource/box3d-wasm, track Box3D via git dependency, emit types #1 lands the@frsource/box3d-wasmname and FRSOURCE repository URL that semantic-release reads frompackage.jsonMisc
.gitignoreextended (emsdk-cache, caches, tarballs, dotenv); README "Building from source" documentsnvm use,pnpm lint/fixand the commit convention🤖 Generated with Claude Code