Skip to content

Commit e246b4b

Browse files
committed
Studio v2 no longer supported
1 parent eba045c commit e246b4b

File tree

4 files changed

+11
-51
lines changed

4 files changed

+11
-51
lines changed

.changeset/light-jeans-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@portabletext/react': major
3+
---
4+
5+
Drop support for Sanity Studio v2

package.config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,5 @@ export default defineConfig({
2222
],
2323
},
2424

25-
babel: {
26-
plugins: ['@babel/plugin-proposal-object-rest-spread'],
27-
},
28-
2925
tsconfig: 'tsconfig.dist.json',
3026
})

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,10 @@
8383
]
8484
},
8585
"dependencies": {
86-
"@portabletext/toolkit": "^2.0.18",
86+
"@portabletext/toolkit": "^3.0.0",
8787
"@portabletext/types": "^2.0.15"
8888
},
8989
"devDependencies": {
90-
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
9190
"@changesets/changelog-github": "^0.5.1",
9291
"@changesets/cli": "^2.29.6",
9392
"@sanity/browserslist-config": "^1.0.5",

pnpm-lock.yaml

Lines changed: 5 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)