mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
feat(chord): Chord v2 is the package's root
src/next is src (the main export), src/next-node is src/node with short subpaths (/http, /workers, /plugins, /plugins/runtime, /app, /surfaces, /web, /react, /tui, /tui/launcher); the foundations get /json and /watch; Chord v1 moves to src/old (/old, /old/node) until p2 runs on v2; tests and docs move likewise (test/, docs/, test/old, docs/old). Durable and env import the foundations from their subpaths.
This commit is contained in:
parent
0a4fad5489
commit
e9c0ff4d84
966 changed files with 2968 additions and 2804 deletions
|
|
@ -5,7 +5,25 @@ export const workspaceSourcePaths = {
|
|||
chordIndex: fileURLToPath(new URL("./packages/chord/src/index.ts", import.meta.url)),
|
||||
chordContext: fileURLToPath(new URL("./packages/chord/src/context/index.ts", import.meta.url)),
|
||||
chordDelta: fileURLToPath(new URL("./packages/chord/src/delta/index.ts", import.meta.url)),
|
||||
chordNode: fileURLToPath(new URL("./packages/chord/src/node.ts", import.meta.url)),
|
||||
chordJson: fileURLToPath(new URL("./packages/chord/src/json.ts", import.meta.url)),
|
||||
chordWatch: fileURLToPath(new URL("./packages/chord/src/watch.ts", import.meta.url)),
|
||||
chordOutput: fileURLToPath(new URL("./packages/chord/src/output.ts", import.meta.url)),
|
||||
chordSqlite: fileURLToPath(new URL("./packages/chord/src/sqlite/index.ts", import.meta.url)),
|
||||
chordSqliteNode: fileURLToPath(new URL("./packages/chord/src/sqlite/node.ts", import.meta.url)),
|
||||
chordSqliteCloudflare: fileURLToPath(new URL("./packages/chord/src/sqlite/cloudflare.ts", import.meta.url)),
|
||||
chordTelemetrySqlite: fileURLToPath(new URL("./packages/chord/src/telemetry-sqlite/index.ts", import.meta.url)),
|
||||
chordHttp: fileURLToPath(new URL("./packages/chord/src/node/http/index.ts", import.meta.url)),
|
||||
chordWorkers: fileURLToPath(new URL("./packages/chord/src/node/workers/index.ts", import.meta.url)),
|
||||
chordPlugins: fileURLToPath(new URL("./packages/chord/src/node/plugins/index.ts", import.meta.url)),
|
||||
chordPluginsRuntime: fileURLToPath(new URL("./packages/chord/src/node/plugins/runtime.ts", import.meta.url)),
|
||||
chordApp: fileURLToPath(new URL("./packages/chord/src/node/app/index.ts", import.meta.url)),
|
||||
chordWeb: fileURLToPath(new URL("./packages/chord/src/web/index.ts", import.meta.url)),
|
||||
chordSurfaces: fileURLToPath(new URL("./packages/chord/src/node/surfaces/index.ts", import.meta.url)),
|
||||
chordReact: fileURLToPath(new URL("./packages/chord/src/react/index.ts", import.meta.url)),
|
||||
chordTui: fileURLToPath(new URL("./packages/chord/src/tui/index.ts", import.meta.url)),
|
||||
chordTuiLauncher: fileURLToPath(new URL("./packages/chord/src/node/tui/index.ts", import.meta.url)),
|
||||
chordOld: fileURLToPath(new URL("./packages/chord/src/old/index.ts", import.meta.url)),
|
||||
chordOldNode: fileURLToPath(new URL("./packages/chord/src/old/node.ts", import.meta.url)),
|
||||
telemetryIndex: fileURLToPath(new URL("./packages/telemetry/src/index.ts", import.meta.url)),
|
||||
telemetryTesting: fileURLToPath(new URL("./packages/telemetry/src/testing/index.ts", import.meta.url)),
|
||||
mcpIndex: fileURLToPath(new URL("./packages/mcp/src/index.ts", import.meta.url)),
|
||||
|
|
@ -32,7 +50,25 @@ export default defineConfig({
|
|||
{ find: /^@earendil-works\/chord$/, replacement: workspaceSourcePaths.chordIndex },
|
||||
{ find: /^@earendil-works\/chord\/context$/, replacement: workspaceSourcePaths.chordContext },
|
||||
{ find: /^@earendil-works\/chord\/delta$/, replacement: workspaceSourcePaths.chordDelta },
|
||||
{ find: /^@earendil-works\/chord\/node$/, replacement: workspaceSourcePaths.chordNode },
|
||||
{ find: /^@earendil-works\/chord\/json$/, replacement: workspaceSourcePaths.chordJson },
|
||||
{ find: /^@earendil-works\/chord\/watch$/, replacement: workspaceSourcePaths.chordWatch },
|
||||
{ find: /^@earendil-works\/chord\/output$/, replacement: workspaceSourcePaths.chordOutput },
|
||||
{ find: /^@earendil-works\/chord\/sqlite$/, replacement: workspaceSourcePaths.chordSqlite },
|
||||
{ find: /^@earendil-works\/chord\/sqlite\/node$/, replacement: workspaceSourcePaths.chordSqliteNode },
|
||||
{ find: /^@earendil-works\/chord\/sqlite\/cloudflare$/, replacement: workspaceSourcePaths.chordSqliteCloudflare },
|
||||
{ find: /^@earendil-works\/chord\/telemetry-sqlite$/, replacement: workspaceSourcePaths.chordTelemetrySqlite },
|
||||
{ find: /^@earendil-works\/chord\/http$/, replacement: workspaceSourcePaths.chordHttp },
|
||||
{ find: /^@earendil-works\/chord\/workers$/, replacement: workspaceSourcePaths.chordWorkers },
|
||||
{ find: /^@earendil-works\/chord\/plugins$/, replacement: workspaceSourcePaths.chordPlugins },
|
||||
{ find: /^@earendil-works\/chord\/plugins\/runtime$/, replacement: workspaceSourcePaths.chordPluginsRuntime },
|
||||
{ find: /^@earendil-works\/chord\/app$/, replacement: workspaceSourcePaths.chordApp },
|
||||
{ find: /^@earendil-works\/chord\/web$/, replacement: workspaceSourcePaths.chordWeb },
|
||||
{ find: /^@earendil-works\/chord\/surfaces$/, replacement: workspaceSourcePaths.chordSurfaces },
|
||||
{ find: /^@earendil-works\/chord\/react$/, replacement: workspaceSourcePaths.chordReact },
|
||||
{ find: /^@earendil-works\/chord\/tui$/, replacement: workspaceSourcePaths.chordTui },
|
||||
{ find: /^@earendil-works\/chord\/tui\/launcher$/, replacement: workspaceSourcePaths.chordTuiLauncher },
|
||||
{ find: /^@earendil-works\/chord\/old$/, replacement: workspaceSourcePaths.chordOld },
|
||||
{ find: /^@earendil-works\/chord\/old\/node$/, replacement: workspaceSourcePaths.chordOldNode },
|
||||
{ find: /^@earendil-works\/pi-telemetry$/, replacement: workspaceSourcePaths.telemetryIndex },
|
||||
{ find: /^@earendil-works\/pi-telemetry\/testing$/, replacement: workspaceSourcePaths.telemetryTesting },
|
||||
{ find: /^@earendil-works\/pi-mcp$/, replacement: workspaceSourcePaths.mcpIndex },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue