- 24 9月, 2019 4 次提交
-
-
由 Tim Neutkens 提交于
-
由 Maël Nison 提交于
* Fixes PnP + TS support * Uses import on the resolved TS path (since it's not a dep) * Fixes TS
-
由 Janicklas Ralph 提交于
-
由 JJ Kasper 提交于
* initial commit for SPRv2 * Add initial SPR cache handling * update SPR handling * Implement SPR handling in render * Update tests, handle caching with serverless next start, add TODOs, and update manifest generating * Handle no prerender-manifest from not being used * Fix url.parse error * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Replace set with constants in next-page-config * simplify sprStatus.used * Add error if getStaticProps is used with getInitialProps * Remove stale TODO * Update revalidate values in SPR cache for non-seeded routes * Apply suggestions from code review * Remove concurrency type * Rename variable for clarity * Add copying prerender files during export * Add comment for clarity * Fix exporting * Update comment * Add additional note * Rename variable * Update to not re-export SPR pages from build * Hard navigate when fetching data fails * Remove default extension * Add brackets * Add checking output files to prerender tests * Adjust export move logic * Clarify behavior of export aggregation * Update variable names for clarity * Update tests * Add comment * s/an oxymoron/contradictory/ * rename * Extract error case * Add tests for exporting SPR pages and update /_next/data endpoint to end with .json * Relocate variable * Adjust route building * Rename to unstable * Rename unstable_getStaticParams * Fix linting * Only add this when a data request * Update prerender data tests * s/isServerless/isLikeServerless/ * Don't rely on query for `next start` in serverless mode * Rename var * Update renderedDuringBuild check * Add test for dynamic param with bracket * Fix serverless next start handling * remove todo * Adjust comment * Update calculateRevalidate * Remove cache logic from render.tsx * Remove extra imports * Move SPR cache logic to next-server * Remove old isDynamic prop * Add calling App getInitialProps for SPR pages * Update revalidate logic * Add isStale to SprCacheValue * Update headers for SPR * add awaiting pendingRevalidation * Dont return null for revalidation render * Adjust logic * Be sure to remove coalesced render * Fix data for serverless * Create a method coalescing utility * Remove TODO * Extract send payload helper * Wrap in-line * Move around some code * Add tests for de-duping and revalidating * Update prerender manifest test
-
- 23 9月, 2019 1 次提交
-
-
由 David Darnes 提交于
-
- 21 9月, 2019 3 次提交
-
-
由 Henrik Wenz 提交于
We don’t need useMemo here since its functionality is already covered by initApolloClient. Thanks to @mpoisot closes #8810
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
- 20 9月, 2019 3 次提交
-
-
由 David Darnes 提交于
-
由 Joe Haddad 提交于
Source maps should be enabled in development so that original styles can be inspected. This is in-line with other Next.js behavior (source maps in dev).
-
由 Janicklas Ralph 提交于
* Fixing page sizes displayed during build * Adding comments * Update variable name * Fixed support for modern mode * Remove braces * Memoize fs.stat result * Memoize fs.stat result
-
- 19 9月, 2019 12 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
This simplifies the CSS insert function and fixes its edge cases around nextSibling by inserting before the anchor instead of after it.
-
由 Luc 提交于
* insert css *after* noscript tag in dev mode * use arrow function
-
由 Luis Alvarez D 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
* Fix CSS Ordering This fixes CSS ordering between development and production. Before this change, globally imported CSS would come _after_ `<style jsx global>` in development, but _before_ in production. After this change, it'll always be applied before. * Move to correct element * Add tests * Fix obnoxious indents * Update test/integration/css/fixtures/with-styled-jsx/pages/index.js Co-Authored-By: NJJ Kasper <jj@jjsweb.site>
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
We were trying to be too tricky. `visibility: hidden` is great for layout speed, but it allows child elements to make themselves visible. Since styles are going to change anyway, this doesn't make sense. We should completely hide the body which prevents a reflow by avoiding any style computation until Global CSS is ready to go.
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
* Reduce Install Size This should shave a decent amount off our install size. * Fix CSS source map emitting * Fix generation * Enable source maps for testing purposes * Disable double comment * Fix test regex
-
由 JJ Kasper 提交于
* Add caching yarn cache to Azure * bump * Update cache key * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Remove extra check
-
由 Joe Haddad 提交于
Ensure CSS Source maps are emitted correctly.
-
- 18 9月, 2019 10 次提交
-
-
由 JJ Kasper 提交于
* Run all Azure tests with node v10 * Update job names * Update CSS test
-
由 Joe Haddad 提交于
This is in preparation of a new plugin.
-
由 Joshua Byrd 提交于
-
由 hanneslund 提交于
api-routes -> with-aws-amplify-typescript
-
由 Joe Haddad 提交于
* Global CSS Support * Fix webpack configuration * oneOf rule isn't necessary yet * Adjust CSS chunk naming * Begin testing CSS behavior * Add another test TODO * Replace null-loader with ignore-loader * Turn on chunks for new CSS feature * Fix multi test suite * Test CSS import order * Test style HMR * Test CSS compilation * Test compilation and prefixing together * Verify CSS styling works for Development and Production * Add missing TODO * Remove unnecessary test * Adjust TODO message * Hide page until React hydrates * Revert "Hide page until React hydrates" This reverts commit 898d4e0ee547b003d5790e2b11476740d645b907. * Hide FOUC during development * Test CSS imports * Update tests TODO * Add fixture for url() test * Test `file-loader` support in CSS files * Use a simple variant of cssnano * Self-import * Undo bundling * Implement suggestion
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
* Test killing proceses before retrying on Azure * catch error while killing process
-
- 17 9月, 2019 7 次提交
-
-
由 Weston Thayer 提交于
* Update to capture server exceptions and more - Adds test cases for several server and client-side exceptions - Allows capturing more server-side exceptions by overriding _error.js and using Sentry.captureException() within - Use @sentry/node on the server - Rely on Next.js's React Error Boundary instead of creating our own in _app.js * Update test notes Found some differences while testing in production * Remove accidental mount throw on test 8 * Add note about server-side source maps * Linting fixes
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
* Match public files priority in dev * Remove un-needed old public file handling * Run public file priority test for non-dev also * Make sure to enable publicDirectory * Add checking for conflicting pages in dev and during build * Add error for public dir middleware conflict * Add err.sh for _next conflict * Move up public dir conflict checking * Only run _next conflict check in dev when path contains it
-
由 Tim Neutkens 提交于
-
由 Tommy Ljungberg 提交于
-
由 JJ Kasper 提交于
* Prevent updating URL when delaying asPath * Ignore TypeScript not liking __NEXT_DATA__ * Update another global to fix standard check
-