Commit graph

186 commits

Author SHA1 Message Date
JJ Kasper
005b13f1ac
Move unit tests to one folder and migrate them to TypeScript (#28427)
* Move unit tests to one folder

* Migrate unit tests to TypeScript

* add test types to lint

* Ensure ts(x) tests are run with util

* Add tsx extension to jest config

* bump
2021-08-24 07:52:45 -05:00
JJ Kasper
83209a4be4
Ensure @babel/core is de-duped when nccing (#28384)
* Ensure @babel/core is de-duped when nccing

* lint-fix

* ncc babel packages together

* remove un-needed env

* bump
2021-08-22 14:06:58 -05:00
JJ Kasper
a342fba00a
Update polling env var for tests in CI (#28264)
* Update polling env var for tests in CI

* Update polling value

* always use polling

* Revert "always use polling"

This reverts commit 281875de921874592a6755d67acaad7441c06e22.

* test disabling tcp/udp offloading

* fix quotes
2021-08-18 15:29:15 -05:00
JJ Kasper
5544adc481
Update to latest babel versions (#28174) 2021-08-17 09:18:08 +02:00
Maia Teegarden
97f9b64cf6
Add setup for m1 build (#28138)
* Add setup for m1 build

* Add workflow to cache key

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-15 11:44:28 -07:00
Oscar Busk
971b17f1e9
Add ci script to check examples (#28009)
* Add ci script to check examples

* Install moreutils for `sponge` command.

It's not very pretty, but I'm not sure how to replace sponge in a good way in the shell script

* Prettier names in the workflow

* Move "check-examples" into build_test_deploy workflow

* Start breaking the jq script into multiple lines

* Add checks for cleanups in vercel/next.js#27121

* Run the `check-examples.sh` script to cleanup all remaining examples.
2021-08-14 13:34:40 -05:00
JJ Kasper
c3dcc965f3
Skip native ci steps for docs only changes (#28101) 2021-08-14 09:28:42 -05:00
Steven
9027aeab00
Fix gh action workflow when docs changed (#28092)
Fixes this issue: https://github.com/vercel/next.js/pull/28077/checks?check_run_id=3326281106
2021-08-14 01:44:51 +00:00
Maia Teegarden
24df675c32
Authenticate npm before publishing native packages (#28041) 2021-08-12 10:55:07 -07:00
Maia Teegarden
b2c7b316cb
Next swc publish flow (redo) (#27984)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-12 12:22:50 +02:00
Tim Neutkens
8ac3254d25 Revert "Next swc publish flow (#27932)"
This reverts commit 94fc6f0832.
2021-08-11 15:48:15 +02:00
JJ Kasper
e61ea6f27b
Add manifest check step and add missing items (#27934) 2021-08-11 11:17:57 +02:00
Maia Teegarden
94fc6f0832
Next swc publish flow (#27932) 2021-08-11 11:03:16 +02:00
JJ Kasper
83b3ceb8a7
Update release stats job name (#27923) 2021-08-10 16:24:45 -05:00
Houssein Djirdeh
3e7fc0efac
Updates Aurora team members in labeler (#27795)
* updates Aurora team members in labeler

* lint-fix


Co-authored-by: JJ Kasper <jj@jjsweb.site>
2021-08-05 14:50:31 -05:00
Steven
88a904a381
Remove codeowners from examples (#27798)
This PR will reduce noisy notifications
2021-08-05 19:41:49 +00:00
Maia Teegarden
204445ff2f
Add/amp attribute patcher (#27700)
* Add amp attribute transform

* Add amp attribute unit tests

* Fix ci if statements

* Checkout code in rust tests

* Add rust fixtures to eslintignore

* Add cargo config

* Configure toolchain for cross compilation
2021-08-03 09:54:57 -07:00
Maia Teegarden
4172a4c0a6
Add initial next swc package with first transform (#27355)
* Set up next-swc package with no custom transforms

* Add hook_optimizer transform

* Fix lint

* Build next-swc on CI

* Add toolchain in rust action

* Build binaries in manual workflow

* Commit from GitHub Actions (Build next-swc native binaries)

* Update dependencies

* Update swc and use stable rust

* Build next-swc binaries

* Test compiled code

* Dedupe @node-rs/helper

* Add workflow to check next-swc binaries

* Fix check native

* PR feedback

* PR feedback

* Pr feedback

* Build next-swc binaries

* Combine native workflows

* Add docs for contributors on less common platforms

* PR feedback

* Compare JsWord instead of converting to string

* Fix workflow formatting

* Add docs for building binaries for CI

* Build next-swc binaries

* Fix workflow if syntax

* Add license info to copied code

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-27 17:07:28 +02:00
JJ Kasper
ebf81223d7
Increase PR stats repo build timeout (#27419)
Follow-up to https://github.com/vercel/next.js/pull/27308 this increases the `exec` timeout to allow more time for the repo to install/build since it can sometimes take longer in GitHub actions.
2021-07-22 19:16:48 +00:00
JJ Kasper
f21cba4929
Increase stats action install timeout (#27308)
This updates the PR stats action to add the `--network-timeout 1000000` flag when doing initial `yarn` installation to hopefully prevent the random `yarn` failures while it's running. Thanks @styfle for the tip!
2021-07-19 22:02:19 +00:00
Tim Neutkens
9468b4c5a8
Update labeler.json 2021-07-09 14:23:24 +02:00
Tim Neutkens
59c742ee7f
Add instructions on how to add nextjs.org/docs/messages urls (#26865)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-02 13:39:00 +02:00
JJ Kasper
612889dfeb
Update repo scripts to separate folder (#26787) 2021-07-01 13:41:27 +02:00
JJ Kasper
72318a7ba9
Update codeowners to add new maintainers (#26770) 2021-06-30 19:27:50 -05:00
Tim Neutkens
bb42c86c82 Update PR labeler action 2021-06-30 11:40:30 +02:00
Gerald Monaco
1f09a78eba
Fix react@next and react@experimental tests (#26088) 2021-06-14 14:40:15 -05:00
JJ Kasper
713e92e838
Update preload test for safari (#26020) 2021-06-11 15:28:42 -05:00
JJ Kasper
d257ef407c
Ensure correct browser env is used (#26014)
* Ensure correct browser env is used

* Fix production suite in webpack 4 mode

* fix page count on webpack 4
2021-06-11 14:38:51 -05:00
Tim Neutkens
e1502bc9a5
Enable webpack5 for all apps (#25639)
* Enable webpack 5 by default for all apps

Still provides a way to opt-out using `webpack5: false` in next.config.js. Also throws an error for `future.webpack5`.

* Update tests

* Update test to run on webpack 4 instead of webpack 5

* disable webpack5 for legacy tests

* Fix stats-config for webpack4

* update tests

* update size for webpack4 test

* move basic suite first

* update basic test

* Add logs

* remove outdated testFutureDependencies job

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2021-06-07 15:48:29 -05:00
Gerald Monaco
a09425f66a
Bump minimum React version to ^17.0.2 (#25788) 2021-06-07 13:11:50 +02:00
Steven
3ae27a87e3
Bump "engines" to node >= 12.0.0 (#25761)
* Bump "engines" to node >= 12.0.0

* Bump next-stats-action

* Rename azure groups
2021-06-03 17:21:16 -05:00
Tim Neutkens
14eee3d091 Add label for chrome automatically to PR 2021-05-10 18:27:59 +02:00
Gerald Monaco
29402f3c68
Replace experimental reactMode with reactRoot (#24280)
* Remove reactMode config

* Add config + warning

* Tweak wording on warning

* Tweak wording on warning

* Don't default reactRoot for 10.x

* yak shaving

* Add warning when using old reactMode
2021-04-24 15:19:07 -05:00
Tim Neutkens
a9d2f2f160
Update 3.feature_request.yml 2021-04-23 16:58:44 +02:00
Tim Neutkens
f90461502e
Update 2.example_bug_report.yml 2021-04-23 16:58:29 +02:00
Tim Neutkens
4aa0ba7f7c
Update 1.bug_report.yml 2021-04-23 16:56:46 +02:00
Tim Neutkens
239e033bce
Update 3.feature_request.yml 2021-04-20 16:44:32 +02:00
Tim Neutkens
4415e482ce
Update 2.example_bug_report.yml 2021-04-20 16:43:14 +02:00
Tim Neutkens
663d4efef7
Update 1.bug_report.yml 2021-04-20 16:42:28 +02:00
JJ Kasper
d51fe0540e
Add note for exportPathMap query and prerender pages (#24266)
* Add note for exportPathMap query and prerender pages

* Update docs skip
2021-04-20 09:11:14 -05:00
JJ Kasper
a147539e11
Update CI jobs to re-use cache (#24231)
* Speed up test yarn pnp job

* speed up webpack 5 tests too
2021-04-20 06:10:29 -05:00
Tim Neutkens
f53df09c02
Update 3.feature_request.yml 2021-04-20 11:13:25 +02:00
Tim Neutkens
ce57fff719
Update 2.example_bug_report.yml 2021-04-20 11:13:11 +02:00
Tim Neutkens
a9132d0fda
Update 1.bug_report.yml 2021-04-20 11:12:29 +02:00
JJ Kasper
35258650ac
Update with-electron test (#24036)
* Use ssh for git regexr dependency

* remove .git from dep

* update

* update test

* update step

* update install

* remove dep temporarily

* remove extra change

* move deps to specific test
2021-04-15 10:21:32 -05:00
Tobias Koppers
1c2ee7c6b8
improve pr stats action (#24086)
* add cache build duration tracking
* default = webpack 5
* better hash handling
* allow to opt-out of webpack5 via `future.webpack5: false`
2021-04-15 11:46:56 +00:00
Gerald Monaco
cb7ef3feb5
Add react@experimental testing (#23359) 2021-04-13 19:16:45 +02:00
Tim Neutkens
3caf6420d0 Add PR template 2021-03-19 09:59:26 +01:00
Tim Neutkens
c72e85cd37
Update CODEOWNERS 2021-03-19 09:21:11 +01:00
Joe Haddad
775bdc341e
fix: correctly handle fallbacks for webpack 5 (#22497)
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2021-02-24 10:25:57 -06:00