kirbyup 0.21.0 → 0.22.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.js DELETED
@@ -1,32 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
-
4
-
5
-
6
-
7
-
8
-
9
- var _chunkMQ3IADSTjs = require('./chunk-MQ3IADST.js');
10
-
11
- // src/node/cli.ts
12
- _chunkMQ3IADSTjs.init_cjs_shims.call(void 0, );
13
- var _cac = require('cac');
14
- async function main(options = {}) {
15
- const cli = _cac.cac.call(void 0, _chunkMQ3IADSTjs.name);
16
- cli.command("[file]", "Panel input file", {
17
- ignoreOptionDefaultValue: true
18
- }).option("-d, --out-dir <dir>", "Output directory", {
19
- default: process.cwd()
20
- }).option("--watch [path]", 'Watch mode, if path is not specified, it watches the folder of the input file. Repeat "--watch" for multiple paths').action(async (file, flags) => {
21
- Object.assign(options, _chunkMQ3IADSTjs.__spreadValues.call(void 0, {}, flags));
22
- if (file) {
23
- options.entry = file;
24
- }
25
- await _chunkMQ3IADSTjs.build.call(void 0, options);
26
- });
27
- cli.help();
28
- cli.version(_chunkMQ3IADSTjs.version);
29
- cli.parse(process.argv, { run: false });
30
- await cli.runMatchedCommand();
31
- }
32
- main().catch(_chunkMQ3IADSTjs.handleError);
package/dist/index.js DELETED
@@ -1,8 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkMQ3IADSTjs = require('./chunk-MQ3IADST.js');
5
-
6
-
7
-
8
- exports.build = _chunkMQ3IADSTjs.build; exports.runViteBuild = _chunkMQ3IADSTjs.runViteBuild;