npm @vue/cli-plugin-vuex 4.1.0

latest releases: 5.0.8, 5.0.7, 4.5.19...
4 years ago

Notable Changes

Improved Default Babel Preset

We've refactored the defautl babel preset with #4797 and #4777.

If you are experiencing code size bloat with core-js-pure imports, or encountering obscure errors when adding packages to transpileDependencies, this release should have fixed these problems for you.

Basic Yarn 2 Support

Great thanks to @arcanis for his help on this feature.

New projects created with the default preset now have proper support for Yarn 2.
You can try it out with the following commands:

yarn global add @vue/cli@next
vue create -d hello-yarn-2
cd hello-yarn-2
yarn policies set-version v2
yarn
yarn add vue-cli-plugin-pnp -D
yarn serve

We are still working on making the entire CLI work properly under Yarn 2, and hope to support the Plug'n'Play feature in Yarn v1, too, in the near future.
If you have any idea on how to better support these package managers, contributions are more than welcome.

For more information on Yarn 2, here's a great talk about its upcoming new features: https://2019.jsconf.eu/mael-nison/yarn-2019-and-beyond.html

Better Scaffolding Experience for Users in China

CDN URLs of several popular native packages are blocked in China, including the cypress, chromedriver and node-sass package. So we have now added support for mirror URLs of binary packages, following the implementation of the cnpm package.
Now if you have configured useTaobaoRegistry, dependency installation during vue create would be more seamless.


Detailed Changelog

🚀 New Features

  • @vue/cli
    • #4715 feat(GeneratorAPI): accept multiple arguments for the resolve method (@sodatea)
    • #4767 feat: support binary mirrors for taobao registry (@sodatea)
  • @vue/cli-service, @vue/cli-ui-addon-webpack, @vue/cli-ui-addon-widgets, @vue/cli-ui, @vue/cli
    • #4798 feat: enable postcss+autoprefixer by default internally, reducing boilerplate (@sodatea)
  • @vue/cli-plugin-pwa
    • #4736 feat: allow use of full url for pwa manifest and icons (@tkint)

🐛 Bug Fix

  • @vue/cli-service
  • @vue/babel-preset-app
    • #4797 fix: add sourceType: 'unambiguous' to babel preset (@sodatea)
  • @vue/babel-preset-app, @vue/cli-plugin-babel, @vue/cli-service
    • #4777 refactor: use babel overrides to transpile babel runtime helpers (@sodatea)
  • @vue/babel-preset-app, @vue/cli-plugin-babel, @vue/cli-plugin-typescript, @vue/cli-service, @vue/cli-ui
  • @vue/cli-shared-utils
    • #4842 Replace chalk.reset with stripAnsi in @vue/cli-shared-utils/lib/logger.js (@perakerberg)
  • @vue/cli
    • #4883 fix: support parser option for codemods, and enable ts parsing by default (@sodatea)
    • #4859 fix: invalid version error when modules not installed (@yannbertrand)

🏠 Internal

  • @vue/cli-ui
  • @vue/babel-preset-app, @vue/cli-plugin-babel, @vue/cli-service
    • #4777 refactor: use babel overrides to transpile babel runtime helpers (@sodatea)

📝 Documentation

Committers: 15

Don't miss a new cli-plugin-vuex release

NewReleases is sending notifications on new releases.