1
0
Fork 0
freesewing/designs
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
..
aaron fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
albert fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
bee fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
bella fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
benjamin fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
bent fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
bob fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
breanna fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
brian fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
bruce fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
carlita fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
carlton fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
cathrin fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
charlie fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
cornelius fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
diana fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
examples fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
florence fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
florent fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
hi fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
holmes fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
hortensia fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
huey fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
hugo fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
jaeger fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
legend fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
lucy fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
lunetius fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
magde fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
noble fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
octoplushy fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
paco fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
penelope fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
plugintest fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
rendertest fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
sandy fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
shin fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
simon fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
simone fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
sven fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
tamiko fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
teagan fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
tiberius fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
titan fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
trayvon fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
tutorial fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
unice fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
ursula fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
wahid fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
walburga fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
waralee fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00
yuri fix(shared): Get rid of build:sitedeps 2023-07-26 20:01:04 +02:00