Pure structural move, no API or behaviour change: tabs.js/tabs.css move into shared/src/tabs/, matching the one-dir-per-component layout the other shared components already use (hive-btn, hive-dialog, hive-toast, hive-menu, side-panel). Both files are consumed exclusively through @hive/shared's package.json exports map (./tabs.js, ./tabs.css), never by a raw relative path, so updating the two export targets is the only change needed -- none of the 9 call sites (dashboard tabbar, logs, core, builds, credentials, stats x2, agent stats) touch anything. Verified the built dashboard/agent bundles still resolve both files correctly.
28 lines
984 B
JSON
28 lines
984 B
JSON
{
|
|
"name": "@hive/shared",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Shared frontend modules used by both the dashboard and the per-agent UI: terminal log pane, Catppuccin palette, base typography. Imported by sibling workspaces; not bundled standalone.",
|
|
"type": "module",
|
|
"main": "./src/index.js",
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./terminal.js": "./src/terminal.js",
|
|
"./tabs.js": "./src/tabs/tabs.js",
|
|
"./tabs.css": "./src/tabs/tabs.css",
|
|
"./colors.css": "./src/colors.css",
|
|
"./theme.css": "./src/theme.css",
|
|
"./base.css": "./src/base.css",
|
|
"./terminal.css": "./src/terminal.css",
|
|
"./chrome.css": "./src/chrome.css",
|
|
"./forms.js": "./src/forms.js",
|
|
"./dom.js": "./src/dom.js",
|
|
"./modal.js": "./src/modal.js",
|
|
"./shadow-css.js": "./src/shadow-css.js",
|
|
"./hive-menu.js": "./src/hive-menu/hive-menu.js",
|
|
"./side-panel.js": "./src/side-panel/hive-side-panel.js"
|
|
},
|
|
"files": [
|
|
"src/"
|
|
]
|
|
}
|