Skip to content
13 changes: 7 additions & 6 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,16 @@
"./release-notes/"
],
"imports": {
"@std/fs": "jsr:@std/[email protected].19",
"@std/path": "jsr:@std/[email protected].2",
"@std/assert": "jsr:@std/[email protected].15",
"@std/streams": "jsr:@std/[email protected].13",
"@std/fs": "jsr:@std/[email protected].23",
"@std/path": "jsr:@std/[email protected].4",
"@std/assert": "jsr:@std/[email protected].19",
"@std/streams": "jsr:@std/[email protected].17",
"@cliffy/command": "jsr:@cliffy/[email protected]",
"@cliffy/prompt": "jsr:@cliffy/[email protected]",
"neverthrow": "npm:neverthrow@^6.2.2",
"detect-indent": "npm:detect-indent@^7.0.2",
"neverthrow": "npm:neverthrow@^8.2.0",
"@kdclients": "jsr:@kinsondigital/[email protected]",
"@zod": "npm:zod@4.1.12",
"@zod": "npm:zod@^4.3.6",
"@sprocket": "jsr:@kinsondigital/[email protected]"
},
"exports": {
Expand Down
170 changes: 139 additions & 31 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dev-tools/create-pr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const featureBranch = await Input.prompt({

const chosenBaseBranch = await Select.prompt({
message: "Choose the pull request base branch:",
options: ["develop", "main"],
options: ["main", "develop"],
});

// If the chosen branch exists
Expand Down
41 changes: 41 additions & 0 deletions installation/core/deno.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* Represents a standard deno task, which is either a command string or `undefined`.
*/
export type Task = string | undefined;

/**
* Represents a structured deno task definition with a description, command, and optional dependencies.
*/
export type TaskDefinition = {
/**
* A human-readable description of what the task does.
*/
description: string;

/**
* The command to execute when the task is run.
*/
command: string;

/**
* An optional list of task names that must run before this task.
*/
dependencies?: string[];
};

/**
* A record of task names mapped to either a command string, a {@link Task}, or a {@link TaskDefinition}.
*/
export type Tasks = {
[key: string]: string | Task | TaskDefinition;
};

/**
* Represents a deno configuration object, optionally containing a set of {@link Tasks}.
*/
export type DenoConfig = {
/**
* The optional collection of tasks defined in the configuration.
*/
tasks?: Tasks;
};
Loading