@words/root is a monorepo managed with pnpm workspaces. It provides a structured development environment for multiple packages and services. The workspace includes scripts for package synchronization, dependency management, and formatting.
- pnpm workspaces for efficient dependency management
- Custom scripts for maintaining and cleaning the workspace
Ensure you have pnpm installed globally:
npm install -g pnpmThen, install dependencies for all workspace packages:
pnpm install/ @words/root
├── /service # Core service package
├── /packages # Collection of sub-packages
│ ├── package-1 # Example package
│ ├── package-2 # Example package
└── package.json # Root workspace configuration
Forces synchronization of node_modules in case of inconsistencies:
pnpm run packages:force-node-modules-syncRemoves all node_modules directories within the workspace: