Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ One common Val Town Val workflow is branching out. `vt`'s `checkout` and
`<System Configuration Directory>/vt/config.yaml`. Right now, this file only
stores your `config.yaml`, and some experimental options.

This config can also be overridden locally for specific Vals when you are in
a `.vt` directory, by using `vt config set [-g for global]` (otherwise the global
This config can also be overridden locally for specific Vals when you are in a
`.vt` directory, by using `vt config set [-g for global]` (otherwise the global
config is modified). This can be useful if someone shares an API key with you so
you can collaborate on a Val. You can view all configuration options with
`vt config`, and all the ones you've set with `vt config get`.
Expand Down
20 changes: 10 additions & 10 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://raw.githubusercontent.com/denoland/deno/348900b8b79f4a434cab4c74b3bc8d4d2fa8ee74/cli/schemas/config-file.v1.json",
"name": "@valtown/vt",
"description": "The Val Town CLI",
"version": "0.1.44",
"version": "0.1.45",
"exports": "./vt.ts",
"license": "MIT",
"tasks": {
Expand All @@ -16,33 +16,33 @@
},
"imports": {
"@std/random": "jsr:@std/random@^0.1.2",
"@std/text": "jsr:@std/text@^1.0.15",
"@std/collections": "jsr:@std/collections@^1.1.2",
"@std/text": "jsr:@std/text@^1.0.16",
"@std/collections": "jsr:@std/collections@^1.1.3",
"@std/yaml": "jsr:@std/yaml@^1.0.9",
"@std/cache": "jsr:@std/cache@^0.2.0",
"gitignore-parser": "jsr:@cfa/gitignore-parser@^0.1.4",
"@cliffy/ansi": "jsr:@cliffy/ansi@^1.0.0-rc.8",
"@cliffy/command": "jsr:@cliffy/command@^1.0.0-rc.8",
"@cliffy/prompt": "jsr:@cliffy/prompt@^1.0.0-rc.8",
"@cliffy/table": "jsr:@cliffy/[email protected].7",
"@cliffy/table": "jsr:@cliffy/[email protected].8",
"@deno-library/logger": "jsr:@deno-library/logger@^1.2.0",
"@std/assert": "jsr:@std/assert@^1.0.13",
"@std/assert": "jsr:@std/assert@^1.0.14",
"@std/async": "jsr:@std/async@^1.0.14",
"@std/dotenv": "jsr:@std/dotenv@^0.225.5",
"@std/encoding": "jsr:@std/encoding@^1.0.10",
"@std/fs": "jsr:@std/fs@^1.0.19",
"@std/path": "jsr:@std/path@^1.1.1",
"@valtown/sdk": "jsr:@valtown/sdk@^1.13.0",
"@std/path": "jsr:@std/path@^1.1.2",
"@valtown/sdk": "jsr:@valtown/sdk@^2.0.0",
"xdg-portable": "jsr:@404wolf/xdg-portable@^0.1.0",
"highlight.js": "npm:highlight.js@^11.11.1",
"strip-ansi": "npm:strip-ansi@^7.1.0",
"strip-ansi": "npm:strip-ansi@^7.1.2",
"word-wrap": "npm:word-wrap@^1.2.5",
"zod-to-json-schema": "npm:zod-to-json-schema@^3.24.6",
"zod-validation-error": "npm:zod-validation-error@^3.5.3",
"zod-validation-error": "npm:zod-validation-error@^4.0.2",
"emphasize": "npm:emphasize@^7.0.0",
"kia": "jsr:@jonasschiano/[email protected]",
"open": "npm:open@^10.2.0",
"zod": "npm:zod@^3.25.76",
"zod": "npm:zod@^4.1.11",
"~/": "./src/",
"~/companion/": "./companion/"
},
Expand Down
104 changes: 63 additions & 41 deletions deno.lock

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

5 changes: 4 additions & 1 deletion src/cmd/lib/clone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ export const cloneCmd = new Command()
}

// Map vals to name format for selection
const valNames = vals.map((p) => p.name);
const valNames = vals
// Only show vals owned by the user (not orgs that the user is in)
.filter((p) => p.author.id === user.id)
.map((p) => p.name);

const selectedVal = await Input.prompt({
message: "Choose a Val to clone",
Expand Down
Loading