1
0
Fork 0
Commit graph

1044 commits

Author SHA1 Message Date
joostdecock
26e282f5b7 fix: Fix tests after major chai upgrade
Note that the tests for Lumina are failing, but that's not related to
the chai upgrade, rather it seems these tests fail because of issues in
the design that we'll tackle later (it's a brand new design yet to be
released).
2024-02-04 12:14:42 +01:00
joostdecock
add96a0ee2 chore: Updated README templates 2024-02-04 10:52:16 +01:00
dependabot[bot]
57b64af805
build(deps-dev): bump chai from 4.3.10 to 5.0.3
Bumps [chai](https://github.com/chaijs/chai) from 4.3.10 to 5.0.3.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v4.3.10...v5.0.3)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 18:15:52 +00:00
Joost De Cock
777a9db557
Merge pull request #5862 from BenJamesBen/remove-distance_debug-messages
chore(core): Remove options distance debug logging
2024-01-27 17:07:06 +01:00
Benjamin Fan
470b34ae9e fix(core): Use Set instead of Array for options priority debug messages 2024-01-25 21:51:00 -08:00
Benjamin Fan
5828e53937 fix(core): Remove Svg.body property 2024-01-24 20:18:03 -08:00
Benjamin Fan
a298f43a18 chore(core): Remove options distance debug logging 2024-01-20 20:23:52 -08:00
joostdecock
ba370f74d2 release: v3.1.0
- Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Added IDs to dimension macros that missed them, causing them to not be shown
 - Keep seam allowance out of the binding length calculation

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes
 - Corrected part mixup in translation of flag message

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Fixed wrong use of options in a value method. Fixes

 - Remove names from old plugins from list option

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes
 - The skirt and curved waistband are now constructed with the ringsector macro

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Replaced all instances of 'seperate' with 'separate' in option names

 - Initial release

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Changed defaults to have more rise in the back
 - Increase default rise
 - Decrease default vertical stretch
 - Decreased default back waist dip
 - Increased default front waist dip
 - Allowed lower values on back exposure, causing back to flare out
 - Fix issue with back part when bulge is on and expand is off

 - Pocket opening was not drawn on the facing and pocket pieces. Fixes
 - Improve placement of the front welt. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Initial release

 - Added support for notes in flags

 - Removing macros did not always remove the cutlist data in the store. Fixes

 - First release of the plugin providing the default packing implementation

 - First release of the plugin facilitating drafting a ring sector

 - Allow plugins to provide their own packing implementation
 - Added named export `cbqc` which exports the constant to approximate a circle with Cubic Bézier curves
 - Core will now set `activeMacro` in the store, keeping track of the running macro - Added the `generateMacroIds`, `getMacroIds`, and `removeMacroNodes` store methods

 - Fix order in mergeOptions method so user settings take precendence over defaults
 - Fix upward snap for snapped percentage option when snap is a simple number
 - The conditional loading of plugins had a bug causing them to never be loaded
 - Make Path.split() more robust when handling edge-case. Fixes
 - Prevent utils.circlesIntersect() from running sqrt on a negative number. Fixes

 - Removed unwanted debug output
2023-12-26 20:30:42 +01:00
joostdecock
14bca334f6 release: v3.1.0-rc-0 2023-12-24 14:06:17 +01:00
Joost De Cock
c62d19766b chore: Updated dependencies - Fixed axios issue 2023-12-24 10:18:14 +01:00
dependabot[bot]
43ba49b2d6
build(deps-dev): bump eslint from 8.55.0 to 8.56.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.55.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.55.0...v8.56.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-20 04:47:58 +00:00
Joost De Cock
a3c7776aa3
Merge pull request #5652 from woutervdub/path
Fixes #5569 (`path.split()`)
2023-12-17 14:31:31 +00:00
woutervdub
3cef72975e Add test case for code coverage, and implement two Joost comments. 2023-12-16 22:09:22 +00:00
Wouter van Wageningen
e1fa8286d4 Fixes split() bug #5569 2023-12-15 06:50:58 +00:00
dependabot[bot]
283e9a1575
build(deps-dev): bump eslint from 8.51.0 to 8.55.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.51.0 to 8.55.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.51.0...v8.55.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 05:00:55 +00:00
Joost De Cock
cd50ba4141
Merge pull request #5378 from freesewing/dependabot/npm_and_yarn/sinon-17.0.1
chore(deps-dev): bump sinon from 16.1.1 to 17.0.1
2023-12-09 14:59:31 +01:00
joostdecock
d2030405dc chore: Reconfigure packages 2023-12-03 17:34:44 +01:00
dependabot[bot]
c149fdae60
build(deps-dev): bump eslint from 8.53.0 to 8.54.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.53.0 to 8.54.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.54.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 04:21:44 +00:00
dependabot[bot]
1fd31814ef
build(deps-dev): bump eslint from 8.51.0 to 8.53.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.51.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.51.0...v8.53.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 04:58:08 +00:00
joostdecock
635d908482 fix(core): Corectly load conditional plugins
The parameters passed to the conditional load method were incorrect
causing a conditional plugin to never get loaded.
2023-11-08 20:27:48 +01:00
joostdecock
306fba47d7 chore: Reconfigure packages 2023-11-03 19:41:41 +01:00
dependabot[bot]
66f8255fb2
chore(deps-dev): bump sinon from 16.1.1 to 17.0.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 16.1.1 to 17.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v16.1.1...v17.0.1)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 04:14:30 +00:00
joostdecock
2b25739566 chore(core): Allow overriding more store methods 2023-10-29 17:21:00 +01:00
joostdecock
2fa394c8ab chore: Reconfigure packages 2023-10-28 21:49:40 +02:00
Himanshu Singh
4431a027e5
Update utils.mjs
fixed typo transorms -> transforms on line 857 and transorm -> transform on line 881
2023-10-28 12:48:28 +05:30
joostdecock
73fbc4e8bd chore: Reconfigure packages 2023-10-25 17:16:03 +02:00
joostdecock
e7292ee2e4 fix(core): Left-over use of tl and br 2023-10-21 17:45:35 +02:00
Joost De Cock
1e4a064043 fix(core): Return property names that are consistent with API 2023-10-21 13:26:45 +02:00
Joost De Cock
9d06e89636 chore: Reconfigure packages 2023-10-18 17:56:39 +02:00
Joost De Cock
43796a95cd fix(core): Lowercase macros when generating IDs 2023-10-18 16:32:08 +02:00
Joost De Cock
28e4eeae91 chore: Reconfigure packages 2023-10-18 16:05:10 +02:00
Joost De Cock
cb106578b3 feat(core): Better support for macro removal an node id tracking 2023-10-18 16:00:15 +02:00
Joost De Cock
49618755be feat(core): Add cbqc named export
This exports the constant `0.55342686` which is the value to best
approximate a (quarter) circle with a cubic Bézier curve.

See: https://spencermortensen.com/articles/bezier-circle/
2023-10-17 10:03:05 +02:00
Joost De Cock
57a73ee457 chore(core): Remove lint 2023-10-15 20:06:17 +02:00
Joost De Cock
0fe8a94eef chore(core): Remove debug output 2023-10-15 16:22:37 +02:00
Joost De Cock
4b103741df chore: Remove unused dependencies 2023-10-15 15:14:33 +02:00
Joost De Cock
79cdc0d92a Revert "chore: Consolidate forks"
This reverts commit e9135f707a.
2023-10-15 15:13:11 +02:00
Joost De Cock
b83ab5df74 feat(core): Allow plugins to provide their own packing implementation 2023-10-15 15:12:10 +02:00
Joost De Cock
e9135f707a chore: Consolidate forks 2023-10-14 16:44:33 +02:00
Joost De Cock
f08335639b fix(core): snap upwards when snap config is a mere number. Fixes #4236 2023-10-14 15:30:40 +02:00
Joost De Cock
3574b85e17 fix(core): Make user options take precedence in utils.mergeOptions 2023-10-14 14:53:14 +02:00
Joost De Cock
6da7a292f2 chore: Reconfigure & dependencies 2023-10-14 13:13:13 +02:00
Joost De Cock
45d67e03c3 fix(core): Typo in package.json 2023-10-13 17:38:00 +02:00
Joost De Cock
2258a8c171 Merge branch 'develop' into joost 2023-10-13 17:24:39 +02:00
Joost De Cock
f2a787528d chore: Updated/cleaned up dependencies 2023-10-13 17:19:40 +02:00
dependabot[bot]
2b6d986ee1
Bump chai from 4.3.9 to 4.3.10
Bumps [chai](https://github.com/chaijs/chai) from 4.3.9 to 4.3.10.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v4.3.9...v4.3.10)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-13 12:18:50 +00:00
dependabot[bot]
0ba2a71474
chore(deps-dev): bump eslint from 8.50.0 to 8.51.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.50.0 to 8.51.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.50.0...v8.51.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 04:16:46 +00:00
joostdecock
97520a0a7d chore: Install various major updates 2023-10-04 17:55:54 +02:00
joostdecock
eb32bc5fe0 release: v3.0.0 🎉 2023-09-30 17:48:57 +02:00
joostdecock
4d9c614c89 Merge branch 'joost' into develop 2023-09-30 17:41:35 +02:00