RunEazy's shared tooling, used by every RunEazy repository by version instead of copies.
| Package | What it is | Use it |
|---|---|---|
@runeazy/devkit-checks |
The runeazy-check command: cloud-terms and dependency-rule |
npx runeazy-check cloud-terms |
@runeazy/devkit-eslint |
ESLint flat config: TypeScript, sorted imports, React hooks | export default [...runeazy({ react: true })] |
@runeazy/devkit-prettier |
Prettier config | export { default } from '@runeazy/devkit-prettier' |
@runeazy/devkit-tsconfig |
TypeScript strictness | "extends": "@runeazy/devkit-tsconfig/base" |
@runeazy/devkit-commitlint |
Conventional Commits | export default { extends: ['@runeazy/devkit-commitlint'] } |
default.json |
The Renovate preset | { "extends": ["github>runeazy/runeazy-devkit"] } |
The CI jobs that run these live in runeazy/.github's reusable workflows.
The packages are published to npmjs, so anyone installs them with no token:
npm install --save-dev @runeazy/devkit-checksRunEazy's own repositories map @runeazy to GitHub Packages while the SDK is there, so every
release is published to both registries at the same version. In such a repository:
@runeazy:registry=https://npm.pkg.github.comCI reads with its workflow token (packages: read); on a laptop, a personal token with
read:packages only, in ~/.npmrc as //npm.pkg.github.com/:_authToken=<token>.
Each repository keeps only its own data: a baseline file and runeazy-checks.json.
{
"cloudTerms": {
"baseline": "scripts/check-cloud-terms.baseline.json",
"allowTasks": ["server-kit/tasks/**"],
"exempt": ["src/lessons/**"]
},
"dependencyRule": {
"allow": [
{
"file": ".github/workflows/ci.yml",
"target": "runeazy/runeazy-sdk",
"reason": "links the Node SDK until it is published"
}
]
}
}cloud-termsfails when a tracked file gains a line naming Google Cloud. Only the deployment repository may name a cloud. The baseline counts today's lines per file and may only shrink:--pruneafter removing some,--base=<ref>in CI on a pull request,--allto list them,--initonce.allowTaskslets Cloud Tasks and Cloud Scheduler be named in those files alone, until their open-source adapters replace them.exemptskips content that teaches or states a cloud.dependency-rulefails when code crosses a repository other than as a versioned artifact: afile:/link:specifier that leaves the repository or names another repository's@runeazy/package, or a workflow that checks out another RunEazy repository (exceptruneazy/.github).allowlists today's exceptions with the change that ends each; an entry that no longer matches fails as stale, so the list only shrinks.
All packages share one version. Commits are Conventional Commits; release-please keeps a release
PR open, and merging it tags vX.Y.Z, writes CHANGELOG.md and publishes to npmjs (trusted
publishing, with provenance) and GitHub Packages. A published version
is never unpublished: a bad one is deprecated and fixed by a patch.
Apache-2.0.