groundmail-cli 0.28.0 → 0.29.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.
- package/dist/cli.js +5 -3
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -797,7 +797,8 @@ function hasLocalCredentials(provider, env) {
|
|
|
797
797
|
if (provider === "netlify") return Boolean(env.NETLIFY_AUTH_TOKEN);
|
|
798
798
|
if (provider === "digitalocean") return Boolean(env.DIGITALOCEAN_TOKEN || env.DIGITALOCEAN_ACCESS_TOKEN);
|
|
799
799
|
if (provider === "dnsimple") return Boolean(env.DNSIMPLE_TOKEN && env.DNSIMPLE_ACCOUNT_ID);
|
|
800
|
-
return
|
|
800
|
+
if (provider === "godaddy") return Boolean(env.GODADDY_PAT || env.GODADDY_API_KEY && env.GODADDY_API_SECRET);
|
|
801
|
+
return false;
|
|
801
802
|
}
|
|
802
803
|
async function runApplyCommand(args, env = process.env) {
|
|
803
804
|
const options = parseDomainsCommonArgs(args);
|
|
@@ -836,6 +837,7 @@ async function runApplyCommand(args, env = process.env) {
|
|
|
836
837
|
provider: dnsProvider,
|
|
837
838
|
cloudflareApiToken: env.CLOUDFLARE_API_TOKEN || env.CLOUDFLARE_API_KEY,
|
|
838
839
|
cloudflareZoneId: env.CLOUDFLARE_ZONE_ID,
|
|
840
|
+
godaddyApiToken: env.GODADDY_PAT,
|
|
839
841
|
godaddyApiKey: env.GODADDY_API_KEY,
|
|
840
842
|
godaddyApiSecret: env.GODADDY_API_SECRET,
|
|
841
843
|
vercelApiToken: env.VERCEL_API_TOKEN,
|
|
@@ -1463,7 +1465,7 @@ function trimUrl(value) {
|
|
|
1463
1465
|
}
|
|
1464
1466
|
|
|
1465
1467
|
// package.json
|
|
1466
|
-
var version = "0.
|
|
1468
|
+
var version = "0.29.0";
|
|
1467
1469
|
|
|
1468
1470
|
// src/user-agent.ts
|
|
1469
1471
|
function buildUserAgent(own) {
|
|
@@ -3929,7 +3931,7 @@ var FOOTER_LINES = [
|
|
|
3929
3931
|
" TWILIO_ACCOUNT_SID=AC\u2026 TWILIO_AUTH_TOKEN=\u2026 TWILIO_DEFAULT_FROM=+1\u2026 (integrations twilio connect)",
|
|
3930
3932
|
" CLOUDFLARE_API_TOKEN=\u2026 (optional local apply; else uses dashboard Integrations)",
|
|
3931
3933
|
" VERCEL_API_TOKEN=\u2026 VERCEL_TEAM_ID=\u2026 (optional local apply; else uses dashboard Integrations)",
|
|
3932
|
-
" GODADDY_API_KEY=\u2026 GODADDY_API_SECRET=\u2026 (domains apply --provider godaddy)",
|
|
3934
|
+
" GODADDY_PAT=\u2026 or GODADDY_API_KEY=\u2026 GODADDY_API_SECRET=\u2026 (domains apply --provider godaddy)",
|
|
3933
3935
|
" SENDGRID_API_KEY / POSTMARK_SERVER_TOKEN (+ POSTMARK_ACCOUNT_TOKEN) / MAILGUN_API_KEY (migrate; used once, never stored)",
|
|
3934
3936
|
"",
|
|
3935
3937
|
"Scopes: full, emails:send, emails:read, domains:read, domains:write, webhooks:write, templates:write,",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groundmail-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Groundmail CLI — send transactional email from the terminal",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"prepublishOnly": "npm run build"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"groundmail": "0.
|
|
41
|
+
"groundmail": "0.28.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"tsup": "^8.5.0",
|