It might be easier to review this one commit by commit.
example output, to know I didn't break anything:
yarn run build
export REACT_APP_PLATFORM_THEME=project-kamp
yarn run build:post
(node:40156) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));'
(Use `node --trace-warnings ...` to show where the warning was created)
Writing configuration into the global window object...
The following properties were not found within the current environment:
REACT_APP_SENTRY_DSN
REACT_APP_PROJECT_VERSION
REACT_APP_GA_TRACKING_ID
REACT_APP_FIREBASE_API_KEY
REACT_APP_FIREBASE_AUTH_DOMAIN
REACT_APP_FIREBASE_DATABASE_URL
REACT_APP_FIREBASE_MESSAGING_SENDER_ID
REACT_APP_FIREBASE_PROJECT_ID
REACT_APP_FIREBASE_STORAGE_BUCKET
REACT_APP_ALGOLIA_PLACES_APP_ID
REACT_APP_ALGOLIA_PLACES_API_KEY
REACT_APP_BRANCH
REACT_APP_SITE_VARIANT
REACT_APP_LOG_LEVEL
REACT_APP_LOG_TRANSPORT
REACT_APP_SUPPORTED_MODULES
REACT_APP_PLATFORM_PROFILES
REACT_APP_CDN_URL
REACT_APP_PATREON_CLIENT_ID
REACT_APP_API_URL
SITE_NAME
Applying theme...
theme: project-kamp
Copying assets.
Making SEO changes...
site name: Community Platform
site description: A platform for the Project Kamp community to collaborate around the world. Connect, share and meet each other to figure out how to live more sustainably
Saving...
PR Type cleanup code
Description Code cleanup and fixes one of the meta tags from being incorrect.
related to, but does not fully fix (I think) https://github.com/ONEARMY/community-platform/issues/3633
It might be easier to review this one commit by commit.
example output, to know I didn't break anything: