@neonwilderness/moveskins 1.1.0 → 1.1.1
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 +1 -1
- package/package.json +6 -3
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -186,7 +186,7 @@ var d = l(process.cwd(), "skins"), f = l(process.cwd(), "backup"), p = l(d, "ski
|
|
|
186
186
|
type: "boolean"
|
|
187
187
|
}
|
|
188
188
|
}).argv;
|
|
189
|
-
u(), !w.from && !w.to && (console.log("Desired action must be specified with --from=dev|prod or --to=dev|prod"), process.exit(1)), w.from && w.to && (console.log("You cannot specify --from=dev|prod AND --to=dev|prod in one run"), process.exit(1)), w.compare && !w.to && (console.log("You must specify a target platform with --to=dev|prod when comparing skins"), process.exit(1)), w.alias || (console.log("You must specify the desired alias(es) with --alias=name1,name2,... OR --alias=*"), process.exit(1));
|
|
189
|
+
u(), !w.from && !w.to && (console.log("Desired action must be specified with --from=dev|prod or --to=dev|prod"), process.exit(1)), w.from && w.to && (console.log("You cannot specify --from=dev|prod AND --to=dev|prod in one run"), process.exit(1)), w.compare && !w.to && (console.log("You must specify a target platform with --to=dev|prod when comparing skins"), process.exit(1)), w.alias || (console.log("You must specify the desired alias(es) with --alias=name1[,name2,...] OR --alias=*"), process.exit(1));
|
|
190
190
|
var T = (w.from || w.to).toLowerCase(), E = new n.Twoday(T, { delay: 100 }), D = w.alias === "*" ? [
|
|
191
191
|
"www",
|
|
192
192
|
"info",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neonwilderness/moveskins",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Download/Upload/Compare modified skins for selected aliases on Twoday",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antville",
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
23
|
"exports": "./dist/index.js",
|
|
24
|
+
"bin": {
|
|
25
|
+
"moveskins": "./dist/index.js"
|
|
26
|
+
},
|
|
24
27
|
"scripts": {
|
|
25
28
|
"update": "ncu -u && npm i",
|
|
26
29
|
"backup": "node ./src/index --backup --alias=www --from=prod",
|
|
@@ -47,14 +50,14 @@
|
|
|
47
50
|
"test:ui": "vp test --ui"
|
|
48
51
|
},
|
|
49
52
|
"dependencies": {
|
|
50
|
-
"@neonwilderness/twoday": "^0.6.
|
|
53
|
+
"@neonwilderness/twoday": "^0.6.2",
|
|
51
54
|
"chalk": "^5.6.2",
|
|
52
55
|
"del": "^8.0.1",
|
|
53
56
|
"dotenv-safe": "^9.1.0",
|
|
54
57
|
"yargs": "^18.0.0"
|
|
55
58
|
},
|
|
56
59
|
"devDependencies": {
|
|
57
|
-
"@vitest/ui": "4.1.
|
|
60
|
+
"@vitest/ui": "4.1.2",
|
|
58
61
|
"slash": "^5.1.0",
|
|
59
62
|
"vite-plus": "^0.1.15"
|
|
60
63
|
},
|
package/src/index.js
CHANGED
|
@@ -77,7 +77,7 @@ if (argv.compare && !argv.to) {
|
|
|
77
77
|
process.exit(1);
|
|
78
78
|
}
|
|
79
79
|
if (!argv.alias) {
|
|
80
|
-
console.log("You must specify the desired alias(es) with --alias=name1,name2,... OR --alias=*");
|
|
80
|
+
console.log("You must specify the desired alias(es) with --alias=name1[,name2,...] OR --alias=*");
|
|
81
81
|
process.exit(1);
|
|
82
82
|
}
|
|
83
83
|
const platform = (argv.from || argv.to).toLowerCase();
|