kirbyup 2.2.1 → 3.0.0
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.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.
|
|
2
|
+
import { n as name, b as build, s as serve, v as version, h as handleError } from './shared/kirbyup.330155d0.mjs';
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'node:fs/promises';
|
|
5
5
|
import 'pathe';
|
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import 'rollup-plugin-external-globals';
|
|
|
13
13
|
import 'postcss-load-config';
|
|
14
14
|
import 'postcss-logical';
|
|
15
15
|
import 'postcss-dir-pseudo-class';
|
|
16
|
-
export { b as build, s as serve } from './shared/kirbyup.
|
|
16
|
+
export { b as build, s as serve } from './shared/kirbyup.330155d0.mjs';
|
|
17
17
|
import 'node:zlib';
|
|
18
18
|
import 'node:util';
|
|
19
19
|
import 'node:buffer';
|
|
@@ -21,7 +21,7 @@ import MagicString from 'magic-string';
|
|
|
21
21
|
import { detect } from 'detect-package-manager';
|
|
22
22
|
|
|
23
23
|
const name = "kirbyup";
|
|
24
|
-
const version = "
|
|
24
|
+
const version = "3.0.0";
|
|
25
25
|
|
|
26
26
|
class PrettyError extends Error {
|
|
27
27
|
constructor(message) {
|
|
@@ -365,7 +365,7 @@ async function build(options) {
|
|
|
365
365
|
const { config, sources: configSources } = await loadConfig(cwd);
|
|
366
366
|
resolvedKirbyupConfig = config;
|
|
367
367
|
try {
|
|
368
|
-
resolvedPostCssConfig = await postcssrc({});
|
|
368
|
+
resolvedPostCssConfig = await postcssrc(void 0, void 0, { stopDir: cwd });
|
|
369
369
|
} catch (err) {
|
|
370
370
|
if (!/No PostCSS Config found/.test(err.message))
|
|
371
371
|
throw err;
|
|
@@ -428,7 +428,7 @@ async function serve(options) {
|
|
|
428
428
|
const { config } = await loadConfig(cwd);
|
|
429
429
|
resolvedKirbyupConfig = config;
|
|
430
430
|
try {
|
|
431
|
-
resolvedPostCssConfig = await postcssrc({});
|
|
431
|
+
resolvedPostCssConfig = await postcssrc(void 0, void 0, { stopDir: cwd });
|
|
432
432
|
} catch (err) {
|
|
433
433
|
if (!/No PostCSS Config found/.test(err.message))
|
|
434
434
|
throw err;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kirbyup",
|
|
3
|
-
"version": "
|
|
4
|
-
"packageManager": "pnpm@8.6.
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"packageManager": "pnpm@8.6.3",
|
|
5
5
|
"description": "Zero-config bundler for Kirby Panel plugins",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Johann Schopplich",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"postcss-load-config": "^4.0.1",
|
|
85
85
|
"postcss-logical": "^6.2.0",
|
|
86
86
|
"rollup-plugin-external-globals": "^0.8.0",
|
|
87
|
-
"sass": "^1.63.
|
|
87
|
+
"sass": "^1.63.4",
|
|
88
88
|
"unconfig": "^0.3.9",
|
|
89
89
|
"vite": "^4.3.9",
|
|
90
90
|
"vite-plugin-full-reload": "^1.0.5",
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
"devDependencies": {
|
|
94
94
|
"@antfu/eslint-config": "^0.38.6",
|
|
95
95
|
"@types/fs-extra": "^11.0.1",
|
|
96
|
-
"@types/node": "^18.16.
|
|
96
|
+
"@types/node": "^18.16.18",
|
|
97
97
|
"@types/prompts": "^2.4.4",
|
|
98
98
|
"bumpp": "^9.1.1",
|
|
99
|
-
"eslint": "^8.
|
|
99
|
+
"eslint": "^8.43.0",
|
|
100
100
|
"fast-glob": "^3.2.12",
|
|
101
101
|
"fs-extra": "^11.1.1",
|
|
102
102
|
"simple-git-hooks": "^2.8.1",
|