Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 8243ac6

Browse files
committed
chore: setup changesets release pipeline
1 parent 562ee83 commit 8243ac6

File tree

8 files changed

+614
-22
lines changed

8 files changed

+614
-22
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.md)

.changeset/chilly-tables-care.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
'@chakra-ui/c-accordion': patch
3+
'@chakra-ui/c-alert': patch
4+
'@chakra-ui/c-badge': patch
5+
'@chakra-ui/c-button': patch
6+
'@chakra-ui/c-color-mode': patch
7+
'@chakra-ui/c-flex': patch
8+
'@chakra-ui/c-icon': patch
9+
'@chakra-ui/c-popper': patch
10+
'@chakra-ui/c-portal': patch
11+
'@chakra-ui/c-reset': patch
12+
'@chakra-ui/c-spinner': patch
13+
'@chakra-ui/c-theme-provider': patch
14+
'@chakra-ui/c-visually-hidden': patch
15+
'@chakra-ui/vue-next': patch
16+
'@chakra-ui/nuxt-next': patch
17+
'@chakra-ui/vue-system': patch
18+
'@chakra-ui/vue-test-utils': patch
19+
'@chakra-ui/vue-theme': patch
20+
'@chakra-ui/vue-theme-tools': patch
21+
'@chakra-ui/vue-utils': patch
22+
---
23+
24+
Initial release for core system packages

.changeset/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{ "repo": "chakra-ui/chakra-ui-vue-next" }
6+
],
7+
"commit": false,
8+
"linked": [],
9+
"access": "public",
10+
"baseBranch": "master",
11+
"updateInternalDependencies": "patch",
12+
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
13+
"onlyUpdatePeerDependentsWhenOutOfRange": true
14+
},
15+
"ignore": []
16+
}

.changeset/pre.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"mode": "pre",
3+
"tag": "alpha",
4+
"initialVersions": {
5+
"@chakra-ui/c-accordion": "1.0.0",
6+
"@chakra-ui/c-alert": "1.0.0",
7+
"@chakra-ui/c-badge": "1.0.0",
8+
"@chakra-ui/c-button": "1.0.0",
9+
"@chakra-ui/c-color-mode": "1.0.0",
10+
"@chakra-ui/c-flex": "1.0.0",
11+
"@chakra-ui/c-icon": "1.0.0",
12+
"@chakra-ui/c-popper": "1.0.0",
13+
"@chakra-ui/c-portal": "1.0.0",
14+
"@chakra-ui/c-reset": "1.0.0",
15+
"@chakra-ui/c-spinner": "1.0.0",
16+
"@chakra-ui/c-theme-provider": "1.0.0",
17+
"@chakra-ui/c-visually-hidden": "1.0.0",
18+
"@chakra-ui/vue-next": "1.0.0",
19+
"@chakra-ui/nuxt-next": "1.0.0",
20+
"@chakra-ui/vue-system": "1.0.0",
21+
"@chakra-ui/vue-test-utils": "1.0.0",
22+
"@chakra-ui/vue-theme": "1.0.0",
23+
"@chakra-ui/vue-theme-tools": "1.0.0",
24+
"@chakra-ui/vue-utils": "1.0.0",
25+
"@chakra-ui/vue-docs": "0.0.0"
26+
},
27+
"changesets": []
28+
}

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ jobs:
4444

4545
# TODO: Uncomment when ready to start testing RCs
4646

47-
# - name: Setup CI Git User
48-
# run: |
49-
# git config --global user.name "codebender828"
50-
# git config --global user.email "[email protected]"
47+
- name: Setup CI Git User
48+
run: |
49+
git config --global user.name "codebender828"
50+
git config --global user.email "[email protected]"
5151
52-
# - name: Publish packages
53-
# uses: changesets/action@master
54-
# with:
55-
# publish: yarn release
56-
# title: "chore(release): version packages"
57-
# commit: "chore(release): version packages"
58-
# env:
59-
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
60-
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
52+
- name: Create Release Pull Request
53+
uses: changesets/action@master
54+
with:
55+
publish: yarn release
56+
title: "chore(release): version packages and publish"
57+
commit: "chore(release): version packages"
58+
env:
59+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
60+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"postinstall": "yarn bootstrap",
1414
"bootstrap": "yarn run lerna bootstrap",
1515
"scaffold": "hygen",
16+
"release": "yarn changeset publish",
1617
"build": "lerna run build --no-private --stream",
1718
"dev": "NODE_ENV=development vite serve playground --config ./vite.config.ts",
1819
"playground:build": "yarn install && yarn build && yarn bootstrap && NODE_ENV=production vite build playground --config ./vite.config.ts",
@@ -46,6 +47,7 @@
4647
"@babel/core": "^7.12.9",
4748
"@babel/preset-env": "^7.12.7",
4849
"@babel/preset-typescript": "^7.12.7",
50+
"@changesets/cli": "^2.14.1",
4951
"@commitlint/cli": "^11.0.0",
5052
"@commitlint/config-conventional": "^11.0.0",
5153
"@testing-library/jest-dom": "^5.11.9",

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.0.0",
44
"description": "Website for Chakra UI Vue Next",
55
"main": "index.html",
6+
"private": true,
67
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next.git",
78
"author": "Jonathan Bakebwa [email protected]",
89
"scripts": {

0 commit comments

Comments
 (0)