@depup/vercel 50.32.5-depup.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 (96) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +38 -0
  3. package/changes.json +38 -0
  4. package/dist/chunks/chunk-2DLBVZWU.js +197 -0
  5. package/dist/chunks/chunk-2HSQ7YUK.js +93 -0
  6. package/dist/chunks/chunk-2IQTNMUG.js +86 -0
  7. package/dist/chunks/chunk-3FRG2XGZ.js +466 -0
  8. package/dist/chunks/chunk-3KMKI2FP.js +34 -0
  9. package/dist/chunks/chunk-3XFFP2BA.js +110 -0
  10. package/dist/chunks/chunk-4S3Y3ATR.js +5383 -0
  11. package/dist/chunks/chunk-7EHTK7LP.js +359 -0
  12. package/dist/chunks/chunk-7YHZDJ4G.js +116 -0
  13. package/dist/chunks/chunk-A3NYPUKZ.js +17 -0
  14. package/dist/chunks/chunk-AA7QEJFB.js +5204 -0
  15. package/dist/chunks/chunk-AHU7WNL2.js +24 -0
  16. package/dist/chunks/chunk-AKQZ7KG3.js +4172 -0
  17. package/dist/chunks/chunk-AQLVWVEN.js +39155 -0
  18. package/dist/chunks/chunk-BQ3DXZNT.js +968 -0
  19. package/dist/chunks/chunk-E65JE2CC.js +102 -0
  20. package/dist/chunks/chunk-EKPSCRJZ.js +26 -0
  21. package/dist/chunks/chunk-EOZFDJSY.js +18 -0
  22. package/dist/chunks/chunk-FDJURQMQ.js +4676 -0
  23. package/dist/chunks/chunk-FLKHKWZV.js +1854 -0
  24. package/dist/chunks/chunk-G6BUEBF5.js +192 -0
  25. package/dist/chunks/chunk-GBNIO3KP.js +771 -0
  26. package/dist/chunks/chunk-GGP5R3FU.js +129 -0
  27. package/dist/chunks/chunk-H5XJSH37.js +91 -0
  28. package/dist/chunks/chunk-IB5L4LKZ.js +1082 -0
  29. package/dist/chunks/chunk-IE7MNZ56.js +149 -0
  30. package/dist/chunks/chunk-IK7DLK2T.js +16112 -0
  31. package/dist/chunks/chunk-IUGPWINM.js +104 -0
  32. package/dist/chunks/chunk-J7HDA5GH.js +54 -0
  33. package/dist/chunks/chunk-JLYZNGYY.js +293 -0
  34. package/dist/chunks/chunk-JQ4NA5MX.js +250 -0
  35. package/dist/chunks/chunk-LL26LVRR.js +81 -0
  36. package/dist/chunks/chunk-LW5ZNGW7.js +127 -0
  37. package/dist/chunks/chunk-LWBSOTJP.js +1772 -0
  38. package/dist/chunks/chunk-MBGJBHYD.js +388 -0
  39. package/dist/chunks/chunk-NUKAG3YM.js +168 -0
  40. package/dist/chunks/chunk-O7I4ZOCC.js +58 -0
  41. package/dist/chunks/chunk-OWR3XNE3.js +48 -0
  42. package/dist/chunks/chunk-P3SKP5WM.js +27 -0
  43. package/dist/chunks/chunk-P4I4DMEU.js +342 -0
  44. package/dist/chunks/chunk-P5Q6F5IA.js +107 -0
  45. package/dist/chunks/chunk-PMSMUMUO.js +30 -0
  46. package/dist/chunks/chunk-QXRJ52T4.js +2977 -0
  47. package/dist/chunks/chunk-RQXPRFRM.js +90 -0
  48. package/dist/chunks/chunk-S7KYDPEM.js +1564 -0
  49. package/dist/chunks/chunk-SGGLJFUZ.js +68 -0
  50. package/dist/chunks/chunk-SOTR4CXR.js +34 -0
  51. package/dist/chunks/chunk-TEVP63TU.js +1717 -0
  52. package/dist/chunks/chunk-TNBMKNET.js +323 -0
  53. package/dist/chunks/chunk-TZ2YI2VH.js +87 -0
  54. package/dist/chunks/chunk-U6XOC6E4.js +903 -0
  55. package/dist/chunks/chunk-V5P25P7F.js +22 -0
  56. package/dist/chunks/chunk-WQ5CUZWR.js +333 -0
  57. package/dist/chunks/chunk-WU2BPWRP.js +12237 -0
  58. package/dist/chunks/chunk-XPKWKPWA.js +44 -0
  59. package/dist/chunks/chunk-XR53KVJD.js +33 -0
  60. package/dist/chunks/chunk-Y4JJYHUG.js +16 -0
  61. package/dist/chunks/chunk-YPQSDAEW.js +29 -0
  62. package/dist/chunks/chunk-ZB2UO4V2.js +135 -0
  63. package/dist/chunks/chunk-ZLCMHY2G.js +1528 -0
  64. package/dist/chunks/compile-vercel-config-XU3YY2CZ.js +32 -0
  65. package/dist/chunks/delete-EJ2V7KQO.js +144 -0
  66. package/dist/chunks/disable-BKRFMX4U.js +122 -0
  67. package/dist/chunks/discard-4WF34DXK.js +118 -0
  68. package/dist/chunks/edit-FQE7JGU3.js +509 -0
  69. package/dist/chunks/emit-flags-datafiles-QYKPNWPX.js +17 -0
  70. package/dist/chunks/enable-VCNMX63U.js +122 -0
  71. package/dist/chunks/export-3KNVJCQR.js +133 -0
  72. package/dist/chunks/list-43XQCGKH.js +382 -0
  73. package/dist/chunks/list-DUL6PHUR.js +394 -0
  74. package/dist/chunks/publish-CF7GVZK3.js +128 -0
  75. package/dist/chunks/query-KWKO7VWO.js +954 -0
  76. package/dist/chunks/reorder-GU65YMIN.js +259 -0
  77. package/dist/chunks/restore-Q7ENGWVJ.js +158 -0
  78. package/dist/chunks/routes-Q5CWG44T.js +20 -0
  79. package/dist/chunks/schema-PJKLO2K2.js +176 -0
  80. package/dist/chunks/stamp-RTPE2EBB.js +15 -0
  81. package/dist/chunks/types-563KUQRV.js +108 -0
  82. package/dist/chunks/update-route-version-E3V47KNI.js +13 -0
  83. package/dist/commands/build/index.js +1597 -0
  84. package/dist/commands/deploy/index.js +1711 -0
  85. package/dist/commands/dev/builder-worker.cjs +95 -0
  86. package/dist/commands/dev/index.js +20810 -0
  87. package/dist/commands/env/index.js +2154 -0
  88. package/dist/commands/link/index.js +225 -0
  89. package/dist/commands/list/index.js +528 -0
  90. package/dist/commands-bulk.js +29627 -0
  91. package/dist/get-latest-worker.cjs +272 -0
  92. package/dist/help.js +14 -0
  93. package/dist/index.js +24274 -0
  94. package/dist/vc.js +36 -0
  95. package/dist/version.mjs +1 -0
  96. package/package.json +254 -0
@@ -0,0 +1,81 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __dirname_ } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __dirname_(__filename);
7
+ import {
8
+ setupAndLink
9
+ } from "./chunk-GBNIO3KP.js";
10
+ import {
11
+ buildCommandWithYes,
12
+ getLinkedProject,
13
+ outputActionRequired,
14
+ param,
15
+ resolveProjectCwd
16
+ } from "./chunk-AQLVWVEN.js";
17
+ import {
18
+ getCommandName,
19
+ getCommandNamePlain
20
+ } from "./chunk-ZLCMHY2G.js";
21
+ import {
22
+ output_manager_default
23
+ } from "./chunk-FDJURQMQ.js";
24
+
25
+ // src/util/link/ensure-link.ts
26
+ async function ensureLink(commandName, client, cwd, opts = {}) {
27
+ cwd = await resolveProjectCwd(cwd);
28
+ let { link } = opts;
29
+ const nonInteractive = opts.nonInteractive ?? client.nonInteractive ?? false;
30
+ opts.nonInteractive = nonInteractive;
31
+ if (!link) {
32
+ if (opts.forceDelete) {
33
+ link = { status: "not_linked", org: null, project: null };
34
+ } else {
35
+ link = await getLinkedProject(client, cwd);
36
+ }
37
+ opts.link = link;
38
+ }
39
+ if (link.status === "linked" && opts.forceDelete || link.status === "not_linked") {
40
+ link = await setupAndLink(client, cwd, opts);
41
+ if (link.status === "not_linked") {
42
+ return 0;
43
+ }
44
+ }
45
+ if (link.status === "error") {
46
+ if (link.reason === "HEADLESS") {
47
+ if (nonInteractive) {
48
+ outputActionRequired(
49
+ client,
50
+ {
51
+ status: "action_required",
52
+ reason: "confirmation_required",
53
+ message: `Command ${getCommandNamePlain(commandName)} requires confirmation. Use option --yes to confirm.`,
54
+ next: [
55
+ {
56
+ command: buildCommandWithYes(client.argv),
57
+ when: "Confirm and run"
58
+ }
59
+ ]
60
+ },
61
+ link.exitCode
62
+ );
63
+ } else {
64
+ output_manager_default.error(
65
+ `Command ${getCommandName(
66
+ commandName
67
+ )} requires confirmation. Use option ${param("--yes")} to confirm.`
68
+ );
69
+ }
70
+ }
71
+ if (nonInteractive) {
72
+ process.exit(link.exitCode);
73
+ }
74
+ return link.exitCode;
75
+ }
76
+ return link;
77
+ }
78
+
79
+ export {
80
+ ensureLink
81
+ };
@@ -0,0 +1,127 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __dirname_ } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __dirname_(__filename);
7
+ import {
8
+ formatOption,
9
+ limitOption,
10
+ nextOption,
11
+ packageName
12
+ } from "./chunk-ZLCMHY2G.js";
13
+
14
+ // src/commands/activity/command.ts
15
+ var typesSubcommand = {
16
+ name: "types",
17
+ aliases: [],
18
+ description: "List available event types with descriptions.",
19
+ arguments: [],
20
+ options: [formatOption],
21
+ examples: [
22
+ {
23
+ name: "List all event types",
24
+ value: `${packageName} activity types`
25
+ },
26
+ {
27
+ name: "Output JSON",
28
+ value: `${packageName} activity types --format json`
29
+ }
30
+ ]
31
+ };
32
+ var activityCommand = {
33
+ name: "activity",
34
+ aliases: [],
35
+ description: "List user activity events.",
36
+ arguments: [],
37
+ subcommands: [
38
+ // Hidden placeholder so the help synopsis renders [command] as optional
39
+ // (help.ts treats `command` as required unless a subcommand has `default: true`)
40
+ {
41
+ name: "ls",
42
+ aliases: ["list"],
43
+ description: "",
44
+ default: true,
45
+ hidden: true,
46
+ arguments: [],
47
+ options: [],
48
+ examples: []
49
+ },
50
+ typesSubcommand
51
+ ],
52
+ options: [
53
+ {
54
+ name: "type",
55
+ shorthand: null,
56
+ type: [String],
57
+ argument: "TYPE",
58
+ deprecated: false,
59
+ description: "Filter by event type. Repeatable and comma-separated (e.g. --type deployment --type project-created or --type deployment,project-created)."
60
+ },
61
+ {
62
+ name: "since",
63
+ shorthand: null,
64
+ type: String,
65
+ argument: "DATE",
66
+ deprecated: false,
67
+ description: "Show events after this date (ISO 8601 or relative: 1d, 7d, 30d)."
68
+ },
69
+ {
70
+ name: "until",
71
+ shorthand: null,
72
+ type: String,
73
+ argument: "DATE",
74
+ deprecated: false,
75
+ description: "Show events before this date (ISO 8601 or relative)."
76
+ },
77
+ {
78
+ name: "project",
79
+ shorthand: "p",
80
+ type: String,
81
+ argument: "NAME_OR_ID",
82
+ deprecated: false,
83
+ description: "Filter by project (overrides auto-detected linked project)."
84
+ },
85
+ {
86
+ name: "all",
87
+ shorthand: "a",
88
+ type: Boolean,
89
+ deprecated: false,
90
+ description: "Show all team events (ignore linked project auto-scoping)."
91
+ },
92
+ limitOption,
93
+ nextOption,
94
+ formatOption
95
+ ],
96
+ examples: [
97
+ {
98
+ name: "List events for the linked project",
99
+ value: `${packageName} activity`
100
+ },
101
+ {
102
+ name: "Filter events by multiple types",
103
+ value: `${packageName} activity --type deployment --type project-created --since 7d`
104
+ },
105
+ {
106
+ name: "Filter events by comma-separated types",
107
+ value: `${packageName} activity --type deployment,project-created --since 7d`
108
+ },
109
+ {
110
+ name: "List all team events",
111
+ value: `${packageName} activity --all --since 30d`
112
+ },
113
+ {
114
+ name: "Output JSON",
115
+ value: `${packageName} activity --format json | jq '.events[]'`
116
+ },
117
+ {
118
+ name: "List activity event types",
119
+ value: `${packageName} activity types`
120
+ }
121
+ ]
122
+ };
123
+
124
+ export {
125
+ typesSubcommand,
126
+ activityCommand
127
+ };