Commit b341938
feat: add Generator to edge functions (#2019)
* feat: updated funcmetadata to include edge
* feat: add generator to edge
* chore: prettier
* feat: refactored nextpluginversion to use within writeEdge
* fix: updated func causing tests fails
* feat: added testing for edge function generator
* chore: removed console.log
* Update variable naming to match constants
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
* fix: fixed naming
* Update test/functionsMetaData.spec.ts
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
* chore: refactoring test
* chore: added functionManifest interface within tests to catch errors
* chore: removed comment
* chore: removed comment
* chore: updated naming, refactored functionality, and removed tests
* chore: added new tests and added generator to rsc in edge
* chore: updated snapshot
* fix: snapshot update with most recent changes
* fix: new tests snapshot fix
* fix: testing
* fix: testing to see if tests pass after removing new test/snpshot
* chore: adding new tests back in
* chore: removed string literals
* fix: updated tests to now sort manifest data
* chore: renaming and adding gen to dev edge
* fix: snapshot
* fix: removed snapshot testing and updated rsc tests
* chore: forgot to remove obsolete snapshots
* chore: sort not needed
---------
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>1 parent 2d705f4 commit b341938
File tree
5 files changed
+94
-15
lines changed- packages/runtime/src/helpers
- test
5 files changed
+94
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
| 226 | + | |
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
227 | 230 | | |
228 | 231 | | |
229 | 232 | | |
| 233 | + | |
230 | 234 | | |
231 | 235 | | |
232 | | - | |
| 236 | + | |
233 | 237 | | |
234 | 238 | | |
235 | 239 | | |
| |||
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
| 246 | + | |
242 | 247 | | |
243 | 248 | | |
244 | 249 | | |
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
| 253 | + | |
248 | 254 | | |
249 | 255 | | |
250 | 256 | | |
| |||
270 | 276 | | |
271 | 277 | | |
272 | 278 | | |
| 279 | + | |
273 | 280 | | |
274 | 281 | | |
275 | 282 | | |
| |||
300 | 307 | | |
301 | 308 | | |
302 | 309 | | |
| 310 | + | |
303 | 311 | | |
304 | 312 | | |
305 | 313 | | |
306 | 314 | | |
307 | 315 | | |
| 316 | + | |
308 | 317 | | |
309 | 318 | | |
310 | 319 | | |
| |||
344 | 353 | | |
345 | 354 | | |
346 | 355 | | |
| 356 | + | |
| 357 | + | |
347 | 358 | | |
348 | 359 | | |
349 | 360 | | |
| |||
402 | 413 | | |
403 | 414 | | |
404 | 415 | | |
405 | | - | |
| 416 | + | |
406 | 417 | | |
407 | 418 | | |
408 | 419 | | |
| |||
442 | 453 | | |
443 | 454 | | |
444 | 455 | | |
| 456 | + | |
445 | 457 | | |
446 | 458 | | |
447 | 459 | | |
| |||
451 | 463 | | |
452 | 464 | | |
453 | 465 | | |
| 466 | + | |
454 | 467 | | |
455 | 468 | | |
456 | 469 | | |
| |||
476 | 489 | | |
477 | 490 | | |
478 | 491 | | |
| 492 | + | |
479 | 493 | | |
480 | 494 | | |
481 | 495 | | |
| |||
494 | 508 | | |
495 | 509 | | |
496 | 510 | | |
497 | | - | |
498 | 511 | | |
499 | 512 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
18 | 34 | | |
19 | 35 | | |
20 | 36 | | |
| |||
34 | 50 | | |
35 | 51 | | |
36 | 52 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
50 | | - | |
| 58 | + | |
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
4 | 12 | | |
5 | 13 | | |
6 | 14 | | |
| |||
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
| 44 | + | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
| 50 | + | |
41 | 51 | | |
42 | 52 | | |
43 | 53 | | |
| |||
84 | 94 | | |
85 | 95 | | |
86 | 96 | | |
| 97 | + | |
87 | 98 | | |
88 | 99 | | |
89 | 100 | | |
90 | 101 | | |
91 | 102 | | |
| 103 | + | |
92 | 104 | | |
93 | 105 | | |
94 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
| |||
730 | 738 | | |
731 | 739 | | |
732 | 740 | | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
733 | 779 | | |
734 | 780 | | |
735 | 781 | | |
| |||
0 commit comments