🚢

開発日記-2024-09-05 / Changesetsを使っていく

公開日約2年前2024-09-05
MarkdownRaw Content

Changesetsを使っていく

pnpm + モノレポの環境でChangesetsを使った時の記録。

インストール

Terminal
pnpm add -Dw @changesets/cli

初期化

Changesetsの設定ファイル .changeset/config.json が作成される。

Terminal
pnpm changeset init

除外設定

Changesetsの設定ファイルの ignore にバージョン管理の対象外のパッケージ名を設定すると除外される。

参考サイト

ChangesetsとGitHub Actionsを使ってバージョン管理を自動化するための解説記事。

Changesetsでnpmへのリリースを自動化する - ろぼいんブログ

Changesets採用プロジェクト

GitHub - chakra-ui/panda: 🐼 Universal, Type-Safe, CSS-in-JS Framework for Design Systems ⚡️ GitHub - urql-graphql/urql: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow. 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. 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. GitHub - heroui-inc/heroui: 🚀 Beautiful, fast and modern React UI library. (Previously NextUI)