refactor: 包名改为 @wishesl/dsh-lan-access
与 GitHub 仓库归属 wishedl 对齐(原 @sutong 不是发布身份,npm 发布会 403)。 同时把包名改为单一来源:scripts/build-client.mjs 与 scripts/test-client.mjs 都从 package.json 读取,避免产物 id 与清单漂移。LICENSE 版权主体同步为 wishesl。 顺带修正 src/panel.js 里「Plugins 内页」的过时注释(面板早已是 Settings 顶层入口)。
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* @sutong/dsh-lan-access — browser half (generated by scripts/build-client.mjs).
|
||||
* @wishesl/dsh-lan-access — browser half (generated by scripts/build-client.mjs).
|
||||
*
|
||||
* Do not edit this file: change src/panel.js or src/qrcode.js and rebuild.
|
||||
*/
|
||||
window.__ModuleLoader__.load({
|
||||
id: "@sutong/dsh-lan-access",
|
||||
id: "@wishesl/dsh-lan-access",
|
||||
factory: function (require) {
|
||||
"use strict";
|
||||
var React = require("react");
|
||||
@@ -23,7 +23,7 @@ window.__ModuleLoader__.load({
|
||||
* Verified against the reference `qrcode` npm package: `node scripts/test-qr.mjs`
|
||||
* compares every module of every version and mask.
|
||||
*
|
||||
* @module @sutong/dsh-lan-access/qrcode
|
||||
* @module @wishesl/dsh-lan-access/qrcode
|
||||
*/
|
||||
|
||||
/** Error-correction level indicator bits (`M` = 0b00) and the format-info prefix. */
|
||||
@@ -510,14 +510,14 @@ window.__ModuleLoader__.load({
|
||||
|
||||
// ── inlined src/panel.js ─────────────────────────────────────────────────
|
||||
/**
|
||||
* Client half of @sutong/dsh-lan-access: a Plugins-settings tab that shows the
|
||||
* LAN addresses the host listener publishes, with a scannable QR code for the
|
||||
* Client half of @wishesl/dsh-lan-access: its own Settings page showing the LAN
|
||||
* addresses the host listener publishes, with a scannable QR code for the
|
||||
* address you pick.
|
||||
*
|
||||
* This file is bundled into the single browser artifact `client.js` by
|
||||
* `scripts/build-client.mjs`; it is never loaded directly by the browser.
|
||||
*
|
||||
* @module @sutong/dsh-lan-access/panel
|
||||
* @module @wishesl/dsh-lan-access/panel
|
||||
*/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user