1
0
Fork 0
Commit graph

43186 commits

Author SHA1 Message Date
Enoch Riese
f60f047883 possibly now going overboard on null checks 2022-06-17 23:19:19 -05:00
Enoch Riese
d32f145ac3 better null checks 2022-06-17 23:15:15 -05:00
Enoch Riese
7476d45f54 Merge branch 'develop' into eriese-imperial 2022-06-17 22:31:11 -05:00
woutervdub
214d47a0fd Cosmetic changes to logos and titles 2022-06-17 13:47:47 -07:00
woutervdub
9657b02413 Fixed inverted teeth 2022-06-17 13:02:25 -07:00
Wouter van Wageningen
d58a1ccc4f
Merge pull request #2268 from freesewing/develop
update
2022-06-17 12:07:53 -07:00
Wouter van Wageningen
e7e2d1fef1
Merge pull request #6 from freesewing/develop
Update
2022-06-17 11:27:08 -07:00
Joost De Cock
e153fbc925 fix: Incorrect command name in help script 2022-06-17 18:34:26 +02:00
Joost De Cock
a4cda485d5 chore: Added scripts to facilitate development 2022-06-17 18:23:17 +02:00
Wouter van Wageningen
e5f8a3debc
Update upperTeeth.js
Add starting and ending tooth sizes.
2022-06-17 08:10:49 -07:00
Wouter van Wageningen
b8f59ec4f8
Update lowerTeeth.js
add starting en ending tooth sizes.
2022-06-17 08:08:56 -07:00
Wouter van Wageningen
6eb8977615
Update teeth.js
Teeth need a starting size and ending size
Teeth need to increase proportional from start to end size, not increments of 1/15.
2022-06-17 07:59:54 -07:00
Joost De Cock
7108cb46a2 feat: Let yarn lab start the dev env 2022-06-17 14:12:46 +02:00
Joost De Cock
e69e87a8ad fix(shared): Don't clear gist but restore defaults 2022-06-17 12:07:16 +02:00
Joost De Cock
43ee0f1790 chore: Adapt sites to recent changes 2022-06-17 12:02:09 +02:00
Enoch Riese
e64a56c4c9 Merge branch 'develop' into eriese-imperial 2022-06-16 22:03:27 -05:00
Enoch Riese
7a34bc0629 format everything as decimals for ease of input 2022-06-16 16:54:08 -05:00
Wouter van Wageningen
b9da292b59
Merge pull request #5 from freesewing/develop
fix: Updated to build order for eupdatextended designs
2022-06-16 09:07:28 -07:00
Joost De Cock
147920daeb fix: Updated to build order for extended designs 2022-06-16 18:05:44 +02:00
Wouter van Wageningen
2967435c02
Merge pull request #4 from freesewing/develop
update
2022-06-16 08:42:21 -07:00
Joost De Cock
3c4beaead1 fix: Build order tweaks 2022-06-16 17:34:18 +02:00
Joost De Cock
5d8f070098 Merge branch 'develop' into shuffle 2022-06-16 17:22:41 +02:00
Joost De Cock
78bd02a2c2
Merge pull request #2262 from freesewing/fasterhi
Proposal(hi): Make Hi faster (at generating teeth)
2022-06-16 17:21:49 +02:00
Joost De Cock
e4035b2509 chore: Re-structure workspaces, enforce build order
These are some changes in the way the monorepo is structured,
that are aimed at making it easier to get started.

There are two important changes:

**Multiple workspaces**

We had a yarn workspaces setup at `packages/*`. But our monorepo has
grown to 92 packages which can be overwhelming for people not familiar
with the package names.

To remedy this, I've split it into 4 different workspaces:

- `designs/*`: Holds FreeSewing designs (think patterns)
- `plugins/*`: Holds FreeSewing plugins
- `packages/*`: Holds other packages published on NPM
- `sites/*`: Holds software that is not published as an NPM package,
  such as our various websites and backend API

This should make it easier to find things, and to answer questions like
*where do I find the code for the plugins*.

**Updated reconfigure script to handle build order**

One problem when bootstrapping the repo is inter-dependencies between
packages. For example, building a pattern will only work once
`plugin-bundle` is built. Which will only work once all plugins in the
bundle or built. And that will only work when `core` is built, and so
on.

This can be frustrating for new users as `yarn buildall` will fail.
And it gets overlooked by seasoned devs because they're likely to have
every package built in their repo so this issue doesn't concern them.

To remedy this, we now have a `config/build-order.mjs` file and the
updated `/scripts/reconfigure.mjs` script will enforce the build order
so that things *just work*.
2022-06-16 17:11:31 +02:00
dependabot[bot]
dc51bd8eee
build(deps): bump react-instantsearch-dom from 6.27.0 to 6.28.0
Bumps [react-instantsearch-dom](https://github.com/algolia/react-instantsearch) from 6.27.0 to 6.28.0.
- [Release notes](https://github.com/algolia/react-instantsearch/releases)
- [Changelog](https://github.com/algolia/react-instantsearch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/algolia/react-instantsearch/compare/v6.27.0...v6.28.0)

---
updated-dependencies:
- dependency-name: react-instantsearch-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 04:16:23 +00:00
Wouter van Wageningen
9bdea63b5f
Merge pull request #3 from freesewing/develop
pull
2022-06-15 13:15:13 -07:00
Joost De Cock
b9219fbf16 fix(hi): Make Hi faster (at generating teeth)
This pattern uses a method to generate teeth which depends on a lot
of Path.shiftAlong() invocations.
This causes the pattern to be a bit sluggish, with a render taking
around 160ms (which is too slow to feel instantaneous for the user) and
the unit tests timing out because some individual tests take longer than
2 seconds. When extending the timeout, running all tests clocks in just
 over 14 seconds which is slow.

This PR replaces this method with an optimized one that is a lot faster.
(all tests now complete in 2.11 seconds).

To do this,it does some things differnet, and cuts some corners:
- It does not use the Path object, but rather the low-level Bezier
  object directly
- It generates teeth for only half the mouth and will mirror them to the
  other side
- It uses a symmetric cubic Bezier curve so we don't need to walk the
  path in steps that are determined by distance, but can just walk it at
  regular intervals of the t value. As it happens, that can be done in
  one pass by using Bezier.getLUT()

The corners I cut:

- Because of the symmetric Bezier the path is ever so
slightly different, but the difference is minimal.provides ai
- Since we generate half of the mouth/teeth and then mirror, we need and
  even number of teeth, so I've changed the upper teeth from 15 to 14
2022-06-15 19:48:51 +02:00
Joost De Cock
895f993a70 chore: Version update in lerna config 2022-06-15 19:46:30 +02:00
Joost De Cock
2386c069d4 chore(shared): Added hi and unice designs 2022-06-15 19:46:14 +02:00
Joost De Cock
e911f743f8 chore: No npm lock files 2022-06-15 19:45:43 +02:00
Joost De Cock
3063c2c2dd chore: Version bump 2022-06-15 19:11:57 +02:00
Wouter van Wageningen
8b9ef0363a
Merge pull request #2 from freesewing/develop
up to date
2022-06-15 07:05:22 -07:00
Joost De Cock
777c23c85d chore(pattern-info): Add hi and unice to pattern-info 2022-06-15 13:21:59 +02:00
Joost De Cock
d02e655555 chore(pattern-info): Keep prebuild artifacts out of repo 2022-06-15 13:20:25 +02:00
Joost De Cock
0bc65984cf fix(hi): Adapt to new rules about named exports 2022-06-15 13:17:26 +02:00
Joost De Cock
48922ad33a fix(unice): Adapt to new rules about named exports 2022-06-15 13:17:07 +02:00
Joost De Cock
79794ef225 fix(ursula): Corrected author info in package.json 2022-06-15 12:39:30 +02:00
Joost De Cock
76e3447052 chore(unice): Adapted unice to esbuild migration 2022-06-15 12:38:57 +02:00
Joost De Cock
369a0f1078 feat(unice): Merged in unice pattern by @anna-puk 2022-06-15 12:38:13 +02:00
Joost De Cock
02e704e9be New translations en.md (Dutch) 2022-06-15 12:33:46 +02:00
Joost De Cock
df55c5fcc0 New translations en.md (Spanish) 2022-06-15 12:33:45 +02:00
Joost De Cock
32932b0a6a New translations en.md (Spanish) 2022-06-15 12:33:44 +02:00
Joost De Cock
d7c0c898ac New translations en.md (Spanish) 2022-06-15 12:33:43 +02:00
Joost De Cock
3c85482b28 New translations en.md (Spanish) 2022-06-15 12:33:42 +02:00
Joost De Cock
23aea73697 New translations en.md (Spanish) 2022-06-15 12:33:41 +02:00
Joost De Cock
ec80d94207 New translations en.md (Spanish) 2022-06-15 12:33:40 +02:00
Joost De Cock
bf0fef0e71 New translations en.md (Spanish) 2022-06-15 12:33:39 +02:00
Joost De Cock
f01fb6da37 New translations en.md (Spanish) 2022-06-15 12:33:38 +02:00
Joost De Cock
b35f3a5c98 New translations en.md (Spanish) 2022-06-15 12:33:37 +02:00
Joost De Cock
0f71aaec9d New translations en.md (Spanish) 2022-06-15 12:33:36 +02:00