@vercel/board 0.55.0 → 0.56.1

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.
@@ -1,2 +1,2 @@
1
- import { t as local } from "./local-Dn0vv-1e.mjs";
1
+ import { t as local } from "./local-B5aZcAwj.mjs";
2
2
  export { local };
@@ -1,2 +1,2 @@
1
- import { a as option, i as groups, n as filters, o as options, r as globalOptions, s as usage, t as commands } from "./commands-CZUxX6HF.mjs";
1
+ import { a as option, i as groups, n as filters, o as options, r as globalOptions, s as usage, t as commands } from "./commands-7FY_8p92.mjs";
2
2
  export { commands, filters, globalOptions, groups, option, options, usage };
@@ -1,5 +1,5 @@
1
- import { o as stoppedBy } from "./exports-FRbxGU5M.mjs";
2
- import { a as commandLine, c as failureLines, i as mainWith, l as formatFailure, n as commandWord, o as exitCode, r as main, s as failureDocument, t as Failed } from "./main-CSuYOx6C.mjs";
1
+ import { o as stoppedBy } from "./exports-DSX-CI5c.mjs";
2
+ import { a as commandLine, c as failureLines, i as mainWith, l as formatFailure, n as commandWord, o as exitCode, r as main, s as failureDocument, t as Failed } from "./main-DSlpMoBN.mjs";
3
3
  //#region src/cli/embedded.ts
4
4
  /**
5
5
  * Board's CLI as `appName` names it in help, usage, and errors (`vercel board`). With no board
package/dist/cli.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { a as option } from "./commands-CZUxX6HF.mjs";
3
- import { g as projectDir } from "./server-24oEf9i9.mjs";
4
- import { r as main } from "./main-CSuYOx6C.mjs";
5
- import { i as createInspector, r as stopped, t as allowedHosts } from "./inspect-Aomn2jXK.mjs";
2
+ import { a as option } from "./commands-7FY_8p92.mjs";
3
+ import { g as projectDir } from "./server-55vryxAl.mjs";
4
+ import { r as main } from "./main-DSlpMoBN.mjs";
5
+ import { i as createInspector, r as stopped, t as allowedHosts } from "./inspect-C-vDnB_n.mjs";
6
6
  import { appendFile, readFile } from "node:fs/promises";
7
7
  import { join } from "node:path";
8
8
  //#region src/cli/local.ts
@@ -37,7 +37,7 @@ const local = {
37
37
  },
38
38
  async run(args, context) {
39
39
  if (args.length > 0) throw context.usage("inspect takes no arguments: pass its port with --port.");
40
- return (await import("./inspect-CGLv6b5v.mjs")).inspect(context);
40
+ return (await import("./inspect-CJ8osLQ-.mjs")).inspect(context);
41
41
  }
42
42
  },
43
43
  serve: {
@@ -81,7 +81,7 @@ const local = {
81
81
  }, "tailscale");
82
82
  if (tailscale.length > 0 && hosts.length > 0) throw usage("--tailscale takes Tailscale's word for who's calling, which another proxy in front could forge: it doesn't go with --allow-host.");
83
83
  const root = projectDir();
84
- const { serveLocal } = await import("./serve-_qRPIp-J.mjs");
84
+ const { serveLocal } = await import("./serve-CI3kvpx_.mjs");
85
85
  const local = await serveLocal({
86
86
  dir: flags.dir ?? join(root, ".board"),
87
87
  hosts,
@@ -730,28 +730,17 @@ const commands = [
730
730
  },
731
731
  {
732
732
  group: "the board",
733
- name: "boards",
733
+ name: "list",
734
+ aliases: ["ls"],
734
735
  description: "the team's boards you can use, in Vercel's API: the names --name takes",
735
736
  arguments: [],
736
737
  options: [],
737
- runsWithoutSubcommand: true,
738
738
  examples: [{
739
739
  name: "list the team's boards",
740
- value: "boards"
740
+ value: "list"
741
741
  }, {
742
742
  name: "another team's",
743
- value: "boards --scope acme"
744
- }],
745
- subcommands: [{
746
- name: "list",
747
- default: true,
748
- description: "the team's boards you can use, and which is its default",
749
- arguments: [],
750
- options: [],
751
- examples: [{
752
- name: "list the team's boards",
753
- value: "boards list"
754
- }]
743
+ value: "ls --scope acme"
755
744
  }]
756
745
  },
757
746
  {
@@ -4,9 +4,9 @@ import { $ as SchedulesQuery, A as CreatedTasksQuery, B as InboxPushBody, C as C
4
4
  import { _ as sha256, a as waitUntil, c as platformProfile, d as userIdOf, m as derivedId, o as actorParts, r as runMiddleware, s as importedHandle, t as DroppedError, u as underPrincipal } from "./middleware-BY4qqIh3.mjs";
5
5
  import { n as blocksIn, r as findBlocks } from "./blocks-CVoBC7ur.mjs";
6
6
  import { a as replaceMentions, i as mentionTerms, o as settleMentions, r as mentionTerm, t as extractMentions } from "./mentions-CnWt9Z5b.mjs";
7
- import { t as VERSION } from "./version-1dDjcBkK.mjs";
7
+ import { t as VERSION } from "./version-gbihG3ui.mjs";
8
8
  import { a as canText, c as compileAccess, d as parsePattern, n as InvalidCan, r as PERMISSIONS, t as FULL_ACCESS, u as parseCan } from "./access-HzqFpgL_.mjs";
9
- import { _ as SYNC, a as runMatch, d as openapi, f as queryObject, g as uploadName, h as carried, i as canonicalWatchers, l as METHODS, m as readJson, n as SYNC_ACTOR, o as compileWatcher, p as readCapped, r as syncTarget, t as batchPlan, u as createRouter } from "./task-batch-BSJ3ihpF.mjs";
9
+ import { _ as uploadName, a as runMatch, d as createRouter, f as openapi, g as carried, h as readJson, i as canonicalWatchers, m as readCapped, n as SYNC_ACTOR, o as compileWatcher, p as queryObject, r as syncTarget, t as batchPlan, u as METHODS, v as SYNC } from "./task-batch-iecHMssy.mjs";
10
10
  import { C as verifiedIssuers, D as explainGrants, d as createAuthority, f as fromTokens, m as hostPrincipal, o as VERCEL_ISSUER, p as grantIssuers, t as DEFAULT_CAN$1, v as namesByLogin, w as verifiesTokens } from "./auth-D9ycDQK0.mjs";
11
11
  import { a as resolveActor, o as viaOf, r as claimsOf, t as KNOWN_AGENTS } from "./actors-D-u6bitG.mjs";
12
12
  import { t as checkValue } from "./data-values-CoTP0SQG.mjs";
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { f as BoardError, m as duration, t as HttpError } from "./errors-DDfXnZ2b.mjs";
2
2
  import { t as DroppedError } from "./middleware-BY4qqIh3.mjs";
3
3
  import { t as block } from "./blocks-CVoBC7ur.mjs";
4
- import { c as createVercel, n as createTasksInChunks, r as createBoard, t as TasksInChunksError } from "./exports-FRbxGU5M.mjs";
4
+ import { c as createVercel, n as createTasksInChunks, r as createBoard, t as TasksInChunksError } from "./exports-DSX-CI5c.mjs";
5
5
  //#region src/backend-vercel/index.default.ts
6
6
  /**
7
7
  * Your team's board, in Vercel's API. Outside Node there's no environment to find credentials or
@@ -1,6 +1,6 @@
1
1
  import { f as BoardError, m as duration, t as HttpError } from "./errors-DDfXnZ2b.mjs";
2
2
  import { t as DroppedError } from "./middleware-BY4qqIh3.mjs";
3
3
  import { t as block } from "./blocks-CVoBC7ur.mjs";
4
- import { n as createTasksInChunks, t as TasksInChunksError } from "./exports-FRbxGU5M.mjs";
5
- import { t as board } from "./server-24oEf9i9.mjs";
4
+ import { n as createTasksInChunks, t as TasksInChunksError } from "./exports-DSX-CI5c.mjs";
5
+ import { t as board } from "./server-55vryxAl.mjs";
6
6
  export { BoardError, DroppedError, HttpError, TasksInChunksError, block, board, createTasksInChunks, duration };