platformatic 1.8.0 → 1.9.0

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.
Files changed (2) hide show
  1. package/lib/deploy.js +2 -2
  2. package/package.json +13 -13
package/lib/deploy.js CHANGED
@@ -483,7 +483,7 @@ export async function deploy (argv) {
483
483
  workspaceKey = workspaceDetails.workspaceKey
484
484
  /* c8 ignore next 10 */
485
485
  } else {
486
- userApiKey = await getUserApiKey()
486
+ userApiKey = await getUserApiKey().catch(() => {})
487
487
  if (userApiKey) {
488
488
  const workspaceDetails = await getUserWorkspaceDetails(deployServiceHost, userApiKey)
489
489
  if (workspaceDetails) {
@@ -509,7 +509,7 @@ export async function deploy (argv) {
509
509
  if (workspaceType === 'dynamic') {
510
510
  /* c8 ignore next 17 */
511
511
  if (!label) {
512
- userApiKey = userApiKey || await getUserApiKey()
512
+ userApiKey = userApiKey || await getUserApiKey().catch(() => {})
513
513
 
514
514
  if (userApiKey) {
515
515
  const workspaceLabels = await getWorkspaceLabels(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "platformatic",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "Platformatic CLI",
5
5
  "main": "cli.js",
6
6
  "type": "module",
@@ -49,18 +49,18 @@
49
49
  "pino": "^8.15.3",
50
50
  "pino-pretty": "^10.2.0",
51
51
  "undici": "^5.25.4",
52
- "@platformatic/authenticate": "1.8.0",
53
- "@platformatic/client-cli": "1.8.0",
54
- "@platformatic/composer": "1.8.0",
55
- "@platformatic/config": "1.8.0",
56
- "@platformatic/db": "1.8.0",
57
- "@platformatic/deploy-client": "1.8.0",
58
- "@platformatic/frontend-template": "1.8.0",
59
- "@platformatic/runtime": "1.8.0",
60
- "@platformatic/metaconfig": "1.8.0",
61
- "@platformatic/service": "1.8.0",
62
- "@platformatic/utils": "^1.8.0",
63
- "create-platformatic": "1.8.0"
52
+ "@platformatic/authenticate": "1.9.0",
53
+ "@platformatic/client-cli": "1.9.0",
54
+ "@platformatic/composer": "1.9.0",
55
+ "@platformatic/config": "1.9.0",
56
+ "@platformatic/db": "1.9.0",
57
+ "@platformatic/deploy-client": "1.9.0",
58
+ "@platformatic/frontend-template": "1.9.0",
59
+ "@platformatic/metaconfig": "1.9.0",
60
+ "@platformatic/runtime": "1.9.0",
61
+ "@platformatic/service": "1.9.0",
62
+ "@platformatic/utils": "^1.9.0",
63
+ "create-platformatic": "1.9.0"
64
64
  },
65
65
  "scripts": {
66
66
  "test": "standard | snazzy && c8 node ./test/runner.js",