1
0
Fork 0
Commit graph

50 commits

Author SHA1 Message Date
Joost De Cock
c0ede14d74
Merge branch 'develop' into more-lint 2022-09-28 19:09:50 +02:00
Joost De Cock
b4da96da07 chore(plugin-scalebox): Changes for v3. See #2856 2022-09-27 13:41:44 +02:00
nikhil
a24e93354f fix(current lint check): Remove .babelrc palimpsests
The current GitHub linting workflow (which, thanks to its reliance on lerna, only runs lint in workspaces that specify a `lint` command--needs to be fixed) has been failing for a new reason since commit dd9510537c9857a9f41c155c933b893c5855d32d (the workflow was already failing in the `develop` branch for unrelated reasons).

dd9510537c9857a9f41c155c933b893c5855d32d reintroduced Babel to the monorepo, not for any kind of transpilation step but for usage by `eslint`. This wasn't an issue for `eslint` commands executed from the monorepo root, but it's an issue for the lint workflow: that workflow uses `lerna run lint` to run `eslint` from within workspace directories, and the workspace directories that implement `lint` commands also happen to have legacy `.babelrc` files that reference no-longer-installed Babel plugins.

This commit removes the old `.babelrc` files, which should fix the lint workflow in its current form. (I will soon be updating the lint workflow to cover all workspaces, but I've yet to decide what that will look like.)
2022-09-26 17:01:50 -04:00
nikhil
7046a14bc2 chore(eslint): Remove the plugin-specific .eslintrc files 2022-09-26 17:01:50 -04:00
Joost De Cock
a416b8b860 chore: More linting 2022-09-15 13:49:55 +02:00
Joost De Cock
8e187a947a chore: Add linting for yaml 2022-09-15 10:23:06 +02:00
Joost De Cock
c9f9202c9b chore: Added eslint config and workflow 2022-09-15 07:53:35 +02:00
Joost De Cock
ef5e792d6b chore: Linter fixes 2022-09-14 15:02:39 +02:00
Joost De Cock
b1429a3704 chore: Reconfigure packages 2022-09-14 13:42:36 +02:00
Joost De Cock
abab2a67e9 chore(plugin-scalebox): Ported to v3 2022-09-12 15:34:11 +02:00
Joost De Cock
180501a7f1
Merge pull request #2801 from freesewing/v3-stage2
V3 stage2
2022-09-11 18:49:47 +02:00
joostdecock
bdd5cb562e chore: Run unit tests from source 2022-09-10 19:16:17 +02:00
Joost De Cock
9ad902e0b2
Merge pull request #2775 from eriese/eriese-plugin-data
Chore: import name and version from data.mjs in plugins
2022-09-09 19:41:30 +02:00
Enoch Riese
2179f29b9f import name and version from data.mjs in plugins 2022-09-09 12:13:52 -05:00
Joost De Cock
575d7c3de8 chore: Contributors update 2022-09-07 16:17:33 +02:00
Joost De Cock
8a5141584c chore: Fixed plugin tests 2022-09-07 10:57:47 +02:00
Joost De Cock
c8203f7081 chore: Keep names in test builds 2022-09-06 11:21:24 +02:00
Benjamin F
1f5e3ef62f Port scalebox macro to use v3 data property. 2022-09-01 09:43:30 -07:00
Joost De Cock
5ded8beea4 chore: Move pacakge info to data.mjs 2022-09-01 08:51:56 +02:00
Joost De Cock
0e65a5843d chore: Remove experimetal json imports flag, no longer needed 2022-08-29 17:41:00 +02:00
Joost De Cock
2bdd5f376e feat: Generated pkg.mjs files to avoid JSON imports 2022-08-29 17:40:04 +02:00
Joost De Cock
60c5533e0e chore(plugin-scalebox): Ported to v3 2022-08-28 13:43:02 +02:00
joostdecock
0836ea1dc3 chore: migrate packages.json for ESM only 2022-08-24 19:40:31 +02:00
joostdecock
b4022164c7 chore: Migration build scripts to ESM 2022-08-24 19:39:15 +02:00
joostdecock
1e67a95fe0 chore: Update engine to NodeJS 16 2022-08-24 09:46:42 +02:00
joostdecock
ae40299f7b chore: develop now hosts v3 code 2022-08-23 13:45:20 +02:00
joostdecock
7595799211 chore: Added warning about v3 2022-08-23 13:33:08 +02:00
joostdecock
d230d0dee8 chore: Reconfigure packages 2022-08-23 13:13:56 +02:00
joostdecock
c8db1f1774 chore: Reconfigure packages 2022-08-22 19:13:28 +02:00
joostdecock
a102acb6aa chore: Reconfigure packages 2022-08-22 15:39:44 +02:00
Joost De Cock
ee92526d53 fix: Broken link in README's
As reported in #2605 there's a broken link in the README's that points
to an old overview of all published packages on freesewing.dev.

Since we migrated to NextJS that page no longer exists, futhermore we've
moved away from the single `packages` workspace and now have one for
`packages`, `designs`, `plugins`, and `sites`. So I've just dropped the
link and rephrased the sentence.
2022-08-19 09:00:48 +02:00
joostdecock
a359b58229 chore: Reconfigure packages 2022-07-31 16:13:51 +02:00
Joost De Cock
1807640967 chore: Remove babel from test runners 2022-07-15 12:02:07 +02: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
aafcedf413 chore: Reconfigure packages 2022-06-30 12:10:37 +02: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
52e3d375be chore: Upgraded to mocha 10 2022-06-22 09:41:07 +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