1
0
Fork 0
Commit graph

49 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
Joost De Cock
2a6652a67b
Merge pull request #3989 from BenJamesBen/title-macro-align
enhancement(title): Add alignment property
2023-05-22 09:48:18 +02:00
Joost De Cock
2fc5508330
Merge pull request #4014 from BenJamesBen/bannerbox-fixes
fix(bannerbox): Removed hardcoded values in call to `banner`
2023-05-18 08:50:11 +02:00
Enoch Riese
bf754a0d4c
Merge pull request #3976 from BenJamesBen/title-cutlist-warning
fix(plugin-annotation,title): Supress warning message if cutlist not defined
2023-05-16 19:48:42 -05:00
Enoch Riese
837b86368d 🔖 v3.0.0-alpha.10 2023-05-08 01:34:29 -05:00
Benjamin F
0c55a868eb fix(bannerbox): Removed hardcoded values in call to banner 2023-05-07 15:40:27 -07:00
Benjamin F
72bfb34ef1 fix(title): Add align tests 2023-05-04 16:24:29 -07:00
Benjamin F
e972c72793 enhancement(title): Add alignment property 2023-05-04 15:24:48 -07:00
Benjamin F
39ad4bbef2 fix(plugin-title): Supress warning message if cutlist not defined 2023-05-03 19:11:21 -07:00
Wouter van Wageningen
e9ab680c53
Merge pull request #3919 from freesewing/develop
Get up to date with develop
2023-04-26 23:24:53 -07:00
Wouter van Wageningen
8887a97dd2 @eriese recommendations 2023-04-21 03:48:37 +00:00
Wouter van Wageningen
9536476512 Implement @eriese suggestion 2023-04-20 19:14:10 +00:00
Wouter van Wageningen
0213c92b0f Test fixes 2023-04-20 18:55:07 +00:00
Enoch Riese
0cbc0856f4 fix (cutlist) edits to work with plugin-mirror's new strictness 2023-04-20 10:23:27 -04:00
Enoch Riese
46b167ea34 chore (plugin-annotations) add cutlist title support back in 2023-04-20 10:23:27 -04:00
Enoch Riese
adbc817863 add plugin-cutlist to plugin-annotations 2023-04-20 10:22:47 -04:00
Enoch Riese
5c80c8dbc3 use svg transforms to flip and rotate cutlist parts 2023-04-20 10:21:10 -04:00
Joost De Cock
b5e72442f2 release: v3.0.0-alpha.9 2023-04-19 19:49:36 +02:00
Wouter van Wageningen
5dcaa15f32 First attempt 2023-04-19 06:08:26 +00:00
Enoch Riese
c147c6b652 fix (banner) add text separately from spacers to allow for i18n during rendering 2023-04-18 16:44:12 -04: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
9869bb245d chore(plugin-annotations): Linter warnings 2023-04-15 15:58:06 +02:00
joostdecock
b33a739f54 Merge branch 'develop' into annotations 2023-04-15 15:47:00 +02:00
joostdecock
182c4f4d64 chore: Linter warnings 2023-04-15 15:31:25 +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
joostdecock
7c62042be6 fix(plugin-annotations): Be consistent with prop names 2023-04-15 10:13:40 +02:00
joostdecock
5801eda558 chore: Documentation updates and reconfigure 2023-04-10 19:21:22 +02:00
joostdecock
66312dc07f chore(plugin-annotations): Consolidating plugins 2023-04-10 19:16:28 +02:00
joostdecock
1bfbf07d93 chore(plugin-annotations): Don't keep docs img alongside code 2023-04-10 15:31:47 +02:00
joostdecock
441e0d7011 fix(plugin-annotations): Make name consistently plural 2023-04-10 15:20:32 +02:00
joostdecock
656466a37a chore(plugin-annotations): Remove unused config file 2023-04-10 15:13:13 +02:00
joostdecock
94d8ae4cab chore(plugin-annotations): Refactor plugin structure 2023-03-11 19:12:51 +01:00
Wouter van Wageningen
607bc010da Test with SA 2023-03-10 03:23:01 +00:00
Wouter van Wageningen
6b6bca0fbb Last tests 2023-03-10 03:05:33 +00:00
Wouter van Wageningen
a606319ad5 tests 2023-03-09 05:20:51 +00:00
Wouter van Wageningen
44772771a7 minor fixes 2023-03-08 05:15:30 +00:00
Wouter van Wageningen
8e68582d4e It's working! 2023-03-04 01:36:34 +00:00
Wouter van Wageningen
1f73789c0e scalebox 2023-03-04 00:24:16 +00:00
Wouter van Wageningen
7868e41710 remove old 2023-03-03 22:13:09 +00:00
Wouter van Wageningen
728704d15d Tweaks 2023-03-03 22:02:57 +00:00
Wouter van Wageningen
fe0ec212b0 Moved some more 2023-02-20 22:58:05 +00:00
Wouter van Wageningen
44b18c682f commit 2023-02-16 23:57:44 +00:00