File tree Expand file tree Collapse file tree
yennefer-observatory/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const path = require('path');
1010const PATHS = {
1111 soul : '/dev/shm/yennefer_soul_state.json' ,
1212 mind : path . join ( __dirname , '../yennefer-observatory/public/evolution.json' ) ,
13- body : path . join ( __dirname , '../yennefer-observatory/src/components/mutations ' ) ,
13+ body : path . join ( __dirname , '../yennefer-observatory/src/components/generated ' ) ,
1414 journal : '/home/yenn/.yennefer/genesis_journal.jsonl'
1515} ;
1616
Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ compatibility_flags = ["nodejs_compat"]
99# Installs frontend deps and builds the SPA so frontend/build exists before
1010# `wrangler deploy` uploads assets. NODE_OPTIONS is required for
1111# react-scripts 5.x + Node 18+ (webpack 4 OpenSSL 3.0 compatibility).
12- command = " cd frontend && npm install --include=dev --legacy-peer-deps && GENERATE_SOURCEMAP=false CI=false NODE_OPTIONS=--openssl-legacy-provider npm run build"
12+ command = " cd yennefer-observatory && npm install --include=dev --legacy-peer-deps && GENERATE_SOURCEMAP=false CI=false NODE_OPTIONS=--openssl-legacy-provider npm run build"
1313
1414# ─── Static Assets (React SPA build output) ──────────────────────────────────
1515# Built by `npm run build` (root package.json) before every `wrangler deploy`.
1616# Cloudflare Workers Builds CI runs that script automatically if present.
1717# The ASSETS binding serves the React bundle with proper cache headers and
1818# falls back to index.html for client-side routing.
1919[assets ]
20- directory = " frontend/build "
20+ directory = " yennefer-observatory/dist "
2121binding = " ASSETS"
2222
2323# ─── Production environment (yennefer.quest) ─────────────────────────────────
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { motion } from 'framer-motion'
66import '../App.css'
77
88// DYNAMIC IMPORT: Auto-discover any NEW components "The Builder" creates
9- const mutations = import . meta. glob ( './mutations /*.jsx' , { eager : true } )
9+ const mutations = import . meta. glob ( './generated /*.jsx' , { eager : true } )
1010
1111export function Observatory ( { soul, evolution } ) {
1212 return (
You can’t perform that action at this time.
0 commit comments