1
0
Fork 0
Commit graph

717 commits

Author SHA1 Message Date
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
Enoch Riese
a1fe44e3dd Merge branch 'develop' into eriese-pdf-export 2022-08-24 16:19:45 -05:00
Enoch Riese
4e78e8e996 tests 2022-08-24 13:36:19 -05:00
joostdecock
0836ea1dc3 chore: migrate packages.json for ESM only 2022-08-24 19:40:31 +02:00
joostdecock
b4022164c7 chore: Migration build scripts to ESM 2022-08-24 19:39:15 +02:00
joostdecock
1e67a95fe0 chore: Update engine to NodeJS 16 2022-08-24 09:46:42 +02:00
joostdecock
2823f5bbd7 fix(core): Adapt tests for NodeJS v16 2022-08-24 09:45:35 +02:00
Enoch Riese
4e8a56bfc7 better empty check 2022-08-23 11:07:19 -05:00
joostdecock
ae40299f7b chore: develop now hosts v3 code 2022-08-23 13:45:20 +02:00
joostdecock
7595799211 chore: Added warning about v3 2022-08-23 13:33:08 +02:00
joostdecock
d230d0dee8 chore: Reconfigure packages 2022-08-23 13:13:56 +02:00
joostdecock
c8db1f1774 chore: Reconfigure packages 2022-08-22 19:13:28 +02:00
joostdecock
a102acb6aa chore: Reconfigure packages 2022-08-22 15:39:44 +02:00
Joost De Cock
ee92526d53 fix: Broken link in README's
As reported in #2605 there's a broken link in the README's that points
to an old overview of all published packages on freesewing.dev.

Since we migrated to NextJS that page no longer exists, futhermore we've
moved away from the single `packages` workspace and now have one for
`packages`, `designs`, `plugins`, and `sites`. So I've just dropped the
link and rephrased the sentence.
2022-08-19 09:00:48 +02:00
Enoch Riese
df7011329b properly take transformed position into account for checking blank pages 2022-08-17 14:27:06 -05:00