vercel 54.7.1 → 54.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.
- package/dist/chunks/{add-67QG24DA.js → add-PFVGXHF2.js} +12 -12
- package/dist/chunks/{chunk-IXR7P5OR.js → chunk-27O5ZTLD.js} +9 -9
- package/dist/chunks/{chunk-FQ5AMV7J.js → chunk-2KRTC3Z6.js} +5 -5
- package/dist/chunks/{chunk-ACS2IKKO.js → chunk-2LJ4CNBS.js} +341 -179
- package/dist/chunks/{chunk-KP6S4KU2.js → chunk-3XKN4LMN.js} +34 -37
- package/dist/chunks/{chunk-ZTHVV4KB.js → chunk-4NDOMD3E.js} +1 -1
- package/dist/chunks/{chunk-OAUXTVXM.js → chunk-4XMJHCJ5.js} +2 -2
- package/dist/chunks/{chunk-CJPMAEBA.js → chunk-5QPKXSAQ.js} +4 -4
- package/dist/chunks/{chunk-HTOH3MSD.js → chunk-5SYDEK2N.js} +1 -1
- package/dist/chunks/{chunk-LOQRUMOE.js → chunk-5ZJHY4AC.js} +3 -3
- package/dist/chunks/{chunk-XQUJUKTN.js → chunk-6IQZVQV6.js} +2 -2
- package/dist/chunks/{chunk-PPCVO6KR.js → chunk-AW3VO6AO.js} +3 -3
- package/dist/chunks/{chunk-WWLVPUED.js → chunk-B6C7NMT3.js} +2 -2
- package/dist/chunks/{chunk-N733ZD4W.js → chunk-BBJUIDZF.js} +1 -1
- package/dist/chunks/{chunk-VWXC5XIE.js → chunk-BLSNH6GW.js} +4 -4
- package/dist/chunks/{chunk-GIJMTTDG.js → chunk-CNZVD6AY.js} +195 -243
- package/dist/chunks/{chunk-TJQZGB6S.js → chunk-DAASB6YQ.js} +2 -2
- package/dist/chunks/{chunk-4CIXZOP4.js → chunk-DPXUXH7G.js} +1 -1
- package/dist/chunks/{chunk-3EOZ4ZDJ.js → chunk-FMN3NXRC.js} +2 -2
- package/dist/chunks/{chunk-2SYGBHZU.js → chunk-FRCPMIYP.js} +2 -2
- package/dist/chunks/{chunk-PBX6K5OJ.js → chunk-GHIWUCX4.js} +9 -9
- package/dist/chunks/{chunk-7HAY2TY5.js → chunk-IQQJHYW4.js} +3 -3
- package/dist/chunks/{chunk-ZCMQ43RC.js → chunk-KV23GR7J.js} +1 -1
- package/dist/chunks/{chunk-L6Q2EQPI.js → chunk-LJ5WXXG6.js} +2 -0
- package/dist/chunks/{chunk-LOS7HHU3.js → chunk-LKBI43XK.js} +1 -1
- package/dist/chunks/{chunk-IDFKAJW3.js → chunk-LN6B7ZI3.js} +1 -1
- package/dist/chunks/{chunk-GVL6A2EH.js → chunk-MHQ3YMRD.js} +2 -2
- package/dist/chunks/{chunk-2R5WYHZW.js → chunk-NGRSQRSN.js} +2 -2
- package/dist/chunks/{chunk-7OUZIPHA.js → chunk-NHGCQRK5.js} +2 -2
- package/dist/chunks/{chunk-TIJBJ7EO.js → chunk-O4C4A7HM.js} +2 -2
- package/dist/chunks/{chunk-6ABZRR5D.js → chunk-PQ6FQ427.js} +8 -8
- package/dist/chunks/{chunk-XDU5XSTQ.js → chunk-QED7VSDY.js} +3 -3
- package/dist/chunks/{chunk-CMQXECHW.js → chunk-RM4XGGZO.js} +2 -2
- package/dist/chunks/{chunk-POF76PSB.js → chunk-RM5VGLCD.js} +6 -6
- package/dist/chunks/{chunk-CPWI2SWV.js → chunk-TAHQ6VAS.js} +2 -2
- package/dist/chunks/{chunk-FV5RQPKY.js → chunk-TCF6MGBY.js} +1 -1
- package/dist/chunks/{chunk-AOJHEPS4.js → chunk-WEVQWSBT.js} +1 -1
- package/dist/chunks/{chunk-JWLKJA7N.js → chunk-WHVOX5C7.js} +6 -6
- package/dist/chunks/{chunk-ILYEE673.js → chunk-XK2FJELV.js} +3 -3
- package/dist/chunks/{chunk-ZQKJVHXY.js → chunk-Z5SBJH6L.js} +13 -0
- package/dist/chunks/{chunk-QN7GS5KD.js → chunk-ZBDCE356.js} +3 -3
- package/dist/chunks/{chunk-WGF7XCUT.js → chunk-ZEG75UDS.js} +9 -9
- package/dist/chunks/{chunk-O7SEN4RY.js → chunk-ZTPOJE63.js} +2 -2
- package/dist/chunks/{compile-vercel-config-R5X7XQH3.js → compile-vercel-config-7U2LIW43.js} +6 -6
- package/dist/chunks/{delete-QUCIXBSR.js → delete-DE3UHP2L.js} +9 -9
- package/dist/chunks/{disable-N7JFRNT5.js → disable-B6GG7O7J.js} +9 -9
- package/dist/chunks/{discard-PDT55IX4.js → discard-MGA5ZYKO.js} +9 -9
- package/dist/chunks/{edit-C35BISPR.js → edit-L4Y2YIBV.js} +11 -11
- package/dist/chunks/{enable-AIKCOZPH.js → enable-O7FEPQAF.js} +9 -9
- package/dist/chunks/{exec-5MN7VTSE.js → exec-JSOL4CYJ.js} +2 -2
- package/dist/chunks/{export-SQBM4PT6.js → export-UB7HUJAY.js} +9 -9
- package/dist/chunks/{inspect-FQ6NOVDU.js → inspect-IV2WSOKU.js} +12 -12
- package/dist/chunks/{list-XJIRH6SE.js → list-7S77FPG6.js} +9 -9
- package/dist/chunks/{list-ZJVOBYVT.js → list-IRG73TQ7.js} +13 -13
- package/dist/chunks/{ls-SOTFIBD6.js → ls-FP6I5BJ4.js} +12 -12
- package/dist/chunks/{publish-US2CACSX.js → publish-ZEXEMS6A.js} +9 -9
- package/dist/chunks/{query-DUJSSD3L.js → query-F5RJNYCZ.js} +11 -11
- package/dist/chunks/{reorder-Y5N4VOO7.js → reorder-JJY5X5NU.js} +9 -9
- package/dist/chunks/{restore-TTEF3WC7.js → restore-753XEXA7.js} +9 -9
- package/dist/chunks/{rm-AARNIFI5.js → rm-5DVLPTLD.js} +12 -12
- package/dist/chunks/{routes-IBID4NSZ.js → routes-3OHKNMGT.js} +3 -3
- package/dist/chunks/{rule-inspect-TQBZNJUL.js → rule-inspect-BA25TI3G.js} +12 -12
- package/dist/chunks/{rules-QWOMXETM.js → rules-JL4NLPIC.js} +10 -10
- package/dist/chunks/{schema-CZIQHHUV.js → schema-NL2KEDWL.js} +11 -11
- package/dist/chunks/{types-LU2G5DD3.js → types-P6JKZFEY.js} +5 -5
- package/dist/chunks/{update-A2FXWT7E.js → update-3LTUTJJB.js} +12 -12
- package/dist/commands/build/index.js +25 -26
- package/dist/commands/deploy/index.js +27 -27
- package/dist/commands/dev/index.js +19 -19
- package/dist/commands/env/index.js +22 -22
- package/dist/commands/link/index.js +22 -22
- package/dist/commands/list/index.js +12 -12
- package/dist/commands-bulk.js +3672 -2790
- package/dist/index.js +47 -49
- package/dist/version.mjs +1 -1
- package/package.json +23 -22
|
@@ -6,29 +6,29 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
metricsCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DAASB6YQ.js";
|
|
10
10
|
import {
|
|
11
11
|
routesCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TAHQ6VAS.js";
|
|
13
13
|
import {
|
|
14
14
|
alertsCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IQQJHYW4.js";
|
|
16
16
|
import {
|
|
17
17
|
devCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-O4C4A7HM.js";
|
|
19
19
|
import {
|
|
20
20
|
activityCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FMN3NXRC.js";
|
|
22
22
|
import {
|
|
23
23
|
listCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ZTPOJE63.js";
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QED7VSDY.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CNZVD6AY.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -38,13 +38,13 @@ import {
|
|
|
38
38
|
nextOption,
|
|
39
39
|
projectOption,
|
|
40
40
|
yesOption
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6IQZVQV6.js";
|
|
42
42
|
import {
|
|
43
43
|
packageName
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-LN6B7ZI3.js";
|
|
45
45
|
import {
|
|
46
46
|
output_manager_default
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-Z5SBJH6L.js";
|
|
48
48
|
|
|
49
49
|
// src/commands/deploy/command.ts
|
|
50
50
|
var deprecatedArchiveSplitTgz = "split-tgz";
|
|
@@ -1556,7 +1556,7 @@ var removeSubcommand3 = {
|
|
|
1556
1556
|
description: "Delete a connector",
|
|
1557
1557
|
arguments: [
|
|
1558
1558
|
{
|
|
1559
|
-
name: "
|
|
1559
|
+
name: "connector",
|
|
1560
1560
|
required: true
|
|
1561
1561
|
}
|
|
1562
1562
|
],
|
|
@@ -1751,7 +1751,7 @@ var attachSubcommand = {
|
|
|
1751
1751
|
description: "Attach a Vercel project to a connector for one or more environments",
|
|
1752
1752
|
arguments: [
|
|
1753
1753
|
{
|
|
1754
|
-
name: "
|
|
1754
|
+
name: "connector",
|
|
1755
1755
|
required: true
|
|
1756
1756
|
}
|
|
1757
1757
|
],
|
|
@@ -1831,7 +1831,7 @@ var detachSubcommand = {
|
|
|
1831
1831
|
description: "Detach a Vercel project from a connector",
|
|
1832
1832
|
arguments: [
|
|
1833
1833
|
{
|
|
1834
|
-
name: "
|
|
1834
|
+
name: "connector",
|
|
1835
1835
|
required: true
|
|
1836
1836
|
}
|
|
1837
1837
|
],
|
|
@@ -4530,6 +4530,276 @@ var inspectCommand = {
|
|
|
4530
4530
|
]
|
|
4531
4531
|
};
|
|
4532
4532
|
|
|
4533
|
+
// src/commands/integration-resource/command.ts
|
|
4534
|
+
var removeSubcommand9 = {
|
|
4535
|
+
name: "remove",
|
|
4536
|
+
aliases: ["rm"],
|
|
4537
|
+
description: "Delete an integration resource",
|
|
4538
|
+
arguments: [
|
|
4539
|
+
{
|
|
4540
|
+
name: "resource",
|
|
4541
|
+
required: true
|
|
4542
|
+
}
|
|
4543
|
+
],
|
|
4544
|
+
options: [
|
|
4545
|
+
{
|
|
4546
|
+
name: "disconnect-all",
|
|
4547
|
+
description: "Disconnects all projects from the specified resource before deletion",
|
|
4548
|
+
shorthand: "a",
|
|
4549
|
+
type: Boolean,
|
|
4550
|
+
deprecated: false
|
|
4551
|
+
},
|
|
4552
|
+
{
|
|
4553
|
+
...yesOption,
|
|
4554
|
+
description: "Skip the confirmation prompt when deleting a resource"
|
|
4555
|
+
},
|
|
4556
|
+
formatOption
|
|
4557
|
+
],
|
|
4558
|
+
examples: [
|
|
4559
|
+
{
|
|
4560
|
+
name: "Delete a resource",
|
|
4561
|
+
value: [
|
|
4562
|
+
`${packageName} integration-resource remove <resource>`,
|
|
4563
|
+
`${packageName} integration-resource remove my-acme-resource`
|
|
4564
|
+
]
|
|
4565
|
+
},
|
|
4566
|
+
{
|
|
4567
|
+
name: "Disconnect all projects from a resource, then delete it",
|
|
4568
|
+
value: [
|
|
4569
|
+
`${packageName} integration-resource remove <resource> --disconnect-all`,
|
|
4570
|
+
`${packageName} integration-resource remove my-acme-resource --disconnect-all`,
|
|
4571
|
+
`${packageName} integration-resource remove my-acme-resource -a`
|
|
4572
|
+
]
|
|
4573
|
+
},
|
|
4574
|
+
{
|
|
4575
|
+
name: "Output as JSON",
|
|
4576
|
+
value: `${packageName} integration-resource remove my-acme-resource --format=json --yes`
|
|
4577
|
+
}
|
|
4578
|
+
]
|
|
4579
|
+
};
|
|
4580
|
+
var disconnectSubcommand2 = {
|
|
4581
|
+
name: "disconnect",
|
|
4582
|
+
aliases: [],
|
|
4583
|
+
description: "Disconnect a marketplace resource from a project",
|
|
4584
|
+
arguments: [
|
|
4585
|
+
{
|
|
4586
|
+
name: "resource",
|
|
4587
|
+
required: true
|
|
4588
|
+
},
|
|
4589
|
+
{
|
|
4590
|
+
name: "project",
|
|
4591
|
+
required: false
|
|
4592
|
+
}
|
|
4593
|
+
],
|
|
4594
|
+
options: [
|
|
4595
|
+
{
|
|
4596
|
+
name: "all",
|
|
4597
|
+
description: "Disconnects all projects from the specified resource",
|
|
4598
|
+
shorthand: "a",
|
|
4599
|
+
type: Boolean,
|
|
4600
|
+
deprecated: false
|
|
4601
|
+
},
|
|
4602
|
+
{
|
|
4603
|
+
...yesOption,
|
|
4604
|
+
description: "Skip the confirmation prompt when disconnecting a resource"
|
|
4605
|
+
},
|
|
4606
|
+
formatOption
|
|
4607
|
+
],
|
|
4608
|
+
examples: [
|
|
4609
|
+
{
|
|
4610
|
+
name: "Disconnect a resource from the current project",
|
|
4611
|
+
value: [
|
|
4612
|
+
`${packageName} integration-resource disconnect <resource>`,
|
|
4613
|
+
`${packageName} integration-resource disconnect my-acme-resource`
|
|
4614
|
+
]
|
|
4615
|
+
},
|
|
4616
|
+
{
|
|
4617
|
+
name: "Disconnect all projects from a resource",
|
|
4618
|
+
value: [
|
|
4619
|
+
`${packageName} integration-resource disconnect <resource> --all`,
|
|
4620
|
+
`${packageName} integration-resource disconnect my-acme-resource --all`,
|
|
4621
|
+
`${packageName} integration-resource disconnect my-acme-resource -a`
|
|
4622
|
+
]
|
|
4623
|
+
},
|
|
4624
|
+
{
|
|
4625
|
+
name: "Disconnect a resource from a specified project",
|
|
4626
|
+
value: [
|
|
4627
|
+
`${packageName} integration-resource disconnect <resource> <project>`,
|
|
4628
|
+
`${packageName} integration-resource disconnect my-acme-resource my-project`
|
|
4629
|
+
]
|
|
4630
|
+
},
|
|
4631
|
+
{
|
|
4632
|
+
name: "Output as JSON",
|
|
4633
|
+
value: `${packageName} integration-resource disconnect my-acme-resource --format=json --yes`
|
|
4634
|
+
}
|
|
4635
|
+
]
|
|
4636
|
+
};
|
|
4637
|
+
var connectSubcommand2 = {
|
|
4638
|
+
name: "connect",
|
|
4639
|
+
aliases: [],
|
|
4640
|
+
description: "Connect a marketplace resource to a project",
|
|
4641
|
+
arguments: [
|
|
4642
|
+
{
|
|
4643
|
+
name: "resource",
|
|
4644
|
+
required: true
|
|
4645
|
+
},
|
|
4646
|
+
{
|
|
4647
|
+
name: "project",
|
|
4648
|
+
required: false
|
|
4649
|
+
}
|
|
4650
|
+
],
|
|
4651
|
+
options: [
|
|
4652
|
+
{
|
|
4653
|
+
name: "environment",
|
|
4654
|
+
shorthand: "e",
|
|
4655
|
+
type: [String],
|
|
4656
|
+
argument: "ENV",
|
|
4657
|
+
deprecated: false,
|
|
4658
|
+
description: "Environment to connect (can be repeated: production, preview, development). Defaults to all."
|
|
4659
|
+
},
|
|
4660
|
+
{
|
|
4661
|
+
name: "prefix",
|
|
4662
|
+
shorthand: null,
|
|
4663
|
+
type: String,
|
|
4664
|
+
argument: "PREFIX",
|
|
4665
|
+
deprecated: false,
|
|
4666
|
+
description: "Prefix for environment variable names (e.g., --prefix NEON2_ creates NEON2_DATABASE_URL instead of DATABASE_URL)"
|
|
4667
|
+
},
|
|
4668
|
+
{
|
|
4669
|
+
...yesOption,
|
|
4670
|
+
description: "Skip the confirmation prompt when connecting a resource"
|
|
4671
|
+
},
|
|
4672
|
+
formatOption
|
|
4673
|
+
],
|
|
4674
|
+
examples: [
|
|
4675
|
+
{
|
|
4676
|
+
name: "Connect a resource to the current project",
|
|
4677
|
+
value: [
|
|
4678
|
+
`${packageName} integration resource connect <resource>`,
|
|
4679
|
+
`${packageName} integration resource connect my-acme-resource`
|
|
4680
|
+
]
|
|
4681
|
+
},
|
|
4682
|
+
{
|
|
4683
|
+
name: "Connect a resource to a specified project",
|
|
4684
|
+
value: [
|
|
4685
|
+
`${packageName} integration resource connect <resource> <project>`,
|
|
4686
|
+
`${packageName} integration resource connect my-acme-resource my-project`
|
|
4687
|
+
]
|
|
4688
|
+
},
|
|
4689
|
+
{
|
|
4690
|
+
name: "Connect only to specific environments",
|
|
4691
|
+
value: [
|
|
4692
|
+
`${packageName} integration resource connect my-acme-resource -e production`,
|
|
4693
|
+
`${packageName} integration resource connect my-acme-resource -e production -e preview`
|
|
4694
|
+
]
|
|
4695
|
+
},
|
|
4696
|
+
{
|
|
4697
|
+
name: "Connect with a prefix for environment variable names",
|
|
4698
|
+
value: `${packageName} integration resource connect my-acme-resource --prefix NEON2_`
|
|
4699
|
+
},
|
|
4700
|
+
{
|
|
4701
|
+
name: "Output as JSON",
|
|
4702
|
+
value: `${packageName} integration resource connect my-acme-resource --format=json --yes`
|
|
4703
|
+
}
|
|
4704
|
+
]
|
|
4705
|
+
};
|
|
4706
|
+
var createThresholdSubcommand = {
|
|
4707
|
+
name: "create-threshold",
|
|
4708
|
+
aliases: [],
|
|
4709
|
+
description: "Creates a threshold for a resource (or installation, if the integration uses installation-level thresholds)",
|
|
4710
|
+
arguments: [
|
|
4711
|
+
{
|
|
4712
|
+
name: "resource",
|
|
4713
|
+
required: true
|
|
4714
|
+
},
|
|
4715
|
+
{
|
|
4716
|
+
name: "minimum",
|
|
4717
|
+
required: true
|
|
4718
|
+
},
|
|
4719
|
+
{
|
|
4720
|
+
name: "spend",
|
|
4721
|
+
required: true
|
|
4722
|
+
},
|
|
4723
|
+
{
|
|
4724
|
+
name: "limit",
|
|
4725
|
+
required: true
|
|
4726
|
+
}
|
|
4727
|
+
],
|
|
4728
|
+
options: [
|
|
4729
|
+
{
|
|
4730
|
+
...yesOption,
|
|
4731
|
+
description: "Skip the confirmation prompt when creating a threshold"
|
|
4732
|
+
}
|
|
4733
|
+
],
|
|
4734
|
+
examples: [
|
|
4735
|
+
{
|
|
4736
|
+
name: "create threshold",
|
|
4737
|
+
value: [
|
|
4738
|
+
`${packageName} integration-resource create-threshold <resource> <minimum> <spend> <limit> [options]`,
|
|
4739
|
+
`${packageName} integration-resource create-threshold my-acme-resource 50 100 2000`,
|
|
4740
|
+
`${packageName} integration-resource create-threshold my-acme-resource 50 100 2000 --yes`
|
|
4741
|
+
]
|
|
4742
|
+
}
|
|
4743
|
+
]
|
|
4744
|
+
};
|
|
4745
|
+
var claimSubcommand = {
|
|
4746
|
+
name: "claim",
|
|
4747
|
+
aliases: [],
|
|
4748
|
+
description: "Claim a sandbox marketplace resource (e.g. Stripe, Shopify) by opening the provider claim URL in your browser",
|
|
4749
|
+
arguments: [
|
|
4750
|
+
{
|
|
4751
|
+
name: "resource",
|
|
4752
|
+
required: false
|
|
4753
|
+
}
|
|
4754
|
+
],
|
|
4755
|
+
options: [
|
|
4756
|
+
{
|
|
4757
|
+
...yesOption,
|
|
4758
|
+
description: "Skip the confirmation prompt when claiming a single sandbox resource"
|
|
4759
|
+
},
|
|
4760
|
+
{
|
|
4761
|
+
name: "no-wait",
|
|
4762
|
+
description: "Print the claim URL and exit without polling for completion",
|
|
4763
|
+
shorthand: null,
|
|
4764
|
+
type: Boolean,
|
|
4765
|
+
deprecated: false
|
|
4766
|
+
},
|
|
4767
|
+
formatOption
|
|
4768
|
+
],
|
|
4769
|
+
examples: [
|
|
4770
|
+
{
|
|
4771
|
+
name: "Claim a sandbox resource by name",
|
|
4772
|
+
value: [
|
|
4773
|
+
`${packageName} integration-resource claim <resource>`,
|
|
4774
|
+
`${packageName} integration-resource claim my-stripe`
|
|
4775
|
+
]
|
|
4776
|
+
},
|
|
4777
|
+
{
|
|
4778
|
+
name: "Pick a sandbox resource interactively (current team)",
|
|
4779
|
+
value: `${packageName} integration-resource claim`
|
|
4780
|
+
},
|
|
4781
|
+
{
|
|
4782
|
+
name: "Print the claim URL as JSON without waiting",
|
|
4783
|
+
value: `${packageName} integration-resource claim my-stripe --format=json --no-wait`
|
|
4784
|
+
}
|
|
4785
|
+
]
|
|
4786
|
+
};
|
|
4787
|
+
var integrationResourceCommand = {
|
|
4788
|
+
name: "integration-resource",
|
|
4789
|
+
aliases: ["ir"],
|
|
4790
|
+
description: "Manage marketplace integration resources (alias for `vercel integration resource`)",
|
|
4791
|
+
options: [],
|
|
4792
|
+
arguments: [],
|
|
4793
|
+
subcommands: [
|
|
4794
|
+
connectSubcommand2,
|
|
4795
|
+
createThresholdSubcommand,
|
|
4796
|
+
disconnectSubcommand2,
|
|
4797
|
+
removeSubcommand9,
|
|
4798
|
+
claimSubcommand
|
|
4799
|
+
],
|
|
4800
|
+
examples: []
|
|
4801
|
+
};
|
|
4802
|
+
|
|
4533
4803
|
// src/commands/integration/command.ts
|
|
4534
4804
|
var addSubcommand7 = {
|
|
4535
4805
|
name: "add",
|
|
@@ -4604,6 +4874,20 @@ var addSubcommand7 = {
|
|
|
4604
4874
|
argument: "ID",
|
|
4605
4875
|
description: "Installation ID to use when multiple installations exist for the integration"
|
|
4606
4876
|
},
|
|
4877
|
+
{
|
|
4878
|
+
name: "claim",
|
|
4879
|
+
shorthand: null,
|
|
4880
|
+
type: Boolean,
|
|
4881
|
+
deprecated: false,
|
|
4882
|
+
description: "If the new resource is a sandbox (e.g. Stripe, Shopify), claim it immediately without prompting"
|
|
4883
|
+
},
|
|
4884
|
+
{
|
|
4885
|
+
name: "no-claim",
|
|
4886
|
+
shorthand: null,
|
|
4887
|
+
type: Boolean,
|
|
4888
|
+
deprecated: false,
|
|
4889
|
+
description: "If the new resource is a sandbox, skip the offer to claim it (only print a hint)"
|
|
4890
|
+
},
|
|
4607
4891
|
formatOption
|
|
4608
4892
|
],
|
|
4609
4893
|
examples: [
|
|
@@ -4962,7 +5246,7 @@ var updateSubcommand4 = {
|
|
|
4962
5246
|
}
|
|
4963
5247
|
]
|
|
4964
5248
|
};
|
|
4965
|
-
var
|
|
5249
|
+
var removeSubcommand10 = {
|
|
4966
5250
|
name: "remove",
|
|
4967
5251
|
aliases: [],
|
|
4968
5252
|
description: "Uninstalls a marketplace integration. Resources must be removed first using `integration-resource remove`.",
|
|
@@ -5042,10 +5326,37 @@ var guideSubcommand = {
|
|
|
5042
5326
|
}
|
|
5043
5327
|
]
|
|
5044
5328
|
};
|
|
5329
|
+
var resourceSubcommand = {
|
|
5330
|
+
name: "resource",
|
|
5331
|
+
aliases: [],
|
|
5332
|
+
description: "Manage marketplace integration resources (connect, disconnect, remove, create-threshold)",
|
|
5333
|
+
options: [],
|
|
5334
|
+
arguments: [],
|
|
5335
|
+
subcommands: [
|
|
5336
|
+
connectSubcommand2,
|
|
5337
|
+
createThresholdSubcommand,
|
|
5338
|
+
disconnectSubcommand2,
|
|
5339
|
+
removeSubcommand9
|
|
5340
|
+
],
|
|
5341
|
+
examples: [
|
|
5342
|
+
{
|
|
5343
|
+
name: "Connect a resource to the current project",
|
|
5344
|
+
value: `${packageName} integration resource connect my-acme-resource`
|
|
5345
|
+
},
|
|
5346
|
+
{
|
|
5347
|
+
name: "Disconnect a resource from the current project",
|
|
5348
|
+
value: `${packageName} integration resource disconnect my-acme-resource`
|
|
5349
|
+
},
|
|
5350
|
+
{
|
|
5351
|
+
name: "Remove a resource (disconnecting all projects first)",
|
|
5352
|
+
value: `${packageName} integration resource remove my-acme-resource --disconnect-all --yes`
|
|
5353
|
+
}
|
|
5354
|
+
]
|
|
5355
|
+
};
|
|
5045
5356
|
var integrationCommand = {
|
|
5046
5357
|
name: "integration",
|
|
5047
5358
|
aliases: [],
|
|
5048
|
-
description: "Manage marketplace integrations. To manage individual resources
|
|
5359
|
+
description: "Manage marketplace integrations. To manage individual resources, see `vercel integration resource`.",
|
|
5049
5360
|
options: [],
|
|
5050
5361
|
arguments: [],
|
|
5051
5362
|
subcommands: [
|
|
@@ -5057,13 +5368,18 @@ var integrationCommand = {
|
|
|
5057
5368
|
installationsSubcommand,
|
|
5058
5369
|
listSubcommand11,
|
|
5059
5370
|
openSubcommand3,
|
|
5371
|
+
resourceSubcommand,
|
|
5060
5372
|
updateSubcommand4,
|
|
5061
|
-
|
|
5373
|
+
removeSubcommand10
|
|
5062
5374
|
],
|
|
5063
5375
|
examples: [
|
|
5064
5376
|
{
|
|
5065
5377
|
name: "Install a specific product from an integration",
|
|
5066
5378
|
value: `${packageName} integration add acme/acme-redis`
|
|
5379
|
+
},
|
|
5380
|
+
{
|
|
5381
|
+
name: "Connect an existing resource to the current project",
|
|
5382
|
+
value: `${packageName} integration resource connect my-acme-resource`
|
|
5067
5383
|
}
|
|
5068
5384
|
]
|
|
5069
5385
|
};
|
|
@@ -5092,163 +5408,6 @@ var installCommand = {
|
|
|
5092
5408
|
]
|
|
5093
5409
|
};
|
|
5094
5410
|
|
|
5095
|
-
// src/commands/integration-resource/command.ts
|
|
5096
|
-
var removeSubcommand10 = {
|
|
5097
|
-
name: "remove",
|
|
5098
|
-
aliases: ["rm"],
|
|
5099
|
-
description: "Delete an integration resource",
|
|
5100
|
-
arguments: [
|
|
5101
|
-
{
|
|
5102
|
-
name: "resource",
|
|
5103
|
-
required: true
|
|
5104
|
-
}
|
|
5105
|
-
],
|
|
5106
|
-
options: [
|
|
5107
|
-
{
|
|
5108
|
-
name: "disconnect-all",
|
|
5109
|
-
description: "Disconnects all projects from the specified resource before deletion",
|
|
5110
|
-
shorthand: "a",
|
|
5111
|
-
type: Boolean,
|
|
5112
|
-
deprecated: false
|
|
5113
|
-
},
|
|
5114
|
-
{
|
|
5115
|
-
...yesOption,
|
|
5116
|
-
description: "Skip the confirmation prompt when deleting a resource"
|
|
5117
|
-
},
|
|
5118
|
-
formatOption
|
|
5119
|
-
],
|
|
5120
|
-
examples: [
|
|
5121
|
-
{
|
|
5122
|
-
name: "Delete a resource",
|
|
5123
|
-
value: [
|
|
5124
|
-
`${packageName} integration-resource remove <resource>`,
|
|
5125
|
-
`${packageName} integration-resource remove my-acme-resource`
|
|
5126
|
-
]
|
|
5127
|
-
},
|
|
5128
|
-
{
|
|
5129
|
-
name: "Disconnect all projects from a resource, then delete it",
|
|
5130
|
-
value: [
|
|
5131
|
-
`${packageName} integration-resource remove <resource> --disconnect-all`,
|
|
5132
|
-
`${packageName} integration-resource remove my-acme-resource --disconnect-all`,
|
|
5133
|
-
`${packageName} integration-resource remove my-acme-resource -a`
|
|
5134
|
-
]
|
|
5135
|
-
},
|
|
5136
|
-
{
|
|
5137
|
-
name: "Output as JSON",
|
|
5138
|
-
value: `${packageName} integration-resource remove my-acme-resource --format=json --yes`
|
|
5139
|
-
}
|
|
5140
|
-
]
|
|
5141
|
-
};
|
|
5142
|
-
var disconnectSubcommand2 = {
|
|
5143
|
-
name: "disconnect",
|
|
5144
|
-
aliases: [],
|
|
5145
|
-
description: "Disconnect a resource from a project, or the current project",
|
|
5146
|
-
arguments: [
|
|
5147
|
-
{
|
|
5148
|
-
name: "resource",
|
|
5149
|
-
required: true
|
|
5150
|
-
},
|
|
5151
|
-
{
|
|
5152
|
-
name: "project",
|
|
5153
|
-
required: false
|
|
5154
|
-
}
|
|
5155
|
-
],
|
|
5156
|
-
options: [
|
|
5157
|
-
{
|
|
5158
|
-
name: "all",
|
|
5159
|
-
description: "Disconnects all projects from the specified resource",
|
|
5160
|
-
shorthand: "a",
|
|
5161
|
-
type: Boolean,
|
|
5162
|
-
deprecated: false
|
|
5163
|
-
},
|
|
5164
|
-
{
|
|
5165
|
-
...yesOption,
|
|
5166
|
-
description: "Skip the confirmation prompt when disconnecting a resource"
|
|
5167
|
-
},
|
|
5168
|
-
formatOption
|
|
5169
|
-
],
|
|
5170
|
-
examples: [
|
|
5171
|
-
{
|
|
5172
|
-
name: "Disconnect a resource from the current project",
|
|
5173
|
-
value: [
|
|
5174
|
-
`${packageName} integration-resource disconnect <resource>`,
|
|
5175
|
-
`${packageName} integration-resource disconnect my-acme-resource`
|
|
5176
|
-
]
|
|
5177
|
-
},
|
|
5178
|
-
{
|
|
5179
|
-
name: "Disconnect all projects from a resource",
|
|
5180
|
-
value: [
|
|
5181
|
-
`${packageName} integration-resource disconnect <resource> --all`,
|
|
5182
|
-
`${packageName} integration-resource disconnect my-acme-resource --all`,
|
|
5183
|
-
`${packageName} integration-resource disconnect my-acme-resource -a`
|
|
5184
|
-
]
|
|
5185
|
-
},
|
|
5186
|
-
{
|
|
5187
|
-
name: "Disconnect a resource from a specified project",
|
|
5188
|
-
value: [
|
|
5189
|
-
`${packageName} integration-resource disconnect <resource> <project>`,
|
|
5190
|
-
`${packageName} integration-resource disconnect my-acme-resource my-project`
|
|
5191
|
-
]
|
|
5192
|
-
},
|
|
5193
|
-
{
|
|
5194
|
-
name: "Output as JSON",
|
|
5195
|
-
value: `${packageName} integration-resource disconnect my-acme-resource --format=json --yes`
|
|
5196
|
-
}
|
|
5197
|
-
]
|
|
5198
|
-
};
|
|
5199
|
-
var createThresholdSubcommand = {
|
|
5200
|
-
name: "create-threshold",
|
|
5201
|
-
aliases: [],
|
|
5202
|
-
description: "Creates a threshold for a resource (or installation, if the integration uses installation-level thresholds)",
|
|
5203
|
-
arguments: [
|
|
5204
|
-
{
|
|
5205
|
-
name: "resource",
|
|
5206
|
-
required: true
|
|
5207
|
-
},
|
|
5208
|
-
{
|
|
5209
|
-
name: "minimum",
|
|
5210
|
-
required: true
|
|
5211
|
-
},
|
|
5212
|
-
{
|
|
5213
|
-
name: "spend",
|
|
5214
|
-
required: true
|
|
5215
|
-
},
|
|
5216
|
-
{
|
|
5217
|
-
name: "limit",
|
|
5218
|
-
required: true
|
|
5219
|
-
}
|
|
5220
|
-
],
|
|
5221
|
-
options: [
|
|
5222
|
-
{
|
|
5223
|
-
...yesOption,
|
|
5224
|
-
description: "Skip the confirmation prompt when creating a threshold"
|
|
5225
|
-
}
|
|
5226
|
-
],
|
|
5227
|
-
examples: [
|
|
5228
|
-
{
|
|
5229
|
-
name: "create threshold",
|
|
5230
|
-
value: [
|
|
5231
|
-
`${packageName} integration-resource create-threshold <resource> <minimum> <spend> <limit> [options]`,
|
|
5232
|
-
`${packageName} integration-resource create-threshold my-acme-resource 50 100 2000`,
|
|
5233
|
-
`${packageName} integration-resource create-threshold my-acme-resource 50 100 2000 --yes`
|
|
5234
|
-
]
|
|
5235
|
-
}
|
|
5236
|
-
]
|
|
5237
|
-
};
|
|
5238
|
-
var integrationResourceCommand = {
|
|
5239
|
-
name: "integration-resource",
|
|
5240
|
-
aliases: ["ir"],
|
|
5241
|
-
description: "Manage marketplace integration resources",
|
|
5242
|
-
options: [],
|
|
5243
|
-
arguments: [],
|
|
5244
|
-
subcommands: [
|
|
5245
|
-
createThresholdSubcommand,
|
|
5246
|
-
disconnectSubcommand2,
|
|
5247
|
-
removeSubcommand10
|
|
5248
|
-
],
|
|
5249
|
-
examples: []
|
|
5250
|
-
};
|
|
5251
|
-
|
|
5252
5411
|
// src/commands/login/command.ts
|
|
5253
5412
|
var loginCommand = {
|
|
5254
5413
|
name: "login",
|
|
@@ -8545,6 +8704,12 @@ export {
|
|
|
8545
8704
|
httpstatCommand,
|
|
8546
8705
|
initCommand,
|
|
8547
8706
|
inspectCommand,
|
|
8707
|
+
removeSubcommand9,
|
|
8708
|
+
disconnectSubcommand2,
|
|
8709
|
+
connectSubcommand2,
|
|
8710
|
+
createThresholdSubcommand,
|
|
8711
|
+
claimSubcommand,
|
|
8712
|
+
integrationResourceCommand,
|
|
8548
8713
|
addSubcommand7 as addSubcommand6,
|
|
8549
8714
|
acceptTermsSubcommand,
|
|
8550
8715
|
openSubcommand3,
|
|
@@ -8553,14 +8718,11 @@ export {
|
|
|
8553
8718
|
discoverSubcommand,
|
|
8554
8719
|
balanceSubcommand,
|
|
8555
8720
|
updateSubcommand4,
|
|
8556
|
-
|
|
8721
|
+
removeSubcommand10,
|
|
8557
8722
|
guideSubcommand,
|
|
8723
|
+
resourceSubcommand,
|
|
8558
8724
|
integrationCommand,
|
|
8559
8725
|
installCommand,
|
|
8560
|
-
removeSubcommand10,
|
|
8561
|
-
disconnectSubcommand2,
|
|
8562
|
-
createThresholdSubcommand,
|
|
8563
|
-
integrationResourceCommand,
|
|
8564
8726
|
addSubcommand as addSubcommand7,
|
|
8565
8727
|
linkCommand,
|
|
8566
8728
|
loginCommand,
|