1
0
Fork 0
Commit graph

7 commits

Author SHA1 Message Date
joostdecock
b263979ca0 feat(core): Load core plugins (plugin bundle) by default 2023-09-07 11:25:57 +02:00
Enoch Riese
13ec5e43e5 refactor (core) reorganize method groupings in Pattern 2023-04-18 17:12:55 -04:00
Enoch Riese
0115a46d8a get tests passing 2022-11-14 16:33:57 -06:00
Joost De Cock
04f6852482 feat(core): Added additional lifecycle hooks
Specifically:

- preInit
- postInit
- preSetDraft
- prePartDraft
- postPartDraft
- postSetDraft
2022-09-18 22:48:55 +02:00
Joost De Cock
0cbffd6dc6 wip(core): Work on late-stage config resolver
This moves resolving of the config from the pattern constructor to the
init() method. The idea is that adding a part to a pattern is exactly
the same as adding a part to a design. In other words, late-stage adding
of parts would be no different as the config gets resolved after that.

This is currently broken in many different ways, but the unit tests
particular to this new way of resolving the config do pass.
2022-09-09 20:20:38 +02:00
Joost De Cock
ba7c663941 wip(core): Work on porting unit tests to v3 2022-08-27 09:27:07 +02:00
joostdecock
547d11569d chore(core): Port tests to ESM 2022-08-25 11:47:54 +02:00
Renamed from packages/core/tests/hooks.test.js (Browse further)