@storm-software/workspace-tools 1.178.1 → 1.179.1
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 +7 -0
- package/README.md +1 -1
- package/index.js +76 -51
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/rollup/executor.js +76 -51
- package/src/executors/rollup/utils/get-options.d.ts +1 -1
- package/src/plugins/rust/cargo-toml.d.ts +1 -0
- package/src/plugins/rust/index.js +227 -218
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/index.js
CHANGED
|
@@ -6663,10 +6663,10 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
6663
6663
|
});
|
|
6664
6664
|
}
|
|
6665
6665
|
if (flattenedConfigs.some(({ config: { options: { ignore, only } } }) => shouldIgnore(context, ignore, only, dirname8))) return null;
|
|
6666
|
-
const chain = emptyChain(),
|
|
6666
|
+
const chain = emptyChain(), logger2 = createLogger(input, context, baseLogger);
|
|
6667
6667
|
for (const { config, index, envName } of flattenedConfigs) {
|
|
6668
6668
|
if (!(yield* mergeExtendsChain(chain, config.options, dirname8, context, files, baseLogger))) return null;
|
|
6669
|
-
|
|
6669
|
+
logger2(config, index, envName), yield* mergeChainOpts(chain, config);
|
|
6670
6670
|
}
|
|
6671
6671
|
return chain;
|
|
6672
6672
|
};
|
|
@@ -82442,13 +82442,13 @@ function getChunkFileName(file, facadeChunkByModule) {
|
|
|
82442
82442
|
}
|
|
82443
82443
|
return error(logChunkNotGeneratedForFileName(file.fileName || file.name));
|
|
82444
82444
|
}
|
|
82445
|
-
function getLogHandler(level, code,
|
|
82445
|
+
function getLogHandler(level, code, logger2, pluginName, logLevel) {
|
|
82446
82446
|
if (logLevelPriority[level] < logLevelPriority[logLevel]) {
|
|
82447
82447
|
return doNothing;
|
|
82448
82448
|
}
|
|
82449
82449
|
return (log, pos) => {
|
|
82450
82450
|
if (pos != null) {
|
|
82451
|
-
|
|
82451
|
+
logger2(LOGLEVEL_WARN, logInvalidLogPosition(pluginName));
|
|
82452
82452
|
}
|
|
82453
82453
|
log = normalizeLog(log);
|
|
82454
82454
|
if (log.code && !log.pluginCode) {
|
|
@@ -82456,7 +82456,7 @@ function getLogHandler(level, code, logger3, pluginName, logLevel) {
|
|
|
82456
82456
|
}
|
|
82457
82457
|
log.code = code;
|
|
82458
82458
|
log.plugin = pluginName;
|
|
82459
|
-
|
|
82459
|
+
logger2(level, log);
|
|
82460
82460
|
};
|
|
82461
82461
|
}
|
|
82462
82462
|
function getPluginContext(plugin, pluginCache, graph, options, fileEmitter, existingPluginNames) {
|
|
@@ -82615,7 +82615,7 @@ async function initWasm() {
|
|
|
82615
82615
|
function getLogger(plugins, onLog, watchMode, logLevel) {
|
|
82616
82616
|
plugins = getSortedValidatedPlugins("onLog", plugins);
|
|
82617
82617
|
const minimalPriority = logLevelPriority[logLevel];
|
|
82618
|
-
const
|
|
82618
|
+
const logger2 = (level, log, skipped = EMPTY_SET) => {
|
|
82619
82619
|
augmentLogMessage(log);
|
|
82620
82620
|
const logPriority = logLevelPriority[level];
|
|
82621
82621
|
if (logPriority < minimalPriority) {
|
|
@@ -82629,7 +82629,7 @@ function getLogger(plugins, onLog, watchMode, logLevel) {
|
|
|
82629
82629
|
if (logLevelPriority[level2] < minimalPriority) {
|
|
82630
82630
|
return doNothing;
|
|
82631
82631
|
}
|
|
82632
|
-
return (log2) =>
|
|
82632
|
+
return (log2) => logger2(level2, normalizeLog(log2), new Set(skipped).add(plugin));
|
|
82633
82633
|
};
|
|
82634
82634
|
const handler = "handler" in pluginOnLog ? pluginOnLog.handler : pluginOnLog;
|
|
82635
82635
|
if (handler.call({
|
|
@@ -82644,7 +82644,7 @@ function getLogger(plugins, onLog, watchMode, logLevel) {
|
|
|
82644
82644
|
}
|
|
82645
82645
|
onLog(level, log);
|
|
82646
82646
|
};
|
|
82647
|
-
return
|
|
82647
|
+
return logger2;
|
|
82648
82648
|
}
|
|
82649
82649
|
function ensureArray(items) {
|
|
82650
82650
|
if (Array.isArray(items)) {
|
|
@@ -82834,16 +82834,16 @@ async function getInputOptions(initialInputOptions, watchMode) {
|
|
|
82834
82834
|
async function getProcessedInputOptions(inputOptions, watchMode) {
|
|
82835
82835
|
const plugins = getSortedValidatedPlugins("options", await normalizePluginOption(inputOptions.plugins));
|
|
82836
82836
|
const logLevel = inputOptions.logLevel || LOGLEVEL_INFO;
|
|
82837
|
-
const
|
|
82837
|
+
const logger2 = getLogger(plugins, getOnLog(inputOptions, logLevel), watchMode, logLevel);
|
|
82838
82838
|
for (const plugin of plugins) {
|
|
82839
82839
|
const { name, options } = plugin;
|
|
82840
82840
|
const handler = "handler" in options ? options.handler : options;
|
|
82841
82841
|
const processedOptions = await handler.call({
|
|
82842
|
-
debug: getLogHandler(LOGLEVEL_DEBUG, "PLUGIN_LOG",
|
|
82842
|
+
debug: getLogHandler(LOGLEVEL_DEBUG, "PLUGIN_LOG", logger2, name, logLevel),
|
|
82843
82843
|
error: (error_) => error(logPluginError(normalizeLog(error_), name, { hook: "onLog" })),
|
|
82844
|
-
info: getLogHandler(LOGLEVEL_INFO, "PLUGIN_LOG",
|
|
82844
|
+
info: getLogHandler(LOGLEVEL_INFO, "PLUGIN_LOG", logger2, name, logLevel),
|
|
82845
82845
|
meta: { rollupVersion: version3, watchMode },
|
|
82846
|
-
warn: getLogHandler(LOGLEVEL_WARN, "PLUGIN_WARNING",
|
|
82846
|
+
warn: getLogHandler(LOGLEVEL_WARN, "PLUGIN_WARNING", logger2, name, logLevel)
|
|
82847
82847
|
}, inputOptions);
|
|
82848
82848
|
if (processedOptions) {
|
|
82849
82849
|
inputOptions = processedOptions;
|
|
@@ -153611,7 +153611,7 @@ var require_config_chain = __commonJS({
|
|
|
153611
153611
|
return null;
|
|
153612
153612
|
}
|
|
153613
153613
|
const chain = emptyChain();
|
|
153614
|
-
const
|
|
153614
|
+
const logger2 = createLogger(input, context, baseLogger);
|
|
153615
153615
|
for (const {
|
|
153616
153616
|
config,
|
|
153617
153617
|
index,
|
|
@@ -153620,7 +153620,7 @@ var require_config_chain = __commonJS({
|
|
|
153620
153620
|
if (!(yield* mergeExtendsChain(chain, config.options, dirname8, context, files, baseLogger))) {
|
|
153621
153621
|
return null;
|
|
153622
153622
|
}
|
|
153623
|
-
|
|
153623
|
+
logger2(config, index, envName);
|
|
153624
153624
|
yield* mergeChainOpts(chain, config);
|
|
153625
153625
|
}
|
|
153626
153626
|
return chain;
|
|
@@ -175226,8 +175226,8 @@ ${lanes.join("\n")}
|
|
|
175226
175226
|
function sysLog(s2) {
|
|
175227
175227
|
return curSysLog(s2);
|
|
175228
175228
|
}
|
|
175229
|
-
function setSysLog(
|
|
175230
|
-
curSysLog =
|
|
175229
|
+
function setSysLog(logger2) {
|
|
175230
|
+
curSysLog = logger2;
|
|
175231
175231
|
}
|
|
175232
175232
|
function createDirectoryWatcherSupportingRecursive({
|
|
175233
175233
|
watchDirectory,
|
|
@@ -360485,13 +360485,13 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
360485
360485
|
return [];
|
|
360486
360486
|
}
|
|
360487
360487
|
var ThrottledOperations = class _ThrottledOperations {
|
|
360488
|
-
constructor(host,
|
|
360488
|
+
constructor(host, logger2) {
|
|
360489
360489
|
this.host = host;
|
|
360490
360490
|
this.pendingTimeouts = /* @__PURE__ */ new Map();
|
|
360491
|
-
this.logger =
|
|
360491
|
+
this.logger = logger2.hasLevel(
|
|
360492
360492
|
3
|
|
360493
360493
|
/* verbose */
|
|
360494
|
-
) ?
|
|
360494
|
+
) ? logger2 : void 0;
|
|
360495
360495
|
}
|
|
360496
360496
|
/**
|
|
360497
360497
|
* Wait `number` milliseconds and then invoke `cb`. If, while waiting, schedule
|
|
@@ -360527,10 +360527,10 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
360527
360527
|
}
|
|
360528
360528
|
};
|
|
360529
360529
|
var GcTimer = class _GcTimer {
|
|
360530
|
-
constructor(host, delay,
|
|
360530
|
+
constructor(host, delay, logger2) {
|
|
360531
360531
|
this.host = host;
|
|
360532
360532
|
this.delay = delay;
|
|
360533
|
-
this.logger =
|
|
360533
|
+
this.logger = logger2;
|
|
360534
360534
|
}
|
|
360535
360535
|
scheduleCollect() {
|
|
360536
360536
|
if (!this.host.gc || this.timerId !== void 0) {
|
|
@@ -367575,14 +367575,14 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
367575
367575
|
return edits.every((edit) => textSpanEnd(edit.span) < pos);
|
|
367576
367576
|
}
|
|
367577
367577
|
var CommandNames = CommandTypes;
|
|
367578
|
-
function formatMessage2(msg,
|
|
367579
|
-
const verboseLogging =
|
|
367578
|
+
function formatMessage2(msg, logger2, byteLength, newLine) {
|
|
367579
|
+
const verboseLogging = logger2.hasLevel(
|
|
367580
367580
|
3
|
|
367581
367581
|
/* verbose */
|
|
367582
367582
|
);
|
|
367583
367583
|
const json2 = JSON.stringify(msg);
|
|
367584
367584
|
if (verboseLogging) {
|
|
367585
|
-
|
|
367585
|
+
logger2.info(`${msg.type}:${stringifyIndented(msg)}`);
|
|
367586
367586
|
}
|
|
367587
367587
|
const len = byteLength(json2, "utf8");
|
|
367588
367588
|
return `Content-Length: ${1 + len}\r
|
|
@@ -367730,7 +367730,7 @@ ${json2}${newLine}`;
|
|
|
367730
367730
|
const info = infos && firstOrUndefined(infos);
|
|
367731
367731
|
return info && !info.isLocal ? { fileName: info.fileName, pos: info.textSpan.start } : void 0;
|
|
367732
367732
|
}
|
|
367733
|
-
function getReferencesWorker(projects, defaultProject, initialLocation, useCaseSensitiveFileNames2,
|
|
367733
|
+
function getReferencesWorker(projects, defaultProject, initialLocation, useCaseSensitiveFileNames2, logger2) {
|
|
367734
367734
|
var _a, _b;
|
|
367735
367735
|
const perProjectResults = getPerProjectReferences(
|
|
367736
367736
|
projects,
|
|
@@ -367739,7 +367739,7 @@ ${json2}${newLine}`;
|
|
|
367739
367739
|
/*isForRename*/
|
|
367740
367740
|
false,
|
|
367741
367741
|
(project, position) => {
|
|
367742
|
-
|
|
367742
|
+
logger2.info(`Finding references to ${position.fileName} position ${position.pos} in project ${project.getProjectName()}`);
|
|
367743
367743
|
return project.getLanguageService().findReferences(position.fileName, position.pos);
|
|
367744
367744
|
},
|
|
367745
367745
|
(referencedSymbol, cb) => {
|
|
@@ -371998,9 +371998,9 @@ ${e2.message}`;
|
|
|
371998
371998
|
}
|
|
371999
371999
|
};
|
|
372000
372000
|
var _TypingsInstallerAdapter = class _TypingsInstallerAdapter2 {
|
|
372001
|
-
constructor(telemetryEnabled,
|
|
372001
|
+
constructor(telemetryEnabled, logger2, host, globalTypingsCacheLocation, event, maxActiveRequestCount) {
|
|
372002
372002
|
this.telemetryEnabled = telemetryEnabled;
|
|
372003
|
-
this.logger =
|
|
372003
|
+
this.logger = logger2;
|
|
372004
372004
|
this.host = host;
|
|
372005
372005
|
this.globalTypingsCacheLocation = globalTypingsCacheLocation;
|
|
372006
372006
|
this.event = event;
|
|
@@ -435914,6 +435914,10 @@ var executor_default2 = withRunExecutor(
|
|
|
435914
435914
|
);
|
|
435915
435915
|
|
|
435916
435916
|
// packages/workspace-tools/src/executors/rollup/executor.ts
|
|
435917
|
+
var import_async_iterable = require("@nx/devkit/src/utils/async-iterable");
|
|
435918
|
+
var import_config_utils = require("@nx/devkit/src/utils/config-utils");
|
|
435919
|
+
var import_buildable_libs_utils2 = require("@nx/js/src/utils/buildable-libs-utils");
|
|
435920
|
+
var import_generate_package_json2 = require("@nx/rollup/src/plugins/package-json/generate-package-json");
|
|
435917
435921
|
var import_fs_extra2 = __toESM(require_lib3());
|
|
435918
435922
|
var import_path5 = require("path");
|
|
435919
435923
|
|
|
@@ -435922,12 +435926,6 @@ init_node_entry();
|
|
|
435922
435926
|
init_parseAst();
|
|
435923
435927
|
var import_native4 = __toESM(require_native(), 1);
|
|
435924
435928
|
|
|
435925
|
-
// packages/workspace-tools/src/executors/rollup/executor.ts
|
|
435926
|
-
var import_async_iterable = require("@nx/devkit/src/utils/async-iterable");
|
|
435927
|
-
var import_config_utils = require("@nx/devkit/src/utils/config-utils");
|
|
435928
|
-
var import_buildable_libs_utils2 = require("@nx/js/src/utils/buildable-libs-utils");
|
|
435929
|
-
var import_generate_package_json2 = require("@nx/rollup/src/plugins/package-json/generate-package-json");
|
|
435930
|
-
|
|
435931
435929
|
// packages/workspace-tools/src/executors/rollup/utils/get-options.ts
|
|
435932
435930
|
var import_devkit7 = require("@nx/devkit");
|
|
435933
435931
|
var import_type_definitions = require("@nx/js/src/plugins/rollup/type-definitions");
|
|
@@ -437508,7 +437506,8 @@ function analyze() {
|
|
|
437508
437506
|
}
|
|
437509
437507
|
};
|
|
437510
437508
|
}
|
|
437511
|
-
function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
|
|
437509
|
+
async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
|
|
437510
|
+
const { writeWarning: writeWarning2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
437512
437511
|
const finalConfig = { ...rollupConfig };
|
|
437513
437512
|
const projectNode = getProjectNode();
|
|
437514
437513
|
const projectRoot = (0, import_node_path14.join)(import_devkit7.workspaceRoot, projectNode.data.root);
|
|
@@ -437557,8 +437556,9 @@ function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
|
|
|
437557
437556
|
options.format = readCompatibleFormats(tsConfig);
|
|
437558
437557
|
}
|
|
437559
437558
|
if (rollupConfig.input && (options.main || (options.additionalEntryPoints ?? []).length > 0)) {
|
|
437560
|
-
|
|
437561
|
-
`Setting "input" in rollup config overrides "main" and "additionalEntryPoints" options
|
|
437559
|
+
writeWarning2(
|
|
437560
|
+
`Setting "input" in rollup config overrides "main" and "additionalEntryPoints" options.`,
|
|
437561
|
+
config
|
|
437562
437562
|
);
|
|
437563
437563
|
}
|
|
437564
437564
|
finalConfig.input = rollupConfig.input || createInput(options);
|
|
@@ -437569,8 +437569,9 @@ function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
|
|
|
437569
437569
|
);
|
|
437570
437570
|
}
|
|
437571
437571
|
if (rollupConfig.output?.format || rollupConfig.output?.dir) {
|
|
437572
|
-
|
|
437573
|
-
`"output.dir" and "output.format" are overridden by "withNx"
|
|
437572
|
+
writeWarning2(
|
|
437573
|
+
`"output.dir" and "output.format" are overridden by "withNx".`,
|
|
437574
|
+
config
|
|
437574
437575
|
);
|
|
437575
437576
|
}
|
|
437576
437577
|
finalConfig.output = options.format.map((format3) => ({
|
|
@@ -437597,15 +437598,17 @@ function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
|
|
|
437597
437598
|
packageJson = (0, import_devkit7.readJsonFile)(packageJsonPath);
|
|
437598
437599
|
if (packageJson.type === "module") {
|
|
437599
437600
|
if (options.format.includes("cjs")) {
|
|
437600
|
-
|
|
437601
|
-
`Package type is set to "module" but "cjs" format is included. Going to use "esm" format instead. You can change the package type to "commonjs" or remove type in the package.json file
|
|
437601
|
+
writeWarning2(
|
|
437602
|
+
`Package type is set to "module" but "cjs" format is included. Going to use "esm" format instead. You can change the package type to "commonjs" or remove type in the package.json file.`,
|
|
437603
|
+
config
|
|
437602
437604
|
);
|
|
437603
437605
|
}
|
|
437604
437606
|
options.format = ["esm"];
|
|
437605
437607
|
} else if (packageJson.type === "commonjs") {
|
|
437606
437608
|
if (options.format.includes("esm")) {
|
|
437607
|
-
|
|
437608
|
-
`Package type is set to "commonjs" but "esm" format is included. Going to use "cjs" format instead. You can change the package type to "module" or remove type in the package.json file
|
|
437609
|
+
writeWarning2(
|
|
437610
|
+
`Package type is set to "commonjs" but "esm" format is included. Going to use "cjs" format instead. You can change the package type to "module" or remove type in the package.json file.`,
|
|
437611
|
+
config
|
|
437609
437612
|
);
|
|
437610
437613
|
}
|
|
437611
437614
|
options.format = ["cjs"];
|
|
@@ -437644,7 +437647,7 @@ function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
|
|
|
437644
437647
|
check: !options.skipTypeCheck,
|
|
437645
437648
|
tsconfig: options.tsConfig,
|
|
437646
437649
|
tsconfigOverride: {
|
|
437647
|
-
compilerOptions: createTsCompilerOptions(
|
|
437650
|
+
compilerOptions: await createTsCompilerOptions(
|
|
437648
437651
|
tsConfig,
|
|
437649
437652
|
options,
|
|
437650
437653
|
dependencies,
|
|
@@ -437713,15 +437716,17 @@ function createInput(options) {
|
|
|
437713
437716
|
});
|
|
437714
437717
|
return input;
|
|
437715
437718
|
}
|
|
437716
|
-
function createTsCompilerOptions(parsedCommandLine, options, dependencies, config) {
|
|
437719
|
+
async function createTsCompilerOptions(parsedCommandLine, options, dependencies, config) {
|
|
437720
|
+
const { correctPaths: correctPaths2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
437717
437721
|
const compilerOptionPaths = (0, import_buildable_libs_utils.computeCompilerOptionsPaths)(
|
|
437718
437722
|
parsedCommandLine,
|
|
437719
437723
|
dependencies ?? []
|
|
437720
437724
|
);
|
|
437721
437725
|
const compilerOptions = {
|
|
437722
|
-
rootDir: config?.workspaceRoot,
|
|
437723
|
-
allowJs: options.allowJs,
|
|
437726
|
+
rootDir: correctPaths2(config?.workspaceRoot),
|
|
437724
437727
|
declaration: true,
|
|
437728
|
+
skipLibCheck: true,
|
|
437729
|
+
skipDefaultLibCheck: true,
|
|
437725
437730
|
paths: compilerOptionPaths
|
|
437726
437731
|
};
|
|
437727
437732
|
if (parsedCommandLine.options.module === ts.ModuleKind.CommonJS) {
|
|
@@ -437826,10 +437831,10 @@ ${formatLogMessage2(options)}`, config);
|
|
|
437826
437831
|
projectRoot: context.projectGraph?.nodes[context.projectName]?.data.root,
|
|
437827
437832
|
skipTypeCheck: options.skipTypeCheck || false,
|
|
437828
437833
|
logLevel: convertRollupLogLevel(config?.logLevel ?? "info"),
|
|
437829
|
-
onLog: (level, log
|
|
437834
|
+
onLog: (level, log) => {
|
|
437830
437835
|
writeTrace2(log, config);
|
|
437831
437836
|
},
|
|
437832
|
-
onwarn: (warning
|
|
437837
|
+
onwarn: (warning) => {
|
|
437833
437838
|
writeWarning2(warning, config);
|
|
437834
437839
|
},
|
|
437835
437840
|
perf: true,
|
|
@@ -437855,7 +437860,7 @@ ${formatLogMessage2(options)}`, config);
|
|
|
437855
437860
|
next2({ success: false });
|
|
437856
437861
|
}
|
|
437857
437862
|
});
|
|
437858
|
-
const processExitListener = (
|
|
437863
|
+
const processExitListener = () => () => {
|
|
437859
437864
|
watcher.close();
|
|
437860
437865
|
};
|
|
437861
437866
|
process.once("SIGTERM", processExitListener);
|
|
@@ -437893,6 +437898,21 @@ ${formatLogMessage2(options)}`, config);
|
|
|
437893
437898
|
}
|
|
437894
437899
|
}
|
|
437895
437900
|
async function createRollupOptions(options, context, config) {
|
|
437901
|
+
if (!context.projectGraph) {
|
|
437902
|
+
throw new Error("Nx project graph was not found");
|
|
437903
|
+
}
|
|
437904
|
+
if (!context.root) {
|
|
437905
|
+
throw new Error("Nx root was not found");
|
|
437906
|
+
}
|
|
437907
|
+
if (!context.projectName) {
|
|
437908
|
+
throw new Error("Nx project name was not found");
|
|
437909
|
+
}
|
|
437910
|
+
if (!context.targetName) {
|
|
437911
|
+
throw new Error("Nx target name was not found");
|
|
437912
|
+
}
|
|
437913
|
+
if (!context.configurationName) {
|
|
437914
|
+
throw new Error("Nx configuration name was not found");
|
|
437915
|
+
}
|
|
437896
437916
|
const { dependencies } = (0, import_buildable_libs_utils2.calculateProjectBuildableDependencies)(
|
|
437897
437917
|
context.taskGraph,
|
|
437898
437918
|
context.projectGraph,
|
|
@@ -437902,7 +437922,12 @@ async function createRollupOptions(options, context, config) {
|
|
|
437902
437922
|
context.configurationName,
|
|
437903
437923
|
true
|
|
437904
437924
|
);
|
|
437905
|
-
const rollupConfig = withRollupConfig(
|
|
437925
|
+
const rollupConfig = await withRollupConfig(
|
|
437926
|
+
options,
|
|
437927
|
+
{},
|
|
437928
|
+
dependencies,
|
|
437929
|
+
config
|
|
437930
|
+
);
|
|
437906
437931
|
const generatePackageJsonPlugin = Array.isArray(rollupConfig.plugins) ? rollupConfig.plugins.find(
|
|
437907
437932
|
(p2) => p2?.["name"] === import_generate_package_json2.pluginName
|
|
437908
437933
|
) : null;
|