Skip to content
Permalink
Branch: dev
Commits on Nov 8, 2019
  1. fix: `vue add` should not throw if plugin has no generator

    sodatea committed Nov 8, 2019
    The bug was introduced in #2337.
  2. fix: `vue add` should not crash when executed under Yarn PnP

    sodatea committed Nov 8, 2019
    TODO: should fix `loadModule` in PnP environment
Commits on Nov 7, 2019
  1. feat(GeneratorAPI): accept multiple arguments for the resolve method (#…

    sodatea committed Nov 7, 2019
    …4715)
    
    * feat(GeneratorAPI): accept multiple arguments for the resolve method
    
    To make its signature conform to  the standard `path.resolve`, avoid
    confusions.
    
    There's already a bug in the downstream plugin that was caused by such
    confusion: https://github.com/Akryum/vue-cli-plugin-ssr/blob/a742953b8376817950a01ad79967b9aa02da5388/generator/index.js#L163-L171
    
    * docs: update descriptions of the `resolve` api [ci skip]
  2. feat: enable postcss+autoprefixer by default internally, reducing boi…

    sodatea committed Nov 7, 2019
    …lerplate (#4798)
    
    This also fixes the issue with Yarn PnP that requires `autoprefixer` to
    be explicitly listed in the user's project dependency.
  3. fix: add `sourceType: 'unambiguous'` to babel preset (#4797)

    sodatea committed Nov 7, 2019
    fixes #4773
Commits on Nov 4, 2019
  1. refactor: use babel overrides to transpile babel runtime helpers (#4777)

    sodatea committed Nov 4, 2019
    * refactor: use babel overrides to transpile babel runtime helpers
    
    As recommended in babel/babel#9903.
    Get rid of the module-resolver plugin, may fix #3928.
    Seems to have fixed #4742 as well.
    
    There may be a small breaking change: as we now use `excludes` & `includes`, babel requires `filename` option to be present (introduced in https://github.com/babel/babel/pull/10181/files). So users who call `babel.transformSync` directly may encounter an error.
    
    However, as we explicitly stated that this preset is only used for Vue CLI internally, I don't expect too many such use cases there. And the error messages are clear enough.
    Considering the benefits that this PR brings, I think it's an acceptable tradeoff.
    
    
     test: update tests for babel
    
    * test: fix windows tests
    
    * test: remove unused variables
    
    * fix: fix scope package paths on Windows
    
    * test: wait some time in router tests in case dom hasn't updated in time
Commits on Nov 1, 2019
  1. feat: support binary mirrors for taobao registry (#4767)

    sodatea committed Nov 1, 2019
    * feat: support binary mirrors for taobao registry
    
    fixes issues like #4718
    
    * fix: only install cypress 3, for now
    
    * fix: do not override user defined `CYPRESS_INSTALL_BINARY` env
You can’t perform that action at this time.