@feng0531/dsh-vcs 0.3.102 → 0.3.105

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/index.mjs CHANGED
@@ -1,4 +1,7 @@
1
1
  import { readFile } from 'node:fs/promises';
2
+ import {readFileSync} from 'node:fs';
3
+ import {registerFrontendAssets} from './frontend-assets.mjs';
4
+ const runningFrontend=JSON.parse(readFileSync(new URL('./dist/frontend.json',import.meta.url),'utf8'));
2
5
  import * as adapter from './vcs.mjs';
3
6
  import {createSvnHttpsHost} from './dist/svn-host.mjs';
4
7
 
@@ -272,4 +275,5 @@ export function apply(ctx) {
272
275
  ctx.connection.register(ctx, RPC_CHANNEL, host.handle);
273
276
  registerAssets(ctx);
274
277
  registerDirectAssets(ctx);
278
+ registerFrontendAssets(ctx,{running:runningFrontend});
275
279
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feng0531/dsh-vcs",
3
- "version": "0.3.102",
3
+ "version": "0.3.105",
4
4
  "private": false,
5
5
  "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" },
6
6
  "type": "module",
@@ -13,6 +13,7 @@
13
13
  },
14
14
  "files": [
15
15
  "index.mjs",
16
+ "frontend-assets.mjs",
16
17
  "vcs.mjs",
17
18
  "git-history.mjs",
18
19
  "conflict-stages.mjs",