mirror of
https://github.com/withastro/starlight.git
synced 2026-10-12 02:24:41 +00:00
chore: migrate Changesets to v3 (#4139)
Co-authored-by: Chris Swithinbank <[email protected]>
This commit is contained in:
co-authored by
Chris Swithinbank
parent
cacbc9ff45
commit
a67cfccf2e
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
|
||||
"$schema": "https://unpkg.com/@changesets/config@4.0.0/schema.json",
|
||||
"changelog": [
|
||||
"@changesets/changelog-github",
|
||||
{ "repo": "withastro/starlight" }
|
||||
@@ -9,7 +9,6 @@
|
||||
"access": "public",
|
||||
"baseBranch": "origin/main",
|
||||
"updateInternalDependencies": "patch",
|
||||
"ignore": ["starlight-docs", "@example/*", "starlight-file-icons-generator", "@e2e/*"],
|
||||
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
|
||||
"onlyUpdatePeerDependentsWhenOutOfRange": true
|
||||
}
|
||||
|
||||
@@ -36,12 +36,10 @@ jobs:
|
||||
run: pnpm i
|
||||
|
||||
- name: Create Release Pull Request
|
||||
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
|
||||
uses: changesets/action@8488615a623b1b9c987934bb89eae8af6a946ac1 # v2.1.1
|
||||
with:
|
||||
version: pnpm run version
|
||||
publish: pnpm changeset publish
|
||||
commit: '[ci] release'
|
||||
title: '[ci] release'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
|
||||
NPM_TOKEN: "" # See https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868
|
||||
version-script: pnpm run version
|
||||
publish-script: pnpm changeset publish
|
||||
commit-message: '[ci] release'
|
||||
pr-title: '[ci] release'
|
||||
github-token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
|
||||
|
||||
+3
-3
@@ -14,8 +14,8 @@
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@astrojs/check": "^0.9.10",
|
||||
"@changesets/changelog-github": "^0.6.0",
|
||||
"@changesets/cli": "^2.31.0",
|
||||
"@changesets/changelog-github": "^1.0.0",
|
||||
"@changesets/cli": "^3.0.1",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@size-limit/file": "^12.1.0",
|
||||
"astro": "^7.1.6",
|
||||
@@ -29,7 +29,7 @@
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.59.2"
|
||||
},
|
||||
"packageManager": "pnpm@11.1.1",
|
||||
"packageManager": "pnpm@11.22.0",
|
||||
"size-limit": [
|
||||
{
|
||||
"name": "/index.html",
|
||||
|
||||
Generated
+296
-635
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user