@dooc-dev/dooc 0.0.18 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,13 +105,9 @@ export const nodeWorkspaceOperations = async (manifest, pluginModule, notify = (
105
105
  const description = {
106
106
  id,
107
107
  ...(section ? { manifest: section } : {}),
108
- label: source.protocol === "git"
109
- ? `${source.branch}/${source.repo ?? basename(root)}`
110
- : basename(root),
108
+ label: source.protocol === "git" ? source.branch : basename(root),
111
109
  ...(source.protocol === "git" ? { branch: source.branch } : {}),
112
- ...(revision
113
- ? { revision, readOnly: true, label: `${revision.version}/${basename(primary)}` }
114
- : {}),
110
+ ...(revision ? { revision, readOnly: true, label: revision.version } : {}),
115
111
  };
116
112
  const catalog = catalogOverride ?? entries.get(owner)?.versions ?? createDocumentVersions(root);
117
113
  const entry = {