Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,24 @@ It is used by the WordPress team for sites and packages.
Register package: `npm init -w ./packages/[packagename]`
Install dependencies in package: `npm install [depname] -w ./packages/[packagename]`

> ℹ️ **Note on pnpm**
> The `./packages/toolkit` package requires *all* dependencies from all used configs/packages to be explicitly declared. Unlike npm, pnpm does not automatically hoist undeclared dependencies. More details in the [README of the toolkit package](./packages/toolkit/README.md#note-on-dependencies).

## 🚀 Releasing packages

```bash
lerna publish --no-private
```

## 📦 Dependency Management

```bash
npm run dep:check # List mismatched versions across workspaces
npm run dep:fix # Fix mismatched versions
npm run dep:outdated # Check for outdated dependencies across workspaces
npm run dep:update # Update all dependencies and reinstall
```

## 🎨 Formatting & Linting

The linting in this monorepo uses the settings defined in the child packages.
Expand Down
Loading