@dadigua/web-terminal 0.1.7 → 0.1.8

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/dist/index.html CHANGED
@@ -1,4 +1,4 @@
1
1
  <!doctype html>
2
- <html lang="zh-CN"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="theme-color" content="#101419"/><link rel="icon" href="/favicon.svg"/><title>Web Terminal</title> <script type="module" crossorigin src="/assets/index-AKk_M6zN.js"></script>
2
+ <html lang="zh-CN"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="theme-color" content="#101419"/><link rel="icon" href="/favicon.svg"/><title>Web Terminal</title> <script type="module" crossorigin src="/assets/index-C3R2LEX7.js"></script>
3
3
  <link rel="stylesheet" crossorigin href="/assets/index-ChYLGV1H.css">
4
4
  </head><body><div id="root"></div></body></html>
@@ -2,7 +2,7 @@ import {
2
2
  serviceName,
3
3
  serviceProtocol,
4
4
  serviceVersion
5
- } from "./chunk-4QOGRQYX.js";
5
+ } from "./chunk-D3Z46K2P.js";
6
6
 
7
7
  // src/server/app.ts
8
8
  import express from "express";
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@dadigua/web-terminal",
4
- version: "0.1.7",
4
+ version: "0.1.8",
5
5
  type: "module",
6
6
  scripts: {
7
7
  dev: "tsx src/server/index.ts --dev",
@@ -2,7 +2,7 @@ import {
2
2
  serviceName,
3
3
  serviceProtocol,
4
4
  serviceVersion
5
- } from "./chunk-4QOGRQYX.js";
5
+ } from "./chunk-D3Z46K2P.js";
6
6
 
7
7
  // src/cli.ts
8
8
  import { fileURLToPath } from "node:url";
@@ -329,7 +329,7 @@ async function main() {
329
329
  return;
330
330
  }
331
331
  if (action === "install-vscode") {
332
- const { installVSCodeExtension } = await import("./vscodeInstaller-UVP4EY4Q.js");
332
+ const { installVSCodeExtension } = await import("./vscodeInstaller-KTPDRWLU.js");
333
333
  await installVSCodeExtension({ vsixPath: values.vsix, onInstalled: (result) => console.log(`${result.target} \u5DF2\u5B89\u88C5 ${result.extension}`) });
334
334
  console.log("\u8BF7\u5728\u5DF2\u6253\u5F00\u7684 VS Code \u7A97\u53E3\u8FD0\u884C Developer: Reload Window \u4EE5\u52A0\u8F7D\u63D2\u4EF6\u3002");
335
335
  return;
@@ -355,7 +355,7 @@ async function main() {
355
355
  config.host = new URL(url).hostname === "localhost" ? "127.0.0.1" : new URL(url).hostname.replace(/^\[|\]$/g, "");
356
356
  config.port = Number(new URL(url).port || 80);
357
357
  const instanceId = randomUUID2();
358
- const { createApp } = await import("./app-O6W5HFCL.js");
358
+ const { createApp } = await import("./app-BGS4MO7H.js");
359
359
  const runtime = await createApp(config, { managed: true, instanceId, staticDir: fileURLToPath(new URL("../dist/", import.meta.url)) });
360
360
  const stamp = await processStamp(process.pid);
361
361
  if (!stamp) throw new Error("\u65E0\u6CD5\u53D6\u5F97\u8FDB\u7A0B\u542F\u52A8\u6807\u8BC6\uFF0C\u62D2\u7EDD\u542F\u52A8\u4E0D\u53EF\u5B89\u5168\u7BA1\u7406\u7684\u540E\u53F0");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  serviceVersion
3
- } from "./chunk-4QOGRQYX.js";
3
+ } from "./chunk-D3Z46K2P.js";
4
4
 
5
5
  // src/vscodeInstaller.ts
6
6
  import { execFile } from "node:child_process";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dadigua/web-terminal",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "tsx src/server/index.ts --dev",
Binary file