Skip to content

Commit

Permalink
Migrate example
Browse files Browse the repository at this point in the history
  • Loading branch information
cregourd committed Nov 4, 2024
1 parent 6b62e1d commit 6059dc1
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 392 deletions.
2 changes: 1 addition & 1 deletion apps/example/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
27 changes: 15 additions & 12 deletions apps/example/next.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
const withNextIntl = require("next-intl/plugin")("./i18n.ts");
const { withSuperjson } = require("next-superjson");

/** @type {import('next').NextConfig} */
module.exports = withNextIntl({
reactStrictMode: true,
experimental: {
swcPlugins: [
[
"next-superjson-plugin",
{
excluded: [],
},
module.exports = withNextIntl(
withSuperjson({
reactStrictMode: true,
experimental: {
swcPlugins: [
[
"next-superjson-plugin",
{
excluded: [],
},
],
],
],
},
});
}
})
);
7 changes: 3 additions & 4 deletions apps/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,16 @@
"@premieroctet/next-admin": "6.1.6",
"@prisma/client": "5.14.0",
"@tremor/react": "^3.2.2",
"babel-plugin-superjson-next": "^0.4.5",
"next": "^14.0.3",
"next-intl": "^3.3.2",
"next-superjson-plugin": "^0.5.6",
"next-superjson": "^1.0.1",
"next-superjson-plugin": "^0.6.3",
"react": "^18.2.0",
"react-datepicker": "^4.24.0",
"react-dom": "^18.2.0",
"superjson": "^1.12.2"
"superjson": "^2.2.1"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@playwright/test": "^1.37.0",
"@types/node": "^17.0.12",
"@types/react": "^18.2.0",
Expand Down
Loading

0 comments on commit 6059dc1

Please sign in to comment.