Skip to content

danilupion/slango

Repository files navigation

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. Enable corepack to activate pnpm:

    corepack enable
  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.

About

Opinionated set of config (@slango-config/) and utility (@slango/) packages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •