Skip to content

Commit

Permalink
Merge pull request #101 from liam-hq/intro-changeset
Browse files Browse the repository at this point in the history
Introduce changeset
  • Loading branch information
hoshinotsuyoshi authored Nov 29, 2024
2 parents 8e3e6be + 63373f5 commit b8d5304
Show file tree
Hide file tree
Showing 11 changed files with 537 additions and 2 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: release
on:
push:
branches:
- main
env:
working-directory: frontend

concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
id-token: write
contents: write
packages: write
pull-requests: write
issues: read

jobs:
create_release_pull_request_or_publish:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
.github
${{ env.working-directory }}
- uses: ./.github/actions/pnpm-setup
with:
working-directory: ${{ env.working-directory }}
- name: Create Release Pull Request or Publish to npm
uses: changesets/[email protected]
with:
cwd: ${{ env.working-directory }}
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 8 additions & 0 deletions frontend/.changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions frontend/.changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "0.0.1",
"devDependencies": {
"@changesets/cli": "2.27.10",
"@turbo/gen": "2.1.2",
"syncpack": "13.0.0",
"turbo": "2.1.2"
Expand Down
1 change: 1 addition & 0 deletions frontend/packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@liam/cli",
"license": "Apache-2.0",
"private": true,
"version": "0.0.0",
"type": "module",
"bin": {
Expand Down
1 change: 1 addition & 0 deletions frontend/packages/configs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@liam/configs",
"private": true,
"version": "0.0.1",
"type": "module",
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions frontend/packages/db-structure/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@liam/db-structure",
"private": true,
"version": "0.0.1",
"type": "module",
"main": "dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions frontend/packages/erd-core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@liam/erd-core",
"private": true,
"version": "0.0.1",
"type": "module",
"main": "src/index.ts",
Expand Down
1 change: 1 addition & 0 deletions frontend/packages/figma-to-css-variables/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@liam/figma-to-css-variables",
"private": true,
"version": "0.0.0",
"main": "bin/index.mjs",
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions frontend/packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@liam/ui",
"private": true,
"version": "0.0.0",
"main": "src/index.ts",
"dependencies": {
Expand Down
Loading

0 comments on commit b8d5304

Please sign in to comment.