-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #227 from Pinelab-studio/v2-bulk-update-plugin
Upgraded Vendure Variant Bulk Update plugin to vendure 2.0
- Loading branch information
Showing
6 changed files
with
1,394 additions
and
4,151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
packages/vendure-plugin-variant-bulk-update/vitest.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import path from 'path'; | ||
import swc from 'unplugin-swc'; | ||
import { defineConfig } from 'vitest/config'; | ||
|
||
export default defineConfig({ | ||
test: { | ||
include: './test/variant-bulk-update.spec.ts', | ||
}, | ||
plugins: [ | ||
// SWC required to support decorators used in test plugins | ||
// See https://github.com/vitest-dev/vitest/issues/708#issuecomment-1118628479 | ||
// Vite plugin | ||
swc.vite({ | ||
jsc: { | ||
transform: { | ||
// See https://github.com/vendure-ecommerce/vendure/issues/2099 | ||
useDefineForClassFields: false, | ||
}, | ||
}, | ||
}), | ||
], | ||
}); |
Oops, something went wrong.