Detalhes do pacote

@hugomrdias/configs

hugomrdias450MIT1.1.1

JS tooling configs

biome, typescript, config, tooling

readme (leia-me)

@hugomrdias/configs NPM Version License

JS tooling config

Install

pnpm install @hugomrdias/configs

# in monorepo root install
pnpm install @hugomrdias/configs -w -D  
pnpm install @biomejs/biome -w -D

Usage

biome.json


{
  "extends": ["@hugomrdias/configs/biome"]
}

package.json

{
  "main": "src/index.js",
  "types": "dist/src/index.d.ts",
  "files": ["dist/src", "src"],
  "scripts": {
    "lint": "biome check --no-errors-on-unmatched --files-ignore-unknown=true ."
  },
  "simple-git-hooks": {
    "pre-commit": "pnpm exec biome check --no-errors-on-unmatched --files-ignore-unknown=true --staged"
  }
}

tsconfig.json

{
  "extends": "@hugomrdias/configs/tsconfig",
  "compilerOptions": {
    "outDir": "dist",
    "emitDeclarationOnly": true
  },
  "include": ["src", "test"]
}

For typescript code bases:

{
  "extends": "@hugomrdias/configs/tsconfig",
  "compilerOptions": {
    "outDir": "dist",
    "module": "NodeNext",
    "moduleResolution": "NodeNext"
  },
  "include": ["src", "test"]
}

In monorepos you can install @hugomrdias/configs only in the root and extend the root tsconfig.json in the packages.

License

MIT © Hugo Dias

changelog (log de mudanças)

Changelog

1.1.1 (2025-08-26)

Bug Fixes

1.1.0 (2025-08-05)

Features

1.0.1 (2025-08-01)

Bug Fixes

  • configs: update peerDependency version for @biomejs/biome (17ba511)

1.0.0 (2025-07-23)

⚠ BREAKING CHANGES

  • add .gitignore and update biome configuration

Features

  • add .gitignore and update biome configuration (20d5743)

0.1.9 (2024-09-24)

Bug Fixes

0.1.8 (2024-06-12)

Bug Fixes

0.1.7 (2024-05-16)

Bug Fixes

0.1.6 (2024-05-16)

Bug Fixes

  • remove tsconfig include (ae75c2f)

0.1.5 (2024-05-08)

Miscellaneous Chores

  • main: release iso-base 0.1.5 (3849a49)

0.1.6 (2024-05-08)

Bug Fixes

0.1.5 (2024-05-08)

Bug Fixes

Miscellaneous Chores

  • main: release iso-base 0.1.5 (3849a49)