1
0
Fork 0
Commit graph

468 commits

Author SHA1 Message Date
Joost De Cock
a4cda485d5 chore: Added scripts to facilitate development 2022-06-17 18:23:17 +02:00
Joost De Cock
7108cb46a2 feat: Let yarn lab start the dev env 2022-06-17 14:12:46 +02:00
Joost De Cock
147920daeb fix: Updated to build order for extended designs 2022-06-16 18:05:44 +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
Joost De Cock
3063c2c2dd chore: Version bump 2022-06-15 19:11:57 +02:00
Joost De Cock
b0e8878c77 chore: Reconfigure packages 2022-06-15 07:17:45 +02:00
Joost De Cock
86b49a4ea6 chore: Remove rollup and legacy devenv dependencies 2022-06-14 14:00:43 +02:00
Joost De Cock
b34c632da3 chore(css-theme): Migrated to esbuild & removed legacy devenv 2022-06-14 13:09:09 +02:00
Joost De Cock
b0aa9f3895 chore: Supress webpack warnings about named imports from JSON
This suppresses a warning in webpack v5 when importing the
version from the package.json file like a named export.

This use to be fine in webpack v4 but in v5 it's deprecated to
be more inline with the way it works in NodeJS.

That being said, it's very usefull as there's no need to pull in
the entire package.json file.
Futhermore, esbuild supports this out of the box so we also use
it in our build scripts.

So for now I'm supressing this warning. In FreeSewing v3 we'll
re-evaluate this.
2022-06-12 22:37:04 +02:00
Joost De Cock
714022a608 chore: Reconfigure packages 2022-05-21 20:34:32 +02:00
Joost De Cock
6c01ddea09 chore: Reconfigure packages 2022-05-21 19:28:43 +02:00
Nick Dower
0da517c2ed Reconfigure README.md files. 2022-03-03 05:46:34 +01:00
Joost De Cock
f7817fbaa2 Merge branch 'develop' of github.com:freesewing/freesewing into develop 2022-02-22 19:47:15 +01:00
Nick Dower
99e710dca6 Use units consistently. 2022-02-21 16:36:29 +01:00
Joost De Cock
23f70b4b59 release: FreeSewing 2.20.7
This fixes an issue in our workbench component that caused an error for
people using our development environment.
2022-02-20 19:35:36 +01:00
Joost De Cock
47bfd60ffe release: v2.20.6
**Date:** 2022-02-22

- Set units on fontsizes to support scale setting

- Handle unset props.pattern in DraftConfigurator option.hide check
2022-02-17 19:37:00 +01:00
Joost De Cock
c5eea00b80 fix(css-theme): Use units for scaled text sizes 2022-02-17 19:33:38 +01:00
Joost De Cock
1bdae6b002 release: v2.20.5 2022-02-17 19:11:27 +01:00
Joost De Cock
cbf258bb6e chore: Reconfigure packages 2022-02-16 20:45:38 +01:00
Nick Dower
9f0b9ed2d7 Remove units from calc(var(... 2022-02-14 20:58:48 +01:00
Joost De Cock
4c720b239e feat(css): Added stroke-3xl and stroke-4xl 2022-01-28 21:02:22 +01:00
Joost De Cock
777acaf74a chore: Reconfigure packages 2022-01-28 20:30:45 +01:00
Joost De Cock
3d15149d67 chore: Reconfigure packages 2022-01-28 20:25:21 +01:00
Joost De Cock
ee2f0b0eac chore: Reconfigure packages 2022-01-28 19:59:00 +01:00
Joost De Cock
2380b4f2db chore: Reconfigure packages 2022-01-27 15:20:28 +01:00
Joost De Cock
4143b3a818 chore: Reconfigure packages 2022-01-27 12:59:01 +01:00
Joost De Cock
e926e20acf chore: Dependency updates 2022-01-27 09:35:42 +01:00
Joost De Cock
727dcd54aa chore: Fixed release date 2022-01-24 09:38:21 +01:00
Joost De Cock
a2a4e2a838 chore: Reconfigure packages 2022-01-24 09:34:01 +01:00
Joost De Cock
8d2ec0c9f1 chore: Reconfigure packages 2022-01-23 14:27:21 +01:00
Joost De Cock
29c598301c chore: Switch to next tag for prerelease 2022-01-23 14:05:48 +01:00
Joost De Cock
c654a8b7ed chore: Changelog update 2022-01-23 14:05:19 +01:00
Joost De Cock
d96f618461 fix(css-theme): xxl is 2xl now 2022-01-19 12:35:57 +01:00
Joost De Cock
71f25d7bab fix(css-theme): Fixed pattern text classes 2022-01-18 16:29:11 +01:00
Joost De Cock
3c8b5190a4 chore: Changelog update 2022-01-17 18:02:57 +01:00
Joost De Cock
3e3eb42307 feat(css-pattern): Include tailwind vars 2022-01-17 18:01:56 +01:00
Joost De Cock
36b0d1ade0 chore: Reconfigure packages 2022-01-16 18:04:17 +01:00
Joost De Cock
a3ebf60b97 feat(css-theme): Updated for settings.scale. See #1638 2022-01-15 21:31:11 +01:00
Joost De Cock
3bf0f6f68b chore(css-theme): Updated var names 2022-01-15 19:59:29 +01:00
Joost De Cock
a5844ee08b chore: Upgraded rollup/plugin-commonjs 2022-01-15 18:26:14 +01:00
Joost De Cock
3f6be382df chore: Reconfigure packages 2022-01-14 13:00:45 +01:00
Joost De Cock
64609388bd chore: Reconfigure packages 2022-01-09 19:19:52 +01:00
Joost De Cock
373b2c6975 release: 2.19.8 2022-01-08 16:33:28 +01:00
Joost De Cock
fc430ebc19 chore: Prep for prerelease 2022-01-08 15:38:11 +01:00
Joost De Cock
3e8dc11fe2 chore: Reconfigure packages 2022-01-05 19:09:41 +01:00
Joost De Cock
9c8c0938c0 chore: Reconfigure packages 2022-01-05 18:59:10 +01:00
Joost De Cock
aaeb2de7fd chore: Updated cibuild to deal with 2 steps 2021-12-31 14:16:21 +01:00
Joost De Cock
0a53720bb0 chore: Reconfigure packages 2021-12-29 08:58:47 +01:00
Joost De Cock
afae4b1299 chore: Reconfigure packages 2021-11-29 11:41:42 +01:00
Joost De Cock
439c507eaa chore: Reconfigure packages 2021-11-28 17:35:55 +01:00