1. 27 12月, 2019 1 次提交
  2. 15 12月, 2019 1 次提交
  3. 14 12月, 2019 2 次提交
  4. 12 12月, 2019 3 次提交
  5. 11 12月, 2019 2 次提交
    • J
      [Experimental] CSS Module Support (#9686) · 734989d8
      Joe Haddad 提交于
      * CSS Module Support
      
      * Fix Server-Side Render of CSS Modules
      
      * Fix Jest Snapshots
      https://github.com/facebook/jest/pull/8492
      
      * Fix snapshots
      
      * Add test for CSS module edit without remounting
      
      * Add tests for dev and production style being applied
      
      * Add missing TODOs
      
      * Include/exclude should only be applied to issuer, not the CSS file itself
      
      * Add CSS modules + node_modules tests
      
      * Test that content is correct
      
      * Create Multi Module Suite
      
      * Add client-side navigation support for CSS
      
      * Add tests for client-side nav
      
      * Add some delays
      
      * Try another fix
      
      * Increase timeout to 3 minutes
      
      * Fix test
      
      * Give all unique directories
      734989d8
    • J
      Upgrade Jest (#9693) · bc7fd2d8
      Joe Haddad 提交于
      bc7fd2d8
  6. 10 12月, 2019 1 次提交
    • J
      Refactor Webpack Configuration (#9651) · 9b6ea9d4
      Joe Haddad 提交于
      * WIP
      
      * Move data experiment
      
      * Do not throw away rules
      
      * Remove test code
      
      * Correct next data behavior
      
      * Add support for async composing
      
      * Remove unnecessary workaround
      
      * Rename Field
      9b6ea9d4
  7. 08 12月, 2019 1 次提交
  8. 04 12月, 2019 3 次提交
  9. 28 11月, 2019 4 次提交
    • J
      Upgrade `path-to-regexp` (#9553) · a6656a0b
      Joe Haddad 提交于
      * Upgrade `path-to-regexp`
      
      * Correct import
      
      * Update delimiter
      
      * Fix path match
      
      * Fix hot loader
      
      * Fix params.path usage and pathToRegexp import
      
      * Revert changes for params.path
      
      * Fix lint
      
      * Simplify path match function
      
      * Delimiter should always be `/`
      
      * Fix passed in params
      
      * Add new regex wrapping
      
      * Wrap another route
      
      * Fix error message match
      a6656a0b
    • J
      Lint in parallel (#9560) · f476960c
      JJ Kasper 提交于
      f476960c
    • J
      Native url (#9561) · 6517246b
      Janicklas Ralph 提交于
      * Adding native-url package
      
      * Bumping native-url version
      
      * Upgrading native-url
      
      * Logging stats object for debugging
      
      * Logging stats object for debugging
      
      * Adding try catch to the error lines
      
      * Experimenting with regex
      
      * Experimenting with regex
      
      * Experimenting with regex
      
      * Testing regex changes
      
      * Fixing defer-script test case to not include polyfill.js
      
      * Meging changes with existing polyfill work
      
      * Bumping version
      
      * adjust webpack config
      
      * Reduce size in size test
      
      * Remove 1kb from legacy
      
      * Bumping native-url version, includes fix for IE11
      
      * Update lock file
      
      * Updating native-url, fixes issue on IE11
      6517246b
    • J
      Update to latest fork-ts-checker version (#9555) · 6ec56d37
      JJ Kasper 提交于
      6ec56d37
  10. 27 11月, 2019 1 次提交
    • J
      Update `native-url` package for IE compat (#9539) · be496a26
      Janicklas Ralph 提交于
      * Adding native-url package
      
      * Bumping native-url version
      
      * Upgrading native-url
      
      * Logging stats object for debugging
      
      * Logging stats object for debugging
      
      * Adding try catch to the error lines
      
      * Experimenting with regex
      
      * Experimenting with regex
      
      * Experimenting with regex
      
      * Testing regex changes
      
      * Fixing defer-script test case to not include polyfill.js
      
      * Meging changes with existing polyfill work
      
      * Bumping version
      
      * adjust webpack config
      
      * Reduce size in size test
      
      * Remove 1kb from legacy
      
      * Bumping native-url version, includes fix for IE11
      
      * Update lock file
      be496a26
  11. 26 11月, 2019 4 次提交
    • J
      Update Yarn Lockfile · 5030bda9
      Joe Haddad 提交于
      5030bda9
    • J
      Replace `url` polyfill with `self.URL` (#9200) · 04a7f1e8
      Janicklas Ralph 提交于
      * Adding native-url package
      
      * Bumping native-url version
      
      * Upgrading native-url
      
      * Logging stats object for debugging
      
      * Logging stats object for debugging
      
      * Adding try catch to the error lines
      
      * Experimenting with regex
      
      * Experimenting with regex
      
      * Experimenting with regex
      
      * Testing regex changes
      
      * Fixing defer-script test case to not include polyfill.js
      
      * Meging changes with existing polyfill work
      
      * Bumping version
      
      * adjust webpack config
      
      * Reduce size in size test
      
      * Remove 1kb from legacy
      04a7f1e8
    • J
      Add custom timings for CircleCi (#9523) · 12cbb2e9
      JJ Kasper 提交于
      * Add custom timings for CircleCi
      
      * Re-add split-by flag
      
      * Add testcase item to junit.xml
      
      * Log tests being run
      
      * Update junit.xml path
      
      * bump
      12cbb2e9
    • J
      CSS Support Customization (#9502) · 4656f52d
      Joe Haddad 提交于
      * CSS Support Customization
      
      * Sort imports
      
      * Correct PostCSS plugin loading
      
      * Add css customization test
      
      * Test "bad" css configuration
      
      * Add load config test
      
      * adjust spacing
      
      * adjust spacing 2x
      
      * Only allow config through JSON
      
      * Support excluding false plugins
      
      * Test tailwind css behavior
      
      * Test plugin exclusion
      
      * Fix unit test
      
      * Fix config file
      
      * Remove more variants
      
      * Update test cases
      4656f52d
  12. 21 11月, 2019 1 次提交
  13. 19 11月, 2019 1 次提交
  14. 15 11月, 2019 1 次提交
  15. 11 11月, 2019 2 次提交
    • J
      Initialize Git repo on app creation (#9376) · 00badd4d
      Joe Haddad 提交于
      * Initialize Git repo on app creation
      This PR initializes a Git repository after Create Next App runs.
      
      We ensure the app was not created in an already-existing Git or Mercurial repo.
      
      Failures of setup (no Git installed) do not fail the application bootstrapping.
      
      Closes #9077 (replaces)
      
      * Add test
      
      * Update index.test.js
      00badd4d
    • J
      Improve linting rules to catch more errors (#9374) · 18a9c7e3
      Joe Haddad 提交于
      * Update `packages/`
      
      * Update examples
      
      * Update tests
      
      * Update bench
      
      * Update top level files
      
      * Fix build
      
      * trigger
      18a9c7e3
  16. 10 11月, 2019 1 次提交
    • J
      Implement custom routes RFC (#9157) · d19e825d
      JJ Kasper 提交于
      * add initial custom-routes handling
      
      * Add tests for custom-routes
      
      * Handle chained redirects, separate dev custom
      routes reading, and add version to routes manifest
      
      * Handle no routes manifest
      
      * Swap build custom routes calling
      
      * Add flatten-routes
      
      * Add flattening of custom routes
      
      * Re-work implementation to follow routes top-down
      
      * Add regex field to routes-manifest
      
      * Fix path-to-regexp match breaking after upgrade
      
      * Fix duplicate const from merge
      
      * Add some changes from review
      
      * Don't make path-match strict
      
      * add default custom route values
      
      * Update routes-manifest
      
      * Update options for path-match
      
      * Remove todo
      
      * Add test for rewrite with params
      
      * Only use strict mode for custom routes
      
      * Update dynamic-routing test
      
      * Move getCustomRoutes to prepare
      
      * Remove extra change
      
      * Update handling for error-in-error test
      
      * Apply suggestions from code review
      Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co>
      
      * Apply suggestions from review
      
      * Update slice change
      
      * Apply suggestions from code review
      Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co>
      
      * Apply suggestions from review
      
      * Fix TypeScript error
      
      * Fix getCustomRoutes in dev mode
      
      * Apply suggestions from code review
      
      * Update slice
      
      * Apply suggestions from code review
      Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co>
      
      * Delete un-used test page
      
      * Add test for param overwriting
      
      * Apply suggestions from code review
      Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co>
      
      * Add extra check to param test
      d19e825d
  17. 09 11月, 2019 1 次提交
  18. 02 11月, 2019 2 次提交
    • J
      Polyfill `window.fetch` by Default (#9168) · ff2d3fd8
      Janicklas Ralph 提交于
      * Polyfilling fetch and object-assign
      
      * Polyfilling corejs object-assign
      
      * Adding object-assign in polyfills.js. IE11 does not support Object.assign
      
      * Fixing failing test
      
      * Updating object.assign polyfill to fix aliasing
      
      * Updating test case value to match new build stats
      
      * Increasing the size of default build to 225kb
      
      * Fixing defer-script test case to not include polyfill.js
      
      * Revert README.md
      
      * Re-design the polyfill approach based on PR feedback
      
      * Adding comment and fixing test case
      
      * Rename polyfills chunk
      
      * Extract aliases into helper
      
      * Remove extra new line
      
      * Fix TypeScript typings
      
      * Adding _internal_fetch alias
      
      * Adjust build manifest plugin
      
      * Build manifest plugin changes - adding a separate entry for polyfills
      
      * Rename polyfills entry in build-manifest.json
      
      * Remove old comment
      
      * Fix TS
      
      * Set key
      
      * Polyfills already added
      
      * Filtring polyfill.module.js
      
      * Fix test
      
      * Add __internal_fetch to alias rule
      
      * Adjust name
      
      * bump size
      
      * ignore polyfills
      
      * sigh
      ff2d3fd8
    • T
      Initial plugins implementation (#9139) · 7c80febc
      Tim Neutkens 提交于
      * Add initial bit for plugins
      
      * Add checks for needed metadata values
      
      * Add test
      
      * Initial plugins changes
      
      * Add handling for _app middleware
      
      * Add loading of _document middleware and
      handling of multiple default export syntaxes
      
      * Fix insert order for middleware member expression
      
      * Remove early return from middleware plugin from testing
      
      * Add tests for current plugin middlewares
      
      * Update test plugin package.json
      
      * Update handling for class default export
      
      * Update to use webpack loader instead of babel
      plugin, remove redundant middleware naming, and add field for required env for plugins
      
      * Add middleware to support material-ui use case
      and example material-ui plugin
      
      * Update tests and remove tests stuff from google analytics plugin
      
      * Remove old plugin suite
      
      * Add init-server middleware
      
      * Exit hard without stack trace when error in collecting plugins
      
      * Add on-error-client and on-error-server and update
      to run init-server with next-start in serverless mode
      
      * Update init-client for google analytics plugin
      
      * Add example Sentry plugin and update with-sentry-simple
      
      * Remove middleware field/folder and use src dir for plugins
      
      * Add post-hydration middleware and update
      material-ui plugin
      
      * Put plugins code behind flag
      
      * Update chromedriver
      
      * Revert "Update chromedriver"
      
      This reverts commit 1461e978e677f7da05e29e0415ec614a04bf65f9.
      
      * Update lock file
      
      * Remove un-needed _app for sentry example
      
      * Add auto loading of scoped packages, add plugins
      config for manually listing plugins, and update
      to only collect plugins once
      
      * Update example plugins
      
      * Expose plugins' config
      
      * Rename plugin lifecycles and add babel-preset-build
      
      * Rename other methods with unstable
      
      * Update log when plugin config overrides auto-detecting
      7c80febc
  19. 31 10月, 2019 1 次提交
  20. 30 10月, 2019 2 次提交
  21. 28 10月, 2019 1 次提交
  22. 27 10月, 2019 1 次提交
    • H
      allow NextScript to optionally defer javascript (#8980) · 211c84e1
      htbvo 提交于
      * allow NextScript to optionally defer javascript
      
      * move defer options to experimental feature
      
      * combine defer flags into a single option
      
      * Update deferScripts to work with serverless target
      
      * Add test for defer and async property
      
      * Read the async property
      
      * Check versions of chrome and chromedriver
      
      * Update to chromedriver 76
      
      * Fix test
      211c84e1
  23. 26 10月, 2019 1 次提交
  24. 23 10月, 2019 2 次提交