Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
/ configs Public archive

[Deprecated] Migrated to phanect/misc repository

License

Notifications You must be signed in to change notification settings

phanect/configs

Repository files navigation

@phanect/configs

Collection of personal configuration files for @phanect

Install packages

npm install -D @phanect/configs typescript @types/node @biomejs/biome

tsconfig

Usage

tsconfig.json

{
  "extends": [
    "@phanect/configs/tsconfig/nodejs",
    "@phanect/configs/tsconfig/addons/npm"
  ]
}

List of tsconfigs

  • @phanect/configs/tsconfig/frontend: tsconfig.json for frontend projects.
  • @phanect/configs/tsconfig/nodejs: tsconfig.json for Node.js projects. (Backend app & npm package)
  • @phanect/configs/tsconfig/cloudflare: tsconfig.json for the apps runs on Cloudflare Workers
  • @phanect/configs/tsconfig/addons/jsx: Supplemental tsconfig for JSX projects
  • @phanect/configs/tsconfig/addons/npm: Supplemental tsconfig for npm package (Generates .d.ts files)
  • @phanect/configs/tsconfig/addons/vite: Supplemental tsconfig for projects using Vite

Biome

Usage

biome.jsonc

{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@phanect/configs/biome"]
}

License

CC0 1.0 (≒ Public Domain)