Shared development-time configurations for TypeScript, ESLint (flat config), and Next.js. These utilities are dev-only and should not ship with application runtime artifacts.
These configurations are not exhaustive and might require bespoke changes once extended or included in your target repo (based on the configuration used).
npm install --save-dev @shi-corp/development-utilitiesDo not import anything from this package in production/runtime code.
Since it is not a code but just configuration file, it would require particular handling to use:
in tsconfig.json make these changes
This project is using flat file for eslint (best results achieved with version >=9.9.0) and the intention to be compatible with that style only:
in eslint.config.(m)js make these changes
import { eslintConfig } from '@shi-corp/development-utilities';
export default [
...eslintConfig,
// Add project-specific rules, ignores, or plugins here
];in next.config.(m)js make these changes
import { nextConfig } from '@shi-corp/development-utilities';
export default {
...nextConfig,
... // any other options that need to override base behavior
};- Dev-only: configurations used for authoring, linting, and building. They should not be bundled into final application artifacts.
- Centralized defaults: opinionated baselines to standardize behavior across repos.
- Opt-in overrides: extend and override per project as needed.
- Node.JS (Latest LTS)
- ES Lint >= 9.40
- TypeScript >= 5.9
- Next.JS >= 15 (only if using the provided next config)
MIT
{ "extends": "@shi-corp/development-utilities/config/baseTsConfig.json", "compilerOptions": { "outDir": "./bin" // Adjust for your project } // ... Any other options that need to override base behavior }