Changesetsを使っていく
pnpm + モノレポの環境でChangesetsを使った時の記録。
インストール
Terminal
pnpm add -Dw @changesets/cli初期化
Changesetsの設定ファイル .changeset/config.json が作成される。
Terminal
pnpm changeset init除外設定
Changesetsの設定ファイルの ignore にバージョン管理の対象外のパッケージ名を設定すると除外される。
参考サイト
ChangesetsとGitHub Actionsを使ってバージョン管理を自動化するための解説記事。
Changesetsでnpmへのリリースを自動化する - ろぼいんブログ
最近、筆者が管理するいくつかのGitHubリポジトリーにChangesetsを導入しました。これによってnpmへのリリース作業を自動化でき、負担が減りました。この記事では、Changesetsを導入する手順を詳しく解説します。
roboin.io
Changesets採用プロジェクト
GitHub - chakra-ui/panda: 🐼 Universal, Type-Safe, CSS-in-JS Framework for Design Systems ⚡️
🐼 Universal, Type-Safe, CSS-in-JS Framework for Design Systems ⚡️ - chakra-ui/panda
github.com
GitHub - urql-graphql/urql: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow. - urql-graphql/urql
github.com
GitHub - dotansimha/graphql-code-generator: A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins. - dotansimha/graphql-code-generator
github.com
GitHub - shadcn-ui/ui: Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.
Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own. - shadcn-ui/ui
github.com
GitHub - heroui-inc/heroui: 🚀 Beautiful, fast and modern React UI library. (Previously NextUI)
🚀 Beautiful, fast and modern React UI library. (Previously NextUI) - heroui-inc/heroui
github.com