Skip to content

Commit 8f3c29a

Browse files
committed
Merge branch 'next' into next-docs
2 parents b1fe368 + b56bfb4 commit 8f3c29a

54 files changed

Lines changed: 364 additions & 208 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/cozy-knives-brake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@changesets/types": major
3+
---
4+
5+
Use stricter types for the options parameter for `CommitFunctions`, `ChangelogFunctions`, `Config` & `WrittenConfig`'s `commit` and `changelog` properties, to `null | Record<string, unknown>` instead of `any` or `Record<string, any>`

.changeset/curly-loops-crash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@changesets/cli": patch
3+
---
4+
5+
Enable guide line for `add` command and use box design for dependent patch bump note

.changeset/huge-flowers-fall.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@changesets/changelog-github": patch
3+
---
4+
5+
Improve type-check for options object

.changeset/pre.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@
3333
"chilly-insects-attack",
3434
"clean-cameras-fix",
3535
"clever-frogs-kick",
36+
"cool-camels-type",
3637
"cool-places-hug",
38+
"cozy-knives-brake",
3739
"curly-kids-thank",
40+
"curly-loops-crash",
41+
"cute-deserts-like",
3842
"deep-coins-attend",
3943
"few-badgers-sing",
4044
"fix-version-no-changesets-exit-code",
@@ -45,9 +49,11 @@
4549
"green-forks-carry",
4650
"green-pianos-sneeze",
4751
"happy-news-wave",
52+
"huge-flowers-fall",
4853
"late-animals-drive",
4954
"legal-islands-heal",
5055
"long-badgers-relax",
56+
"loose-towns-care",
5157
"old-paths-bake",
5258
"orange-cups-ask",
5359
"petite-buttons-shake",
@@ -57,6 +63,7 @@
5763
"rare-carrots-read",
5864
"rare-toys-march",
5965
"red-emus-wave",
66+
"rich-geckos-end",
6067
"silly-bushes-hang",
6168
"small-tips-unpack",
6269
"social-snails-battle",
@@ -73,6 +80,7 @@
7380
"two-hoops-fix",
7481
"wet-loops-watch",
7582
"whole-aliens-notice",
83+
"wicked-dryers-shave",
7684
"wise-mirrors-fry"
7785
]
7886
}

.github/dependabot.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
61
version: 2
72
updates:
8-
- package-ecosystem: "npm" # See documentation for possible values
9-
directory: "/" # Location of package manifests
3+
- package-ecosystem: "npm"
4+
directory: "/"
105
schedule:
116
interval: "weekly"
127
cooldown:
138
default-days: 7
9+
open-pull-requests-limit: 10
10+
versioning-strategy: increase
11+
groups:
12+
production-dependencies:
13+
dependency-type: "production"
14+
development-dependencies:
15+
dependency-type: "development"
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
cooldown:
21+
default-days: 7
22+
open-pull-requests-limit: 5
23+
groups:
24+
github-actions:
25+
patterns:
26+
- "*"

.github/workflows/publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
version:
1818
name: Version
1919
runs-on: ubuntu-latest
20+
environment: version
2021
timeout-minutes: 20
2122
outputs:
2223
hasChangesets: ${{ steps.changesets.outputs.hasChangesets }}
@@ -36,11 +37,18 @@ jobs:
3637
- name: Build artifacts
3738
run: pnpm build
3839

40+
- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
41+
id: app-token
42+
with:
43+
client-id: ${{ vars.APP_CLIENT_ID }}
44+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
45+
3946
- name: Create or update release pull request
4047
id: changesets
4148
# https://github.com/changesets/action
4249
uses: changesets/action@63a615b9cd06ba9a3e6d13796c7fbcb080a60a0b # v1.8.0
4350
with:
51+
github-token: ${{ steps.app-token.outputs.token }}
4452
version: pnpm version-packages
4553

4654
publish:

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@
3535
"site:dev": "pnpm --filter=./site dev",
3636
"site:build": "pnpm --filter=./site build",
3737
"site:preview": "pnpm --filter=./site preview",
38-
"version-packages": "pnpm changeset version && pnpm format:fix",
39-
"release": "pnpm changeset publish",
40-
"changeset": "node packages/cli/bin.js"
38+
"version-packages": "changeset version && pnpm format:fix",
39+
"release": "changeset publish"
4140
},
4241
"devDependencies": {
42+
"@changesets/changelog-github": "workspace:*",
43+
"@changesets/cli": "workspace:*",
4344
"@eslint/js": "10.0.1",
4445
"@manypkg/cli": "^0.25.1",
4546
"@tsconfig/node22": "^22.0.5",

packages/apply-release-plan/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @changesets/apply-release-plan
22

3+
## 8.0.0-next.5
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`6a05002`](https://github.com/changesets/changesets/commit/6a05002228a06807b1a95da841d1809ae07441bf), [`88f2abb`](https://github.com/changesets/changesets/commit/88f2abb5e14748b08e3441fd871df60dd1c4737f), [`6a05002`](https://github.com/changesets/changesets/commit/6a05002228a06807b1a95da841d1809ae07441bf)]:
8+
- @changesets/config@4.0.0-next.5
9+
- @changesets/types@7.0.0-next.5
10+
- @changesets/git@4.0.0-next.5
11+
- @changesets/should-skip-package@1.0.0-next.5
12+
313
## 8.0.0-next.4
414

515
### Major Changes

packages/apply-release-plan/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@changesets/apply-release-plan",
3-
"version": "8.0.0-next.4",
3+
"version": "8.0.0-next.5",
44
"description": "Takes a release plan and applies it to packages",
55
"license": "MIT",
66
"repository": {

packages/apply-release-plan/src/get-changelog-entry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export async function getChangelogEntry(
3030
releases: ModCompWithPackage[],
3131
changesets: NewChangesetWithCommit[],
3232
changelogFuncs: ChangelogFunctions,
33-
changelogOpts: any,
33+
changelogOpts: null | Record<string, unknown>,
3434
{
3535
updateInternalDependencies,
3636
onlyUpdatePeerDependentsWhenOutOfRange,

0 commit comments

Comments
 (0)