clerc 1.1.0 → 1.2.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/chunk-CrfGjO3a.mjs +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -27
- package/package.json +9 -9
- package/dist/chunk-BwXVQOgl.mjs +0 -36
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n&&e(r,Symbol.toStringTag,{value:`Module`}),r},a=(i,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(var c=n(a),l=0,u=c.length,d;l<u;l++)d=c[l],!r.call(i,d)&&d!==o&&e(i,d,{get:(e=>a[e]).bind(null,d),enumerable:!(s=t(a,d))||s.enumerable});return i},o=(e,t,n)=>(a(e,t,`default`),n&&a(n,t,`default`));export{o as n,i as t};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __reExport, t as __exportAll } from "./chunk-
|
|
1
|
+
import { n as __reExport, t as __exportAll } from "./chunk-CrfGjO3a.mjs";
|
|
2
2
|
import { Clerc, CreateOptions } from "@clerc/core";
|
|
3
3
|
export * from "@clerc/core";
|
|
4
4
|
export * from "@clerc/plugin-help";
|
package/dist/index.mjs
CHANGED
|
@@ -1,27 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Clerc } from "@clerc/core";
|
|
3
|
-
import { helpPlugin } from "@clerc/plugin-help";
|
|
4
|
-
import { versionPlugin } from "@clerc/plugin-version";
|
|
5
|
-
|
|
6
|
-
export * from "@clerc/core"
|
|
7
|
-
|
|
8
|
-
export * from "@clerc/plugin-help"
|
|
9
|
-
|
|
10
|
-
export * from "@clerc/plugin-version"
|
|
11
|
-
|
|
12
|
-
export * from "@clerc/plugin-completions"
|
|
13
|
-
|
|
14
|
-
export * from "@clerc/plugin-friendly-error"
|
|
15
|
-
|
|
16
|
-
export * from "@clerc/plugin-not-found"
|
|
17
|
-
|
|
18
|
-
export * from "@clerc/plugin-strict-flags"
|
|
19
|
-
|
|
20
|
-
export * from "@clerc/plugin-update-notifier"
|
|
21
|
-
|
|
22
|
-
//#region src/index.ts
|
|
23
|
-
var src_exports = /* @__PURE__ */ __exportAll({ Cli: () => Cli });
|
|
24
|
-
const Cli = (options) => Clerc.create(options).use(versionPlugin()).use(helpPlugin());
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
|
-
export { Cli };
|
|
1
|
+
import{n as e,t}from"./chunk-CrfGjO3a.mjs";import{Clerc as n}from"@clerc/core";import{helpPlugin as r}from"@clerc/plugin-help";import{versionPlugin as i}from"@clerc/plugin-version";export*from"@clerc/core";export*from"@clerc/plugin-help";export*from"@clerc/plugin-version";export*from"@clerc/plugin-completions";export*from"@clerc/plugin-friendly-error";export*from"@clerc/plugin-not-found";export*from"@clerc/plugin-strict-flags";export*from"@clerc/plugin-update-notifier";const a=e=>n.create(e).use(i()).use(r());export{a as Cli};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clerc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"author": "Ray <i@mk1.io> (https://github.com/so1ve)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Clerc: The full-featured cli library.",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@clerc/
|
|
41
|
-
"@clerc/
|
|
42
|
-
"@clerc/plugin-
|
|
43
|
-
"@clerc/plugin-
|
|
44
|
-
"@clerc/plugin-
|
|
45
|
-
"@clerc/plugin-not-found": "1.
|
|
46
|
-
"@clerc/plugin-
|
|
47
|
-
"@clerc/plugin-
|
|
40
|
+
"@clerc/plugin-completions": "1.2.0",
|
|
41
|
+
"@clerc/core": "1.2.0",
|
|
42
|
+
"@clerc/plugin-friendly-error": "1.2.0",
|
|
43
|
+
"@clerc/plugin-help": "1.2.0",
|
|
44
|
+
"@clerc/plugin-strict-flags": "1.2.0",
|
|
45
|
+
"@clerc/plugin-not-found": "1.2.0",
|
|
46
|
+
"@clerc/plugin-update-notifier": "1.2.0",
|
|
47
|
+
"@clerc/plugin-version": "1.2.0"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/dist/chunk-BwXVQOgl.mjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __exportAll = (all, symbols) => {
|
|
7
|
-
let target = {};
|
|
8
|
-
for (var name in all) {
|
|
9
|
-
__defProp(target, name, {
|
|
10
|
-
get: all[name],
|
|
11
|
-
enumerable: true
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
if (symbols) {
|
|
15
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
-
}
|
|
17
|
-
return target;
|
|
18
|
-
};
|
|
19
|
-
var __copyProps = (to, from, except, desc) => {
|
|
20
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
22
|
-
key = keys[i];
|
|
23
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
24
|
-
__defProp(to, key, {
|
|
25
|
-
get: ((k) => from[k]).bind(null, key),
|
|
26
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return to;
|
|
32
|
-
};
|
|
33
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
34
|
-
|
|
35
|
-
//#endregion
|
|
36
|
-
export { __reExport as n, __exportAll as t };
|