Skip to content

Commit 20defc8

Browse files
committed
replace release-please with changesets
1 parent 44b38d2 commit 20defc8

File tree

9 files changed

+664
-56
lines changed

9 files changed

+664
-56
lines changed

.changeset/bumpy-clocks-study.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@portabletext/solid': patch
3+
---
4+
5+
Update LICENSE year to 2025

.changeset/config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config/schema.json",
3+
"changelog": ["@changesets/changelog-github", {"repo": "portabletext/solid-portabletext"}],
4+
"commit": false,
5+
"access": "public",
6+
"baseBranch": "main",
7+
"updateInternalDependencies": "patch"
8+
}

.github/workflows/release-please.yml

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

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
permissions:
11+
contents: read # for checkout
12+
13+
jobs:
14+
release:
15+
uses: portabletext/.github/.github/workflows/changesets.yml@main
16+
permissions:
17+
contents: read # for checkout
18+
id-token: write # to enable use of OIDC for npm provenance
19+
secrets: inherit

.github/workflows/renovate.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Add changeset to Renovate updates
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, synchronize]
6+
7+
concurrency: ${{ github.workflow }}-${{ github.ref }}
8+
9+
permissions:
10+
contents: read # for checkout
11+
12+
jobs:
13+
call:
14+
uses: portabletext/.github/.github/workflows/changesets-from-conventional-commits.yml@main
15+
if: github.event.pull_request.user.login == 'renovate[bot]'
16+
secrets: inherit

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Changelog
1+
# @portabletext/solid
22

33
## [1.0.7](https://github.com/portabletext/solid-portabletext/compare/v1.0.6...v1.0.7) (2025-02-07)
44

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 nonphoto
3+
Copyright (c) 2025 nonphoto
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"dev": "vite serve dev",
4949
"format": "prettier --write --cache --ignore-unknown .",
5050
"prepublishOnly": "pnpm build",
51+
"release": "changeset publish",
5152
"test": "concurrently pnpm:test:*",
5253
"test:client": "vitest",
5354
"test:ssr": "pnpm run test:client --mode ssr",
@@ -72,6 +73,8 @@
7273
"@portabletext/types": "^2.0.13"
7374
},
7475
"devDependencies": {
76+
"@changesets/changelog-github": "^0.5.1",
77+
"@changesets/cli": "^2.29.6",
7578
"concurrently": "^8.2.2",
7679
"esbuild": "^0.21.4",
7780
"esbuild-plugin-solid": "^0.6.0",

0 commit comments

Comments
 (0)