1
0
Fork 0

Merge pull request #6081 from BenJamesBen/plugin-bust-condition-update

chore(onyx, shelly, tamiko): Load bustPlugin unconditionally
This commit is contained in:
Joost De Cock 2024-02-18 15:49:10 +01:00 committed by GitHub
commit 31b6b4bfd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 3 deletions

View file

@ -2,10 +2,16 @@ Unreleased:
Changed:
brian:
- Always load plugin-bust due to its changes in how it handle conditionality.
onyx:
- Always load plugin-bust due to its changes in how it handle conditionality.
plugin-bust:
- This plugin now uses the `preSetDraft` rather than `preDraft` lifecycle hook
- Conditionality has been moved to the `preSetDraft` lifecycle hook, rather than exposing a `withCondition` named export
- The plugin will now always be loaded, but will check for each drafted set whether it should make any changes.
shelly:
- Always load plugin-bust due to its changes in how it handle conditionality.
tamiko:
- Always load plugin-bust due to its changes in how it handle conditionality.
Deprecated:
plugin-bust:

View file

@ -1,4 +1,4 @@
import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
import { bustPlugin } from '@freesewing/plugin-bust'
function draftBase({
utils,

View file

@ -1,4 +1,4 @@
import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
import { bustPlugin } from '@freesewing/plugin-bust'
function draftBase({
utils,

View file

@ -1,4 +1,4 @@
import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
import { bustPlugin } from '@freesewing/plugin-bust'
function tamikoTop({
sa,