Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 2.21 KB

File metadata and controls

73 lines (49 loc) · 2.21 KB

Slango Monorepo

Slango is a collection of reusable TypeScript configuration and utility packages for Node.js projects.

Installation

  1. Use the Node.js version defined in .nvmrc:

    nvm use

    If the version is not installed yet:

    nvm install
  2. Install pnpm:

    npm install -g pnpm@11
  3. Install dependencies:

    pnpm install
  4. (Optional) initialize Husky when using external tools that trigger git hooks:

    mkdir -p ~/.config/husky
    echo 'export NVM_DIR="$HOME/.nvm"' > ~/.config/husky/init.sh
    echo '[ -s "$NVM_DIR/nvm.sh" ] && \\ "$NVM_DIR/nvm.sh"' >> ~/.config/husky/init.sh

Usage

Configuration Packages

Utility Packages

Testing

Run the test suite across all packages:

pnpm test

If lint-staged fails during commits, run in verbose mode:

npx lint-staged --verbose

Contributing

Contributions are welcome! Please open an issue or submit a pull request.