@objectstack/nextjs 4.0.2 → 4.0.3
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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +6 -0
- package/package.json +10 -10
- package/src/metadata-api.test.ts +9 -0
- package/src/nextjs.test.ts +6 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @objectstack/nextjs@4.0.
|
|
2
|
+
> @objectstack/nextjs@4.0.3 build /home/runner/work/framework/framework/packages/adapters/nextjs
|
|
3
3
|
> tsup --config ../../../tsup.config.ts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[32mCJS[39m [1mdist/index.js [22m[32m8.99 KB[39m
|
|
14
14
|
[32mCJS[39m [1mdist/index.js.map [22m[32m16.97 KB[39m
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 70ms
|
|
16
16
|
[32mESM[39m [1mdist/index.mjs [22m[32m7.73 KB[39m
|
|
17
17
|
[32mESM[39m [1mdist/index.mjs.map [22m[32m16.92 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 70ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 9961ms
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m2.63 KB[39m
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m2.63 KB[39m
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectstack/nextjs",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"next": "^16.2.
|
|
9
|
-
"react": "^19.2.
|
|
10
|
-
"react-dom": "^19.2.
|
|
11
|
-
"@objectstack/runtime": "^4.0.
|
|
8
|
+
"next": "^16.2.3",
|
|
9
|
+
"react": "^19.2.5",
|
|
10
|
+
"react-dom": "^19.2.5",
|
|
11
|
+
"@objectstack/runtime": "^4.0.3"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"next": "^16.2.
|
|
15
|
-
"react": "^19.2.
|
|
16
|
-
"react-dom": "^19.2.
|
|
14
|
+
"next": "^16.2.3",
|
|
15
|
+
"react": "^19.2.5",
|
|
16
|
+
"react-dom": "^19.2.5",
|
|
17
17
|
"typescript": "^6.0.2",
|
|
18
|
-
"vitest": "^4.1.
|
|
19
|
-
"@objectstack/runtime": "4.0.
|
|
18
|
+
"vitest": "^4.1.4",
|
|
19
|
+
"@objectstack/runtime": "4.0.3"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "tsup --config ../../../tsup.config.ts",
|
package/src/metadata-api.test.ts
CHANGED
|
@@ -132,6 +132,7 @@ describe('Next.js Metadata API Integration Tests', () => {
|
|
|
132
132
|
undefined,
|
|
133
133
|
{},
|
|
134
134
|
expect.objectContaining({ request: expect.anything() }),
|
|
135
|
+
'/api',
|
|
135
136
|
);
|
|
136
137
|
});
|
|
137
138
|
});
|
|
@@ -159,6 +160,7 @@ describe('Next.js Metadata API Integration Tests', () => {
|
|
|
159
160
|
undefined,
|
|
160
161
|
{},
|
|
161
162
|
expect.objectContaining({ request: expect.anything() }),
|
|
163
|
+
'/api',
|
|
162
164
|
);
|
|
163
165
|
});
|
|
164
166
|
});
|
|
@@ -185,6 +187,7 @@ describe('Next.js Metadata API Integration Tests', () => {
|
|
|
185
187
|
body,
|
|
186
188
|
{},
|
|
187
189
|
expect.objectContaining({ request: expect.anything() }),
|
|
190
|
+
'/api',
|
|
188
191
|
);
|
|
189
192
|
});
|
|
190
193
|
});
|
|
@@ -207,6 +210,7 @@ describe('Next.js Metadata API Integration Tests', () => {
|
|
|
207
210
|
body,
|
|
208
211
|
{},
|
|
209
212
|
expect.objectContaining({ request: expect.anything() }),
|
|
213
|
+
'/api',
|
|
210
214
|
);
|
|
211
215
|
});
|
|
212
216
|
});
|
|
@@ -238,6 +242,7 @@ describe('Next.js Metadata API Integration Tests', () => {
|
|
|
238
242
|
undefined,
|
|
239
243
|
{},
|
|
240
244
|
expect.objectContaining({ request: expect.anything() }),
|
|
245
|
+
'/api',
|
|
241
246
|
);
|
|
242
247
|
});
|
|
243
248
|
|
|
@@ -250,6 +255,7 @@ describe('Next.js Metadata API Integration Tests', () => {
|
|
|
250
255
|
undefined,
|
|
251
256
|
{},
|
|
252
257
|
expect.objectContaining({ request: expect.anything() }),
|
|
258
|
+
'/api',
|
|
253
259
|
);
|
|
254
260
|
});
|
|
255
261
|
|
|
@@ -262,6 +268,7 @@ describe('Next.js Metadata API Integration Tests', () => {
|
|
|
262
268
|
undefined,
|
|
263
269
|
{},
|
|
264
270
|
expect.objectContaining({ request: expect.anything() }),
|
|
271
|
+
'/api',
|
|
265
272
|
);
|
|
266
273
|
});
|
|
267
274
|
});
|
|
@@ -696,6 +703,7 @@ describe('Next.js Metadata API Integration Tests', () => {
|
|
|
696
703
|
undefined,
|
|
697
704
|
{},
|
|
698
705
|
expect.objectContaining({ request: expect.anything() }),
|
|
706
|
+
'/api',
|
|
699
707
|
);
|
|
700
708
|
});
|
|
701
709
|
|
|
@@ -709,6 +717,7 @@ describe('Next.js Metadata API Integration Tests', () => {
|
|
|
709
717
|
undefined,
|
|
710
718
|
{},
|
|
711
719
|
expect.objectContaining({ request: expect.anything() }),
|
|
720
|
+
'/api',
|
|
712
721
|
);
|
|
713
722
|
});
|
|
714
723
|
});
|
package/src/nextjs.test.ts
CHANGED
|
@@ -284,6 +284,7 @@ describe('createRouteHandler', () => {
|
|
|
284
284
|
undefined,
|
|
285
285
|
expect.any(Object),
|
|
286
286
|
expect.objectContaining({ request: expect.anything() }),
|
|
287
|
+
'/api',
|
|
287
288
|
);
|
|
288
289
|
});
|
|
289
290
|
|
|
@@ -299,6 +300,7 @@ describe('createRouteHandler', () => {
|
|
|
299
300
|
body,
|
|
300
301
|
expect.any(Object),
|
|
301
302
|
expect.objectContaining({ request: expect.anything() }),
|
|
303
|
+
'/api',
|
|
302
304
|
);
|
|
303
305
|
});
|
|
304
306
|
|
|
@@ -314,6 +316,7 @@ describe('createRouteHandler', () => {
|
|
|
314
316
|
body,
|
|
315
317
|
expect.any(Object),
|
|
316
318
|
expect.objectContaining({ request: expect.anything() }),
|
|
319
|
+
'/api',
|
|
317
320
|
);
|
|
318
321
|
});
|
|
319
322
|
});
|
|
@@ -330,6 +333,7 @@ describe('createRouteHandler', () => {
|
|
|
330
333
|
undefined,
|
|
331
334
|
expect.any(Object),
|
|
332
335
|
expect.objectContaining({ request: expect.anything() }),
|
|
336
|
+
'/api',
|
|
333
337
|
);
|
|
334
338
|
});
|
|
335
339
|
|
|
@@ -345,6 +349,7 @@ describe('createRouteHandler', () => {
|
|
|
345
349
|
body,
|
|
346
350
|
expect.any(Object),
|
|
347
351
|
expect.objectContaining({ request: expect.anything() }),
|
|
352
|
+
'/api',
|
|
348
353
|
);
|
|
349
354
|
});
|
|
350
355
|
|
|
@@ -360,6 +365,7 @@ describe('createRouteHandler', () => {
|
|
|
360
365
|
body,
|
|
361
366
|
expect.any(Object),
|
|
362
367
|
expect.objectContaining({ request: expect.anything() }),
|
|
368
|
+
'/api',
|
|
363
369
|
);
|
|
364
370
|
});
|
|
365
371
|
|