@sparkelf/dsh-plus 0.2.2-alpha.2.6 → 0.2.2-alpha.2.7

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.
package/lib/bin.js CHANGED
@@ -1224,6 +1224,13 @@ function ensureProfile(paths, consumerDirectory, edition) {
1224
1224
  ...basePackages,
1225
1225
  ...composition.packages
1226
1226
  };
1227
+ for (const [alias, target] of Object.entries({
1228
+ "dsh-better-sidebar": "@sparkelf/dsh-better-sidebar",
1229
+ "dsh-sql-workbench": "@sparkelf/dsh-sql-workbench"
1230
+ })) {
1231
+ const spec = compositionPackages[target];
1232
+ if (spec !== void 0 && compositionPackages[alias] === void 0) compositionPackages[alias] = "npm:" + target + "@" + spec;
1233
+ }
1227
1234
  const compositionBundles = composition === void 0 ? baseBundles : [...baseBundles, ...composition.bundles];
1228
1235
  if (existsSync(manifestPath)) {
1229
1236
  if (composition !== void 0) {
@@ -538,6 +538,19 @@ export function ensureProfile(paths, consumerDirectory, edition) {
538
538
  const compositionPackages = composition === undefined
539
539
  ? basePackages
540
540
  : { ...basePackages, ...composition.packages };
541
+ // Official cordis rows name the historical unscoped packages. The fork ships under
542
+ // `@sparkelf/*`, so the row would fail to resolve unless the profile also carries the
543
+ // historical name as an alias to the same version.
544
+ const rowAliases = {
545
+ 'dsh-better-sidebar': '@sparkelf/dsh-better-sidebar',
546
+ 'dsh-sql-workbench': '@sparkelf/dsh-sql-workbench',
547
+ };
548
+ for (const [alias, target] of Object.entries(rowAliases)) {
549
+ const spec = compositionPackages[target];
550
+ if (spec !== undefined && compositionPackages[alias] === undefined) {
551
+ compositionPackages[alias] = 'npm:' + target + '@' + spec;
552
+ }
553
+ }
541
554
  const compositionBundles = composition === undefined
542
555
  ? baseBundles
543
556
  : [...baseBundles, ...composition.bundles];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sparkelf/dsh-plus",
3
3
  "description": "DeepSeek Harness Plus official-base Web distribution profile and ranged compatibility patchset",
4
- "version": "0.2.2-alpha.2.6",
4
+ "version": "0.2.2-alpha.2.7",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },