kirbyup 2.1.0-beta.0 → 2.1.0-beta.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/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.59842435.mjs';
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'node:fs/promises';
|
|
5
5
|
import 'pathe';
|
package/dist/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import 'vite-plugin-full-reload';
|
|
|
12
12
|
import 'postcss-load-config';
|
|
13
13
|
import 'postcss-logical';
|
|
14
14
|
import 'postcss-dir-pseudo-class';
|
|
15
|
-
export { b as build, s as serve } from './shared/kirbyup.
|
|
15
|
+
export { b as build, s as serve } from './shared/kirbyup.59842435.mjs';
|
|
16
16
|
import 'zlib';
|
|
17
17
|
import 'util';
|
|
18
18
|
import 'fs';
|
|
@@ -20,7 +20,7 @@ import MagicString from 'magic-string';
|
|
|
20
20
|
import { detect } from 'detect-package-manager';
|
|
21
21
|
|
|
22
22
|
const name = "kirbyup";
|
|
23
|
-
const version = "2.1.0-beta.
|
|
23
|
+
const version = "2.1.0-beta.1";
|
|
24
24
|
|
|
25
25
|
class PrettyError extends Error {
|
|
26
26
|
constructor(message) {
|
|
@@ -103,6 +103,7 @@ const HMR_RUNTIME_ID = "\0plugin-vue2:hmr-runtime";
|
|
|
103
103
|
const JSX_HMR_RUNTIME_ID = "plugin-vue2-jsx:hmr-runtime";
|
|
104
104
|
const isHmrRuntimeId = (id) => id === HMR_RUNTIME_ID || id === JSX_HMR_RUNTIME_ID;
|
|
105
105
|
const __INJECTED_HMR_CODE__ = `
|
|
106
|
+
/** - injected by kirbyup - */
|
|
106
107
|
for (const methodName of ['rerender', 'reload']) {
|
|
107
108
|
const original = __VUE_HMR_RUNTIME__[methodName]
|
|
108
109
|
|
|
@@ -117,10 +118,11 @@ for (const methodName of ['rerender', 'reload']) {
|
|
|
117
118
|
if (updatedDef[key] === pluginComponents[componentName][key]) {
|
|
118
119
|
const usedDefinition = usedComponentDefs[componentName].options
|
|
119
120
|
|
|
120
|
-
if (map[id].options !== usedDefinition)
|
|
121
|
+
if (map[id].options !== usedDefinition)
|
|
121
122
|
map[id].options = usedDefinition
|
|
123
|
+
|
|
124
|
+
if (typeof map[id].options.$_isSection !== 'boolean')
|
|
122
125
|
map[id].options.$_isSection = /^k-.*-section$/.test(componentName)
|
|
123
|
-
}
|
|
124
126
|
|
|
125
127
|
break
|
|
126
128
|
}
|
|
@@ -155,7 +157,7 @@ function $_applyKirbyModifications(activeDef, newDef) {
|
|
|
155
157
|
else { newDef.extends = null }
|
|
156
158
|
}
|
|
157
159
|
}
|
|
158
|
-
/** */
|
|
160
|
+
/** -- */
|
|
159
161
|
`;
|
|
160
162
|
|
|
161
163
|
function kirbyupAutoImportPlugin() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kirbyup",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.1",
|
|
4
4
|
"packageManager": "pnpm@7.13.1",
|
|
5
5
|
"description": "Zero-config bundler for Kirby Panel plugins",
|
|
6
6
|
"author": {
|
|
@@ -14,9 +14,7 @@
|
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git+https://github.com/johannschopplich/kirbyup.git"
|
|
16
16
|
},
|
|
17
|
-
"bugs":
|
|
18
|
-
"url": "https://github.com/johannschopplich/kirbyup/issues"
|
|
19
|
-
},
|
|
17
|
+
"bugs": "https://github.com/johannschopplich/kirbyup/issues",
|
|
20
18
|
"keywords": [
|
|
21
19
|
"kirby-cms",
|
|
22
20
|
"kirby-plugin",
|