distapp 1.0.5 → 1.0.6
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/cli.mjs +2 -2
- package/package.json +2 -2
package/cli.mjs
CHANGED
|
@@ -20714,7 +20714,7 @@ function slugToOrgApp(slug) {
|
|
|
20714
20714
|
};
|
|
20715
20715
|
}
|
|
20716
20716
|
var distribute = new Command("distribute").requiredOption("--slug <string>", "Slug of you app").requiredOption("--file <string>", "File path to your app").requiredOption("--api-key <string>").option("--release-notes <string>").option("--url <url>").option("--group <string...>").option("--version-name <string>", "Version name of your desktop app (e.g v1.0.0)").option("--version-code <string>", "Version code of your desktop app (e.g 1)").action(async (options) => {
|
|
20717
|
-
const optUrl = options.url || process.env.DISTAPP_CLI_URL || "https://distapp.
|
|
20717
|
+
const optUrl = options.url || process.env.DISTAPP_CLI_URL || "https://distapp.app";
|
|
20718
20718
|
updateMyFetch(options.apiKey, optUrl);
|
|
20719
20719
|
const { orgName, appName } = slugToOrgApp(options.slug);
|
|
20720
20720
|
const filePath = resolve(options.file);
|
|
@@ -20759,7 +20759,7 @@ var distribute = new Command("distribute").requiredOption("--slug <string>", "Sl
|
|
|
20759
20759
|
});
|
|
20760
20760
|
|
|
20761
20761
|
// cli/cli.ts
|
|
20762
|
-
var distributeDeprecated = "Deprecated. Use distribute command instead. See https://docs
|
|
20762
|
+
var distributeDeprecated = "Deprecated. Use distribute command instead. See https://docs.distapp.app/cli/cli-usage#distribute-to-distapp";
|
|
20763
20763
|
var program2 = new Command().option("--distribute", distributeDeprecated).action((options) => {
|
|
20764
20764
|
if (options.distribute) {
|
|
20765
20765
|
console.error(distributeDeprecated);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "distapp",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Manage and distribute Android, iOS and Desktop
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Manage and distribute Android, iOS and Desktop apps",
|
|
5
5
|
"main": "cli.mjs",
|
|
6
6
|
"bin": {
|
|
7
7
|
"distapp": "./cli.mjs"
|