1
0
Fork 0
Commit graph

6071 commits

Author SHA1 Message Date
Enoch Riese
9aa241d6e2 add mjs to next config 2022-06-19 18:17:20 +00:00
Joost De Cock
e908d419d5 fix(dev): Fixed build issues after recent changes 2022-06-19 16:09:53 +02:00
Joost De Cock
1fbe6d3dbf fix(lab): Build issues 2022-06-19 15:10:48 +02:00
Joost De Cock
ad05f1a4e8 feat(lab): Multicolor banner 2022-06-19 15:10:35 +02:00
Joost De Cock
c620792e55 fix(lab): Build script should call node with json modules flag 2022-06-19 14:25:27 +02:00
Joost De Cock
95065a7592 fix(sites): Updated cibuild script 2022-06-18 18:23:02 +02:00
Joost De Cock
70e0da6ced feat(lab): More dev info on Xray mode 2022-06-18 18:15:17 +02:00
Joost De Cock
026c7adcd2 feat(lab): Hover info for parts 2022-06-18 17:02:19 +02:00
Joost De Cock
16056ed04e chore(lab): Removed debug output 2022-06-18 13:18:58 +02:00
Joost De Cock
fb403e4b4d feat(lab): Added point info 2022-06-18 13:15:15 +02:00
Joost De Cock
5fba460e4b chore(lab): Tweaks to path info 2022-06-18 12:49:49 +02:00
Joost De Cock
4d8886a4f3 chore(lab): Updated footer 2022-06-18 12:49:40 +02:00
Joost De Cock
a37e66c0e5 feat(lab): Bring up info on paths when clicked upon 2022-06-18 12:15:05 +02:00
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
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
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