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
1a4fd393a4 fix(plugin-title): Use default import for JSON 2022-01-25 09:25:07 +01:00
Joost De Cock
f9444bc205 chore(plugins): Make it prettier 2022-01-19 16:23:40 +01:00
Joost De Cock
647059b058 fix(plugin-title): Support scale setting. Closes #1639 2022-01-18 16:26:51 +01:00
Joost De Cock
4cf078fedf fix(plugin-title): replace bold class with font-bold 2021-12-29 09:16:47 +01:00
Joost De Cock
443aff2941 feat(plugin-title): Switched to utility classes for styling 2021-12-24 14:48:25 +01:00
Joost De Cock
8391764129 chore(plugin-title): Added (esm) unit tests. See #408 2021-11-27 16:46:38 +01:00
Joost De Cock
f191151ee4 chore: Linter changes 2021-04-24 10:16:31 +02:00
Joost De Cock
1519f12920 feat(plugin-title): Added support for cutting instructions. Closes #500 2020-08-30 11:51:22 +02:00
Joost De Cock
e301483988 feat(plugin-title): Added name of person to title output 2020-03-08 11:10:38 +01:00
Joost De Cock
6710d76b08 🎨 Updated prettier config 2019-08-03 15:03:33 +02:00
Joost De Cock
803e1c0552 🚨 Removed linter warnings 2019-05-10 13:14:31 +02:00
Joost De Cock
30dc6c3bb2 sparkles: Added support for scale and rotation 2019-04-19 08:23:00 +02:00
Joost De Cock
faedf4869e sparkles: Switched to attribute.set() for version info 2019-04-19 08:23:00 +02:00
Joost De Cock
7c9a76e929 Merge branch 'master' of github.com:freesewing/plugin-title 2019-04-19 08:23:00 +02:00
Joost De Cock
69740ae0c9 boom: Updated to new plugin structure in freesewing v0.20 2019-04-19 08:23:00 +02:00
Joost De Cock
f6568c4a9e sparkles: Support for prefix, and made title optional 2019-04-19 08:23:00 +02:00
Joost De Cock
75660c8bd6 sparkles: Added name and version without spaces to avoid validation issues 2019-04-19 08:23:00 +02:00
Joost De Cock
607a00b387 bug: Added nr anchor point to part rather than assuming it already is 2019-04-19 08:23:00 +02:00
Joost De Cock
bb4ade0d0f boom: Renamed preRenderSvg hook to preRender 2019-04-19 08:23:00 +02:00
Joost De Cock
769512a117 sparkles: Exposing name and version to freesewing and CSS updates 2019-04-19 08:23:00 +02:00
Joost De Cock
c2d0063917 boom: Removed next() call from macro methods 2019-04-19 08:23:00 +02:00
Joost De Cock
3b860f82e1 wrench: Config file tweaks 2019-04-19 08:23:00 +02:00
joostdecock
83aaa56bdf sparkles: Properly formatted title 2019-04-19 08:22:59 +02:00
Joost De Cock
597519fc6b construction: Code cleanup 2019-04-19 08:22:59 +02:00
Joost De Cock
6efda92f63 tada: First commit 2019-04-19 08:22:59 +02:00