Add self-info endpoint for ProjectConfigurator discovery, sync shared updates
GET /api/info reports name/tabs/mount types (empty - state lives in Postgres, no shared file mounts) so ProjectConfigurator's Projects workspace can register this instance from just a URL. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
557a61b4ee
commit
bbf5d8bb05
126 files changed
+2897
-8542
No files matched your search
@@ -4,10 +4,10 @@
|
||||
* Does NOT print per-file diagnostics unless a failure occurs; keeps CI logs lean while enabling
|
||||
* machine parsing. Exit code is non-zero if any package reports errors or warnings (configurable).
|
||||
*
|
||||
* MediaEngine extraction note: the monorepo version of this script discovered the monorepo root by
|
||||
* Shared extraction note: the monorepo version of this script discovered the monorepo root by
|
||||
* walking up for a MediaShared/package.json marker and iterated MediaShared/MediaModerator/
|
||||
* MediaViewer/MediaTools using a shared root eslint.config.mjs. None of those sibling packages or
|
||||
* the root config exist in MediaEngine — webui/ is the only JS/TS package here, and it already
|
||||
* the root config exist in this repo — webui/ is the only JS/TS package here, and it already
|
||||
* ships its own local eslint.config.js (picked up automatically, no --config override needed).
|
||||
*/
|
||||
import { spawnSync } from 'node:child_process';
|
||||
@@ -18,7 +18,7 @@ import { existsSync } from 'node:fs';
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const root = resolve(__dirname, '..', '..');
|
||||
|
||||
const packages = [{ name: 'media-webui', path: 'media-webui' }];
|
||||
const packages = [{ name: 'webui', path: 'webui' }];
|
||||
|
||||
function resolveEslintInvocation({ pkgDir }) {
|
||||
const pkgEslintJs = resolve(pkgDir, 'node_modules', 'eslint', 'bin', 'eslint.js');
|
||||
|
||||
Reference in new issue
Block a user