@rslib/core 0.18.1 → 0.18.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/compiled/rslog/index.js +12 -9
- package/compiled/rslog/package.json +1 -1
- package/dist/index.js +46 -37
- package/package.json +6 -6
package/compiled/rslog/index.js
CHANGED
|
@@ -24,8 +24,8 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
createLogger: ()=>createLogger,
|
|
28
|
+
logger: ()=>src_logger
|
|
29
29
|
});
|
|
30
30
|
const external_node_process_namespaceObject = require("node:process");
|
|
31
31
|
const external_node_os_namespaceObject = require("node:os");
|
|
@@ -132,9 +132,10 @@ const supportsColor = {
|
|
|
132
132
|
};
|
|
133
133
|
const supports_color = supportsColor;
|
|
134
134
|
const colorLevel = supports_color.stdout ? supports_color.stdout.level : 0;
|
|
135
|
-
let errorStackRegExp = /at\
|
|
136
|
-
let anonymousErrorStackRegExp = /at\
|
|
137
|
-
let
|
|
135
|
+
let errorStackRegExp = /at [^\r\n]{0,200}:\d+:\d+[\s\)]*$/;
|
|
136
|
+
let anonymousErrorStackRegExp = /at [^\r\n]{0,200}\(<anonymous>\)$/;
|
|
137
|
+
let indexErrorStackRegExp = /at [^\r\n]{0,200}\(index\s\d+\)$/;
|
|
138
|
+
let isErrorStackMessage = (message)=>errorStackRegExp.test(message) || anonymousErrorStackRegExp.test(message) || indexErrorStackRegExp.test(message);
|
|
138
139
|
let formatter = (open, close, replace = open)=>colorLevel >= 2 ? (input)=>{
|
|
139
140
|
let string = '' + input;
|
|
140
141
|
let index = string.indexOf(close, open.length);
|
|
@@ -246,9 +247,10 @@ const normalizeErrorMessage = (err)=>{
|
|
|
246
247
|
let createLogger = (options = {})=>{
|
|
247
248
|
let maxLevel = options.level || 'info';
|
|
248
249
|
let log = (type, message, ...args)=>{
|
|
249
|
-
if (LOG_LEVEL[LOG_TYPES[type].level] > LOG_LEVEL[maxLevel]) return;
|
|
250
|
-
if (null == message) return console.log();
|
|
251
250
|
let logType = LOG_TYPES[type];
|
|
251
|
+
const { level } = logType;
|
|
252
|
+
if (LOG_LEVEL[level] > LOG_LEVEL[maxLevel]) return;
|
|
253
|
+
if (null == message) return console.log();
|
|
252
254
|
let label = '';
|
|
253
255
|
let text = '';
|
|
254
256
|
if ('label' in logType) {
|
|
@@ -262,11 +264,12 @@ let createLogger = (options = {})=>{
|
|
|
262
264
|
text += yellow('\n [cause]: ');
|
|
263
265
|
text += cause instanceof Error ? normalizeErrorMessage(cause) : String(cause);
|
|
264
266
|
}
|
|
265
|
-
} else if ('error' ===
|
|
267
|
+
} else if ('error' === level && 'string' == typeof message) {
|
|
266
268
|
let lines = message.split('\n');
|
|
267
269
|
text = lines.map((line)=>isErrorStackMessage(line) ? gray(line) : line).join('\n');
|
|
268
270
|
} else text = `${message}`;
|
|
269
|
-
|
|
271
|
+
const method = 'error' === level || 'warn' === level ? level : 'log';
|
|
272
|
+
console[method](label.length ? `${label} ${text}` : text, ...args);
|
|
270
273
|
};
|
|
271
274
|
let logger = {
|
|
272
275
|
greet: (message)=>log('log', gradient(message))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"rslog","version":"1.3.
|
|
1
|
+
{"name":"rslog","version":"1.3.2","license":"MIT","types":"index.d.ts","type":"commonjs"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as __rspack_external__rsbuild_core_1b356efc from "@rsbuild/core";
|
|
2
2
|
import node_fs, { promises } from "node:fs";
|
|
3
3
|
import { glob } from "../compiled/tinyglobby/index.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -20,7 +20,7 @@ class LibSvgrPatchPlugin {
|
|
|
20
20
|
const chunkAsset = Object.keys(assets).filter((name)=>/js$/.test(name));
|
|
21
21
|
for (const name of chunkAsset)compilation.updateAsset(name, (old)=>{
|
|
22
22
|
const oldSource = old.source().toString();
|
|
23
|
-
const newSource = new
|
|
23
|
+
const newSource = new __rspack_external__rsbuild_core_1b356efc.rspack.sources.ReplaceSource(old);
|
|
24
24
|
const pattern = new RegExp(`\\(?['"]${PUBLIC_PATH_PLACEHOLDER}(.*)['"]\\)?`, 'g');
|
|
25
25
|
const matches = [
|
|
26
26
|
...oldSource.matchAll(pattern)
|
|
@@ -164,7 +164,7 @@ class LibCssExtractPlugin {
|
|
|
164
164
|
const chunkAsset = Object.keys(assets).filter((name)=>/\.css/.test(name));
|
|
165
165
|
for (const name of chunkAsset)compilation.updateAsset(name, (old)=>{
|
|
166
166
|
const oldSource = old.source().toString();
|
|
167
|
-
const replaceSource = new
|
|
167
|
+
const replaceSource = new __rspack_external__rsbuild_core_1b356efc.rspack.sources.ReplaceSource(old);
|
|
168
168
|
function replace(searchValue, replaceValue) {
|
|
169
169
|
let start = oldSource.indexOf(searchValue);
|
|
170
170
|
while(-1 !== start){
|
|
@@ -291,7 +291,7 @@ class EntryChunkPlugin {
|
|
|
291
291
|
const chunkAsset = Object.keys(assets).filter((name)=>JS_EXTENSIONS_PATTERN.test(name) && this.shimsInjectedAssets.has(name));
|
|
292
292
|
for (const name of chunkAsset)compilation.updateAsset(name, (old)=>{
|
|
293
293
|
const oldSource = old.source().toString();
|
|
294
|
-
const replaceSource = new
|
|
294
|
+
const replaceSource = new __rspack_external__rsbuild_core_1b356efc.rspack.sources.ReplaceSource(old);
|
|
295
295
|
if (oldSource.startsWith('#!')) {
|
|
296
296
|
const firstLineEnd = oldSource.indexOf('\n');
|
|
297
297
|
replaceSource.insert(firstLineEnd + 1, IMPORT_META_URL_SHIM);
|
|
@@ -346,9 +346,9 @@ const pluginEsmRequireShim = ()=>({
|
|
|
346
346
|
setup (api) {
|
|
347
347
|
api.modifyRspackConfig((config)=>{
|
|
348
348
|
config.plugins ??= [];
|
|
349
|
-
config.plugins.push(new
|
|
349
|
+
config.plugins.push(new __rspack_external__rsbuild_core_1b356efc.rspack.BannerPlugin({
|
|
350
350
|
banner: requireShim,
|
|
351
|
-
stage:
|
|
351
|
+
stage: __rspack_external__rsbuild_core_1b356efc.rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE - 1,
|
|
352
352
|
raw: true,
|
|
353
353
|
include: /\.(js|mjs)$/
|
|
354
354
|
}));
|
|
@@ -1229,7 +1229,7 @@ async function loadConfig({ cwd = process.cwd(), path, envMode, loader }) {
|
|
|
1229
1229
|
},
|
|
1230
1230
|
filePath: void 0
|
|
1231
1231
|
};
|
|
1232
|
-
const { content } = await (0,
|
|
1232
|
+
const { content } = await (0, __rspack_external__rsbuild_core_1b356efc.loadConfig)({
|
|
1233
1233
|
cwd: dirname(configFilePath),
|
|
1234
1234
|
path: configFilePath,
|
|
1235
1235
|
envMode,
|
|
@@ -1392,30 +1392,30 @@ function composeBannerFooterConfig(banner, footer) {
|
|
|
1392
1392
|
if (isEmptyObject(bannerConfig) && isEmptyObject(footerConfig)) return {};
|
|
1393
1393
|
const plugins = [];
|
|
1394
1394
|
if (!isEmptyObject(bannerConfig)) {
|
|
1395
|
-
if (bannerConfig.js) plugins.push(new
|
|
1395
|
+
if (bannerConfig.js) plugins.push(new __rspack_external__rsbuild_core_1b356efc.rspack.BannerPlugin({
|
|
1396
1396
|
banner: bannerConfig.js,
|
|
1397
|
-
stage:
|
|
1397
|
+
stage: __rspack_external__rsbuild_core_1b356efc.rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1,
|
|
1398
1398
|
raw: true,
|
|
1399
1399
|
include: /\.(js|mjs|cjs)$/
|
|
1400
1400
|
}));
|
|
1401
|
-
if (bannerConfig.css) plugins.push(new
|
|
1401
|
+
if (bannerConfig.css) plugins.push(new __rspack_external__rsbuild_core_1b356efc.rspack.BannerPlugin({
|
|
1402
1402
|
banner: bannerConfig.css,
|
|
1403
|
-
stage:
|
|
1403
|
+
stage: __rspack_external__rsbuild_core_1b356efc.rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1,
|
|
1404
1404
|
raw: true,
|
|
1405
1405
|
include: /\.(css)$/
|
|
1406
1406
|
}));
|
|
1407
1407
|
}
|
|
1408
1408
|
if (!isEmptyObject(footerConfig)) {
|
|
1409
|
-
if (footerConfig.js) plugins.push(new
|
|
1409
|
+
if (footerConfig.js) plugins.push(new __rspack_external__rsbuild_core_1b356efc.rspack.BannerPlugin({
|
|
1410
1410
|
banner: footerConfig.js,
|
|
1411
|
-
stage:
|
|
1411
|
+
stage: __rspack_external__rsbuild_core_1b356efc.rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1,
|
|
1412
1412
|
raw: true,
|
|
1413
1413
|
footer: true,
|
|
1414
1414
|
include: /\.(js|mjs|cjs)$/
|
|
1415
1415
|
}));
|
|
1416
|
-
if (footerConfig.css) plugins.push(new
|
|
1416
|
+
if (footerConfig.css) plugins.push(new __rspack_external__rsbuild_core_1b356efc.rspack.BannerPlugin({
|
|
1417
1417
|
banner: footerConfig.css,
|
|
1418
|
-
stage:
|
|
1418
|
+
stage: __rspack_external__rsbuild_core_1b356efc.rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1,
|
|
1419
1419
|
raw: true,
|
|
1420
1420
|
footer: true,
|
|
1421
1421
|
include: /\.(css)$/
|
|
@@ -1457,7 +1457,7 @@ function composePrintFileSizeConfig(bundle, target) {
|
|
|
1457
1457
|
};
|
|
1458
1458
|
}
|
|
1459
1459
|
async function createConstantRsbuildConfig() {
|
|
1460
|
-
return (0,
|
|
1460
|
+
return (0, __rspack_external__rsbuild_core_1b356efc.defineConfig)({
|
|
1461
1461
|
performance: {
|
|
1462
1462
|
chunkSplit: {
|
|
1463
1463
|
strategy: 'custom'
|
|
@@ -1533,11 +1533,11 @@ const composeFormatConfig = ({ format, bundle = true, umdName, pkgJson, enabledS
|
|
|
1533
1533
|
};
|
|
1534
1534
|
const experimentalEsmOutput = bundle && 'esm' === format && advancedEsm;
|
|
1535
1535
|
const plugins = [
|
|
1536
|
-
new
|
|
1536
|
+
new __rspack_external__rsbuild_core_1b356efc.rspack.experiments.RslibPlugin({
|
|
1537
1537
|
interceptApiPlugin: true,
|
|
1538
1538
|
forceNodeShims: enabledShims.esm.__dirname || enabledShims.esm.__filename
|
|
1539
1539
|
}),
|
|
1540
|
-
experimentalEsmOutput && new
|
|
1540
|
+
experimentalEsmOutput && new __rspack_external__rsbuild_core_1b356efc.rspack.experiments.EsmLibraryPlugin()
|
|
1541
1541
|
].filter(Boolean);
|
|
1542
1542
|
switch(format){
|
|
1543
1543
|
case 'esm':
|
|
@@ -1910,7 +1910,7 @@ const composeOutputFilenameConfig = (config, format, autoExtension, multiCompile
|
|
|
1910
1910
|
}
|
|
1911
1911
|
}
|
|
1912
1912
|
};
|
|
1913
|
-
const finalConfig = userJsFilename ? chunkFilename : (0,
|
|
1913
|
+
const finalConfig = userJsFilename ? chunkFilename : (0, __rspack_external__rsbuild_core_1b356efc.mergeRsbuildConfig)(chunkFilename, {
|
|
1914
1914
|
output: {
|
|
1915
1915
|
filename: {
|
|
1916
1916
|
js: defaultJsFilename
|
|
@@ -2084,6 +2084,7 @@ const composeBundlelessExternalConfig = (jsExtension, redirect, cssModulesAuto,
|
|
|
2084
2084
|
const { request, getResolve, context, contextInfo } = data;
|
|
2085
2085
|
if (!request || !getResolve || !context || !contextInfo) return void callback();
|
|
2086
2086
|
const { issuer } = contextInfo;
|
|
2087
|
+
const originExtension = extname(request);
|
|
2087
2088
|
if (!resolver) resolver = getResolve();
|
|
2088
2089
|
async function redirectPath(request) {
|
|
2089
2090
|
try {
|
|
@@ -2094,26 +2095,34 @@ const composeBundlelessExternalConfig = (jsExtension, redirect, cssModulesAuto,
|
|
|
2094
2095
|
if (isSubpath) {
|
|
2095
2096
|
resolvedRequest = normalizeSlash(node_path.relative(node_path.dirname(issuer), resolvedRequest));
|
|
2096
2097
|
if (!resolvedRequest.startsWith('./') && !resolvedRequest.startsWith('../')) resolvedRequest = `./${resolvedRequest}`;
|
|
2097
|
-
return
|
|
2098
|
+
return {
|
|
2099
|
+
path: resolvedRequest,
|
|
2100
|
+
isResolved: true
|
|
2101
|
+
};
|
|
2098
2102
|
}
|
|
2099
|
-
return
|
|
2103
|
+
return {
|
|
2104
|
+
path: void 0,
|
|
2105
|
+
isResolved: true
|
|
2106
|
+
};
|
|
2100
2107
|
} catch (_e) {
|
|
2101
2108
|
logger.debug(`Failed to resolve module ${picocolors.green(`"${request}"`)} from ${picocolors.green(issuer)}. If it's an npm package, consider adding it to dependencies or peerDependencies in package.json to make it externalized.`);
|
|
2102
|
-
return
|
|
2109
|
+
return {
|
|
2110
|
+
path: request,
|
|
2111
|
+
isResolved: false
|
|
2112
|
+
};
|
|
2103
2113
|
}
|
|
2104
2114
|
}
|
|
2105
2115
|
if (issuer) {
|
|
2106
2116
|
let resolvedRequest = request;
|
|
2107
|
-
const redirectedPath = await redirectPath(resolvedRequest);
|
|
2117
|
+
const { path: redirectedPath, isResolved } = await redirectPath(resolvedRequest);
|
|
2108
2118
|
const cssExternal = await cssExternalHandler(resolvedRequest, callback, jsExtension, cssModulesAuto, styleRedirectPath, styleRedirectExtension, redirectedPath, issuer);
|
|
2109
2119
|
if (false !== cssExternal) return cssExternal;
|
|
2110
2120
|
if (void 0 === redirectedPath) return void callback(void 0, request);
|
|
2111
2121
|
if (jsRedirectPath) resolvedRequest = redirectedPath;
|
|
2112
|
-
if (resolvedRequest.startsWith('.')) {
|
|
2122
|
+
if (resolvedRequest.startsWith('.') && isResolved) {
|
|
2113
2123
|
const ext = extname(resolvedRequest);
|
|
2114
|
-
if (ext) if (JS_EXTENSIONS_PATTERN.test(resolvedRequest))
|
|
2115
|
-
|
|
2116
|
-
} else {
|
|
2124
|
+
if (ext) if (JS_EXTENSIONS_PATTERN.test(resolvedRequest)) resolvedRequest = resolvedRequest.replace(/\.[^.]+$/, jsRedirectExtension ? jsExtension : JS_EXTENSIONS_PATTERN.test(originExtension) ? originExtension : '');
|
|
2125
|
+
else {
|
|
2117
2126
|
resolvedRequest = assetRedirectPath ? redirectedPath : request;
|
|
2118
2127
|
if (assetRedirectExtension) resolvedRequest = resolvedRequest.replace(/\.[^.]+$/, jsExtension);
|
|
2119
2128
|
}
|
|
@@ -2276,7 +2285,7 @@ async function composeLibRsbuildConfig(config, multiCompilerIndex, root, sharedP
|
|
|
2276
2285
|
const bannerFooterConfig = composeBannerFooterConfig(banner, footer);
|
|
2277
2286
|
const decoratorsConfig = composeDecoratorsConfig(compilerOptions, config.source?.decorators?.version);
|
|
2278
2287
|
const printFileSizeConfig = composePrintFileSizeConfig(bundle, target);
|
|
2279
|
-
return (0,
|
|
2288
|
+
return (0, __rspack_external__rsbuild_core_1b356efc.mergeRsbuildConfig)(bundleConfig, formatConfig, shimsConfig, syntaxConfig, externalHelpersConfig, outputFilenameConfig, targetConfig, externalsWarnConfig, userExternalsConfig, autoExternalConfig, targetExternalsConfig, bundlelessExternalConfig, entryConfig, cssConfig, assetConfig, entryChunkConfig, minifyConfig, dtsConfig, bannerFooterConfig, decoratorsConfig, printFileSizeConfig);
|
|
2280
2289
|
}
|
|
2281
2290
|
async function composeCreateRsbuildConfig(rslibConfig) {
|
|
2282
2291
|
const constantRsbuildConfig = await createConstantRsbuildConfig();
|
|
@@ -2284,7 +2293,7 @@ async function composeCreateRsbuildConfig(rslibConfig) {
|
|
|
2284
2293
|
if (logLevel && !isDebug()) logger.level = logLevel;
|
|
2285
2294
|
if (!Array.isArray(libConfigsArray) || 0 === libConfigsArray.length) throw new Error(`Expect "lib" field to be a non-empty array, but got: ${picocolors.cyan(JSON.stringify(libConfigsArray))}.`);
|
|
2286
2295
|
const libConfigPromises = libConfigsArray.map(async (libConfig, index)=>{
|
|
2287
|
-
const userConfig = (0,
|
|
2296
|
+
const userConfig = (0, __rspack_external__rsbuild_core_1b356efc.mergeRsbuildConfig)(sharedRsbuildConfig, libConfig);
|
|
2288
2297
|
const libRsbuildConfig = await composeLibRsbuildConfig(userConfig, libConfigsArray.length > 1 ? index : null, root, sharedPlugins);
|
|
2289
2298
|
userConfig.source ??= {};
|
|
2290
2299
|
userConfig.source.entry = {};
|
|
@@ -2292,7 +2301,7 @@ async function composeCreateRsbuildConfig(rslibConfig) {
|
|
|
2292
2301
|
delete userConfig.output.externals;
|
|
2293
2302
|
const config = {
|
|
2294
2303
|
format: libConfig.format ?? 'esm',
|
|
2295
|
-
config: (0,
|
|
2304
|
+
config: (0, __rspack_external__rsbuild_core_1b356efc.mergeRsbuildConfig)(constantRsbuildConfig, libRsbuildConfig, omit(userConfig, {
|
|
2296
2305
|
id: true,
|
|
2297
2306
|
bundle: true,
|
|
2298
2307
|
format: true,
|
|
@@ -2391,7 +2400,7 @@ const beforeRestart = async ({ filePath, clear = true } = {})=>{
|
|
|
2391
2400
|
};
|
|
2392
2401
|
async function build(config, options = {}) {
|
|
2393
2402
|
const { environments } = await composeRsbuildEnvironments(config);
|
|
2394
|
-
const rsbuildInstance = await (0,
|
|
2403
|
+
const rsbuildInstance = await (0, __rspack_external__rsbuild_core_1b356efc.createRsbuild)({
|
|
2395
2404
|
callerName: 'rslib',
|
|
2396
2405
|
config: {
|
|
2397
2406
|
mode: 'production',
|
|
@@ -2972,7 +2981,7 @@ const applyCliOptions = (config, options, root)=>{
|
|
|
2972
2981
|
async function initConfig(options) {
|
|
2973
2982
|
const cwd = process.cwd();
|
|
2974
2983
|
const root = options.root ? getAbsolutePath(cwd, options.root) : cwd;
|
|
2975
|
-
const envs = (0,
|
|
2984
|
+
const envs = (0, __rspack_external__rsbuild_core_1b356efc.loadEnv)({
|
|
2976
2985
|
cwd: getEnvDir(root, options.envDir),
|
|
2977
2986
|
mode: options.envMode
|
|
2978
2987
|
});
|
|
@@ -3015,7 +3024,7 @@ async function initConfig(options) {
|
|
|
3015
3024
|
}
|
|
3016
3025
|
async function inspect(config, options = {}) {
|
|
3017
3026
|
const { environments } = await composeRsbuildEnvironments(config);
|
|
3018
|
-
const rsbuildInstance = await (0,
|
|
3027
|
+
const rsbuildInstance = await (0, __rspack_external__rsbuild_core_1b356efc.createRsbuild)({
|
|
3019
3028
|
callerName: 'rslib',
|
|
3020
3029
|
config: {
|
|
3021
3030
|
mode: 'production',
|
|
@@ -3051,7 +3060,7 @@ async function initMFRsbuild(config, options = {}) {
|
|
|
3051
3060
|
}).map((env)=>env.id);
|
|
3052
3061
|
if (!selectedEnvironmentIds.length) throw new Error(`No mf format found in ${options.lib ? `libs ${options.lib.map((lib)=>`"${lib}"`).join(', ')}` : 'your config'}, please check your config to ensure that the mf format is enabled correctly.`);
|
|
3053
3062
|
const selectedEnvironments = pruneEnvironments(environments, selectedEnvironmentIds);
|
|
3054
|
-
const rsbuildInstance = await (0,
|
|
3063
|
+
const rsbuildInstance = await (0, __rspack_external__rsbuild_core_1b356efc.createRsbuild)({
|
|
3055
3064
|
callerName: 'rslib',
|
|
3056
3065
|
config: {
|
|
3057
3066
|
mode: 'development',
|
|
@@ -3079,7 +3088,7 @@ const applyCommonOptions = (cli)=>{
|
|
|
3079
3088
|
};
|
|
3080
3089
|
function runCli() {
|
|
3081
3090
|
const cli = dist('rslib');
|
|
3082
|
-
cli.version("0.18.
|
|
3091
|
+
cli.version("0.18.3");
|
|
3083
3092
|
applyCommonOptions(cli);
|
|
3084
3093
|
const buildDescription = `build the library for production ${picocolors.dim('(default if no command is given)')}`;
|
|
3085
3094
|
const buildCommand = cli.command('', buildDescription).alias('build');
|
|
@@ -3195,9 +3204,9 @@ function prepareCli() {
|
|
|
3195
3204
|
setupLogLevel();
|
|
3196
3205
|
const { npm_execpath } = process.env;
|
|
3197
3206
|
if (!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) logger.log();
|
|
3198
|
-
logger.greet(` Rslib v0.18.
|
|
3207
|
+
logger.greet(` Rslib v0.18.3\n`);
|
|
3199
3208
|
}
|
|
3200
|
-
const src_version = "0.18.
|
|
3209
|
+
const src_version = "0.18.3";
|
|
3201
3210
|
export * as rsbuild from "@rsbuild/core";
|
|
3202
3211
|
export { logger } from "../compiled/rslog/index.js";
|
|
3203
3212
|
export { rspack } from "@rsbuild/core";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rslib/core",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.3",
|
|
4
4
|
"description": "The Rsbuild-based library development tool.",
|
|
5
5
|
"homepage": "https://rslib.rs",
|
|
6
6
|
"bugs": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"types.d.ts"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@rsbuild/core": "~1.6.
|
|
40
|
-
"rsbuild-plugin-dts": "0.18.
|
|
39
|
+
"@rsbuild/core": "~1.6.12",
|
|
40
|
+
"rsbuild-plugin-dts": "0.18.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@module-federation/rsbuild-plugin": "^0.21.6",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"cac": "^6.7.14",
|
|
46
46
|
"chokidar": "^4.0.3",
|
|
47
47
|
"fs-extra": "^11.3.2",
|
|
48
|
-
"memfs": "^4.51.
|
|
48
|
+
"memfs": "^4.51.1",
|
|
49
49
|
"path-serializer": "0.5.1",
|
|
50
50
|
"picocolors": "1.1.1",
|
|
51
51
|
"prebundle": "1.6.0",
|
|
52
52
|
"rsbuild-plugin-publint": "^0.3.3",
|
|
53
|
-
"rslib": "npm:@rslib/core@0.18.
|
|
54
|
-
"rslog": "^1.3.
|
|
53
|
+
"rslib": "npm:@rslib/core@0.18.2",
|
|
54
|
+
"rslog": "^1.3.2",
|
|
55
55
|
"tinyglobby": "0.2.14",
|
|
56
56
|
"tsconfck": "3.1.6",
|
|
57
57
|
"typescript": "^5.9.3",
|