forgemap 0.9.1-dev.160-950bb6b → 0.10.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.
@@ -236,7 +236,7 @@ async function readEntries$1(path) {
236
236
  try {
237
237
  const entries = await readdir(path, { withFileTypes: true });
238
238
  return {
239
- dirs: entries.filter((e) => e.isDirectory() && !e.name.startsWith(".")).map((e) => e.name),
239
+ dirs: entries.filter((e) => e.isDirectory()).map((e) => e.name),
240
240
  isRepo: entries.some((e) => e.name === GIT_MARKER)
241
241
  };
242
242
  } catch {
@@ -3250,7 +3250,7 @@ var infoCommand = defineCommand({
3250
3250
  async run({ args }) {
3251
3251
  const binary = resolveBinary(process.argv[1]);
3252
3252
  const info = {
3253
- version: "0.9.1-dev.160-950bb6b",
3253
+ version: "0.10.0",
3254
3254
  build: detectBuild(binary.resolved),
3255
3255
  binary,
3256
3256
  node: process.version,
@@ -3668,18 +3668,7 @@ ${name}() {
3668
3668
  if [ "$#" -eq 0 ]; then
3669
3669
  target=$(command forgemap pick) || return $?
3670
3670
  else
3671
- local matches
3672
- matches=$(command forgemap list "$1" --format path)
3673
- local count
3674
- count=$(printf '%s' "$matches" | grep -c '^/' || true)
3675
- if [ "$count" = "1" ]; then
3676
- target="$matches"
3677
- elif [ "$count" = "0" ]; then
3678
- echo "forgemap cd: no match for $1" >&2
3679
- return 1
3680
- else
3681
- target=$(command forgemap pick "$1") || return $?
3682
- fi
3671
+ target=$(command forgemap path "$1") || return $?
3683
3672
  fi
3684
3673
  [ -n "$target" ] && builtin cd "$target"
3685
3674
  return
@@ -3699,16 +3688,7 @@ function ${name} --description "forgemap with cd interception"
3699
3688
  if test (count $argv) -eq 0
3700
3689
  set target (command forgemap pick); or return $status
3701
3690
  else
3702
- set matches (command forgemap list $argv[1] --format path)
3703
- set count (count $matches)
3704
- if test $count -eq 1
3705
- set target $matches[1]
3706
- else if test $count -eq 0
3707
- echo "forgemap cd: no match for $argv[1]" >&2
3708
- return 1
3709
- else
3710
- set target (command forgemap pick $argv[1]); or return $status
3711
- end
3691
+ set target (command forgemap path $argv[1]); or return $status
3712
3692
  end
3713
3693
  test -n "$target"; and builtin cd $target
3714
3694
  return
@@ -4471,7 +4451,7 @@ var completionCommand = defineCommand({
4471
4451
  var rootCommand = defineCommand({
4472
4452
  meta: {
4473
4453
  name: "forgemap",
4474
- version: "0.9.1-dev.160-950bb6b",
4454
+ version: "0.10.0",
4475
4455
  description: "Manage a local repo layout of the form <root>/<forge.dir>/<owner>/<repo>"
4476
4456
  },
4477
4457
  subCommands: {