sunq-cli 0.0.2 → 0.0.3
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/bin/index.js +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/bin/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
import "../dist/index.js"; // 执行打包好的dist/index.cjs文件
|
package/dist/index.js
CHANGED
|
@@ -4165,7 +4165,7 @@ const {
|
|
|
4165
4165
|
Help,
|
|
4166
4166
|
} = commander;
|
|
4167
4167
|
|
|
4168
|
-
var version = "0.0.
|
|
4168
|
+
var version = "0.0.3";
|
|
4169
4169
|
|
|
4170
4170
|
const isUpKey = (key, keybindings = []) =>
|
|
4171
4171
|
// The up key
|
|
@@ -21105,6 +21105,15 @@ const templates = /* @__PURE__ */ new Map([
|
|
|
21105
21105
|
description: "vue3\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF\u6A21\u677F",
|
|
21106
21106
|
branch: "main"
|
|
21107
21107
|
}
|
|
21108
|
+
],
|
|
21109
|
+
[
|
|
21110
|
+
"react-ts-admin",
|
|
21111
|
+
{
|
|
21112
|
+
name: "react-ts-admin",
|
|
21113
|
+
downloadUrl: "https://github.com/sunqinginging/sq-react-admin.git",
|
|
21114
|
+
description: "react\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF\u6A21\u677F",
|
|
21115
|
+
branch: "master"
|
|
21116
|
+
}
|
|
21108
21117
|
]
|
|
21109
21118
|
]);
|
|
21110
21119
|
function isOverWrite(filename) {
|
|
@@ -21156,7 +21165,6 @@ async function create(projectName) {
|
|
|
21156
21165
|
templateSelectItem.branch
|
|
21157
21166
|
]);
|
|
21158
21167
|
}
|
|
21159
|
-
console.log(templateSelectItem);
|
|
21160
21168
|
}
|
|
21161
21169
|
|
|
21162
21170
|
const program = new Command("sq");
|