1
0
Fork 0
Commit graph

548 commits

Author SHA1 Message Date
Joost De Cock
a75ebfb334 chore(core): Migrated to esbuild & removed legacy devenv 2022-06-14 13:09:08 +02:00
Joost De Cock
b0aa9f3895 chore: Supress webpack warnings about named imports from JSON
This suppresses a warning in webpack v5 when importing the
version from the package.json file like a named export.

This use to be fine in webpack v4 but in v5 it's deprecated to
be more inline with the way it works in NodeJS.

That being said, it's very usefull as there's no need to pull in
the entire package.json file.
Futhermore, esbuild supports this out of the box so we also use
it in our build scripts.

So for now I'm supressing this warning. In FreeSewing v3 we'll
re-evaluate this.
2022-06-12 22:37:04 +02:00
Joost De Cock
ac7b1de00e chore(core): Migrated core from rollup to esbuild 2022-06-12 21:49:34 +02:00
Joost De Cock
cb84abcfbc chore(core): Prettier run 2022-05-31 15:57:53 +02:00
Joost De Cock
714022a608 chore: Reconfigure packages 2022-05-21 20:34:32 +02:00
Joost De Cock
6c01ddea09 chore: Reconfigure packages 2022-05-21 19:28:43 +02:00
Joost De Cock
c0ae2d5e00 fix(core): Incorrect detection of cached path boundary 2022-05-21 19:10:21 +02:00
Joost De Cock
3af2a13439 fix(core): Incorrect warning message 2022-05-21 18:42:13 +02:00
Joost De Cock
f544050529 fix(core): Handle path split on start/end of path segments 2022-03-29 19:32:07 +02:00
Joost De Cock
0b1137f09b chore: Linter run 2022-03-28 19:38:18 +02:00
Joost De Cock
643b50703b
Merge pull request #1995 from freesewing/joost/customlayout
feat: First stab at custom layout
2022-03-14 08:22:35 +01:00
Joost De Cock
353f9cd1c3 fix(core): Added postLayout hook to tests 2022-03-13 15:01:28 +01:00
Joost De Cock
9b5c8a8751 wip(core): Changes to facilitate manual layouts 2022-03-06 18:55:13 +01:00
Nick Dower
0da517c2ed Reconfigure README.md files. 2022-03-03 05:46:34 +01:00
Joost De Cock
9541fea78c feat(core): Added autoLayout pattern prop 2022-02-25 08:29:28 +01:00
Joost De Cock
23f70b4b59 release: FreeSewing 2.20.7
This fixes an issue in our workbench component that caused an error for
people using our development environment.
2022-02-20 19:35:36 +01:00
Joost De Cock
f4ee97a626 feat(core): Added the postLayout lifecycle hook 2022-02-20 18:45:44 +01:00
Nick Dower
5621140d49 Remove --parallel. Incompatible with --file. 2022-02-19 11:09:56 +01:00
Joost De Cock
ae490a05d5 fix: Call mocha through npx 2022-02-19 10:07:43 +01:00
Joost De Cock
cde12f2b70 fix(test): Call mocha without path 2022-02-19 10:03:12 +01:00
Joost De Cock
d45cb7b554 chore: Reconfigure with new test settings 2022-02-19 09:48:36 +01:00
Joost De Cock
c6b39a8a99 fix(core): Double zero in test 2022-02-19 09:47:11 +01:00
Joost De Cock
47bfd60ffe release: v2.20.6
**Date:** 2022-02-22

- Set units on fontsizes to support scale setting

- Handle unset props.pattern in DraftConfigurator option.hide check
2022-02-17 19:37:00 +01:00
Joost De Cock
1bdae6b002 release: v2.20.5 2022-02-17 19:11:27 +01:00
Joost De Cock
cbf258bb6e chore: Reconfigure packages 2022-02-16 20:45:38 +01:00
Nick Dower
6c16635046 Update path offset test to match new values. 2022-02-10 15:41:21 +01:00
dependabot[bot]
7a158c1aca chore(deps): bump bezier-js from 5.1.0 to 6.1.0
Bumps [bezier-js](https://github.com/Pomax/bezierjs) from 5.1.0 to 6.1.0.
- [Release notes](https://github.com/Pomax/bezierjs/releases)
- [Commits](https://github.com/Pomax/bezierjs/compare/v5.1.0...v6.1.0)

---
updated-dependencies:
- dependency-name: bezier-js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-10 15:41:21 +01:00
Joost De Cock
a88a5c453c Merge branch 'develop' of github.com:freesewing/freesewing into develop 2022-02-05 08:43:36 +01:00
Joost De Cock
6efd94af2b fix(core): Properly escape quotes in SVG text 2022-02-05 08:42:20 +01:00
Nick Dower
f1ba729571
Merge pull request #1800 from freesewing/nickd/i18n-tests
Enable tests in i18n. Add missing testci to core.
2022-02-05 08:05:36 +01:00
Joost De Cock
0a656ab440 feat(core): Add a default hide() method to options
This adds a default `hide()` method to all pattern options
(that are not a constant) which always returns false.

The idea is that this can/will be used for conditional display
of options based on the user's input.

See Issue #1723 and PR #1798 for background info
2022-02-05 07:11:09 +01:00
Nick Dower
80abfe1509 Enable tests in i18n. Add missing testci to core. 2022-02-04 13:35:42 +01:00
Joost De Cock
777acaf74a chore: Reconfigure packages 2022-01-28 20:30:45 +01:00
Joost De Cock
3d15149d67 chore: Reconfigure packages 2022-01-28 20:25:21 +01:00
Joost De Cock
ee2f0b0eac chore: Reconfigure packages 2022-01-28 19:59:00 +01:00
Joost De Cock
abac05d844 chore: changelog update 2022-01-28 18:27:20 +01:00
Joost De Cock
6dad5ca833 chore(core): Always raise debug
Currently we check in many different places whether debug is enabled
prior to raising a debug event.

This changes that to always raise debug, but let the debug.raise()
method only store it on the pattern object if/when debug is
enabled.
2022-01-28 18:18:37 +01:00
Joost De Cock
85c88ea511 chore: Changelog update 2022-01-28 16:58:32 +01:00
Joost De Cock
d05e7f2196 chore(core): Don't raise debug info for path.render 2022-01-28 16:57:30 +01:00
Joost De Cock
2380b4f2db chore: Reconfigure packages 2022-01-27 15:20:28 +01:00
Joost De Cock
4143b3a818 chore: Reconfigure packages 2022-01-27 12:59:01 +01:00
Joost De Cock
e926e20acf chore: Dependency updates 2022-01-27 09:35:42 +01:00
Joost De Cock
893099e283 chore(core): Updated test fixtures 2022-01-25 09:36:54 +01:00
Joost De Cock
c13b063bb5 fix(core): Use default import for JSON 2022-01-25 09:29:09 +01:00
Joost De Cock
727dcd54aa chore: Fixed release date 2022-01-24 09:38:21 +01:00
Joost De Cock
a2a4e2a838 chore: Reconfigure packages 2022-01-24 09:34:01 +01:00
Joost De Cock
8d2ec0c9f1 chore: Reconfigure packages 2022-01-23 14:27:21 +01:00
Joost De Cock
29c598301c chore: Switch to next tag for prerelease 2022-01-23 14:05:48 +01:00
Joost De Cock
c654a8b7ed chore: Changelog update 2022-01-23 14:05:19 +01:00
Joost De Cock
2234155052 chore: Fixed linter warnings 2022-01-20 09:07:38 +01:00