1. 31 3月, 2020 14 次提交
  2. 26 3月, 2020 1 次提交
    • J
      Add initial support for new env handling (#10525) · d8155b22
      JJ Kasper 提交于
      * Add initial support for new env config file
      
      * Fix serverless processEnv call when no env is provided
      
      * Add missing await for test method
      
      * Update env config to .env.json and add dotenv loading
      
      * ncc dotenv package
      
      * Update type
      
      * Update with new discussed behavior removing .env.json
      
      * Update hot-reloader createEntrypoints
      
      * Make sure .env is loaded before next.config.js
      
      * Add tests for all separate .env files
      
      * Remove comments
      
      * Add override tests
      
      * Add test for overriding env vars based on local environment
      
      * Add support for .env.test
      
      * Apply suggestions from code review
      Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co>
      
      * Use chalk for env loaded message
      
      * Remove constant as it’s not needed
      
      * Update test
      
      * Update errsh, taskr, and CNA template ignores
      
      * Make sure to only consider undefined missing
      
      * Remove old .env ignore
      
      * Update to not populate process.env with loaded env
      
      * Add experimental flag and add loading of global env values
      Co-authored-by: NTim Neutkens <timneutkens@me.com>
      Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
      d8155b22
  3. 22 1月, 2020 1 次提交
  4. 21 1月, 2020 1 次提交
  5. 28 12月, 2019 1 次提交
    • J
      Expose CSS Issuer When Error (#9850) · edf63e59
      Joe Haddad 提交于
      * Expose CSS Issuer When Error
      This introduces a friendlier error for invalid CSS imports by telling you the offending file.
      
      ---
      
      Fixes #9847
      
      * fix test matches
      edf63e59
  6. 14 12月, 2019 1 次提交
    • J
      Disable CSS Support When Manually Configured (#9735) · 32cb5e10
      Joe Haddad 提交于
      * Disable CSS Support When Manually Configured
      
      * upgrade TS
      
      * adjust yarn lock
      
      * Remove another version of TypeScript
      
      * Remove possibly leftover loader
      
      * Revert "Remove possibly leftover loader"
      
      This reverts commit 7ce2d1a8854f3d7a833867f8ac3be7923a6cb1d8.
      
      * Update to use no-op loader
      32cb5e10
  7. 11 11月, 2019 1 次提交
  8. 02 11月, 2019 1 次提交
    • 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
  9. 04 9月, 2019 1 次提交
    • T
      Move next-server back into `next` package (#8613) · 2ba352da
      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
      2ba352da
  10. 30 8月, 2019 1 次提交
    • J
      Anonymous Telemetry (#8529) · 1f4e34ca
      Joe Haddad 提交于
      * Add anonymous telemetry
      
      * Fix types
      
      * Remove semver package
      
      * Rename build time variable
      
      * Track CSS-in-JS solutions
      
      * Single retry and 5s timeout
      1f4e34ca
  11. 24 6月, 2019 1 次提交
  12. 22 6月, 2019 1 次提交
    • G
      ncc Webpack build redux (#7628) · e85a517e
      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
      e85a517e
  13. 10 6月, 2019 1 次提交
  14. 29 5月, 2019 1 次提交
    • T
      Move syntax formatting to prettier (#7454) · 3e51ddb8
      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
      3e51ddb8
  15. 17 5月, 2019 3 次提交
  16. 02 5月, 2019 1 次提交
  17. 01 5月, 2019 1 次提交
  18. 29 4月, 2019 2 次提交
  19. 27 4月, 2019 1 次提交
  20. 23 4月, 2019 1 次提交
    • L
      Replace the typescript compiler with @babel/preset-typescript (#7016) · 08a60666
      Luis Fernando Alvarez D 提交于
      * Added babel typescript for the core files
      
      * Add __NEXT_VERSION
      
      * Added noop.js to the babel taskfile
      
      * Only include dynamic-import-node for the bin task
      
      * Added babel-plugin-dynamic-import-node
      
      * Use loose option to prevent Object.defineProperty
      
      * Enable loose in preset and enable compact mode
      
      * Disable compact and loose to compare
      
      * Re-enable compact and loose
      08a60666
  21. 02 4月, 2019 1 次提交
  22. 30 3月, 2019 1 次提交
  23. 27 3月, 2019 1 次提交
    • J
      Specified page builds (#6796) · b835e258
      Joe Haddad 提交于
      * [wip] individual page builds
      
      * Make flag experimental and remove from main bin
      
      * Do not split chunks when using shared runtime
      b835e258
  24. 25 3月, 2019 1 次提交