Merge pull request #4 from beatz174-bit/codex/update-stockfill-folder-structure

Restructure project to root layout
This commit is contained in:
beatz174-bit authored and GitHub committed 2025-11-21 16:10:58 +10:00
commit 81afccaaaf
51 files changed
+16 -12

No files matched your search

File renamed without changes.
+2 -3
View File
@@ -1,4 +1,3 @@
node_modules
app/node_modules
app/dist
app/.vite
dist
.vite
+2 -2
View File
@@ -6,7 +6,7 @@
"type": "pwa-chrome",
"request": "launch",
"url": "http://localhost:5173/",
"webRoot": "${workspaceFolder}/app/src",
"webRoot": "${workspaceFolder}/src",
"preLaunchTask": "npm: dev server"
},
{
@@ -14,7 +14,7 @@
"type": "pwa-chrome",
"request": "launch",
"url": "http://localhost:4173/",
"webRoot": "${workspaceFolder}/app/src",
"webRoot": "${workspaceFolder}/src",
"preLaunchTask": "npm: preview server"
}
]
+2 -4
View File
@@ -5,9 +5,8 @@
"label": "npm: dev server",
"type": "npm",
"script": "dev",
"path": "app",
"options": {
"cwd": "${workspaceFolder}/app"
"cwd": "${workspaceFolder}"
},
"problemMatcher": {
"owner": "vite-dev",
@@ -31,9 +30,8 @@
"label": "npm: preview server",
"type": "npm",
"script": "preview",
"path": "app",
"options": {
"cwd": "${workspaceFolder}/app"
"cwd": "${workspaceFolder}"
},
"problemMatcher": {
"owner": "vite-preview",
+10 -3
View File
@@ -32,9 +32,13 @@ All data stays local to the device.
## 2. Directory Structure
Codex must always generate files within this structure:
Codex must always generate files within this structure (project root is
where `package.json` lives and all npm commands run from there):
/app
/
/public
manifest.json (copied from src/pwa)
service-worker.js (copied from src/pwa)
/src
/components
/screens
@@ -61,11 +65,14 @@ Codex must always generate files within this structure:
main.tsx
Dockerfile
docker-compose.yml
nginx.conf
vite.config.ts
AGENTS.md
/.vscode (workspace-level editor settings and launch/task config)
Codex must not introduce alternative or conflicting structures.
Codex must not introduce alternative or conflicting structures, and all
commands such as `npm install`, `npm run dev`, and `npm run build` must
execute from the project root (not a nested `app` folder).
------------------------------------------------------------------------
View File
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.