1
0
Fork 0
Commit graph

1031 commits

Author SHA1 Message Date
joostdecock
a357c2e642 chore(core): Tests for path 2022-07-23 20:21:16 +02:00
joostdecock
785c03d013 chore(core): Working on test coverage 2022-07-23 17:00:48 +02:00
joostdecock
50b37f4cb5 feat(core): Added new utility methods for attrs 2022-07-23 14:52:56 +02:00
joostdecock
21434ed2f6 chore: Added code coverage 2022-07-23 14:50:32 +02:00
Joost De Cock
1807640967 chore: Remove babel from test runners 2022-07-15 12:02:07 +02:00
Enoch Riese
0787d5bf69 fix timezone issue in changelog generation 2022-07-03 18:28:42 -05:00
Enoch Riese
bff5980557 no need for @freesewing/models as dev dependency 2022-07-03 17:39:21 -05:00
Enoch Riese
72c04edb15 isolate pattern-info in its own step 2022-07-02 21:00:53 -05:00
Joost De Cock
f7b9a8d52f chore: Reconfigure after version bump 2022-07-02 20:20:43 +02:00
Joost De Cock
23d62c55d1 pre-release: 2.21.3.-rc.0 2022-07-02 20:07:11 +02:00
Joost De Cock
7a33cf1783 chore(core): Make generatePartTransform a named export 2022-07-02 20:05:31 +02:00
Joost De Cock
aafcedf413 chore: Reconfigure packages 2022-06-30 12:10:37 +02:00
Joost De Cock
8b717197b1
Merge pull request #2316 from eriese/eriese-layout
Layout Thing Improvements
2022-06-29 12:56:33 +02:00
Enoch Riese
404718c776 clean up and document 2022-06-28 16:41:44 -05:00
Enoch Riese
b2fcee3037 consistently set up part transforms 2022-06-28 16:13:21 -05:00
Joost De Cock
9ef103fb64 release: 2.21.1 2022-06-28 08:52:21 +02:00
Joost De Cock
2f50d8f684 chore: Reconfigure packages 2022-06-27 12:52:09 +02:00
Joost De Cock
943be591cb chore: Reconfigure packages 2022-06-27 11:44:16 +02:00
Joost De Cock
9bd8f5abd3 chore: Reconfigure packages 2022-06-27 11:26:03 +02:00
Joost De Cock
457a139d25 chore: Reconfigure packages 2022-06-25 16:02:19 +02:00
Joost De Cock
074361ccee chore: Version bump 2.21.0-rc.2 2022-06-24 20:26:29 +02:00
Joost De Cock
4cba6f1804 chore: Reconfigure packages 2022-06-22 16:00:00 +02:00
Joost De Cock
0d429af2dd chore: Reconfigure packages 2022-06-22 15:59:13 +02:00
Joost De Cock
e89d3db315 chore(core): Keep exporting pctBasedOn for backwards compatibility 2022-06-22 13:23:31 +02:00
Joost De Cock
caf3494393 chore: Don't minify test builds 2022-06-22 09:37:23 +02:00
Joost De Cock
59ab559ccd chore: Added gitpod tip to READMEs 2022-06-21 11:11:34 +02:00
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
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
68589d023c chore: Generate bundle specific for running tests 2022-06-14 23:14:30 +02:00
Joost De Cock
86b49a4ea6 chore: Remove rollup and legacy devenv dependencies 2022-06-14 14:00:43 +02:00
Joost De Cock
a75ebfb334 chore(core): Migrated to esbuild & removed legacy devenv 2022-06-14 13:09:08 +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
ac7b1de00e chore(core): Migrated core from rollup to esbuild 2022-06-12 21:49:34 +02:00
Joost De Cock
cb84abcfbc chore(core): Prettier run 2022-05-31 15:57:53 +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
Joost De Cock
c0ae2d5e00 fix(core): Incorrect detection of cached path boundary 2022-05-21 19:10:21 +02:00
Joost De Cock
3af2a13439 fix(core): Incorrect warning message 2022-05-21 18:42:13 +02:00
Joost De Cock
f544050529 fix(core): Handle path split on start/end of path segments 2022-03-29 19:32:07 +02:00
Joost De Cock
0b1137f09b chore: Linter run 2022-03-28 19:38:18 +02:00
Joost De Cock
643b50703b
Merge pull request #1995 from freesewing/joost/customlayout
feat: First stab at custom layout
2022-03-14 08:22:35 +01:00
Joost De Cock
353f9cd1c3 fix(core): Added postLayout hook to tests 2022-03-13 15:01:28 +01:00
Joost De Cock
9b5c8a8751 wip(core): Changes to facilitate manual layouts 2022-03-06 18:55:13 +01:00
Nick Dower
0da517c2ed Reconfigure README.md files. 2022-03-03 05:46:34 +01:00
Joost De Cock
9541fea78c feat(core): Added autoLayout pattern prop 2022-02-25 08:29:28 +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
f4ee97a626 feat(core): Added the postLayout lifecycle hook 2022-02-20 18:45:44 +01:00