- Extract normalizeRunningPorts and portStatusLabel into @t3tools/shared/port - Update server (process/utils.ts) and web (terminalStateStore.ts) to import from the shared package instead of maintaining duplicate implementations - Update Sidebar.tsx and ThreadTerminalDrawer.tsx to use shared portStatusLabel for constructing terminal port status labels - Fix inspectWebPortCached in Manager.ts to only cache successful probe results, avoiding caching transient failures for the full TTL
77 lines
1.8 KiB
JSON
77 lines
1.8 KiB
JSON
{
|
|
"name": "@t3tools/shared",
|
|
"version": "0.0.0-alpha.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./model": {
|
|
"types": "./src/model.ts",
|
|
"import": "./src/model.ts"
|
|
},
|
|
"./git": {
|
|
"types": "./src/git.ts",
|
|
"import": "./src/git.ts"
|
|
},
|
|
"./logging": {
|
|
"types": "./src/logging.ts",
|
|
"import": "./src/logging.ts"
|
|
},
|
|
"./shell": {
|
|
"types": "./src/shell.ts",
|
|
"import": "./src/shell.ts"
|
|
},
|
|
"./Net": {
|
|
"types": "./src/Net.ts",
|
|
"import": "./src/Net.ts"
|
|
},
|
|
"./DrainableWorker": {
|
|
"types": "./src/DrainableWorker.ts",
|
|
"import": "./src/DrainableWorker.ts"
|
|
},
|
|
"./KeyedCoalescingWorker": {
|
|
"types": "./src/KeyedCoalescingWorker.ts",
|
|
"import": "./src/KeyedCoalescingWorker.ts"
|
|
},
|
|
"./schemaJson": {
|
|
"types": "./src/schemaJson.ts",
|
|
"import": "./src/schemaJson.ts"
|
|
},
|
|
"./Struct": {
|
|
"types": "./src/Struct.ts",
|
|
"import": "./src/Struct.ts"
|
|
},
|
|
"./serverSettings": {
|
|
"types": "./src/serverSettings.ts",
|
|
"import": "./src/serverSettings.ts"
|
|
},
|
|
"./String": {
|
|
"types": "./src/String.ts",
|
|
"import": "./src/String.ts"
|
|
},
|
|
"./projectScripts": {
|
|
"types": "./src/projectScripts.ts",
|
|
"import": "./src/projectScripts.ts"
|
|
},
|
|
"./port": {
|
|
"types": "./src/port.ts",
|
|
"import": "./src/port.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"prepare": "effect-language-service patch",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@t3tools/contracts": "workspace:*",
|
|
"effect": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@effect/language-service": "catalog:",
|
|
"@effect/vitest": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|