1
0
Fork 0
Commit graph

88 commits

Author SHA1 Message Date
Enoch Riese
a2f1c50711 remove unneeded dependency build before testing 2023-07-27 23:57:24 -05:00
Enoch Riese
7ff2bded15 use node conditional exports instead of reconfiguring exports for different use cases 2023-07-27 18:52:58 -06:00
joostdecock
009e1c1cc9 fix(shared): Get rid of build:sitedeps
Recently I refactored the prebuild code. One thing I did not touch (yet)
was the various site dependencies. They were then ported to NX over the
previous system with build priorities we had in place. And while that
was a welcome improvement, it did not really address the bigger picture:
we don't actually need to build any of these dependencies to build the
site.

All we need to do is help NodeJS so it can resolve everything from the
source. So this commit does that by adding a top-level run script
`yarn buildsiteconfigure` which calls `yarn reconfigure` but with the
BUILDSITE variable set.

When that variable is set, the reconfigure script will skip all optional
steps and generate a slightly different package.json file that tells
NodeJS to looks the package from source, rather than to look for the
build files.

After running this script, the prebuild step for the various sites will
run without problems, even on a fresh repo where nothing has ever been
build.

So I've updated the prebuild script in the sites to run this. For local
development, please use `uyarn predev` so that you don't muck with all
the package.json files.
If you do so (by accident or not) a `yarn reconfigure` run will put
everything back in its place.
2023-07-26 20:01:04 +02:00
Enoch Riese
9c88b44501 better naming convention for build scripts. bring back build:all 2023-07-23 11:19:30 -06:00
Enoch Riese
d613c842d6 use lerna to handle build order and speed up buildsitedeps 2023-07-22 18:32:19 -06:00
joostdecock
3f77777c4b breaking: FreeSewing now uses NodeJS 18 lts/hydrogen
FreeSewing now uses NodeJS 18 -- specifically lts/hydrogen -- for its
development.

There is no specific reason to run 18, things will still work in 16
(lts/gallium) but Vercel who hosts/builds our sites will be dropping
support for Node 16 in about 6 months, so since we're gearing up for
a new major release (v3) this is the best time for us to also move
to Node 18.
2023-07-21 18:35:19 +02:00
github-actions
7635c63b65 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/nodemon-3.0.1 changes in config/dependencies.yaml 2023-07-10 04:53:22 +00:00
joostdecock
8be9f395e8 fix(sanity): Add missing dependency 2023-06-16 18:39:38 +02:00
Enoch Riese
837b86368d 🔖 v3.0.0-alpha.10 2023-05-08 01:34:29 -05:00
Enoch Riese
adbc817863 add plugin-cutlist to plugin-annotations 2023-04-20 10:22:47 -04:00
Joost De Cock
d2dd459d67 fix(config): Dependencies updates. Closes #3854 2023-04-20 08:46:59 +02:00
Joost De Cock
b5e72442f2 release: v3.0.0-alpha.9 2023-04-19 19:49:36 +02:00
dependabot[bot]
4940549c68
chore(deps-dev): bump chai from 4.2.0 to 4.3.7
Bumps [chai](https://github.com/chaijs/chai) from 4.2.0 to 4.3.7.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.2.0...v4.3.7)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 05:38:07 +00:00
joostdecock
b33a739f54 Merge branch 'develop' into annotations 2023-04-15 15:47:00 +02:00
joostdecock
d0447c0f77 breaking: New annotation plugin replaces others
This wraps up the initial work on a new annotations plugin that replaces
other plugins that provide annotations. As a result, the following
plugins are now no longer available:

- plugin-banner
- plugin-bartack
- plugin-buttons
- plugin-cutonfold
- plugin-dimension
- plugin-grainine
- plugin-logo
- plugin-notches
- plugin-scalebox
- plugin-title

The new plugin-annotations package provides all these plugins used to
provide. In addition, it also includes the following new macros:

- bannerbox
- pleat
- sewTogether
2023-04-15 15:14:56 +02:00
dependabot[bot]
3a612d36ef
chore(deps-dev): bump mocha from 10.0.0 to 10.2.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.0.0 to 10.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.0.0...v10.2.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 05:41:24 +00:00
joostdecock
5801eda558 chore: Documentation updates and reconfigure 2023-04-10 19:21:22 +02:00
joostdecock
c876e125c5 fix(plugin-annotations): Make name consistently plural 2023-04-10 15:31:09 +02:00
github-actions
a62138e1b6 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/typescript-5.0.4 changes in config/dependencies.yaml 2023-04-10 05:03:59 +00:00
github-actions
b50a38a3d6 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/autoprefixer-10.4.14 changes in config/dependencies.yaml 2023-03-23 05:22:48 +00:00
Joost De Cock
0b84449aa0 release: 3.0.0-alpha.8 2023-03-16 20:36:45 +01:00
Joost De Cock
d9fd752ec1 release: 3.0.0-alpha.7 2023-03-16 20:17:41 +01:00
Enoch Riese
deb5bb8407 lint fixes 2023-03-09 17:56:29 -06:00
Wouter van Wageningen
44772771a7 minor fixes 2023-03-08 05:15:30 +00:00
Wouter van Wageningen
12c6d3b1c1
Merge pull request #3593 from freesewing/develop
Catch up again
2023-03-03 17:05:43 -08:00
Wouter van Wageningen
728704d15d Tweaks 2023-03-03 22:02:57 +00:00
Enoch Riese
29e3ba6323 cutting layout page has tabs for each fabric type. parts duplication 2023-02-27 17:47:34 -06:00
github-actions
2e22fdb894 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/resvg/resvg-js-2.4.1 changes in config/dependencies.yaml 2023-02-20 05:19:12 +00:00
Wouter van Wageningen
44b18c682f commit 2023-02-16 23:57:44 +00:00
joostdecock
7f74f45c45 Chore: Update version number 2023-01-09 20:46:04 +01:00
joostdecock
287a19240f release: v3.0.0-aphpa.3 2022-12-30 18:16:40 +01:00
Joost De Cock
38f8bb2549 chore: Dependency updates 2022-12-23 15:25:39 +01:00
joostdecock
2caf9ead96 Fixing merge conflict - Merge branch 'develop' into site-dependencies 2022-12-18 09:28:12 +01:00
Benjamin F
9e11419aea chore(plugin-bundle): Alphabetize plugins for easier viewing 2022-12-12 17:58:08 -08:00
Joost De Cock
692ef11227 chore: updated contributors 2022-12-12 19:21:33 +01:00
joostdecock
a500bbddb1 chore: Contributor update 2022-11-12 09:20:18 +01:00
Joost De Cock
c959858e6c fix: Issue with build templates 2022-10-15 14:33:54 +02:00
Joost De Cock
43d6dbeae8 chore: Tweak to build plugin 2022-10-13 16:47:49 +02:00
Joost De Cock
e4378c2edb chore: Reconfigure packages 2022-10-08 04:27:44 +02:00
Joost De Cock
8e68bfc465 chore: Reconfigure packages 2022-10-08 04:05:18 +02:00
Joost De Cock
2eb2b6322c chore: Added warning about alpha packages 2022-10-06 21:51:39 +02:00
Joost De Cock
d4013328cc chore: Re-enabled sample tests for designs 2022-10-06 21:01:58 +02:00
Joost De Cock
2f1af32a21 chore: Reconfigure packages 2022-09-28 22:00:01 +02:00
Joost De Cock
d31b0f5108 chore: Reconfigure packages 2022-09-28 21:06:47 +02:00
Joost De Cock
5491284518 Merge branch 'eriese-windows' of github.com:eriese/freesewing into eriese-eriese-windows 2022-09-28 20:16:08 +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
Enoch Riese
9bacc1109f
Merge branch 'develop' into eriese-windows 2022-09-15 10:40:05 -05: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