Skip to content

Commit

Permalink
feat: adding support for React 19.x (#202)
Browse files Browse the repository at this point in the history
* feat: adding support for React 19.x

* feat: adding support for React 19.x

* Update bundlesize.config.js

* updte
  • Loading branch information
aversini authored Dec 18, 2024
1 parent 40dc7c7 commit a941c12
Show file tree
Hide file tree
Showing 7 changed files with 1,938 additions and 2,085 deletions.
10 changes: 5 additions & 5 deletions examples/code-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"dependencies": {
"@versini/auth-common": "workspace:../../packages/auth-common",
"@versini/auth-provider": "workspace:../../packages/auth-provider",
"@versini/ui-components": "5.31.12",
"@versini/ui-styles": "1.10.2",
"@versini/ui-system": "1.4.19",
"react": "18.3.1",
"react-dom": "18.3.1"
"@versini/ui-components": "5.32.1",
"@versini/ui-styles": "1.12.0",
"@versini/ui-system": "1.5.1",
"react": "19.0.0",
"react-dom": "19.0.0"
}
}
32 changes: 16 additions & 16 deletions examples/fastify-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@
"watch": "swc --strip-leading-paths --watch --out-dir dist src"
},
"dependencies": {
"@fastify/auth": "4.6.1",
"@fastify/caching": "8.4.0",
"@fastify/compress": "7.0.3",
"@fastify/cookie": "9.4.0",
"@fastify/cors": "9.0.1",
"@fastify/static": "7.0.4",
"@node-cli/logger": "1.2.5",
"@node-cli/secret": "1.2.2",
"@fastify/auth": "5.0.2",
"@fastify/caching": "9.0.2",
"@fastify/compress": "8.0.1",
"@fastify/cookie": "11.0.1",
"@fastify/cors": "10.0.1",
"@fastify/static": "8.0.3",
"@node-cli/logger": "1.2.6",
"@node-cli/secret": "1.2.3",
"@versini/auth-common": "workspace:../../packages/auth-common",
"@versini/dev-dependencies-server": "5.1.8",
"dotenv": "16.4.5",
"fastify": "4.28.1",
"fastify-plugin": "4.5.1",
"@versini/dev-dependencies-server": "6.0.2",
"dotenv": "16.4.7",
"fastify": "5.2.0",
"fastify-plugin": "5.0.1",
"joi": "17.13.3",
"jose": "5.9.3",
"jose": "5.9.6",
"kleur": "4.1.5",
"lodash": "4.17.21",
"lowdb": "7.0.1",
"mercurius": "14.1.0",
"mercurius": "15.1.0",
"ms": "2.1.3",
"pino-pretty": "11.2.2",
"pino-pretty": "13.0.0",
"portfinder": "1.0.32",
"uuid": "10.0.0",
"uuid": "11.0.3",
"yargs": "17.7.2"
},
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"devDependencies": {
"@node-cli/bundlesize": "4.2.1",
"@versini/dev-dependencies-client": "6.0.6",
"@versini/dev-dependencies-types": "1.3.8"
"@versini/dev-dependencies-client": "7.0.2",
"@versini/dev-dependencies-types": "3.0.0"
},
"packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
}
4 changes: 2 additions & 2 deletions packages/auth-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"jose": "5.9.3",
"uuid": "10.0.0"
"jose": "5.9.6",
"uuid": "11.0.3"
}
}
2 changes: 1 addition & 1 deletion packages/auth-provider/bundlesize.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
*/
{
path: "dist/index.js",
limit: "15 kb",
limit: "16 kb",
},
],
};
14 changes: 6 additions & 8 deletions packages/auth-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"files": ["dist"],
"scripts": {
"build:check": "tsc",
"build:js": "vite build",
Expand All @@ -36,14 +34,14 @@
"test": "vitest run"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react": "^18.3.1 || ^19.0.0",
"react-dom": "^18.3.1 || ^19.0.0"
},
"dependencies": {
"@simplewebauthn/browser": "10.0.0",
"@versini/auth-common": "workspace:../auth-common",
"@versini/ui-hooks": "4.2.1",
"jose": "5.9.3",
"uuid": "10.0.0"
"@versini/ui-hooks": "4.3.0",
"jose": "5.9.6",
"uuid": "11.0.3"
}
}
Loading

0 comments on commit a941c12

Please sign in to comment.