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
@@ -7,16 +7,16 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const repoRoot = path.resolve(__dirname, '..', '..');
|
||||
|
||||
// The monorepo kept its canonical JS/TS test sources under a single repo-root tests/ dir, which
|
||||
// doesn't exist in MediaEngine. Scan the real locations JS/TS test files can currently live in
|
||||
// doesn't exist in this repo. Scan the real locations JS/TS test files can currently live in
|
||||
// this repo instead: webui/src (SvelteKit app) and shared/packages/*/test(s) (vendored from the
|
||||
// shared repo). repoRoot/tests is kept as a forward-compatible root in case one is added later.
|
||||
// As of the MediaEngine extraction none of these contain vitest/mocha/jest-style test files yet
|
||||
// As of this repo's extraction, none of these contain vitest/mocha/jest-style test files yet
|
||||
// (shared/packages/node-backend/test/auth.test.js uses plain `node --test`, which shares the same
|
||||
// describe/it/test .skip API surface these patterns already match), so this currently passes
|
||||
// trivially rather than being a dead check.
|
||||
const testsRoots = [
|
||||
path.join(repoRoot, 'tests'),
|
||||
path.join(repoRoot, 'media-webui', 'src'),
|
||||
path.join(repoRoot, 'webui', 'src'),
|
||||
path.join(repoRoot, 'shared', 'packages'),
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user