Shared types and utilities for @ylfjuk projects.
@ylfjuk/corere-exports the complete public API.@ylfjuk-core/typesprovides TypeScript utility types.@ylfjuk-core/utilsprovides runtime utilities.
The runtime packages are ESM-only and target ES2024. Use import, not require.
Development requires Node.js 22.18.0 or newer and the pnpm version declared in package.json.
pnpm install --frozen-lockfile
pnpm run fmt:check
pnpm run lint
pnpm run test:types
pnpm run test
pnpm run coverage
pnpm run buildOxfmt and Oxlint handle formatting and linting, Vitest runs tests and coverage, TypeScript checks source and test files, and tsdown builds and validates publishable packages with publint and Are the Types Wrong.
Each package's tsconfig.test.json includes its source and existing .spec.ts tests. Both test:types and Vitest use it, so test, test:v, and coverage check type assertions too. The source-only tsconfig.json files remain separate for package builds.
Add a changeset with pnpm run plan. A releaser runs pnpm run version locally and commits the reviewed release changes.
After validation, merges to main publish package versions missing from npm and push release tags.
See the release guide for version review, GitHub environment setup, and npm trusted publishing. Complete that setup before enabling releases.
MIT @YLfjuk