* fix pagination size * clean up, start a very basic route configuration * quick navigation between routes * configure webpack to read .env variables * Move container components to Routes directory * Fix naming of recipe file * Clean up source folder * update yarn.lock * ci: update netlify deploy preview to build viewer project * update PWA entrypoint to pass configuration on window to App as props * fix: for missing key * Pass routerBasename to our React Router component * Simplify config for meow Co-authored-by: dannyrb <danny.ri.brown@gmail.com>
28 lines
607 B
Bash
Executable File
28 lines
607 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Set directory to location of this script
|
|
# https://stackoverflow.com/a/3355423/1867984
|
|
cd "$(dirname "$0")"
|
|
cd .. # Up to project root
|
|
|
|
# Helpful to verify which versions we're using
|
|
echo 'My yarn version is... '
|
|
|
|
yarn -v
|
|
node -v
|
|
|
|
# Build && Move PWA Output
|
|
yarn run build:ci
|
|
mkdir -p ./.netlify/www/pwa
|
|
mv platform/viewer/dist/* .netlify/www/pwa -v
|
|
|
|
# Build && Move script output
|
|
# yarn run build:package
|
|
|
|
# Build && Move Docz Output
|
|
yarn run build:ui:deploy-preview
|
|
mkdir -p ./.netlify/www/ui
|
|
mv platform/ui/.docz/dist/* .netlify/www/ui -v
|
|
|
|
echo 'Nothing left to see here. Go home, folks.'
|