- 05 10月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Convert Dev Server to TypeScript This converts the Next.js Development Server to TypeScript in prep for upcoming changes. * Convert remaining necessary * Fix some type errors * Adjust types
-
- 24 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add find-pages-dir * Add support for src directory * Add test for pages dir preference * Update comment
-
- 04 9月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Initial move * Make emitting work * Update paths * Remove leftover files * Add correct externals configuration * Import correct path * Update path to work with ts-server test * Update lib directory * Compile next-server/lib
-
- 20 8月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Remove Flying Shuttle experiment * Remove more old tests * Remove minify loader
-
- 17 7月, 2019 1 次提交
-
-
由 Xinzi Zhou 提交于
* Replace deprecated fs.exists with fs.access. * Update packages/next/lib/file-exists.ts Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Update packages/next/lib/file-exists.ts Co-Authored-By: NJoe Haddad <timer150@gmail.com>
-
- 27 6月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Asynchronously check for type errors * Add TODO * Fix webpack invalidation * Show TypeScript error in dev client
-
- 24 6月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
This reverts commit e85a517e.
-
- 22 6月, 2019 1 次提交
-
-
由 Guy Bedford 提交于
* Reimplement ncc webpack build This reverts commit 6feca310. * Shared webpack build * ncc workaround pending @zeit/ncc#437 * update ncc * build tweaks, fixup autodll-import * possible Node 8 fix * second possible Node 8 fix * and update taskfile
-
- 06 6月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Move client-side dev JS to dev folder * Move eventsource polyfill * Move source-map-support * Move error boundary * Deprecate Container in _app * Make initialRender check better * Remove unused code * Only support one subscription as there is only one * Don’t spread object * Shorten property name * Add container in development too * Simplify query update logic
-
- 29 5月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Run prettier over packages/**/*.js * Run prettier over packages/**/*.ts * Run prettier over examples * Remove tslint * Run prettier over examples * Run prettier over all markdown files * Run prettier over json files
-
- 17 5月, 2019 2 次提交
-
-
由 Tim Neutkens 提交于
* Revert "Add retrying to CircleCi and fixes for ncc'ed webpack (#7366)" This reverts commit 5beb365d. * Revert "ncc Webpack build (#7301)" This reverts commit bd8f3c62. # Conflicts: # packages/next/package.json
-
由 Guy Bedford 提交于
* add back ncc * fixup ncc build
-
- 08 5月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 29 4月, 2019 2 次提交
- 27 4月, 2019 1 次提交
-
-
由 Connor Davis 提交于
-
- 23 4月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Wait for entry to resolve in production build * Return promise
-
- 22 4月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
We also close the connection when the window is in the background and re-connect when it is brought to the foreground. This prevents us from using up too many connections.
-
- 16 4月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Remove client bundles for AMP pages after build since they are not used * Remove trailing white space * Use async-sema to limit removing AMP client bundles * Bring AMP client bundle removing semaphore concurrency down to 20 * Don't check blocked pages when deleting AMP client bundles * Update client bundle removing for AMP pages * Add error handling for removing client AMP pages * rethrow error unless ENOENT during deleting AMP client pages * Handle error during removing AMP client pages the same during dev * Fix throwing instead of rejecting * Make sure next/config is set before requiring page * Update error check * return on reject * Fix next/config
-
- 13 4月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Only refresh the page when the active page is updated in AMP mode * Update handling of page reload to make sure it still refreshes after a change to another page * Update checking to be more accurate * Fix amp-dev not being loaded without experimental.amp and remove next.config from amp example * Remove old with-amp example and rename experimental-amp to with-amp * update example name Co-Authored-By: Nijjk <jj@jjsweb.site> * Update comment wording Co-Authored-By: Nijjk <jj@jjsweb.site> * Use document for reload to keep scroll position Co-Authored-By: Nijjk <jj@jjsweb.site> * fallback to reloading on error Co-Authored-By: Nijjk <jj@jjsweb.site> * Update with-amp example readme
-
- 12 4月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add WithAmp to enable AMP support for pages instead of .amp.js * Update handling for exporting AMP * Fix ampPath in export for / path and revert isAmp logic to handle right * Update amphtml test suite * Add handling for noDirtyAmp during export and update amp-export test suite * Update serverless and export-default-map test suites * Update require-page tests
-
- 05 4月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Generate two versions of pages * Add code VSCode deleted * Add dynamicBuildId option to __NEXT_DATA__ * Reduce amount of diff * Make getPageFile code easier to read * Minimize diff * minimize diff * Fix default value for dynamicBuildId * Fix weird bug * Fetch the head build id on client * Move __selectivePageBuilding * Add tests * Remove _this * Add console warning
-
- 19 3月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add support for .amp.js pages and resolving /page?amp=1 to page.amp.js * Update amp tests * Update example and clean up amp page resolving * Add nested amp test * page => normalizedPage * Add type to page options * Add handling of amp with all pageExtensions and normalize page * Make sure findPageFile only falls back to amp if enabled
-
- 15 3月, 2019 2 次提交
-
-
由 JJ Kasper 提交于
* Fix relative next path not working in webpack config * Also add relative fix to amp path
-
由 Joe Haddad 提交于
-
- 05 3月, 2019 1 次提交
-
-
由 Connor Davis 提交于
Removes `rimraf` for a smaller custom lib Benchmarks (in ms): ``` rimraf 1 518.536376 rimraf 2 416.112451 rimraf 3 451.905842 rimraf 4 525.117395 rimraf 5 434.230384 ---- Average: 469.18ms ----------- recursive delete 1 121.493979 recursive delete 2 130.335272 recursive delete 3 149.798316 recursive delete 4 182.184688 recursive delete 5 130.346207 --- Average: 142.83ms ``` `recursiveDelete` finishes in ~30% of the time it takes `rimraf` (3.3 times faster)
-
- 26 2月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* AMP page reload * Fix comment * Skip dev files in production * Polyfill event source * Add HMR test for AMP * Use webdriver * Use a dynamic server for HMR test * ffs
-
- 25 2月, 2019 1 次提交
-
-
由 Connor Davis 提交于
We don't use a lot of the features of `glob`, so let's remove it in favor of a leaner approach using regex. It's failing on windows and I have no idea why and don't own a windows machine
🤦 🏼 ♂️ (Ignore some of the commits in here, I forgot to create the new branch before I started working)
-
- 23 2月, 2019 1 次提交
-
-
由 Connor Davis 提交于
-
- 20 2月, 2019 3 次提交
-
-
由 wtgtybhertgeghgtwtg 提交于
Currently, `getBaseWebpackConfig` is marked async, but it doesn't await anything or otherwise return a Promise. Please correct me if I am wrong, but it looks like it can be made synchronous.
-
由 Connor Davis 提交于
Upgrades `standard` to major version 12
-
由 JJ Kasper 提交于
After talking with @timneutkens it was decided it'd be more streamlined to replace the onDemandEntries WebSocket with an alternative. Using the EventSource connection gives us these benefits over the WebSocket one: - less code needed - no extra server running - no extra config for onDemandEntries
-
- 18 2月, 2019 1 次提交
-
-
由 Kenneth Luján Rosas 提交于
* fix(launch-editor): resolve filename including current working directory * refactor: handle when fileName is already absolute * feat: use Next.js dir instead of process.cwd()
-
- 17 2月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Remove usage of WebpackBar and Friendly Errors * Add new clearConsole helper * Add new simplified output for development mode * Add an explicit bootstrapping mode * Add missing returns * Use existing output style * Adjust first output to say Waiting on * Only print URL if present
-
- 16 2月, 2019 1 次提交
-
-
由 Connor Davis 提交于
Closes: #6244 This will block the following keys: ``` NODE_.+ __.+ ``` There doesn't seem to be a way to simulate a failed build or else I'd add tests for it.
-
- 03 2月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
Followup to removing the /_error in the initial markup we can now compile it using on-demand-entries only when it's needed.
-
- 19 1月, 2019 1 次提交
-
-
由 Jason Aslakson 提交于
* Additional config options for hot reloader web socket connection * Apply suggestions from code review Accepting suggested code changes Co-Authored-By: Njaslakson <jason.aslakson@americastestkitchen.com> * updated README with websocket proxy options * Fix test / cleanup port setting * Always set proxy_path
-
- 09 1月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Remove unused argument * Replace pages-plugin with loader * Add loader-utils types * Remove logs * Bring back previous deposal behavior * Remove console.log * Remove webpack/utils as it’s no longer in use * Remove hot-self-accept-loader * Error Recovery tests * Make hotSelfAccept a noop default loader * Fix windows deleted/added * Remove logging * Remove unused variables * Remove log * Simplify entrypoint generation * Don’t return the function * Fix _app test * Remove code that’s always true * Move aliases to constants * Use alias * Join pages alias in reduce * Default pages differently * Loop over pages instead of manually defining * Move entry generation into common function * Update packages/next/build/webpack/loaders/next-client-pages-loader.ts Co-Authored-By: Ntimneutkens <tim@timneutkens.nl> * Update packages/next/build/webpack/loaders/next-client-pages-loader.ts
-
- 01 1月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
Saw a reply on the original pull request that the WebSocket using a random port broke their set up so I added a `--websocket` or `-w` argument similar to the `-p` argument to allow manually setting this port also.
-
- 16 12月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
-