@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @lynx-js/qrcode-rsbuild-plugin
2
2
 
3
+ ## 0.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: print out the output chunk urls ([#1921](https://github.com/lynx-family/lynx-stack/pull/1921))
8
+
3
9
  ## 0.4.2
4
10
 
5
11
  ### Patch Changes
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
- selectKey: ()=>dist_Vt,
130
- S_STEP_SUBMIT: ()=>dist_W,
131
- spinner: ()=>Fe,
129
+ limitOptions: ()=>dist_G,
130
+ S_STEP_ERROR: ()=>ne,
132
131
  S_INFO: ()=>ue,
133
- S_CORNER_TOP_RIGHT: ()=>oe,
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
- S_CHECKBOX_ACTIVE: ()=>dist_X,
144
- autocomplete: ()=>ke,
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
- unicodeOr: ()=>dist_S,
155
- S_STEP_ERROR: ()=>ne,
156
- S_RADIO_ACTIVE: ()=>dist_U,
157
- S_BAR_START: ()=>ae,
149
+ selectKey: ()=>dist_Vt,
150
+ S_CHECKBOX_ACTIVE: ()=>dist_X,
151
+ multiselect: ()=>Rt,
158
152
  S_ERROR: ()=>de,
159
- settings: ()=>dist_C,
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
- isTTY: ()=>Se,
163
- S_STEP_CANCEL: ()=>ie,
164
- S_BAR_START_RIGHT: ()=>Be,
159
+ S_CHECKBOX_INACTIVE: ()=>Y,
165
160
  S_BAR_H: ()=>z,
166
- S_CORNER_TOP_LEFT: ()=>Te,
167
- autocompleteMultiselect: ()=>dist_At,
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
- isCancel: ()=>It,
180
- S_SUCCESS: ()=>ce,
181
- S_CORNER_BOTTOM_LEFT: ()=>De,
178
+ S_BAR_END_RIGHT: ()=>xe,
179
+ S_BAR_START: ()=>ae,
180
+ unicodeOr: ()=>dist_S,
182
181
  updateSettings: ()=>Et,
183
- S_PASSWORD_MASK: ()=>be,
184
- S_RADIO_INACTIVE: ()=>dist_K
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
@@ -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
  /**
5
2
  * @packageDocumentation
6
3
  *
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);
@@ -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.2",
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.13",
48
- "@rsbuild/core": "1.5.12",
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.4"
51
+ "@lynx-js/rspeedy": "0.11.9"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=18"