@clerc/plugin-completions 0.12.2 → 0.12.4
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -114,7 +114,7 @@ const completionsPlugin = (options = {}) => definePlugin({
|
|
|
114
114
|
throw new Error("Missing shell name");
|
|
115
115
|
}
|
|
116
116
|
if (shell in completionMap) {
|
|
117
|
-
|
|
117
|
+
process.stdout.write(completionMap[shell](ctx));
|
|
118
118
|
} else {
|
|
119
119
|
throw new Error(`No such shell: ${shell}`);
|
|
120
120
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -114,7 +114,7 @@ const completionsPlugin = (options = {}) => definePlugin({
|
|
|
114
114
|
throw new Error("Missing shell name");
|
|
115
115
|
}
|
|
116
116
|
if (shell in completionMap) {
|
|
117
|
-
|
|
117
|
+
process.stdout.write(completionMap[shell](ctx));
|
|
118
118
|
} else {
|
|
119
119
|
throw new Error(`No such shell: ${shell}`);
|
|
120
120
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clerc/plugin-completions",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"author": "Ray <nn_201312@163.com> (https://github.com/so1ve)",
|
|
5
5
|
"description": "Clerc plugin completions",
|
|
6
6
|
"keywords": [
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"@clerc/core": "*"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@clerc/utils": "0.12.
|
|
54
|
+
"@clerc/utils": "0.12.4"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@clerc/core": "0.12.
|
|
57
|
+
"@clerc/core": "0.12.4"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "puild",
|