Skip to content

Commit

Permalink
chore: upgrade test studios to react 19, remove next studios (#8178)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored Jan 6, 2025
1 parent b57cb26 commit 9ed1ff7
Show file tree
Hide file tree
Showing 48 changed files with 535 additions and 1,262 deletions.
1 change: 0 additions & 1 deletion .eslintignore.react-compiler
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ dev/test-studio/workshop/scopes.js
dev/design-studio/*
dev/embedded-studio/*
dev/starter-cra-studio/*
dev/starter-next-studio/*
dev/starter-studio/*
dev/strict-studio/*
dev/studio-e2e-studio/*
Expand Down
3 changes: 0 additions & 3 deletions dev/starter-next-studio/.depcheckignore.json

This file was deleted.

3 changes: 0 additions & 3 deletions dev/starter-next-studio/.eslintrc

This file was deleted.

4 changes: 0 additions & 4 deletions dev/starter-next-studio/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions dev/starter-next-studio/components/Studio.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions dev/starter-next-studio/next-env.d.ts

This file was deleted.

16 changes: 0 additions & 16 deletions dev/starter-next-studio/next.config.js

This file was deleted.

19 changes: 0 additions & 19 deletions dev/starter-next-studio/package.json

This file was deleted.

8 changes: 0 additions & 8 deletions dev/starter-next-studio/pages/_app.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions dev/starter-next-studio/pages/index.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions dev/starter-next-studio/pages/studio/[[...tool]].tsx

This file was deleted.

9 changes: 0 additions & 9 deletions dev/starter-next-studio/reset.css

This file was deleted.

8 changes: 0 additions & 8 deletions dev/starter-next-studio/sanity.cli.ts

This file was deleted.

25 changes: 0 additions & 25 deletions dev/starter-next-studio/sanity.config.ts

This file was deleted.

18 changes: 0 additions & 18 deletions dev/starter-next-studio/tsconfig.json

This file was deleted.

5 changes: 2 additions & 3 deletions dev/studio-e2e-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@
"@sanity/ui": "^2.11.0",
"@sanity/vision": "3.68.3",
"babel-plugin-react-compiler": "19.0.0-beta-63e3235-20250105",
"react": "^18.3.1",
"react-compiler-runtime": "19.0.0-beta-55955c9-20241229",
"react-dom": "^18.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"sanity": "workspace:*",
"sanity-plugin-markdown": "^5.0.0",
"sanity-plugin-media": "^2.3.1",
Expand Down
2 changes: 1 addition & 1 deletion dev/studio-e2e-testing/sanity.cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineCliConfig({
projectId: process.env.SANITY_E2E_PROJECT_ID,
dataset: process.env.SANITY_E2E_DATASET,
},
reactCompiler: {target: '18'},
reactCompiler: {target: '19'},
vite: {
define: {
'process.env.SANITY_E2E_PROJECT_ID': JSON.stringify(process.env.SANITY_E2E_PROJECT_ID),
Expand Down
13 changes: 0 additions & 13 deletions dev/test-next-studio/.depcheckignore.json

This file was deleted.

3 changes: 0 additions & 3 deletions dev/test-next-studio/.depcheckrc.json

This file was deleted.

2 changes: 0 additions & 2 deletions dev/test-next-studio/.gitignore

This file was deleted.

107 changes: 0 additions & 107 deletions dev/test-next-studio/app/GlobalStyle.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions dev/test-next-studio/app/PreloadResources.tsx

This file was deleted.

8 changes: 0 additions & 8 deletions dev/test-next-studio/app/[[...tool]]/Studio.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions dev/test-next-studio/app/[[...tool]]/page.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions dev/test-next-studio/app/layout.tsx

This file was deleted.

Loading

0 comments on commit 9ed1ff7

Please sign in to comment.