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
Enoch Riese
64a05e8f72
throw in a test, as a treat
2022-08-17 13:54:39 -05:00
Enoch Riese
10fe19455d
don't render empty pdf pages
2022-08-17 00:34:25 -05:00
Enoch Riese
94c324b2e7
most export to pdf functionality re-instated
2022-08-16 00:33:35 -05:00
joostdecock
62fae66d25
wip(core): Added support for (part-level) optionGroups
...
This needs some work when merging deeply nested options, but it's a
start
2022-08-15 16:01:42 +02:00
joostdecock
681a1fc657
wip: Handle backwards compatibility for passing parts as array
...
This was broken by some earlier changes, but not it's ok again
2022-08-15 10:48:35 +02:00
Enoch Riese
a271117381
fix tests for new transform generation
2022-08-14 17:17:21 -05:00
Enoch Riese
4a0f3f65a6
documenting code
2022-08-14 16:50:16 -05:00
joostdecock
7f684d8c17
wip: Pass parts to design constructor as array
...
Since the part name needs to be set in the part, this makes
it more clear as there's no key associated with the part.
2022-08-14 18:16:15 +02:00
joostdecock
2b254c721d
wip: Recursive resolving of (non-injected) dependencies
...
We started out with following dependencies that are injected
(from) and now added dependencies that are merely required to
be drafted first (after).
This also adds further support for part-level configuration.
2022-08-14 16:59:51 +02:00
joostdecock
4cf9c3bd47
wip: Added part-level dependencies
...
Restructured code a bit to handle all part-level config in one call.
Removed check in shorthand for debug as it's no longer used.
Updated tests to not fall over on different error message format in
newer NodeJS versions
2022-08-13 18:33:06 +02:00
joostdecock
689f908f68
wip: Allow runtime adding of parts
...
Just call `pattern.addPart()` and pass it either:
- a part object with all it entails
- a draft method as first and name as second parameter
This will overwrite any existing parts without any warning
2022-08-13 15:11:33 +02:00