A common library and common configuration developed based on the monorepo + pnpm architecture.
Custom eslint common configuration
Say goodbye to cumbersome configurations, an npx command automatically downloads husky, lint-staged, commitlint, commitizen, cz-customizable, etc., and completes the relevant configurations.
pnpm add -Dw [Plugin Name]
pnpm provides the --filter parameter, which can be used to perform certain operations on specific packages.
Therefore, if you want to install a dependency package for pkg, such as axios, you can do the following:
pnpm add axios --filter pkg
In monorepo, project A introduces project B,For example:
pnpm add @yaoxfly/eslint-config --filter @yaoxfly/verify-commit
After using the link, you can use the command to debug
npm link
If you want to test the published package, delete the npm link package globally
npm uninstall -g [Package names]
start alone
pnpm --filter [Package names] dev
start multiple
pnpm --parallel [scripts command]
//For example:
pnpm --parallel dev