Skip to content

Commit bc02bae

Browse files
committed
Merge branch 'main' into pr/25
2 parents 987f3ac + 52b910d commit bc02bae

File tree

5 files changed

+746
-2
lines changed

5 files changed

+746
-2
lines changed

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions: {}
9+
jobs:
10+
release:
11+
# prevents this action from running on forks
12+
if: github.repository == 'sveltejs/zimmerframe'
13+
permissions:
14+
contents: write # to create release (changesets/action)
15+
id-token: write # OpenID Connect token needed for provenance
16+
pull-requests: write # to create pull request (changesets/action)
17+
name: Release
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout Repo
21+
uses: actions/checkout@v4
22+
with:
23+
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
24+
fetch-depth: 0
25+
- uses: pnpm/action-setup@v4
26+
- name: Setup Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 24.x
30+
cache: pnpm
31+
32+
- name: Install
33+
run: pnpm install --frozen-lockfile
34+
35+
- name: Create Release Pull Request or Publish to npm
36+
id: changesets
37+
uses: changesets/action@v1
38+
with:
39+
publish: pnpm changeset:publish
40+
version: pnpm changeset:version
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
NPM_CONFIG_PROVENANCE: true

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# zimmerframe changelog
22

3+
## 1.1.3
4+
5+
### Patch Changes
6+
7+
- 9c17204: fix: update `pkg.repository`
8+
39
## 1.1.2
410

511
- Keep non-enumerable properties non-enumerable ([#20](https://github.com/Rich-Harris/zimmerframe/pull/20))

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "zimmerframe",
33
"description": "A tool for walking ASTs",
4-
"version": "1.1.2",
4+
"version": "1.1.3",
55
"repository": {
66
"type": "git",
7-
"url": "https://github.com/Rich-Harris/zimmerframe"
7+
"url": "https://github.com/sveltejs/zimmerframe"
88
},
99
"type": "module",
1010
"exports": {
@@ -19,11 +19,14 @@
1919
"types"
2020
],
2121
"devDependencies": {
22+
"@changesets/cli": "^2.29.7",
2223
"dts-buddy": "^0.1.13",
2324
"typescript": "^5.1.6",
2425
"vitest": "^0.34.2"
2526
},
2627
"scripts": {
28+
"changeset:version": "changeset version",
29+
"changeset:publish": "changeset publish",
2730
"prepublishOnly": "dts-buddy -m zimmerframe:src/index.d.ts",
2831
"check": "tsc",
2932
"test": "vitest --run",

0 commit comments

Comments
 (0)