1
0
Fork 0
Commit graph

26 commits

Author SHA1 Message Date
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
Joost De Cock
c47c69a769 fix(simone): Added missing frontdarts option 2022-06-14 23:16:26 +02:00
Joost De Cock
81e6a2a30a chore(simone): Migrated to esbuild & removed legacy devenv 2022-06-14 13:09:16 +02:00
Joost De Cock
1e2171b98d chore(simone): Prettier run 2022-05-31 16:01:34 +02:00
Joost De Cock
155b16a5fc feat(simone): Extend Simon config 2022-05-21 18:01:59 +02:00
Joost De Cock
7287b81ff0 fix(simone): Better defaults for sleevecap 2022-05-21 13:40:59 +02:00
Nick Dower
d3b6132566 Update some pattern deps. Add render test. 2022-01-29 12:46:14 +01:00
Joost De Cock
2a220392d4 chore: Switched to default inport for version
The previous import of the version number from package.json
looked like a named import, but was actually object destructuring
that was supported by the rollup json plugin.

This causes issues when importing patterns with webpack (as we
do with our new NextJS based frontend) so this commit switches
to importing JSON as the default export, which is also ok with webpack
2022-01-23 13:22:13 +01:00
Joost De Cock
0fec8565c7 fix(simon/simone): Dependencies. Closes #1454 2021-11-08 19:02:15 +01:00
joostdecock
53a70ce52e fix(simon): Fit the collar. Closes #1411
Feeling a bit embarassed by this 🙈
2021-10-23 14:12:36 +02:00
joostdecock
c5e441b415 fix(simone): Support drafting for non-human measurements
Closes #1318
2021-09-12 15:44:07 +02:00
Joost De Cock
ef3bd03e2c chore: Linter run 2021-08-30 11:40:16 +02:00
Joost De Cock
b106a2b4dd feat(simon[e]): Added ffsa option for flet-felled seam allowance
Closes #1251
2021-08-15 18:41:38 +02:00
Joost De Cock
9fb2e1a616 feat(simone): Ported Brian's s3 and simons new yoke options 2021-06-20 10:09:40 +02:00
Joost De Cock
3e4e95cf23 chore: Changed departments for patterns 2021-05-29 14:04:56 +02:00
Joost De Cock
f191151ee4 chore: Linter changes 2021-04-24 10:16:31 +02:00
Joost De Cock
d20be35f94 chore(simone): Set missing option brianFitCollar to false 2020-07-19 09:37:35 +02:00
Joost De Cock
901811dc54 chore(simone) Removed circumference suffix from measurements 2020-06-28 13:00:31 +02:00
Joost De Cock
aa3b88210d chore(simone): Ported simone to new measurements. See #416 2020-06-07 14:40:32 +02:00
Joost De Cock
ba45537ea6 chore: Added unittest for patterns 2020-03-14 15:04:45 +01:00
Joost De Cock
f14269b8f5 refactor(simone): Removed deprecated measurements from Simone 2020-02-01 16:15:21 +01:00
Joost De Cock
b1bf3f7e35 fix(carlita): Renamed as in Simone 2020-01-25 16:11:20 +01:00
Joost De Cock
b3272fc7f8 🔧 Hiding frontFba part in Simone 2019-09-29 19:52:57 +02:00
Joost De Cock
27993b7f4a 🔧 Tweaks to Simone config 2019-09-29 19:49:07 +02:00
Joost De Cock
b297dc1b32 🚧 First beta for 2.1 2019-09-29 16:58:21 +02:00
Joost De Cock
9a839e415c Added the Simone pattern 2019-09-25 18:02:05 +02:00