Skip to content

Commit 79a1f80

Browse files
committed
docs: agents never patch the generated spa_tmp folder of a running app AdminForth/2005
1 parent 8b03404 commit 79a1f80

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
All packages and projects in this repo use `pnpm` and not `npm`.
77
Howeverer internally (e.g. in `codeInjector`) adminforth still supports both `npm` and `pnpm` style install commands, so users of framework itself can use it with either package manager. But in all dev demo/live demo, plugins, adapters, and documentation, we use `pnpm` as the standard.
88

9+
## SPA build folder
10+
11+
Never patch anything in `spa_tmp` (e.g. `/tmp/adminforth/<app>/spa_tmp`): no file edits, no `pnpm install`, no own vite or other commands there. `codeInjector` generates it from `adminforth/spa` and the custom components of the app and its plugins, a manual install there drops the packages it adds for plugins. After a change in `spa/package.json` or `spa/tailwind.config.js` the running app breaks until a restart, tell the user to restart it.
12+
913
## Package names rules
1014

1115

0 commit comments

Comments
 (0)