@ttmg/cli 0.1.1 → 0.1.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/CHANGELOG.md +3 -0
- package/dist/index.js +3 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -401,9 +401,6 @@ To update, run: ${chalk.magenta(`npm i -g ${pkgName}`)}
|
|
|
401
401
|
borderColor: 'yellowBright',
|
|
402
402
|
}));
|
|
403
403
|
}
|
|
404
|
-
else {
|
|
405
|
-
console.log(chalk.green('已是最新版本!'));
|
|
406
|
-
}
|
|
407
404
|
}
|
|
408
405
|
|
|
409
406
|
var libs = /*#__PURE__*/Object.freeze({
|
|
@@ -1103,7 +1100,8 @@ class WsServer {
|
|
|
1103
1100
|
if (from === 'browser') {
|
|
1104
1101
|
const method = clientMessage.method;
|
|
1105
1102
|
switch (method) {
|
|
1106
|
-
case '
|
|
1103
|
+
case 'startUpload':
|
|
1104
|
+
console.log('startUpload');
|
|
1107
1105
|
this.sendUploadStatus('start');
|
|
1108
1106
|
uploadGame(({ status, percent, msg }) => {
|
|
1109
1107
|
if (status === 'process') {
|
|
@@ -1295,7 +1293,7 @@ async function dev() {
|
|
|
1295
1293
|
await watchChange();
|
|
1296
1294
|
}
|
|
1297
1295
|
|
|
1298
|
-
var version = "0.1.
|
|
1296
|
+
var version = "0.1.2";
|
|
1299
1297
|
var pkg = {
|
|
1300
1298
|
version: version};
|
|
1301
1299
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttmg/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "TikTok Mini Game Command Line Tool",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"bin": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"open": "^10.2.0",
|
|
43
43
|
"prettier": "^3.6.2",
|
|
44
44
|
"qrcode-terminal": "^0.12.0",
|
|
45
|
-
"ttmg-pack": "
|
|
45
|
+
"ttmg-pack": "0.0.22",
|
|
46
46
|
"ws": "^8.18.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|