@lynx-js/qrcode-rsbuild-plugin 0.4.2 → 0.4.3
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/CHANGELOG.md +6 -0
- package/dist/759.js +33 -33
- package/dist/generateDevUrls.d.ts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -6
- package/dist/shortcuts.d.ts +0 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/759.js
CHANGED
|
@@ -126,62 +126,62 @@ export const __webpack_modules__ = {
|
|
|
126
126
|
"../../../node_modules/.pnpm/@clack+prompts@1.0.0-alpha.5/node_modules/@clack/prompts/dist/index.mjs": function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
127
127
|
__webpack_require__.r(__webpack_exports__);
|
|
128
128
|
__webpack_require__.d(__webpack_exports__, {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
spinner: ()=>Fe,
|
|
129
|
+
limitOptions: ()=>dist_G,
|
|
130
|
+
S_STEP_ERROR: ()=>ne,
|
|
132
131
|
S_INFO: ()=>ue,
|
|
133
|
-
|
|
134
|
-
S_STEP_ACTIVE: ()=>we,
|
|
132
|
+
S_STEP_SUBMIT: ()=>dist_W,
|
|
135
133
|
log: ()=>dist_O,
|
|
134
|
+
progress: ()=>Pt,
|
|
136
135
|
note: ()=>Nt,
|
|
137
|
-
groupMultiselect: ()=>dist_bt,
|
|
138
|
-
password: ()=>dist_Lt,
|
|
139
|
-
S_CORNER_BOTTOM_RIGHT: ()=>le,
|
|
140
136
|
unicode: ()=>dist_J,
|
|
137
|
+
S_CORNER_TOP_RIGHT: ()=>oe,
|
|
141
138
|
S_WARN: ()=>$e,
|
|
142
139
|
group: ()=>dist_xt,
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
S_STEP_ACTIVE: ()=>we,
|
|
141
|
+
S_CORNER_BOTTOM_RIGHT: ()=>le,
|
|
142
|
+
groupMultiselect: ()=>dist_bt,
|
|
145
143
|
isCI: ()=>re,
|
|
144
|
+
S_SUCCESS: ()=>ce,
|
|
145
|
+
autocompleteMultiselect: ()=>dist_At,
|
|
146
|
+
S_STEP_CANCEL: ()=>ie,
|
|
146
147
|
confirm: ()=>dist_Bt,
|
|
147
|
-
S_BAR_END_RIGHT: ()=>xe,
|
|
148
|
-
S_CONNECT_LEFT: ()=>_e,
|
|
149
|
-
S_CHECKBOX_INACTIVE: ()=>Y,
|
|
150
|
-
S_CHECKBOX_SELECTED: ()=>dist_P,
|
|
151
|
-
limitOptions: ()=>dist_G,
|
|
152
|
-
multiselect: ()=>Rt,
|
|
153
148
|
taskLog: ()=>Gt,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
S_BAR_START: ()=>ae,
|
|
149
|
+
selectKey: ()=>dist_Vt,
|
|
150
|
+
S_CHECKBOX_ACTIVE: ()=>dist_X,
|
|
151
|
+
multiselect: ()=>Rt,
|
|
158
152
|
S_ERROR: ()=>de,
|
|
159
|
-
|
|
153
|
+
S_RADIO_INACTIVE: ()=>dist_K,
|
|
154
|
+
S_BAR_START_RIGHT: ()=>Be,
|
|
155
|
+
autocomplete: ()=>ke,
|
|
160
156
|
box: ()=>dist_wt,
|
|
157
|
+
S_CORNER_BOTTOM_LEFT: ()=>De,
|
|
161
158
|
intro: ()=>dist_Dt,
|
|
162
|
-
|
|
163
|
-
S_STEP_CANCEL: ()=>ie,
|
|
164
|
-
S_BAR_START_RIGHT: ()=>Be,
|
|
159
|
+
S_CHECKBOX_INACTIVE: ()=>Y,
|
|
165
160
|
S_BAR_H: ()=>z,
|
|
166
|
-
|
|
167
|
-
|
|
161
|
+
isTTY: ()=>Se,
|
|
162
|
+
password: ()=>dist_Lt,
|
|
163
|
+
path: ()=>dist_Wt,
|
|
168
164
|
S_BAR_END: ()=>dist_b,
|
|
165
|
+
S_CHECKBOX_SELECTED: ()=>dist_P,
|
|
166
|
+
S_RADIO_ACTIVE: ()=>dist_U,
|
|
169
167
|
cancel: ()=>dist_t,
|
|
170
168
|
outro: ()=>Tt,
|
|
171
|
-
path: ()=>dist_Wt,
|
|
172
|
-
progress: ()=>Pt,
|
|
173
169
|
select: ()=>jt,
|
|
174
170
|
stream: ()=>dist_j,
|
|
175
171
|
S_BAR: ()=>dist_c,
|
|
172
|
+
S_CORNER_TOP_LEFT: ()=>Te,
|
|
176
173
|
symbol: ()=>dist_L,
|
|
177
174
|
tasks: ()=>dist_kt,
|
|
175
|
+
S_PASSWORD_MASK: ()=>be,
|
|
176
|
+
settings: ()=>dist_C,
|
|
178
177
|
text: ()=>Ht,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
S_BAR_END_RIGHT: ()=>xe,
|
|
179
|
+
S_BAR_START: ()=>ae,
|
|
180
|
+
unicodeOr: ()=>dist_S,
|
|
182
181
|
updateSettings: ()=>Et,
|
|
183
|
-
|
|
184
|
-
|
|
182
|
+
isCancel: ()=>It,
|
|
183
|
+
spinner: ()=>Fe,
|
|
184
|
+
S_CONNECT_LEFT: ()=>_e
|
|
185
185
|
});
|
|
186
186
|
var picocolors = __webpack_require__("../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
|
|
187
187
|
var external_node_process_ = __webpack_require__("node:process");
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
// Copyright 2024 The Lynx Authors. All rights reserved.
|
|
2
|
-
// Licensed under the Apache License Version 2.0 that can be found in the
|
|
3
|
-
// LICENSE file in the root directory of this source tree.
|
|
4
1
|
import type { RsbuildPluginAPI } from '@rsbuild/core';
|
|
5
2
|
import type { CustomizedSchemaFn } from './index.js';
|
|
6
3
|
export default function generateDevUrls(api: RsbuildPluginAPI, entry: string, schemaFn: CustomizedSchemaFn, port: number): Record<string, string>;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -229,12 +229,6 @@ function pluginQRCode(options) {
|
|
|
229
229
|
printedQRCode = true;
|
|
230
230
|
await main(environments['lynx'], api.context.devServer.port);
|
|
231
231
|
});
|
|
232
|
-
api.modifyRsbuildConfig((config)=>{
|
|
233
|
-
const originalPrintUrl = config.server?.printUrls;
|
|
234
|
-
if (false === originalPrintUrl || 'function' == typeof originalPrintUrl) return;
|
|
235
|
-
config.server ??= {};
|
|
236
|
-
config.server.printUrls = false;
|
|
237
|
-
});
|
|
238
232
|
async function main(environmentContext, port) {
|
|
239
233
|
if (!environmentContext) return;
|
|
240
234
|
const entries = Object.keys(environmentContext.entry);
|
package/dist/shortcuts.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
// Copyright 2024 The Lynx Authors. All rights reserved.
|
|
2
|
-
// Licensed under the Apache License Version 2.0 that can be found in the
|
|
3
|
-
// LICENSE file in the root directory of this source tree.
|
|
4
1
|
import type { RsbuildPluginAPI } from '@rsbuild/core';
|
|
5
2
|
import type { CustomizedSchemaFn } from './index.js';
|
|
6
3
|
interface Options {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/qrcode-rsbuild-plugin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "A rsbuild plugin for printing QRCode in terminal",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rsbuild",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
],
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@clack/prompts": "1.0.0-alpha.5",
|
|
47
|
-
"@microsoft/api-extractor": "7.52.
|
|
48
|
-
"@rsbuild/core": "1.5.
|
|
47
|
+
"@microsoft/api-extractor": "7.52.15",
|
|
48
|
+
"@rsbuild/core": "1.5.17",
|
|
49
49
|
"picocolors": "^1.1.1",
|
|
50
50
|
"uqr": "0.1.2",
|
|
51
|
-
"@lynx-js/rspeedy": "0.11.
|
|
51
|
+
"@lynx-js/rspeedy": "0.11.9"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=18"
|