@nasti-toolchain/nasti 2.4.1 → 2.4.2
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/dist/cli.cjs +6 -6
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +6 -6
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5392,7 +5392,7 @@ async function build(inlineConfig = {}) {
|
|
|
5392
5392
|
const startTime = performance.now();
|
|
5393
5393
|
logger.info(
|
|
5394
5394
|
pc6.cyan(`
|
|
5395
|
-
nasti v${"2.4.
|
|
5395
|
+
nasti v${"2.4.2"} `) + pc6.green(`building for ${config.mode}...`)
|
|
5396
5396
|
);
|
|
5397
5397
|
debug6?.(`root: ${config.root}`);
|
|
5398
5398
|
const buildableNames = Object.keys(config.environments).filter((name) => {
|
|
@@ -6417,7 +6417,7 @@ async function createServer(inlineConfig = {}) {
|
|
|
6417
6417
|
const readyIn = Math.ceil(performance.now() - startTime);
|
|
6418
6418
|
logger.info(
|
|
6419
6419
|
`
|
|
6420
|
-
${pc8.cyan(pc8.bold("NASTI"))} ${pc8.cyan(`v${"2.4.
|
|
6420
|
+
${pc8.cyan(pc8.bold("NASTI"))} ${pc8.cyan(`v${"2.4.2"}`)} ${pc8.dim("ready in")} ${pc8.bold(readyIn)} ${pc8.dim("ms")}
|
|
6421
6421
|
`
|
|
6422
6422
|
);
|
|
6423
6423
|
printServerUrls(
|
|
@@ -6611,7 +6611,7 @@ async function buildElectron(inlineConfig = {}) {
|
|
|
6611
6611
|
const config = await resolveConfig({ ...inlineConfig, target: "electron" }, "build");
|
|
6612
6612
|
const startTime = performance.now();
|
|
6613
6613
|
assertElectronVersion(config);
|
|
6614
|
-
console.log(pc9.cyan("\n\u26A1 nasti build (electron)") + pc9.dim(` v${"2.4.
|
|
6614
|
+
console.log(pc9.cyan("\n\u26A1 nasti build (electron)") + pc9.dim(` v${"2.4.2"}`));
|
|
6615
6615
|
console.log(pc9.dim(` root: ${config.root}`));
|
|
6616
6616
|
console.log(pc9.dim(` mode: ${config.mode}`));
|
|
6617
6617
|
console.log(pc9.dim(` target: electron (\u2265 ${config.electron.minVersion})`));
|
|
@@ -6792,7 +6792,7 @@ async function startElectronDev(inlineConfig = {}) {
|
|
|
6792
6792
|
const { noSpawn, ...rest } = inlineConfig;
|
|
6793
6793
|
const config = await resolveConfig({ ...rest, target: "electron" }, "serve");
|
|
6794
6794
|
warnElectronVersion(config);
|
|
6795
|
-
console.log(pc10.cyan("\n\u26A1 nasti electron dev") + pc10.dim(` v${"2.4.
|
|
6795
|
+
console.log(pc10.cyan("\n\u26A1 nasti electron dev") + pc10.dim(` v${"2.4.2"}`));
|
|
6796
6796
|
const { createServer: createServer2 } = await Promise.resolve().then(() => (init_server(), server_exports));
|
|
6797
6797
|
const server = await createServer2({
|
|
6798
6798
|
...rest,
|
|
@@ -7149,7 +7149,7 @@ cli.command("preview [root]", "Preview production build").option("--port <port>"
|
|
|
7149
7149
|
const host = options.host === true ? "0.0.0.0" : options.host ?? "localhost";
|
|
7150
7150
|
http2.createServer(app).listen(port, host, () => {
|
|
7151
7151
|
logger.info(`
|
|
7152
|
-
${pc11.cyan(pc11.bold("NASTI"))} ${pc11.cyan(`v${"2.4.
|
|
7152
|
+
${pc11.cyan(pc11.bold("NASTI"))} ${pc11.cyan(`v${"2.4.2"}`)} ${pc11.dim("preview")}
|
|
7153
7153
|
`);
|
|
7154
7154
|
printServerUrls2(
|
|
7155
7155
|
{
|
|
@@ -7166,6 +7166,6 @@ cli.command("preview [root]", "Preview production build").option("--port <port>"
|
|
|
7166
7166
|
}
|
|
7167
7167
|
});
|
|
7168
7168
|
cli.help();
|
|
7169
|
-
cli.version("2.4.
|
|
7169
|
+
cli.version("2.4.2");
|
|
7170
7170
|
cli.parse();
|
|
7171
7171
|
//# sourceMappingURL=cli.js.map
|