1
0
Fork 0
Commit graph

1031 commits

Author SHA1 Message Date
Joost De Cock
8cc4c588ff Merge branch 'v3-stacks' into develop 2022-09-14 13:24:38 +02:00
Joost De Cock
1c442ad580 wip(core): Work on stack-based layouts 2022-09-14 12:24:09 +02:00
Enoch Riese
aba62cd3bc add support for windows-specific build and prebuild scripts 2022-09-13 11:32:50 -05:00
Joost De Cock
7ac5a88dff feat(core): Added support for stacks in layout 2022-09-13 17:56:01 +02:00
joostdecock
85748db201 wip(core): Started working on support for stacks in core 2022-09-12 20:10:22 +02:00
Joost De Cock
aa1d76ee80 feat(core): Allow loading of plugin data 2022-09-12 18:01:37 +02:00
joostdecock
34c05af3bb fix(core): Don't hide after parts 2022-09-11 18:09:17 +02:00
joostdecock
48b366c57e fix(core): Issue with hiding dependencies 2022-09-11 18:00:41 +02:00
joostdecock
b78aa97af9 wip(core): Test for part in shorthand 2022-09-10 19:34:43 +02:00
joostdecock
bdd5cb562e chore: Run unit tests from source 2022-09-10 19:16:17 +02:00
joostdecock
ac4d134075 feat(core): Pass shorthand() to draft methods 2022-09-10 19:13:43 +02:00
joostdecock
b7071bb487 wip(core): Unit tests 2022-09-10 18:45:57 +02:00
joostdecock
4121ef44d2 wip(core): Work on path unit tests 2022-09-10 18:23:19 +02:00
joostdecock
cf0c70f4c6 wip(core): Work on part unit tests 2022-09-10 16:00:43 +02:00
joostdecock
904e0044c5 wip(core): Work on pattern/design unit tests 2022-09-10 15:04:57 +02:00
joostdecock
032b2d6e3c wip(core): Draft fixes and testing 2022-09-10 13:35:26 +02:00
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
58c15f6c81 chore(core): Do not add hide methods to options 2022-09-08 11:53:05 +02:00
Joost De Cock
55e5dc3d0c feat(plugin-cutlist): New plugin to manage cutlist
This also removed the cutlist-related functionality that was added to
core as an early v3 feature.
2022-09-07 21:16:44 +02:00
Joost De Cock
ef4a70c8f3 feat(core): Make top-level store methods available through shorthand 2022-09-07 19:52:50 +02:00
Joost De Cock
411f617ffe feat(core): Add default logging to store 2022-09-07 16:55:44 +02:00
Joost De Cock
575d7c3de8 chore: Contributors update 2022-09-07 16:17:33 +02:00
Joost De Cock
e2c5b61b17 feat(core): Support for store methods in plugins 2022-09-07 16:16:33 +02:00
Joost De Cock
c2dc4a9ad7 chore: Fixed last tests for v3 merge 2022-09-07 11:22:26 +02:00
Joost De Cock
c8203f7081 chore: Keep names in test builds 2022-09-06 11:21:24 +02:00
Joost De Cock
7abb11e0af chore(core): Remove debug statement 2022-09-05 08:54:13 +02:00
joostdecock
7133f33eaf wip(core): Work on plugin loading 2022-09-04 18:22:02 +02:00
Joost De Cock
5814fb41ff
Merge pull request #2711 from BenJamesBen/v3-event-log-info
Change v3 pattern raise.info message to use new data property config.
2022-09-04 11:26:43 +02:00
joostdecock
0dae02d24b wip(core): Comment out outdated tests 2022-09-03 11:55:18 +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
5ded8beea4 chore: Move pacakge info to 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
9b028af1a3 feat(core): Treat conditionalPlugins and plugins the same 2022-08-29 19:23:31 +02:00
Joost De Cock
d59bab6a6c fix(core): Handle hiding of parts 2022-08-29 17:44:24 +02:00
Joost De Cock
0e65a5843d chore: Remove experimetal json imports flag, no longer needed 2022-08-29 17:41:00 +02:00
Joost De Cock
2bdd5f376e feat: Generated pkg.mjs files to avoid JSON imports 2022-08-29 17:40:04 +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
ba7c663941 wip(core): Work on porting unit tests to v3 2022-08-27 09:27:07 +02:00
Joost De Cock
3671f44e90 chore: Move core files to .mjs 2022-08-26 18:51:02 +02:00
Joost De Cock
eccdd23ded Merge branch 'proposal-parts' into v3-phase1 2022-08-26 12:38:39 +02:00
joostdecock
12e2a5319a Merge branch 'develop' of github.com:freesewing/freesewing into develop 2022-08-25 13:56:10 +02:00
joostdecock
647dded023 chore: Fix linter warnings 2022-08-25 12:53:07 +02:00
joostdecock
d74d900a76 chore: Ported pattern tests to ESM 2022-08-25 11:52:34 +02:00
joostdecock
547d11569d chore(core): Port tests to ESM 2022-08-25 11:47:54 +02:00