1
0
Fork 0
Commit graph

65 commits

Author SHA1 Message Date
Joost De Cock
c72c1ec485 chore(core): Keep defaults in config.mjs 2022-09-09 20:29:31 +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
411f617ffe feat(core): Add default logging to store 2022-09-07 16:55:44 +02:00
Joost De Cock
e2c5b61b17 feat(core): Support for store methods in plugins 2022-09-07 16:16:33 +02:00
joostdecock
7133f33eaf wip(core): Work on plugin loading 2022-09-04 18:22:02 +02:00
Benjamin F
9cf8ffb31c Change pattern raise.info message to use new data property config. 2022-09-01 22:19:15 -07:00
Joost De Cock
e5f398bcab fix(core): Include parts without dependencies in output 2022-09-01 19:35:20 +02:00
Joost De Cock
bf7926b98d feat(core): More granular hiding of parts
This adds new top-level part config settings:

- hide: hides this part and only this part (not new)
- hideDependencies: Do not hide this part, but hide its dependencies
- hideAll: Hide both this part and its dependencies
2022-09-01 18:00:37 +02:00
Joost De Cock
c79aea43b9 fix(core): Don't load plugins twice 2022-09-01 17:43:35 +02:00
Joost De Cock
0ae85ecf49 chore(core): Get data from data.mjs 2022-09-01 08:51:56 +02:00
Joost De Cock
8a74a36697 feat(core): Move plugins to part-level config 2022-08-31 17:52:39 +02:00
Joost De Cock
d59bab6a6c fix(core): Handle hiding of parts 2022-08-29 17:44:24 +02:00
Joost De Cock
c09ae4aa69 wip(core): Migrated to named exports only 2022-08-28 02:14:39 +02:00
Joost De Cock
e4b5d52aaf wip(core): Work on v3 2022-08-27 09:28:36 +02:00
Joost De Cock
3671f44e90 chore: Move core files to .mjs 2022-08-26 18:51:02 +02:00
Renamed from packages/core/src/pattern.js (Browse further)