@shepherd23/nx-preset-ts-monorepo
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

@shepherd23/nx-preset-ts-monorepo

This is a template for a typescript monorepo project.

The monorepo includes:

  • pnpm as the package manager and the workspace tool
  • nx as the workspace manager, specifically for building and publishing.
  • lerna as the monorepo manager, specifically for versioning and changelog generation.
  • typescript as the language.
  • jest as the test runner.
  • eslint as the linter.
  • prettier as the code formatter.
  • husky as the git hooks manager.
  • commitlint as the commit message linter.
  • Github Actions as the CI/CD tool.

Template files

See ./files for the template files.

Usage

# `pnpm dlx` is equivalent to `npx`
pnpm dlx create-nx-workspace @shepherd23/nx-preset-ts-monorepo <project-name>

# Navigate to the project
cd <project-name>

# Install dependencies
pnpm install

Arguments

[Required] project-name

The name of the project to generate.

Readme

Keywords

none

Package Sidebar

Install

npm i @shepherd23/nx-preset-ts-monorepo

Weekly Downloads

1

Version

0.5.1

License

MIT

Unpacked Size

13.6 kB

Total Files

29

Last publish

Collaborators

  • shepherd23