vue-jest

Jest Vue transformer

MIT License

Downloads
3.7M
Stars
744
Committers
81

Bot releases are visible (Hide)

vue-jest - v29.2.6 Latest Release

Published by lmiller1990 about 1 year ago

What's Changed

Full Changelog: https://github.com/vuejs/vue-jest/compare/v29.2.5...v29.2.6

vue-jest - v29.2.5

Published by lmiller1990 about 1 year ago

What's Changed

Full Changelog: https://github.com/vuejs/vue-jest/compare/v29.2.4...v29.2.5

vue-jest - v29.2.4

Published by lmiller1990 over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/vuejs/vue-jest/compare/v29.2.3...v29.2.4

vue-jest - v29.2.3

Published by lmiller1990 over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/vuejs/vue-jest/compare/v29.2.2...v29.2.3

Install

npm install @vue/vue2-jest
npm install @vue/vue3-jest
vue-jest - v29.2.2

Published by lmiller1990 almost 2 years ago

What's Changed

Full Changelog: https://github.com/vuejs/vue-jest/compare/v29.2.1...v29.2.2

vue-jest - v29.2.1

Published by lmiller1990 almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/vuejs/vue-jest/compare/v29.2.0...v29.2.1

Installing:

npm install @vue/[email protected]
npm install @vue/[email protected]
vue-jest - v29.2.0

Published by lmiller1990 almost 2 years ago

What's Changed

Full Changelog: https://github.com/vuejs/vue-jest/compare/v29.1.1...v29.2.0

Install

npm install @vue/[email protected]
npm install @vue/[email protected]
vue-jest - v29.1.1

Published by lmiller1990 about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/vuejs/vue-jest/compare/v29.1.0...v29.1.1

vue-jest - 29.1.0

Published by lmiller1990 about 2 years ago

This release contains a single commit from https://github.com/vuejs/vue-jest/pull/489 which supports <script setup> in Vue 2.7 with Jest 29. It was implemented and tested by @thebanjomatic @kiroushi @dten @FelixGraf @kaizige10 @aldarund and a bunch of others - great job and collaboration, this is what FOSS is all about.

vue-jest - v29.0.0

Published by lmiller1990 about 2 years ago

v29.0.0

Breaking change: Node.js 12 & 17 are no longer supported (Jest 29 breaking change). More in the PR: https://github.com/vuejs/vue-jest/pull/494

What's Changed

Full Changelog: https://github.com/vuejs/vue-jest/compare/v28.1.0...v29.0.0

Install

npm install @vue/vue3-jest@29 -D
npm install @vue/vue2-jest@29 -D
vue-jest - v28.1.0

Published by lmiller1990 about 2 years ago

⚠️ Breaking ⚠️

There is a potentially breaking change for some projects: https://github.com/vuejs/vue-jest/pull/471#issue-1232021124

If this is a problem you cannot work around, file an issue and we can see what the best option is moving forward. The goal of this PR is to not require ts-jest and typescript to use vue-jest.

Installation

yarn add @vue/[email protected] --dev
yarn add @vue/[email protected] --dev

What's Changed

New Contributors

Full Changelog: https://github.com/vuejs/vue-jest/compare/v28.0.1...v28.1.0

vue-jest - v28.0.1

Published by lmiller1990 over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/vuejs/vue-jest/compare/v28.0.0...v28.0.1

Install: yarn add @vue/vue2-jest or yarn add @vue/vue3-jest.

vue-jest - v28.0.0

Published by lmiller1990 over 2 years ago

We moved the main version to v28.0.0 to match the latest version of Jest on npm, which is also v28. There will always be bugs, we will fix them in patch/minor versions. If you need Jest 27 support, just install with @vue/vue3-jest@27.

Note: I (@lmiller1990) am not using Vue Jest either personally or professionally and cannot prioritise it as much as my other library (Vue Test Utils). If you'd like to assist with maintaining Vue Jest, please reach out.

How to install

  • yarn add @vue/[email protected] (works with Vue 3, Jest 28) or yarn add @vue/vue3-jest@latest for the latest one.
  • yarn add @vue/[email protected] (works with Vue 2, Jest 28) or yarn add @vue/vue2-jest@latest for the latest one.

Fixes

  • #428 - Source map fix by @Iptai
  • #468 - Jest 28 support by @valentinpalkovic
vue-jest - v27.0.0

Published by lmiller1990 over 2 years ago

We moved to v27.0.0 (the library is mostly stable; no need for a drawn out beta and release candidate process). There will always be bugs, we will fix them in patch/minor versions.

Note: I (@lmiller1990) am not using Vue Jest either personally or professionally and cannot prioritise it as much as my other library (Vue Test Utils). If you'd like to assist with maintaining Vue Jest, please reach out.

How to install

  • yarn add @vue/[email protected] (works with Vue 3, Jest 27) or yarn add @vue/vue3-jest@latest for the latest one.
  • yarn add @vue/[email protected] (works with Vue 2, Jest 27) or yarn add @vue/vue2-jest@latest for the latest one.

Fixes

vue-jest - v26.0.1

Published by lmiller1990 almost 3 years ago

This version is for Jest 26.x. If you want Jest 27.x, see the 27.x release.

How to install

# Vue 2
yarn add @vue/[email protected]

# Vue 3
yarn add @vue/[email protected]

Fixes

  • (Vue 2) fix: allow importing relative paths in global resources #373
  • (Vue 2, Vue 3): add less relative import (#349)
vue-jest - v27.0.0-alpha.4

Published by lmiller1990 almost 3 years ago

How to install

  • yarn add @vue/[email protected] (works with Vue 3, Jest 27) or yarn add @vue/vue3-jest@latest for the latest one.
  • yarn add @vue/[email protected] (works with Vue 2, Jest 27) or yarn add @vue/vue2-jest@latest for the latest one.

Features

feat: support custom blocks for Vue 3 (#364) …
feat: allow to pass compilerOptions via the Jest config for Vue 3 (#412) …

Fixes

fix(vue3-jest): interop custom transformer require (#391)

Chores

chore: drop node 10 and add node 16 (#414) …
chore: drop circleci build (#413) …
chore: update to vue v3.2.22 (#411) …

vue-jest - v27.0.0-alpha.3

Published by lmiller1990 almost 3 years ago

@vue/vue2-jest and @vue/vue3-jest

Various updates and bug fixes. See associated PRs for descriptions of what was changed and why.

Features

feat: pass styleOption into compiler (#398)
feat: support TS in templates for @vue/vue3-jest (#394) …
feat: add compilerOptions to vue-jest global options (#380) …
feat: enable sugar ref take 2 for vue3-jest (#377)
feat: support TS with script setup (#402)

Fixes

fix: fixed lang='tsx' files not working for vue2-jest (#395) …

Other

test: compilerOptions (#385) …

vue-jest - @vue/vue2-jest, @vue/vue3-jest v27.0.0-alpha.1

Published by lmiller1990 about 3 years ago

Latest version of Vue Jest with support for Vue 2, Vue 3, and Jest 27.

These are published under the Vue organization on npm. The version reflects the version of Jest the transformer works with. This major release for these two packages v27.0.0, for Jest 27.

vue-jest - v27.0.0-alpha.2

Published by lmiller1990 over 3 years ago

NOTE: important information about versioning moving forward.

Since we need to support a variety of Vue versions (2.x, 3.x) and Jest versions (26.x, 27.x), we are moving away from semantic versioning. Instead. we will now match the Jest version. Jest 27 has some breaking changes, which is why we are moving to this new versioning strategy.

Read more about the new versioning strategy here. The final packages names are still been finalized.

This release works with Vue 3 and Jest 27. Install this release with npm install [email protected]. Note the package name is now vue3-jest, not vue-jest.

Vue 2 support for Jest will come soon - currently Vue 2 and Jest 27 are not supported yet (soon, though).

The code in this version is the same as the previous release, 5.0.0-alpha.10. The only difference is some changes breaking to support Jest 27.

vue-jest - 5.0.0-alpha.10

Published by lmiller1990 over 3 years ago

Features

  • add css-module feature (#345) @YutamaKotaro
Package Rankings
Top 0.97% on Npmjs.org
Top 6.71% on Proxy.golang.org
Top 40.42% on Repo1.maven.org
Related Projects