This monorepo contains shareable configurations for various development tools used in sola-hq projects.
This monorepo is managed by pnpm and includes the following packages:
| Package | Description |
|---|---|
@sola-hq/eslint-config |
Shareable ESLint configurations for different project types. |
@sola-hq/prettier-config |
Shareable Prettier configuration for code formatting. |
@sola-hq/tsconfig |
Shareable TypeScript configurations (tsconfig). |
To get started with this monorepo, you need to have Node.js and pnpm installed.
Clone the repository and install the dependencies:
git clone https://github.com/sola-hq/dev.git sola-hq-dev
cd sola-hq-dev
pnpm installTo build all the packages in the monorepo, run the following command from the root directory:
pnpm buildThis project uses ESLint for linting and Prettier for code formatting.
- To lint all packages, run:
pnpm lint - To format all files, run:
pnpm format
This monorepo uses Changesets to manage versioning and releases.
The release process is automated with GitHub Actions.
-
Make your changes: Make your code changes in the respective packages.
-
Create a changeset: Before committing your changes, run the following command:
pnpm changeset
This will prompt you to select the packages that have changed, the type of version bump (patch, minor, or major), and to provide a summary of the changes. This will create a new markdown file in the
.changesetdirectory. -
Commit and push: Commit the generated changeset file along with your code changes.
-
Automated Release PR: When you push to the
mainbranch, the Release Action will automatically create a "Version Packages" Pull Request with the version bumps and updated changelogs. -
Publish to npm: Once the "Version Packages" PR is merged, the action will publish the updated packages to npm.
This project is licensed under the MIT License. See the LICENSE file for details.