Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- run: pnpm install
- run: pnpm build
- run: pnpm docs:build
- uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
- uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4
with:
github_token: ${{ steps.generate-token.outputs.token }}
publish_dir: ./docs
2 changes: 1 addition & 1 deletion .github/workflows/format-if-needed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ permissions:

jobs:
if-needed:
uses: portabletext/.github/.github/workflows/format.yml@4d2d3a00346a628ab7dd0aa163a389e17b023157 # main
uses: portabletext/.github/.github/workflows/format.yml@10bcd356478bb0808d82eab98b15c099c8730888 # main
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
release:
uses: portabletext/.github/.github/workflows/changesets.yml@4d2d3a00346a628ab7dd0aa163a389e17b023157 # main
uses: portabletext/.github/.github/workflows/changesets.yml@10bcd356478bb0808d82eab98b15c099c8730888 # main
permissions:
contents: read # for checkout
id-token: write # to enable use of OIDC for npm provenance
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ permissions:

jobs:
call:
uses: portabletext/.github/.github/workflows/changesets-from-conventional-commits.yml@4d2d3a00346a628ab7dd0aa163a389e17b023157 # main
uses: portabletext/.github/.github/workflows/changesets-from-conventional-commits.yml@10bcd356478bb0808d82eab98b15c099c8730888 # main
if: github.event.pull_request.user.login == 'renovate[bot]'
secrets: inherit
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@
"@portabletext/types": "^4.0.2"
},
"devDependencies": {
"@changesets/changelog-github": "^0.6.0",
"@changesets/cli": "^2.30.0",
"@sanity/tsconfig": "^2.1.0",
"@sanity/tsdown-config": "^0.5.8",
"@types/node": "^24.12.2",
"@vitest/coverage-v8": "^4.1.2",
"oxfmt": "^0.44.0",
"oxlint": "^1.59.0",
"oxlint-tsgolint": "^7.0.2004",
"tsdown": "^0.21.7",
"typedoc": "^0.28.18",
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.1",
"@sanity/tsconfig": "^2.2.1",
"@sanity/tsdown-config": "^0.31.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build rewrites package exports

Medium Severity

@sanity/tsdown-config now defaults exports.enabled to true, so pnpm build rewrites package.json exports. This repo still uses hand-written source exports plus publishConfig, and tsdown.config.ts does not disable that rewrite, so the development entry can be overwritten on every build.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 7548b81. Configure here.

"@types/node": "^24.19.2",
"@vitest/coverage-v8": "^4.1.12",
"oxfmt": "^0.74.0",
"oxlint": "^1.89.0",
"oxlint-tsgolint": "^7.0.2005",
"tsdown": "^0.23.2",
"typedoc": "^0.28.20",
"typescript": "6.0.3",
"vitest": "^4.1.2"
"vitest": "^4.1.12"
},
"engines": {
"node": ">=22.12"
Expand Down
Loading
Loading