@shiftapi/next 0.0.18 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -12
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -66,18 +66,14 @@ function applyShiftAPI(nextConfig, opts) {
|
|
|
66
66
|
});
|
|
67
67
|
return cfg;
|
|
68
68
|
};
|
|
69
|
-
const
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
...existingResolveAlias,
|
|
78
|
-
"@shiftapi/client": shiftapiClientPath,
|
|
79
|
-
"openapi-fetch": openapiPath
|
|
80
|
-
}
|
|
69
|
+
const existingTurbopack = nextConfig.turbopack ?? {};
|
|
70
|
+
const existingResolveAlias = existingTurbopack.resolveAlias ?? {};
|
|
71
|
+
patched.turbopack = {
|
|
72
|
+
...existingTurbopack,
|
|
73
|
+
resolveAlias: {
|
|
74
|
+
...existingResolveAlias,
|
|
75
|
+
"@shiftapi/client": shiftapiClientPath,
|
|
76
|
+
"openapi-fetch": openapiPath
|
|
81
77
|
}
|
|
82
78
|
};
|
|
83
79
|
if (isDev) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shiftapi/next",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"description": "Next.js integration for fully-typed TypeScript clients from shiftapi Go servers",
|
|
5
5
|
"author": "Frank Chiarulli Jr. <frank@frankchiarulli.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"openapi-fetch": "^0.13.0",
|
|
33
|
-
"shiftapi": "0.0.
|
|
33
|
+
"shiftapi": "0.0.19"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^25.2.3",
|