@plasius/react-query
v1.0.13
Published
@plasius/react-query package
Readme
@plasius/react-query
Public package for lightweight query, mutation, and cache hooks used in Plasius React applications.
Install
npm install @plasius/react-queryModule formats
This package publishes dual ESM and CJS artifacts.
When CJS output is emitted under dist-cjs/*.js with type: module, dist-cjs/package.json is generated with { "type": "commonjs" } to ensure Node require(...) compatibility.
Usage
import { useQuery, useMutation, useQueryClient } from "@plasius/react-query";Development
npm ci
npm run lint
npm run typecheck
npm run build
npm testQuality Gates
- CI enforces
lint,typecheck, runtime dependency audit (npm audit --omit=dev --audit-level=high), tests, and coverage gate (line coverage >= 80%). - Local coverage checks run via
npm run test:coverage.
Governance
- Security policy: SECURITY.md
- Code of conduct: CODE_OF_CONDUCT.md
- ADRs: docs/adrs
- Legal docs: legal
License
MIT
