kirbyup 3.1.9 → 3.1.11

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/node/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { cac } from 'cac';
2
- import { n as name, b as build, s as serve, v as version, h as handleError } from '../shared/kirbyup.XT8XBlyG.mjs';
2
+ import { n as name, b as build, s as serve, v as version, h as handleError } from '../shared/kirbyup.98Dqv1XN.mjs';
3
3
  import 'node:fs';
4
4
  import 'node:fs/promises';
5
5
  import 'pathe';
@@ -10,7 +10,7 @@ import '@vitejs/plugin-vue2';
10
10
  import '@vitejs/plugin-vue2-jsx';
11
11
  import 'vite-plugin-full-reload';
12
12
  import 'rollup-plugin-external-globals';
13
- export { b as build, s as serve } from '../shared/kirbyup.XT8XBlyG.mjs';
13
+ export { b as build, s as serve } from '../shared/kirbyup.98Dqv1XN.mjs';
14
14
  import 'node:zlib';
15
15
  import 'node:util';
16
16
  import 'node:buffer';
@@ -21,7 +21,7 @@ import MagicString from 'magic-string';
21
21
  import 'node:module';
22
22
 
23
23
  const name = "kirbyup";
24
- const version = "3.1.9";
24
+ const version = "3.1.11";
25
25
 
26
26
  class PrettyError extends Error {
27
27
  constructor(message) {
@@ -355,11 +355,11 @@ function kirbyupBuildCleanupPlugin(options) {
355
355
 
356
356
  let resolvedKirbyupConfig;
357
357
  let resolvedPostCssConfig;
358
- const logger = createLogger();
358
+ const logLevel = "warn";
359
+ const logger = createLogger(logLevel);
359
360
  const loggerWarn = logger.warn;
360
361
  logger.warn = (msg, options) => {
361
- if (msg.startsWith(`
362
- (!) build.outDir must not be`))
362
+ if (msg.includes("(!) build.outDir"))
363
363
  return;
364
364
  loggerWarn(msg, options);
365
365
  };
@@ -386,7 +386,7 @@ function getViteConfig(command, options) {
386
386
  css: { postcss: resolvedPostCssConfig },
387
387
  envPrefix: ["VITE_", "KIRBYUP_"],
388
388
  customLogger: logger,
389
- logLevel: "warn"
389
+ logLevel
390
390
  };
391
391
  if (command === "serve") {
392
392
  const { port, watch } = options;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kirbyup",
3
3
  "type": "module",
4
- "version": "3.1.9",
4
+ "version": "3.1.11",
5
5
  "packageManager": "pnpm@9.5.0",
6
6
  "description": "Zero-config bundler for Kirby Panel plugins",
7
7
  "author": {