Skip to content

Commit

Permalink
Merge pull request #165 from shopware/fix-babel-plugin
Browse files Browse the repository at this point in the history
fix: Babel plugin
  • Loading branch information
seggewiss authored Feb 7, 2025
2 parents 86e298b + 2d86a42 commit d8acdbc
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 98 deletions.
2 changes: 1 addition & 1 deletion @tool/transform.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const babelOptions = {
presets: ['@babel/preset-typescript'],
plugins: [
'transform-vite-meta-glob'
'shopware-vite-meta-glob'
],
env: {
test: {
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [v6.0.1] - 2025-02-07
- Replace `babel-plugin-transform-vite-meta-glob` with `babel-plugin-shopware-vite-meta-glob`

## [v6.0.0] - 2025-02-06
- Breaking change: Removed `require.context` support for Webpack code.
- Added support for `import.meta.glob` for Vite code.
Expand Down
195 changes: 100 additions & 95 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopware-ag/jest-preset-sw6-admin",
"version": "6.0.0",
"version": "6.0.1",
"description": "Jest Test preset for Shopware 6 administration unit tests",
"main": "jest-preset.js",
"keywords": [
Expand Down Expand Up @@ -28,7 +28,7 @@
"@babel/core": "^7.17.12",
"@babel/preset-typescript": "^7.16.7",
"babel-jest": "^27.5.1",
"babel-plugin-transform-vite-meta-glob": "^1.1.2",
"babel-plugin-shopware-vite-meta-glob": "^0.0.1",
"uuid": "^8.3.2"
},
"publishConfig": {
Expand Down

0 comments on commit d8acdbc

Please sign in to comment.