File tree 9 files changed +517
-24
lines changed
packages/starlight-openapi
9 files changed +517
-24
lines changed Original file line number Diff line number Diff line change
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/main/docs/common-questions.md )
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://unpkg.com/@changesets/config@3.0.4/schema.json" ,
3
+ "changelog" : [
4
+ " @changesets/changelog-github" ,
5
+ { "repo" : " HiDeoo/starlight-openapi" }
6
+ ],
7
+ "commit" : false ,
8
+ "access" : " public" ,
9
+ "baseBranch" : " main" ,
10
+ "updateInternalDependencies" : " patch" ,
11
+ "ignore" : [" starlight-openapi-docs" ]
12
+ }
Original file line number Diff line number Diff line change 34
34
with :
35
35
cache : pnpm
36
36
node-version : 18
37
- registry-url : ' https://registry.npmjs.org'
38
37
39
38
- name : Install dependencies
40
39
run : pnpm install
Original file line number Diff line number Diff line change @@ -2,22 +2,18 @@ name: release
2
2
3
3
on :
4
4
push :
5
- tags :
6
- - ' v*.*.* '
5
+ branches :
6
+ - main
7
7
8
8
jobs :
9
- integration :
10
- name : Integration
11
- uses : ./.github/workflows/integration.yml
12
-
13
- publish :
14
- name : Publish
15
- needs :
16
- - integration
9
+ changeset :
10
+ name : Changeset
11
+ if : ${{ github.repository_owner == 'hideoo' }}
17
12
runs-on : ubuntu-latest
18
13
permissions :
19
14
contents : write
20
15
id-token : write
16
+ pull-requests : write
21
17
steps :
22
18
- name : Checkout
23
19
uses : actions/checkout@v4
@@ -34,19 +30,17 @@ jobs:
34
30
with :
35
31
cache : pnpm
36
32
node-version : 18
37
- registry-url : ' https://registry.npmjs.org'
38
33
39
34
- name : Install dependencies
40
35
run : pnpm install
41
36
42
- - name : Publish
43
- run : pnpm publish --no-git-checks
44
- working-directory : packages/starlight-openapi
45
- env :
46
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
47
- NPM_CONFIG_PROVENANCE : true
48
-
49
- - name : Generate changelog
50
- uses : hideoo/changelogithub-action@v1
37
+ - name : Create Release Pull Request or Publish
38
+ uses : changesets/action@v1
51
39
with :
52
- token : ${{ secrets.GITHUB_TOKEN }}
40
+ version : pnpm run version
41
+ publish : pnpm changeset publish
42
+ commit : ' ci: release'
43
+ title : ' ci: release'
44
+ env :
45
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
1
.astro
2
+ .changeset
2
3
.github /blocks
3
4
.next
4
5
.vercel
Original file line number Diff line number Diff line change 11
11
"format" : " pnpm -r format"
12
12
},
13
13
"devDependencies" : {
14
+ "@changesets/changelog-github" : " 0.5.0" ,
15
+ "@changesets/cli" : " 2.27.10" ,
14
16
"@hideoo/eslint-config" : " 3.0.0" ,
15
17
"@hideoo/prettier-config" : " 2.0.0" ,
16
18
"@hideoo/tsconfig" : " 2.0.1" ,
Original file line number Diff line number Diff line change 36
36
},
37
37
"packageManager" : " pnpm@8.6.12" ,
38
38
"publishConfig" : {
39
- "access" : " public"
39
+ "access" : " public" ,
40
+ "provenance" : true
40
41
},
41
42
"sideEffects" : false ,
42
43
"keywords" : [
You can’t perform that action at this time.
0 commit comments