Skip to content

Commit 8eb63a7

Browse files
committed
wip
1 parent ff28338 commit 8eb63a7

5 files changed

Lines changed: 15 additions & 54 deletions

File tree

app/next.config.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// This file sets a custom webpack configuration to use your Next.js app.
22
// https://nextjs.org/docs/api-reference/next.config.js/introduction
3+
const path = require("path");
34
const withBundleAnalyzer = require("@next/bundle-analyzer")({
45
enabled: process.env.ANALYZE === "true",
56
});
@@ -40,8 +41,13 @@ module.exports = withBundleAnalyzer(
4041
defaultLocale,
4142
},
4243

43-
experimental: {
44-
swcPlugins: [["@lingui/swc-plugin", {}]],
44+
turbopack: {
45+
resolveAlias: {
46+
"@/graphql/devtools":
47+
process.env.NODE_ENV === "development"
48+
? path.resolve(__dirname, "./graphql/devtools.dev.ts")
49+
: path.resolve(__dirname, "./graphql/devtools.prod.ts"),
50+
},
4551
},
4652

4753
headers: async () => {

app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
"@graphql-codegen/typescript-urql": "^2.0.9",
170170
"@graphql-tools/schema": "^10.0.16",
171171
"@lingui/cli": "^5.9.5",
172+
"@lingui/swc-plugin": "^5.11.0",
172173
"@lingui/vite-plugin": "^5.9.5",
173174
"@mdx-js/loader": "^1.6.22",
174175
"@playwright-testing-library/test": "^4.5.0",

babel.config.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
"@vitest/coverage-v8": "3.1.4",
7676
"@vitest/ui": "3.1.4",
7777
"argparse": "^2.0.1",
78-
"babel-plugin-macros": "^3.0.0",
7978
"eslint": "^8.57.1",
8079
"eslint-config-next": "^14.2.23",
8180
"eslint-plugin-deprecate": "^0.8.5",

yarn.lock

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5324,14 +5324,6 @@
53245324
date-fns "^3.6.0"
53255325
pofile "^1.1.4"
53265326

5327-
"@lingui/macro@^5.9.5":
5328-
version "5.9.5"
5329-
resolved "https://registry.yarnpkg.com/@lingui/macro/-/macro-5.9.5.tgz#55b8924b35df0b5ab06b37bc0ab6c05d788f3bed"
5330-
integrity sha512-WZsF93jKwk0IW4xmvAGd+6S3dT+9ZzhXAasKIiJL9qB4viO9oj+oecGhXuPYTYV74mcoL7L1494hca0CsB/BLQ==
5331-
dependencies:
5332-
"@lingui/core" "5.9.5"
5333-
"@lingui/react" "5.9.5"
5334-
53355327
"@lingui/message-utils@5.9.5":
53365328
version "5.9.5"
53375329
resolved "https://registry.yarnpkg.com/@lingui/message-utils/-/message-utils-5.9.5.tgz#952cb3b3f2bbcf4604bc5fdb334924ef5bdb5a31"
@@ -5340,18 +5332,18 @@
53405332
"@messageformat/parser" "^5.0.0"
53415333
js-sha256 "^0.10.1"
53425334

5343-
"@lingui/react@5.9.5", "@lingui/react@^5.9.5":
5335+
"@lingui/react@^5.9.5":
53445336
version "5.9.5"
53455337
resolved "https://registry.yarnpkg.com/@lingui/react/-/react-5.9.5.tgz#f77168fd3e5c1b221a47a7e43f63ca30479cf1eb"
53465338
integrity sha512-jzYoA/f4jrTfpOB+jrMhlC835UwqSXJdepr7cfWsmg+Rpp3HBSREtfrogaz1LqLI/AVnkmfp10Mo6VOp/8qeOQ==
53475339
dependencies:
53485340
"@babel/runtime" "^7.20.13"
53495341
"@lingui/core" "5.9.5"
53505342

5351-
"@lingui/swc-plugin@5.7.0":
5352-
version "5.7.0"
5353-
resolved "https://registry.yarnpkg.com/@lingui/swc-plugin/-/swc-plugin-5.7.0.tgz#9ed43011dfecd72cf67c57ee9c04db3d56e637fd"
5354-
integrity sha512-oY3yWGWVuT5Gw8jP/A6LbjnKTVXAkuzsE40pMifE0m0RWnMmWZ2jE2eVSZKRKLiBwvlTNKtCibkQSpIx/J4NwA==
5343+
"@lingui/swc-plugin@^5.11.0":
5344+
version "5.11.0"
5345+
resolved "https://registry.yarnpkg.com/@lingui/swc-plugin/-/swc-plugin-5.11.0.tgz#d465ccd45cbd30ccc300fa83e23f638e7b9cae8e"
5346+
integrity sha512-0PBYyozQOiA4WtxKPsnCyrbA9da9zOYehyZjvrv56Kzt9w81xbgnNjuAQZyjIX7UYuqFFE48GvzBqnB5SLLOFA==
53555347

53565348
"@lingui/vite-plugin@^5.9.5":
53575349
version "5.9.5"
@@ -11225,15 +11217,6 @@ babel-plugin-macros@^2.6.1:
1122511217
cosmiconfig "^6.0.0"
1122611218
resolve "^1.12.0"
1122711219

11228-
babel-plugin-macros@^3.0.0:
11229-
version "3.1.0"
11230-
resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1"
11231-
integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==
11232-
dependencies:
11233-
"@babel/runtime" "^7.12.5"
11234-
cosmiconfig "^7.0.0"
11235-
resolve "^1.19.0"
11236-
1123711220
babel-plugin-polyfill-corejs2@^0.4.10:
1123811221
version "0.4.11"
1123911222
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz#30320dfe3ffe1a336c15afdcdafd6fd615b25e33"
@@ -22172,7 +22155,7 @@ resolve-url-loader@^5.0.0:
2217222155
postcss "^8.2.14"
2217322156
source-map "0.6.1"
2217422157

22175-
resolve@^1.10.0, resolve@^1.19.0:
22158+
resolve@^1.10.0:
2217622159
version "1.20.0"
2217722160
resolved "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz"
2217822161
integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==

0 commit comments

Comments
 (0)