@vercel/board 0.51.1 → 0.52.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/backend-local.mjs +1 -1
- package/dist/cli-embedded.mjs +2 -2
- package/dist/cli.mjs +5 -5
- package/dist/{exports-BFeX9HNn.mjs → exports-DI-MtN01.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.node.mjs +2 -2
- package/dist/inspect/app.js +28 -28
- package/dist/{inspect-fOA9UNPD.mjs → inspect-BJR-BsUv.mjs} +2 -2
- package/dist/inspect-CYfZ0vva.mjs +2 -0
- package/dist/inspect.mjs +1 -1
- package/dist/{local-DTzfnJAf.mjs → local-B376y9u3.mjs} +2 -2
- package/dist/{main-Dq6yQxNB.mjs → main-DfJNxck4.mjs} +4 -4
- package/dist/{serve-Bdwok1A9.mjs → serve-D8j7O2Tc.mjs} +3 -3
- package/dist/{server-DbYDp2Lr.mjs → server--BLSj6fd.mjs} +2 -2
- package/dist/{shell-CmZylG0M.mjs → shell-qrJL3Z_R.mjs} +6 -1
- package/dist/sync-github.d.mts +40 -0
- package/dist/sync-github.mjs +88 -6
- package/dist/{task-batch-Da6Q_7AK.mjs → task-batch-6UHphYfl.mjs} +1 -1
- package/dist/{version-BltS6V9X.mjs → version-NfsFHDfg.mjs} +1 -1
- package/docs/02-sync/04-github.md +7 -4
- package/package.json +1 -1
- package/dist/inspect-Bd_mBGFt.mjs +0 -2
package/dist/backend-local.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as local } from "./local-
|
|
1
|
+
import { t as local } from "./local-B376y9u3.mjs";
|
|
2
2
|
export { local };
|
package/dist/cli-embedded.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as stoppedBy } from "./exports-
|
|
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-
|
|
1
|
+
import { o as stoppedBy } from "./exports-DI-MtN01.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-DfJNxck4.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
2
|
import { a as option } from "./commands-B_gbi2sU.mjs";
|
|
3
|
-
import { g as projectDir } from "./server
|
|
4
|
-
import { r as main } from "./main-
|
|
5
|
-
import { i as createInspector, r as stopped, t as allowedHosts } from "./inspect-
|
|
3
|
+
import { g as projectDir } from "./server--BLSj6fd.mjs";
|
|
4
|
+
import { r as main } from "./main-DfJNxck4.mjs";
|
|
5
|
+
import { i as createInspector, r as stopped, t as allowedHosts } from "./inspect-BJR-BsUv.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-
|
|
40
|
+
return (await import("./inspect-CYfZ0vva.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-
|
|
84
|
+
const { serveLocal } = await import("./serve-D8j7O2Tc.mjs");
|
|
85
85
|
const local = await serveLocal({
|
|
86
86
|
dir: flags.dir ?? join(root, ".board"),
|
|
87
87
|
hosts,
|
|
@@ -5,9 +5,9 @@ import { a as duplicateId, c as notFound, d as unauthorized, f as BoardError, h
|
|
|
5
5
|
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-iVTNf5Su.mjs";
|
|
6
6
|
import { n as blocksIn, r as findBlocks } from "./blocks-CVoBC7ur.mjs";
|
|
7
7
|
import { a as replaceMentions, i as mentionTerms, o as settleMentions, r as mentionTerm, t as extractMentions } from "./mentions-CnWt9Z5b.mjs";
|
|
8
|
-
import { t as VERSION } from "./version-
|
|
8
|
+
import { t as VERSION } from "./version-NfsFHDfg.mjs";
|
|
9
9
|
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-DdojoPZm.mjs";
|
|
10
|
-
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-
|
|
10
|
+
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-6UHphYfl.mjs";
|
|
11
11
|
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-zPqFJocD.mjs";
|
|
12
12
|
import { a as resolveActor, o as viaOf, r as claimsOf, t as KNOWN_AGENTS } from "./actors-CDkNgWUL.mjs";
|
|
13
13
|
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-DbCKqGXp.mjs";
|
|
2
2
|
import { t as DroppedError } from "./middleware-iVTNf5Su.mjs";
|
|
3
3
|
import { t as block } from "./blocks-CVoBC7ur.mjs";
|
|
4
|
-
import { n as createTasksInChunks, r as createBoard, s as createVercel, t as TasksInChunksError } from "./exports-
|
|
4
|
+
import { n as createTasksInChunks, r as createBoard, s as createVercel, t as TasksInChunksError } from "./exports-DI-MtN01.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
|
package/dist/index.node.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as BoardError, m as duration, t as HttpError } from "./errors-DbCKqGXp.mjs";
|
|
2
2
|
import { t as DroppedError } from "./middleware-iVTNf5Su.mjs";
|
|
3
3
|
import { t as block } from "./blocks-CVoBC7ur.mjs";
|
|
4
|
-
import { n as createTasksInChunks, t as TasksInChunksError } from "./exports-
|
|
5
|
-
import { t as board } from "./server
|
|
4
|
+
import { n as createTasksInChunks, t as TasksInChunksError } from "./exports-DI-MtN01.mjs";
|
|
5
|
+
import { t as board } from "./server--BLSj6fd.mjs";
|
|
6
6
|
export { BoardError, DroppedError, HttpError, TasksInChunksError, block, board, createTasksInChunks, duration };
|