@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 +6 -0
- package/dist/cli.cjs +6 -10
- package/dist/cli.mjs +6 -10
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/package.json +1 -1
- package/dist/src/utils/package-manager-detector.js +4 -10
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.
|
|
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.
|
|
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
|
-
|
|
3164
|
-
return `npm
|
|
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
|
-
|
|
3177
|
-
return `npm
|
|
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.
|
|
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.
|
|
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
|
-
|
|
3128
|
-
return `npm
|
|
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
|
-
|
|
3141
|
-
return `npm
|
|
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
package/dist/index.mjs
CHANGED
package/dist/package.json
CHANGED
|
@@ -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
|
-
|
|
55
|
-
return `npm
|
|
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
|
-
|
|
71
|
-
return `npm
|
|
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
|
}
|