Skip to content

twiddler/pnpm-workspaces-monorepo-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

What's this?

This is the most basic working example of using pnpm workspaces. It'll help you understand setting up a monorepo with pnpm workspaces. It's got:

  • An app that simulates what you'd deliver. It could be a server, a website, โ€ฆ
  • A library with functions you'd like to share among your other packages.
  • Another library which is organized in sub-packages.
  • A pnpm-workspace.yaml configuration.

It includes JavaScript and (soon) TypeScript examples:

  • js-commonjs: JavaScript code with CommonJs modules
  • js-esm: JavaScript code with EcmaScript modules
  • ts-esm: TypeScript code with EcmaScript modules โš ๏ธ work in progress โš ๏ธ

How to use

Clone the repository. Open the directory of the example you'd like to explore. Then:

$ pnpm i
$ npm start

More โ€ฆ

You could check out โ€ฆ

About

A basic working example of pnpm workspaces for a monorepo ๐Ÿš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published