@zapier/zapier-sdk-cli 0.29.1 → 0.29.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @zapier/zapier-sdk-cli
2
2
 
3
+ ## 0.29.2
4
+
5
+ ### Patch Changes
6
+
7
+ - d3e34ab: Fix update command for npm.
8
+
3
9
  ## 0.29.1
4
10
 
5
11
  ### Patch Changes
package/dist/cli.cjs CHANGED
@@ -1780,7 +1780,7 @@ var LoginSchema = zod.z.object({
1780
1780
 
1781
1781
  // package.json
1782
1782
  var package_default = {
1783
- version: "0.29.1"};
1783
+ version: "0.29.2"};
1784
1784
 
1785
1785
  // src/telemetry/builders.ts
1786
1786
  function createCliBaseEvent(context = {}) {
@@ -3127,7 +3127,7 @@ function createZapierCliSdk(options = {}) {
3127
3127
  // package.json with { type: 'json' }
3128
3128
  var package_default2 = {
3129
3129
  name: "@zapier/zapier-sdk-cli",
3130
- version: "0.29.1"};
3130
+ version: "0.29.2"};
3131
3131
  function detectPackageManager(cwd = process.cwd()) {
3132
3132
  const ua = process.env.npm_config_user_agent;
3133
3133
  if (ua) {
@@ -3160,10 +3160,8 @@ function getUpdateCommand(packageName) {
3160
3160
  return `pnpm update -g ${packageName}@latest`;
3161
3161
  case "bun":
3162
3162
  return `bun update -g ${packageName}@latest`;
3163
- case "npm":
3164
- return `npm update -g ${packageName}@latest`;
3165
- case "unknown":
3166
- return `npm update -g ${packageName}@latest`;
3163
+ default:
3164
+ return `npm install -g ${packageName}@latest`;
3167
3165
  }
3168
3166
  } else {
3169
3167
  switch (pm.name) {
@@ -3173,10 +3171,8 @@ function getUpdateCommand(packageName) {
3173
3171
  return `pnpm update ${packageName}@latest`;
3174
3172
  case "bun":
3175
3173
  return `bun update ${packageName}@latest`;
3176
- case "npm":
3177
- return `npm update ${packageName}@latest`;
3178
- case "unknown":
3179
- return `npm update ${packageName}@latest`;
3174
+ default:
3175
+ return `npm install ${packageName}@latest`;
3180
3176
  }
3181
3177
  }
3182
3178
  }
package/dist/cli.mjs CHANGED
@@ -1744,7 +1744,7 @@ var LoginSchema = z.object({
1744
1744
 
1745
1745
  // package.json
1746
1746
  var package_default = {
1747
- version: "0.29.1"};
1747
+ version: "0.29.2"};
1748
1748
 
1749
1749
  // src/telemetry/builders.ts
1750
1750
  function createCliBaseEvent(context = {}) {
@@ -3091,7 +3091,7 @@ function createZapierCliSdk(options = {}) {
3091
3091
  // package.json with { type: 'json' }
3092
3092
  var package_default2 = {
3093
3093
  name: "@zapier/zapier-sdk-cli",
3094
- version: "0.29.1"};
3094
+ version: "0.29.2"};
3095
3095
  function detectPackageManager(cwd = process.cwd()) {
3096
3096
  const ua = process.env.npm_config_user_agent;
3097
3097
  if (ua) {
@@ -3124,10 +3124,8 @@ function getUpdateCommand(packageName) {
3124
3124
  return `pnpm update -g ${packageName}@latest`;
3125
3125
  case "bun":
3126
3126
  return `bun update -g ${packageName}@latest`;
3127
- case "npm":
3128
- return `npm update -g ${packageName}@latest`;
3129
- case "unknown":
3130
- return `npm update -g ${packageName}@latest`;
3127
+ default:
3128
+ return `npm install -g ${packageName}@latest`;
3131
3129
  }
3132
3130
  } else {
3133
3131
  switch (pm.name) {
@@ -3137,10 +3135,8 @@ function getUpdateCommand(packageName) {
3137
3135
  return `pnpm update ${packageName}@latest`;
3138
3136
  case "bun":
3139
3137
  return `bun update ${packageName}@latest`;
3140
- case "npm":
3141
- return `npm update ${packageName}@latest`;
3142
- case "unknown":
3143
- return `npm update ${packageName}@latest`;
3138
+ default:
3139
+ return `npm install ${packageName}@latest`;
3144
3140
  }
3145
3141
  }
3146
3142
  }
package/dist/index.cjs CHANGED
@@ -302,7 +302,7 @@ var LoginSchema = zod.z.object({
302
302
 
303
303
  // package.json
304
304
  var package_default = {
305
- version: "0.29.1"};
305
+ version: "0.29.2"};
306
306
 
307
307
  // src/telemetry/builders.ts
308
308
  function createCliBaseEvent(context = {}) {
package/dist/index.mjs CHANGED
@@ -271,7 +271,7 @@ var LoginSchema = z.object({
271
271
 
272
272
  // package.json
273
273
  var package_default = {
274
- version: "0.29.1"};
274
+ version: "0.29.2"};
275
275
 
276
276
  // src/telemetry/builders.ts
277
277
  function createCliBaseEvent(context = {}) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk-cli",
3
- "version": "0.29.1",
3
+ "version": "0.29.2",
4
4
  "description": "Command line interface for Zapier SDK",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -51,11 +51,8 @@ export function getUpdateCommand(packageName) {
51
51
  return `pnpm update -g ${packageName}@latest`;
52
52
  case "bun":
53
53
  return `bun update -g ${packageName}@latest`;
54
- case "npm":
55
- return `npm update -g ${packageName}@latest`;
56
- case "unknown":
57
- // Default to npm since it's most widely supported
58
- return `npm update -g ${packageName}@latest`;
54
+ default:
55
+ return `npm install -g ${packageName}@latest`;
59
56
  }
60
57
  }
61
58
  else {
@@ -67,11 +64,8 @@ export function getUpdateCommand(packageName) {
67
64
  return `pnpm update ${packageName}@latest`;
68
65
  case "bun":
69
66
  return `bun update ${packageName}@latest`;
70
- case "npm":
71
- return `npm update ${packageName}@latest`;
72
- case "unknown":
73
- // Default to npm since it's most widely supported
74
- return `npm update ${packageName}@latest`;
67
+ default:
68
+ return `npm install ${packageName}@latest`;
75
69
  }
76
70
  }
77
71
  }