Our Commitment to Open Source can be found here
- Fork this repository to your own GitHub account and then clone it to your local device.
- Install the dependencies:
npm install
- Run
npm run bootstrap
, which will link all repositories locally - Run
npm run dev
to build and watch for code changes
Running all tests:
yarn testonly
Running a specific test suite inside of the test/integration
directory:
yarn testonly --testPathPattern "production"
Running just one test in the production
test suite:
yarn testonly --testPathPattern "production" -t "should allow etag header support"
./node_modules/.bin/next ./test/integration/basic
You only have to link the package once:
cd packages/next
npm link
Then link the next
package inside your app:
npm link next
Then you can run your app with the local version of Next.js (You may need to re-run the example app as you change server side code in the Next.js repository).