Skip to content

yardinternet/toolkit

Repository files navigation

Yard Toolkit

Yard Toolkit centralizes configuration files for building, formatting and linting, among other things. It is used by the WordPress team for sites and packages.

Packages

👷‍♀️ Package Development

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.

🚀 Releasing packages

lerna publish --no-private

📦 Dependency Management

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. Husky (CaptainHook alternative) ensures that all files are automatically formatted and linted with each commit.

About us

banner

About

Yard Toolkit monorepo

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •