@sparkelf/dsh-plus 0.1.0-rc.27 → 0.1.0-rc.28

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
@@ -670,7 +670,7 @@ async function runStandaloneCli(argv) {
670
670
  async function main() {
671
671
  const argv = process.argv.slice(2);
672
672
  if (argv[0] === "apply") {
673
- runApply(argv.slice(1));
673
+ runApply(argv);
674
674
  return 0;
675
675
  }
676
676
  return await runStandaloneCli(argv);
@@ -400,6 +400,10 @@ function writeProfileRequirements(profileDirectory, dependencySpecs, allowBuilds
400
400
  const managedFileAsset = (value) => value.startsWith('file:')
401
401
  && (/[\\/]\.dsh[\\/]releases[\\/]plus[\\/].*[\\/]packages[\\/]/u.test(value)
402
402
  || /[\\/]\.dsh-plus[\\/]packages[\\/]/u.test(value));
403
+ // Override names a previously accepted profile may carry and this one must drop.
404
+ // The office preview moved from the upstream Huanlin package to SparkElf's own
405
+ // redistribution of it, so an older profile's override for the upstream name has to
406
+ // go; the replacement is an ordinary profile dependency, not an override.
403
407
  const retiredOverrides = new Set([
404
408
  '@huanlin/dsh-plugin-better-sidebar-plugin-office',
405
409
  '@sparkelf/dsh-office-viewer-fonts',
package/lib/types/bin.js CHANGED
@@ -15,7 +15,9 @@ async function main() {
15
15
  const argv = process.argv.slice(2);
16
16
  const first = argv[0];
17
17
  if (first === 'apply') {
18
- runApply(argv.slice(1));
18
+ // `runApply` parses the command word itself, so it receives the arguments this
19
+ // dispatcher already inspected rather than a slice that dropped it.
20
+ runApply(argv);
19
21
  return 0;
20
22
  }
21
23
  return await runStandaloneCli(argv);
package/package.json CHANGED
@@ -72,7 +72,8 @@
72
72
  "dshmarket",
73
73
  "@huanlin/dsh-plugin-better-locale",
74
74
  "dsh-better-sidebar",
75
- "@huanlin/dsh-plugin-better-sidebar-plugin-office",
75
+ "@sparkelf/dsh-plugin-better-sidebar-office",
76
+ "@sparkelf/dsh-office-viewer-fonts",
76
77
  "dsh-video-preview",
77
78
  "@changfenhuang/dsh-genui",
78
79
  "@sparkelf/dsh-plugin-supervisor",
@@ -84,10 +85,11 @@
84
85
  "dependencies": {
85
86
  "@changfenhuang/dsh-genui": "0.9.9",
86
87
  "@huanlin/dsh-plugin-better-locale": "0.4.1",
87
- "@huanlin/dsh-plugin-better-sidebar-plugin-office": "0.2.0",
88
88
  "@sparkelf/dsh-api-client": "0.5.1",
89
89
  "@sparkelf/dsh-mineru": "0.1.2",
90
+ "@sparkelf/dsh-office-viewer-fonts": "0.1.2",
90
91
  "@sparkelf/dsh-officecli": "0.1.2",
92
+ "@sparkelf/dsh-plugin-better-sidebar-office": "0.2.1",
91
93
  "@sparkelf/dsh-plugin-supervisor": "0.1.5",
92
94
  "@sparkelf/dsh-ssh-manager": "0.7.2",
93
95
  "@sparkelf/dsh-workbench-vault": "0.1.2",
@@ -136,5 +138,5 @@
136
138
  },
137
139
  "type": "module",
138
140
  "types": "lib/types/index.d.ts",
139
- "version": "0.1.0-rc.27"
141
+ "version": "0.1.0-rc.28"
140
142
  }