Skip to content

Commit

Permalink
Change default registry to the new one
Browse files Browse the repository at this point in the history
  • Loading branch information
kubouch committed Mar 28, 2024
1 parent bde509c commit 661865f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nupm/utils/dirs.nu
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const DEFAULT_NUPM_TEMP = ($nu.temp-path | path join "nupm")

# Default registry
export const DEFAULT_NUPM_REGISTRIES = {
nupm_test: 'https://raw.githubusercontent.com/nushell/nupm/main/registry.nuon'
nupm_test: 'https://raw.githubusercontent.com/nushell/nupm/main/registry/registry.nuon'
}

# Prompt to create $env.NUPM_HOME if it does not exist and some sanity checks.
Expand Down
3 changes: 1 addition & 2 deletions toolkit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export def --env set-nupm-env [--clear] {
$env.NUPM_HOME = ($env.PWD | path join _nupm_dev)
$env.NUPM_CACHE = ($env.PWD | path join _nupm_dev cache)
$env.NUPM_TEMP = ($env.PWD | path join _nupm_dev tmp)
# $env.NUPM_REGISTRIES = { nupm_dev: ($env.PWD | path join registry registry.nuon) }
$env.NUPM_REGISTRIES = { nupm_dev: 'https://git.sr.ht/~kubouch/nupkgs/blob/main/registry/registry.nuon' }
$env.NUPM_REGISTRIES = { nupm_dev: ($env.PWD | path join registry registry.nuon) }

if $nu.os-info.family == 'windows' and 'Path' in $env {
$env.Path = ($env.Path | prepend ($env.PWD | path join _nupm_dev scripts))
Expand Down

0 comments on commit 661865f

Please sign in to comment.