Skip to content

Commit

Permalink
feat: use React 19 in next recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Dec 18, 2024
1 parent fe9321f commit 6b3d97f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 9 deletions.
8 changes: 4 additions & 4 deletions packages/create-puck-app/templates/next/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"@measured/puck": "{{puckVersion}}",
"classnames": "^2.3.2",
"next": "^15.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/node": "^17.0.12",
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"eslint-config-custom": "*",
"typescript": "^5.5.4"
}
Expand Down
8 changes: 4 additions & 4 deletions recipes/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"@measured/puck": "*",
"classnames": "^2.3.2",
"next": "^15.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/node": "^17.0.12",
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"eslint-config-custom": "*",
"typescript": "^5.5.4"
}
Expand Down
24 changes: 23 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3489,7 +3489,12 @@
dependencies:
"@types/react" "*"

"@types/react@*":
"@types/react-dom@^19.0.2":
version "19.0.2"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-19.0.2.tgz#ad21f9a1ee881817995fd3f7fd33659c87e7b1b7"
integrity sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==

"@types/react@*", "@types/react@^19.0.1":
version "19.0.1"
resolved "https://registry.yarnpkg.com/@types/react/-/react-19.0.1.tgz#a000d5b78f473732a08cecbead0f3751e550b3df"
integrity sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==
Expand Down Expand Up @@ -12972,6 +12977,13 @@ react-dom@^18.2.0:
loose-envify "^1.1.0"
scheduler "^0.23.0"

react-dom@^19.0.0:
version "19.0.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.0.0.tgz#43446f1f01c65a4cd7f7588083e686a6726cfb57"
integrity sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==
dependencies:
scheduler "^0.25.0"

react-from-json@^0.8.0:
version "0.8.0"
resolved "https://registry.yarnpkg.com/react-from-json/-/react-from-json-0.8.0.tgz#c8e6c28a98180308be1eece3d22589a8c663d0dc"
Expand Down Expand Up @@ -13036,6 +13048,11 @@ react@^18.2.0:
dependencies:
loose-envify "^1.1.0"

react@^19.0.0:
version "19.0.0"
resolved "https://registry.yarnpkg.com/react/-/react-19.0.0.tgz#6e1969251b9f108870aa4bff37a0ce9ddfaaabdd"
integrity sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==

[email protected]:
version "4.0.0"
resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz#640a08b473a49043e394ae0c7a34dd822c73b9bb"
Expand Down Expand Up @@ -13760,6 +13777,11 @@ scheduler@^0.23.0:
dependencies:
loose-envify "^1.1.0"

scheduler@^0.25.0:
version "0.25.0"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.25.0.tgz#336cd9768e8cceebf52d3c80e3dcf5de23e7e015"
integrity sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==

scroll-into-view-if-needed@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz#fa9524518c799b45a2ef6bbffb92bcad0296d01f"
Expand Down

0 comments on commit 6b3d97f

Please sign in to comment.