1
0
Fork 0
Commit graph

11 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
Enoch Riese
45e83c0225 add useTheme to useApps 2022-06-06 13:12:34 -05:00
Joost De Cock
0b40f6f347 feat(shared): Modal for all MDX and Strapi content 2022-05-31 14:47:34 +02:00
Joost De Cock
2f7d6e4505 feat(shared): Moved breadcrumbs to shared component 2022-05-31 10:12:54 +02:00
Joost De Cock
054dc4ac1e wip(org): Translations on homepage 2022-05-29 12:52:11 +02:00
Joost De Cock
f1c291491f wip(org): Added translation support and locale picker 2022-05-29 11:58:48 +02:00
Joost De Cock
41e390b1d5 wip(org): Set order of top-level navigation 2022-05-26 19:35:43 +02:00
Joost De Cock
c934e44484 wip(org): Work on new site 2022-05-25 18:48:00 +02:00
Joost De Cock
db8f9521a3 chore: More linter warnings 2022-01-20 09:14:20 +01:00
Joost De Cock
2234155052 chore: Fixed linter warnings 2022-01-20 09:07:38 +01:00
Joost De Cock
ccac712133 feat(fs.org): Initial import of freesewing.dev code 2022-01-02 17:16:15 +01:00