Skip to content

Commit e782116

Browse files
ci: update GitHub template files
1 parent b4abd5b commit e782116

7 files changed

Lines changed: 55 additions & 51 deletions

File tree

.github/renovate.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
":disableDependencyDashboard",
5+
":semanticPrefixFixDepsChoreOthers",
6+
":ignoreModulesAndTests",
7+
"workarounds:all",
8+
"helpers:pinGitHubActionDigestsToSemver",
9+
"docker:disable"
10+
],
11+
"rangeStrategy": "bump",
12+
"ignorePaths": ["**/node_modules/**"],
13+
"packageRules": [
14+
{
15+
"groupName": "github-actions",
16+
"matchManagers": ["github-actions"]
17+
},
18+
{
19+
"groupName": "npm-packages",
20+
"description": "Group patch+minor updates, keep majors separate",
21+
"matchManagers": ["npm"],
22+
"matchDepTypes": ["dependencies", "devDependencies", "peerDependencies"],
23+
"matchUpdateTypes": ["patch", "minor", "major"],
24+
"separateMajorMinor": true
25+
},
26+
{
27+
"description": "Disable package manager version updates",
28+
"matchPackageNames": ["pnpm"],
29+
"matchDepTypes": ["packageManager"],
30+
"enabled": false
31+
}
32+
]
33+
}

.github/renovate.json5

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/format.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
1717

1818
- name: Setup Node
19-
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
19+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2020
with:
2121
node-version: 20
2222
cache: "pnpm"

.github/workflows/publish.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
5757

5858
- name: Setup Node
59-
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
59+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
6060
with:
6161
node-version: ${{ env.NODE_VERSION }}
6262
cache: "pnpm"
@@ -66,10 +66,10 @@ jobs:
6666

6767
- name: Create Release Pull Request
6868
id: changesets
69-
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc # v1.4.10
69+
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
7070
with:
7171
commit: "ci: release"
72-
title: "ci: release"
72+
title: "ci: release [skip netlify]"
7373
env:
7474
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
7575
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -105,7 +105,7 @@ jobs:
105105
needs.changesets.outputs.hasChangesets == 'false' &&
106106
(
107107
contains(github.event.head_commit.message, 'deploy') ||
108-
contains(github.event.head_commit.message, 'ci: release')
108+
contains(github.event.head_commit.message, 'release')
109109
)
110110
) ||
111111
github.event_name == 'workflow_dispatch'
@@ -120,7 +120,7 @@ jobs:
120120
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
121121

122122
- name: Setup Node
123-
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
123+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
124124
with:
125125
node-version: ${{ env.NODE_VERSION }}
126126
cache: "pnpm"

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
"starlight-package-managers": "^0.10.0",
2121
"starlight-save-file-component": "workspace:*"
2222
},
23-
"packageManager": "pnpm@9.6.0"
23+
"packageManager": "pnpm@10.10.0"
2424
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
"prettier": "3.5.3",
2222
"prettier-plugin-astro": "0.14.1"
2323
},
24-
"packageManager": "pnpm@9.6.0"
24+
"packageManager": "pnpm@10.10.0"
2525
}

packages/starlight-save-file-component/package.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
{
22
"name": "starlight-save-file-component",
33
"version": "0.1.0",
4-
"license": "MIT",
54
"description": "Quickly display a link to some download asset on your Starlight site.",
6-
"type": "module",
7-
"exports": {
8-
".": "./index.ts",
9-
"./components/SaveFile.astro": "./components/SaveFile.astro",
10-
"./package.json": "./package.json"
11-
},
12-
"peerDependencies": {
13-
"@astrojs/starlight": ">=0.32"
14-
},
155
"keywords": [
166
"withastro",
177
"starlight",
@@ -22,13 +12,25 @@
2212
"file"
2313
],
2414
"homepage": "https://github.com/trueberryless-org/starlight-save-file-component",
25-
"bugs": "https://github.com/trueberryless-org/starlight-save-file-component/issues",
15+
"bugs": {
16+
"url": "https://github.com/trueberryless-org/starlight-save-file-component/issues"
17+
},
2618
"repository": {
2719
"type": "git",
2820
"url": "https://github.com/trueberryless-org/starlight-save-file-component.git",
2921
"directory": "packages/starlight-save-file-component"
3022
},
31-
"author": "trueberryless-org",
23+
"license": "MIT",
24+
"author": "trueberryless <[email protected]> (https://trueberryless.org)",
25+
"type": "module",
26+
"exports": {
27+
".": "./index.ts",
28+
"./components/SaveFile.astro": "./components/SaveFile.astro",
29+
"./package.json": "./package.json"
30+
},
31+
"peerDependencies": {
32+
"@astrojs/starlight": ">=0.32"
33+
},
3234
"publishConfig": {
3335
"access": "public"
3436
}

0 commit comments

Comments
 (0)