Trek Glowacki
ec3d6ad640
[static-build] Update storybook-v7 fixture to latest ( #10951 )
...
Update storybook-v7 fixture to latest
2023-12-15 08:38:45 +00:00
Nathan Rajlich
652a312753
[gatsby-plugin-vercel-builder] Add support for "rewrites" ( #10954 )
2023-12-14 17:08:07 -08:00
Trek Glowacki
bd516c505b
[static-build] Update test fixture stencil-v4 to latest ( #10950 )
...
Update test fixture stencil-v4 to latest
2023-12-14 17:18:43 +00:00
Vercel Release Bot
382ff2f526
[tests] Update Gatsby fixture versions ( #10931 )
...
Automatically generated PR to update Gatsby fixture versions in
`@vercel/static-build`
---------
Co-authored-by: Ethan Arrowood <ethan.arrowood@vercel.com >
2023-12-12 09:52:07 -07:00
Nathan Rajlich
bc5ac1ec50
[static-build] Add yarn.lock and force jsdom@22 to fix "umi-v2" test fixture ( #10881 )
...
`jsdom@23` does not work with Node 16, but UmiJS v2 does not work with Node 18. So use the lower common denominator and force a older version of jsdom that still works with 16.x.
2023-11-28 18:49:02 +00:00
Vercel Release Bot
0e9bb30fd2
[tests] Update Gatsby fixture versions ( #10875 )
...
Automatically generated PR to update Gatsby fixture versions in `@vercel/static-build`
2023-11-27 14:56:18 +00:00
Vercel Release Bot
0ad37829da
[tests] Update Gatsby fixture versions ( #10745 )
...
Automatically generated PR to update Gatsby fixture versions in `@vercel/static-build`
2023-10-30 14:12:31 +00:00
Nathan Rajlich
efd3cc05dc
[gatsby-plugin-vercel-builder] Fix nested SSR routes ( #10751 )
...
Fixes SSR / DSG pages that are nested deeper than the root path for Gatsby projects.
Also introduces unit tests for the logic related to determining which page name to use.
2023-10-24 20:15:46 +00:00
Ethan Arrowood
d6ca05d975
[static-build] remove old gatsby tests and merge into new gatsby-v2 ( #10727 )
...
Removes some old Gatsby tests and merge's their relevant probes into the newer `gatsby-v2` fixture.
No point having 3 separate Gatsby v2 tests when they can all be in one.
2023-10-18 14:40:56 +00:00
Chris Barber
5e6ef3d569
Enable source maps in tests ( #10725 )
...
The `tsconfig` files were unified with a common configuration in https://github.com/vercel/vercel/pull/10667 including disabling source maps. The source maps greatly increase the distribution size, but they are invaluable when the tests run, so this PR enables source maps for tests including adding a `tsconfig.json` where absent.
Linear: https://linear.app/vercel/issue/ZERO-364/enable-sourcemaps-in-all-testtsconfigjson-files
2023-10-17 15:15:29 +00:00
Vercel Release Bot
90b14b689d
[tests] Update Gatsby fixture versions ( #10710 )
...
Automatically generated PR to update Gatsby fixture versions in `@vercel/static-build`
2023-10-15 19:28:50 +00:00
Ethan Arrowood
e0ed2d1e76
[static-build] update astro-v2 fixture ( #10706 )
...
Astro-v2 fixture was using the wrong major version
2023-10-13 19:34:08 +00:00
Trek Glowacki
68b4516722
Remove svelte v5 fixture ( #10698 )
...
I originally created with following the instructions on the site `npm create svelte@latest` but got confused seeing a version `5.1.1` but that's for `create-svelte`, not `svelte` itself. It creates a svelte 4 app still.
2023-10-12 22:22:46 +00:00
Ethan Arrowood
7bf7591dd3
[static-build] add angular v16 ( #10683 )
2023-10-12 21:57:07 +00:00
Ethan Arrowood
a012a1e749
[static-build] ember-v5 ( #10696 )
2023-10-12 21:30:56 +00:00
Ethan Arrowood
6dbeb5c3ee
[static-build] stencil-v4 ( #10695 )
2023-10-12 21:05:50 +00:00
Ethan Arrowood
853a570384
[static-build] nuxt-v3 ( #10694 )
2023-10-12 20:42:34 +00:00
Ethan Arrowood
6fcbdb90c7
[static-build] scully-v2 ( #10693 )
2023-10-12 18:20:25 +00:00
Ethan Arrowood
80a6960dc9
[static-build] hydrogen-v2023 ( #10688 )
2023-10-11 23:25:12 +00:00
Ethan Arrowood
b52741b1bb
[static-build] blitz-v2 ( #10690 )
2023-10-11 22:59:44 +00:00
Ethan Arrowood
1d4c86d0f8
[static-build] storybook-v7 ( #10686 )
2023-10-11 22:35:18 +00:00
Trek Glowacki
ae489687d2
Revert "Remove comment (testing branch protection)"
...
This reverts commit 6fc2872794 .
2023-10-11 09:06:10 -05:00
Trek Glowacki
6fc2872794
Remove comment (testing branch protection)
2023-10-10 18:04:31 -05:00
Ethan Arrowood
6697a0e846
[static-build] vite-v4 ( #10675 )
2023-10-10 22:52:47 +00:00
Ethan Arrowood
ed9ef486a8
Revert "[static-build] hydrogen-v2023"
...
This reverts commit 213ec69db3 .
2023-10-10 16:44:10 -06:00
Ethan Arrowood
213ec69db3
[static-build] hydrogen-v2023
2023-10-10 16:41:59 -06:00
Ethan Arrowood
7512bf64b1
[static-build] hexo-v6 fixture ( #10684 )
2023-10-10 20:42:44 +00:00
Trek Glowacki
00e12792d8
[static-build] Add basic Middleman v4 fixture ( #10682 )
...
Adding a new fixture for middleman. Currently missing.
2023-10-10 19:54:49 +00:00
Trek Glowacki
3029af5a2b
[static-build] add umi-4 fixture ( #10659 )
...
Added new umi-v4 fixture by following the [new project directions for `npm`](https://umijs-org.translate.goog/docs/guides/getting-started?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp&_x_tr_hist=true )
2023-10-10 16:50:55 +00:00
Trek Glowacki
4422eee5c4
Add vue-3 ( #10660 )
...
Adds a fixture test for vue@3
2023-10-09 12:23:46 +00:00
Ethan Arrowood
d8179032e2
[static-build] add parcel v2 fixture ( #10674 )
...
Kinda simple. Not sure how else to improve this. Parcel is a pretty
basic build tool I think.
2023-10-06 11:07:27 -06:00
Trek Glowacki
f2d7f3f444
Move existing framework fixtures to numeric-free prefix ( #10670 )
2023-10-05 16:05:12 -05:00
Trek Glowacki
60929bb1af
[static-build] Add fixtures for latest versions of tested frameworks ( #10656 )
...
Adds `preact@10`, `eleventy@2` and `jekyll@4` fixtures.
2023-10-05 18:55:51 +00:00
Trek Glowacki
cf6152d16b
[static-build] Update existing fixtures to latest of their currently pinned framework dependency ( #10652 )
...
Co-authored-by: Chris Barber <chris.barber@vercel.com >
2023-10-04 11:04:39 -05:00
Trek Glowacki
0c1603f41b
[static-build] Add Svelte 5 fixture ( #10645 )
...
Adds Svelte 5 fixture for testing as we expand our test matrix. This is an updated version of `11-svelte`
2023-10-03 15:26:37 +00:00
Trek Glowacki
18b04b3589
[static-build] Add fixture for svelte 4 apps ( #10637 )
...
Adds Svelte 4 fixture for testing as we expand our test matrix. This is an updated version of `11-svelte`
2023-10-03 15:06:46 +00:00
Trek Glowacki
13efc4f04f
[static-build] Add Astro 2.x fixture ( #10634 )
...
Adds Astro 2 fixture for testing as we expand our test matrix. Not sure what all probes we'd want beyond a "did it work" one.
2023-10-02 19:56:59 +00:00
Trek Glowacki
08c5a9b0fc
[static-build] Add Astro 3.x fixture ( #10632 )
...
Adds Astro 3 fixture for testing as we expand our test matrix. Not sure what all probes we'd want beyond a "did it work" one.
2023-10-02 19:32:42 +00:00
Ethan Arrowood
2f51171a17
[tests] improve gatsby fixtures in static-build ( #10620 )
2023-09-29 16:11:17 +00:00
Ethan Arrowood
d402c4350a
[tests] Reduce ionic fixture sizes to improve test timing ( #10605 )
...
This PR regenerates the ionic-angular and ionic-react fixtures to be significantly smaller and simpler.
I don't know why the lock files are so massive. If anyone has ideas to reduce the size of those (I've tried ripping out a bunch of dependencies).
2023-09-28 15:29:39 +00:00
Espen Hovlandsdal
1b4de4a986
chore(deps): upgrade semver dependency ( #10411 )
...
Addresses ReDoS vulnerability: https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795
Uses the latest unaffected versions in the respective major versions, to prevent having to deal with any other breaking changes.
2023-09-06 13:37:37 +00:00
Chris Barber
bc7a5d38be
Exclude Gatsby from default 404 error route ( #10365 )
...
All static builds (except Next.js) have a default 404 error route. This PR add the exclusion of Gatsby from being assigned a 404 error route. The error routes are now introduced by the `gatsby-plugin-vercel-builder`.
Linear: https://linear.app/vercel/issue/VCCLI-749/fix-gatsby-404500-pages-directory-listing-bug
2023-08-18 17:10:40 +00:00
Nathan Rajlich
10a6aa55f9
[tests] Fix failures due to Node 14.x being discontinued ( #10346 )
...
This PR upgrades test fixtures from Node.js 14 to 16 and also removes
the `35-puppeteer` test fixture since it doesn't support Node.js 16
unfortunately.
- See https://github.com/alixaxel/chrome-aws-lambda/pull/274
---------
Co-authored-by: Steven <steven@ceriously.com >
2023-08-15 17:59:21 -04:00
Steven
70f6782954
[tests] Add lockfile to 51-puppeteer-build test ( #10210 )
...
This test was failing so I'm adding a lockfile to prevent this build error:
```
Running "yarn run build"
--
16:40:10.239 | yarn run v1.22.17
16:40:10.260 | $ node build.js
16:40:40.630 | node:internal/process/promises:288
16:40:40.630 | triggerUncaughtException(err, true /* fromPromise */);
16:40:40.630 | ^
16:40:40.630 |
16:40:40.630 | TimeoutError: Navigation timeout of 30000 ms exceeded
16:40:40.631 | at /vercel/path1/node_modules/puppeteer/lib/LifecycleWatcher.js:142:21
16:40:40.631 | -- ASYNC --
16:40:40.631 | at Frame.<anonymous> (/vercel/path1/node_modules/puppeteer/lib/helper.js:111:15)
16:40:40.631 | at Page.goto (/vercel/path1/node_modules/puppeteer/lib/Page.js:672:49)
16:40:40.631 | at Page.<anonymous> (/vercel/path1/node_modules/puppeteer/lib/helper.js:112:23)
16:40:40.631 | at /vercel/path1/build.js:10:14
16:40:40.631 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
```
2023-07-13 21:29:51 +00:00
Chris Barber
6cdd38d130
[tests] Pin Next.js version in test fixtures ( #9910 )
...
Co-authored-by: Sean Massa <EndangeredMassa@gmail.com >
2023-05-19 09:06:08 -05:00
Sean Massa
2c950d47ae
ensure cleanup after the gatsby plugin runs ( #9975 )
...
There is an issue where you can interrupt a gatsby project build and the temporary files are not cleaned up. If you try to build again, it will get stuck in an infinite loop.
This PR adds an exit hook to make sure the cleanup happens.
2023-05-18 19:42:08 +00:00
Vercel Release Bot
da046d85de
[tests] Update Gatsby fixture versions ( #9776 )
...
Automatically generated PR to update Gatsby fixture versions in `@vercel/static-build`
2023-05-01 04:21:32 +00:00
Chris Barber
9e183b2e8d
[tests] Move allowJs: true to test tsconfig.json ( #9862 )
2023-04-27 10:27:02 -05:00
Chris Barber
732ac2072c
[tests] Update Typescript, Jest, and ts-jest ( #9782 )
...
Co-authored-by: Nathan Rajlich <n@n8.io >
Co-authored-by: Swarnava Sengupta <swarnavasengupta@gmail.com >
2023-04-12 08:38:03 -05:00
Nathan Rajlich
294935a9c5
[static-build] Remove Gatsby env var check ( #9766 )
...
This feature flag has been fully rolled out for a while now. Removing it makes the plugin work with `vc build` when running locally.
2023-04-07 02:10:51 +00:00