Skip to content

Releases: team-innovation/vue-sfc-rollup

v4.1.1

26 Jul 17:27
Compare
Choose a tag to compare

Fixed

  • Fix missing .gitignore template files

v4.1.0

21 Jul 21:28
Compare
Choose a tag to compare

Fixed

  • Fix file structure generated when npm package name has @scope/ prefix

Added

  • NEW: Auto-generated typescript definitions! No more manually maintaining .d.ts files
  • NEW: Cli flags to auto-answer prompts. Opens the door for better integration into automated processes, easier bash aliases, etc.

Changed/Removed

  • Update cli dependencies
    • chalk 4.1.1
    • ejs 3.1.6
    • minimist 1.2.5
    • prompts 2.4.1
    • eslint 7.30.0
    • eslint-plugin-import 2.23.4
    • husky 4.3.8
  • Update template dependencies
    • @babel/core 7.14.6
    • @babel/preset-env 7.14.7
    • @babel/preset-typescript 7.14.5
    • @rollup/plugin-alias 3.1.2
    • @rollup/plugin-babel 5.3.0
    • @rollup/plugin-commonjs 14.0.0
    • @rollup/plugin-node-resolve 9.0.0
    • @rollup/plugin-replace 2.4.2
    • @vue/cli-plugin-babel 4.5.13
    • @vue/cli-plugin-typescript 4.5.13
    • @vue/cli-service 4.5.13
    • @vue/compiler-sfc 3.0.11
    • @zerollup/ts-transform-paths 1.7.18
    • typescript 4.0.3
    • postcss 8.2.10
    • rollup 2.52.8
    • vue 2.6.14
    • vue-template-compiler 2.6.14
    • NEW rimraf 3.0.2
    • NEW rollup-plugin-typescript2 0.30.0
    • NEW ttypescript 1.5.12

v4.0.5

12 Apr 17:00
Compare
Choose a tag to compare

Fixed

  • Move commonjs plugin before babel, as per babel docs
  • Import babel.config.js and merge with custom es build opts, avoiding duplication
    • Includes example of optional chaining/nullish coalescing config

v4.0.4

22 Mar 15:16
Compare
Choose a tag to compare

Fixed

  • Fixed plugin-order bug introduced by 4.0.3

v4.0.3

19 Mar 16:49
Compare
Choose a tag to compare

Fixed

  • Fixed bug preventing imports from non-aliased paths (#80)

v4.0.2

19 Mar 16:48
Compare
Choose a tag to compare

Changed

  • Fix typos in README

v4.0.1

19 Mar 16:48
Compare
Choose a tag to compare

Changed

  • Remove optional chaining/nullish coalescing code from demo component
    • Webpack 4 (used by vue-cli 4, and vue-cli 5 with cli-plugin-webpack-4) chokes on these, and babel/preset-env no longer transpiles them down. Best to not suggest them in demo components.
  • Update README with note about babel/preset-env

Known Issues

  • Vue 3 tree-shaking is still broken
    • Vue 2 is not affected

v4.0.0

02 Feb 17:03
Compare
Choose a tag to compare

Removed

  • Removed beta tag

Changed/Removed

  • BREAKING CHANGE: Drop support for node 10
  • Update cli dependencies
    • prompts 2.4.0
    • eslint 7.17.0
    • eslint-config-airbnb-base 14.2.1
    • eslint-plugin-import 2.22.1
    • husky 4.3.7
  • Update template dependencies
    • @babel/core 7.12.10
    • @babel/preset-env 7.12.11
    • @babel/preset-typescript 7.12.7
    • @rollup/plugin-babel 5.2.2
    • @rollup/plugin-commonjs 17.0.0
    • @rollup/plugin-node-resolve 11.0.1
    • @rollup/plugin-replace 2.3.4
    • @vue/cli-plugin-babel 4.5.10
    • @vue/cli-plugin-typescript 4.5.10
    • @vue/cli-service 4.5.10
    • @vue/compiler-sfc 3.0.5 (Vue 3)
    • cross-env 7.0.3
    • NEW postcss 8.2.3 (Vue 3, peer of rollup-plugin-postcss 4.0.0)
    • rollup 2.36.1
    • rollup-plugin-postcss 4.0.0
    • rollup-plugin-vue 6.0.0 (Vue 3)
    • vue 3.0.5 (Vue 3)

Known Issues

v4.0.0-beta.1

19 Oct 20:51
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

Fixed

  • Typescript type declarations don't conflict anymore (Vue 3)
  • Fixed treeshaking issues (Vue 2)
    • package.json includes "sideEffects": false
    • Marked appropriate functions as /*#__PURE__*/
    • Upstream issues may still exist in vue-runtime-helpers, but current testing shows output should still be shakeable

Changed/Removed

  • Update template dependencies
    • @babel/core 7.12.0
    • @babel/preset-env 7.12.0
    • @babel/preset-typescript 7.12.0
    • @rollup/plugin-babel 5.2.1
    • @vue/cli-plugin-babel 4.5.7
    • @vue/cli-plugin-typescript 4.5.7
    • @vue/cli-service 4.5.7
    • @vue/compiler-sfc 3.0.0
    • rollup 2.30.0
    • rollup-plugin-postcss 3.1.8
    • rollup-plugin-terser 7.0.2
    • vue 3.0.0 (Vue 3)

v4.0.0-beta.0

04 Sep 18:31
Compare
Choose a tag to compare
v4.0.0-beta.0 Pre-release
Pre-release

Added

  • NEW: Vue 3 support! Select target version of Vue - components compiled for Vue 3 are not compatible with Vue 2

Changed/Removed

  • Update cli dependencies
    • chalk 4.1.0
    • ejs 3.1.5
    • eslint 7.7.0
    • eslint-config-airbnb-base 14.2.0
    • eslint-plugin-import 2.22.0
  • Update templates depending on Vue version selected
    • BREAKING CHANGE: Remove auto-install logic/output entirely
      • Auto-install has become an anti-pattern, since Vue 3 will not allow registering components/libraries globally
    • BREAKING CHANGE: Non-esm builds now attach named exports as properties of the default export
      • Nodejs/browser usage is now registered via Vue.use(globalVar) instead of Vue.use(globalVar.default), with named exports still accessed as globalVar.named1, globalVar.named2 etc.
  • Update template dependencies
    • @babel/core 7.11.0
    • @babel/preset-env 7.11.0
    • @babel/preset-typescript 7.10.4
    • @rollup/plugin-alias 3.1.1
    • @rollup/plugin-babel 5.2.0
    • @rollup/plugin-commonjs 14.0.0
    • NEW @rollup/node-resolve 9.0.0
    • @rollup/plugin-replace 2.3.3
    • @vue/cli-plugin-babel 4.5.4
    • @vue/cli-plugin-typescript 4.5.4
    • @vue/cli-service 4.5.4
    • @vue/compiler-sfc 3.0.0-rc.9 (Vue 3 only)
    • rollup 2.26.5
    • NEW rollup-plugin-postcss 3.1.6 (Vue 3 only)
    • rollup-plugin-terser 7.0.0
    • rollup-plugin-vue 5.1.9 (Vue 2) / 6.0.0-beta.10 (Vue 3)
    • vue 2.6.12 (Vue 2) / 3.0.0-rc.9 (Vue 3)
    • vue-template-compiler 2.6.12 (Vue 2 only)