@tablation/crew 0.161.0 → 0.162.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 +20 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -9128,6 +9128,8 @@ var FIELD_ENTRIES = [
|
|
|
9128
9128
|
f("issues", "cacheWriteTokens", "columns.cacheWriteTokens", "cache_write_tokens", "number", "Cache write tokens", "Without it per-ticket token spend is not kept.", opt),
|
|
9129
9129
|
f("issues", "costUsd", "columns.costUsd", "cost_usd", "number", "Cost (USD)", "Without it per-ticket spend is not kept.", opt),
|
|
9130
9130
|
f("issues", "crewAssisted", "columns.crewAssisted", "crew_assisted", "boolean", "Crew assisted", "Without it tickets the crew worked are not marked.", opt),
|
|
9131
|
+
f("issues", "description", "columns.description", "description", "text", "Description", "Without it the platform cannot tell its own setup tickets from a first ticket, and cannot write one.", opt),
|
|
9132
|
+
f("issues", "needsPlanning", "columns.needsPlanning", "needs_planning", "boolean", "Needs planning", "Without it the platform counts every ticket in a demand status as plannable, including ones a person still owes scoping.", opt),
|
|
9131
9133
|
f("projects", "workMode", "columns.workMode", "work_mode", "choice", "Work mode", "Without it every project is worked automatically.", opt),
|
|
9132
9134
|
f("comments", "parent", "comments.parent", "ticket_id", "link", "Comment ticket", "Without it a comment cannot be tied to its ticket."),
|
|
9133
9135
|
f("comments", "body", "comments.body", "body", "text", "Comment body", "Without it a comment has no text."),
|
|
@@ -9136,6 +9138,16 @@ var FIELD_ENTRIES = [
|
|
|
9136
9138
|
f("comments", "ship", "comments.ship", "ship_id", "link", "Posted from ship", "Without it a comment does not name the machine that posted it.", opt),
|
|
9137
9139
|
f("comments", "publicReply", "comments.publicReply", "is_public_reply", "boolean", "Public reply", "Without it replies from a public form are read as the team\u2019s.", opt),
|
|
9138
9140
|
f("comments", "authorName", "comments.authorName", "author_name", "text", "Public author name", "Without it a public reporter\u2019s name is lost.", opt),
|
|
9141
|
+
// Read by the platform's scheduler, project setup checklist and repository
|
|
9142
|
+
// pages (interface 1.2, CREW-3633). All optional: the platform reports a role
|
|
9143
|
+
// it needs but the app did not map as 'not ready' with that reason.
|
|
9144
|
+
f("repos", "name", "repos.name", "name", "text", "Repository name", "Without it a repository has no short name to show or route by.", opt),
|
|
9145
|
+
f("repos", "remote", "repos.remote", "remote", "text", "Repository remote", "Without it the platform cannot tell which `owner/name` a repository is.", opt),
|
|
9146
|
+
f("repos", "enabled", "repos.enabled", "enabled", "boolean", "Repository enabled", "Without it the platform cannot tell a repository crew works from one it has switched off.", opt),
|
|
9147
|
+
f("repos", "ciProvider", "repos.ciProvider", "ci_provider", "any", "CI provider", "Without it the platform cannot tell which CI system a repository uses (a text or choice field).", opt),
|
|
9148
|
+
f("repos", "appUrl", "repos.appUrl", "app_url", "text", "App URL", "Without it the setup checklist has no link to where the app is served.", opt),
|
|
9149
|
+
f("repos", "project", "repos.project", "project_id", "link", "Repository project", "Without it setup tickets cannot tell which project a repository belongs to.", { ...opt, linkTo: "projects" }),
|
|
9150
|
+
f("crew", "userId", "crew.userId", "user_id", "any", "Workspace membership", "Without it the platform cannot find the adding member\u2019s seat (the field holds the workspace membership id of the person the seat is).", opt),
|
|
9139
9151
|
// The optional questions part (interface 1.1, CREW-3588). The shapes are the
|
|
9140
9152
|
// ones the platform's Record choices requirement asks of its questions and
|
|
9141
9153
|
// answers tables; `questionsPartMapped` says when a mapping carries enough of
|
|
@@ -9222,7 +9234,9 @@ function contractFromMapping(base, mapping) {
|
|
|
9222
9234
|
epics: next.epics,
|
|
9223
9235
|
maps: next.maps,
|
|
9224
9236
|
questions: next.questions,
|
|
9225
|
-
answers: next.answers
|
|
9237
|
+
answers: next.answers,
|
|
9238
|
+
repos: next.repos,
|
|
9239
|
+
crew: next.crew
|
|
9226
9240
|
};
|
|
9227
9241
|
for (const e of FIELD_ENTRIES) {
|
|
9228
9242
|
const col = mapping.fields[e.role];
|
|
@@ -9309,6 +9323,8 @@ var DEFAULT_CONTRACT = {
|
|
|
9309
9323
|
maps: { ...MAP_DEFAULTS, activeStatus: "active" },
|
|
9310
9324
|
questions: defaultGroup("questions"),
|
|
9311
9325
|
answers: defaultGroup("answers"),
|
|
9326
|
+
repos: defaultGroup("repos"),
|
|
9327
|
+
crew: defaultGroup("crew"),
|
|
9312
9328
|
questionStatuses: defaultQuestionStatuses(),
|
|
9313
9329
|
priorityOrder: ["p0", "p1", "p2", "p3"],
|
|
9314
9330
|
severityOrder: ["s1", "s2", "s3", "s4"],
|
|
@@ -9335,6 +9351,8 @@ function resolveContract(override) {
|
|
|
9335
9351
|
maps: { ...DEFAULT_CONTRACT.maps, ...override.maps },
|
|
9336
9352
|
questions: { ...DEFAULT_CONTRACT.questions, ...override.questions },
|
|
9337
9353
|
answers: { ...DEFAULT_CONTRACT.answers, ...override.answers },
|
|
9354
|
+
repos: { ...DEFAULT_CONTRACT.repos, ...override.repos },
|
|
9355
|
+
crew: { ...DEFAULT_CONTRACT.crew, ...override.crew },
|
|
9338
9356
|
questionStatuses: { ...DEFAULT_CONTRACT.questionStatuses, ...override.questionStatuses },
|
|
9339
9357
|
priorityOrder: override.priorityOrder ?? DEFAULT_CONTRACT.priorityOrder,
|
|
9340
9358
|
severityOrder: override.severityOrder ?? DEFAULT_CONTRACT.severityOrder,
|
|
@@ -29148,7 +29166,7 @@ import { dirname as dirOf2, resolve as resolvePath } from "path";
|
|
|
29148
29166
|
import { existsSync as existsSync56, readdirSync as readdirSync18, statSync as statSync17 } from "fs";
|
|
29149
29167
|
import { join as join60 } from "path";
|
|
29150
29168
|
function builtVersion() {
|
|
29151
|
-
return true ? "0.
|
|
29169
|
+
return true ? "0.162.0" : null;
|
|
29152
29170
|
}
|
|
29153
29171
|
var REBUILD_HINT = "rebuild with npm run build";
|
|
29154
29172
|
function newestMtime(path) {
|
package/package.json
CHANGED