@promte/app-upload 0.1.3 → 0.1.5

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/README.md CHANGED
@@ -11,9 +11,9 @@ npx promte-app-upload push
11
11
  ## Commands
12
12
  ```
13
13
  promte-app-upload config
14
- - interactive setup for host/workspaceId/dist (stored in ~/.promte-app-upload.json)
14
+ - interactive setup for host/workspaceId/dist (stored in ./promte-app-upload.config.json)
15
15
 
16
- promte-app-upload push [--host ...] [--workspaceId ...] [--dist ...] [--serviceKey ...]
16
+ promte-app-upload push [--host ...] [--workspaceId ...] [--dist ...] [--zip ...] [--serviceKey ...]
17
17
  - uploads ./dist by default
18
18
  - host defaults to https://app.promte.dk
19
19
  - use --zip <file> to upload an existing zip
@@ -10,7 +10,7 @@ const { FormData, File } = undici;
10
10
 
11
11
  const DEFAULT_HOST = "https://app.promte.dk";
12
12
  const DEFAULT_DIST = "./dist";
13
- const CONFIG_PATH = path.join(os.homedir(), ".promte-app-upload.json");
13
+ const CONFIG_PATH = path.resolve(process.cwd(), "promte-app-upload.config.json");
14
14
 
15
15
  function usage() {
16
16
  console.log(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promte/app-upload",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "CLI to upload Promte app bundles",
5
5
  "type": "module",
6
6
  "bin": {