@shiftapi/next 0.0.17 → 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.
Files changed (2) hide show
  1. package/dist/index.js +8 -12
  2. 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 existingExperimental = nextConfig.experimental ?? {};
70
- const existingTurbo = existingExperimental.turbo ?? {};
71
- const existingResolveAlias = existingTurbo.resolveAlias ?? {};
72
- patched.experimental = {
73
- ...existingExperimental,
74
- turbo: {
75
- ...existingTurbo,
76
- resolveAlias: {
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.17",
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.17"
33
+ "shiftapi": "0.0.19"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^25.2.3",