mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
split the package into nu-themes
and nu-hooks
(#700)
related to - https://github.com/nushell/nupm/pull/50 ## description `nu-scripts` was not really a package but rather a set of two module packages. this feature has been removed from Nupm in https://github.com/nushell/nupm/pull/50 and this PR fixes the `nu-scripts` packages. > **Note** > the files in `nu-hooks/` have been moved to `nu-hooks/nu-hooks/` to fit into the current model of Nupm this PR does not change anything from the user point of view, apart from the install that goes from ```nushell nupm install --path --force . ``` to ```nushell for pkg in (ls **/package.nuon | get name | path dirname) { nupm install --force --path $pkg } ```
This commit is contained in:
parent
7025edf6d6
commit
4180ce853c
9 changed files with 10 additions and 3 deletions
|
@ -1,9 +1,8 @@
|
|||
{
|
||||
name: "nu-scripts"
|
||||
description: "A place to share Nushell scripts with each other"
|
||||
name: "nu-hooks"
|
||||
description: "Officially-supported hooks for Nushell"
|
||||
documentation: "https://github.com/nushell/nu_scripts/blob/main/README.md"
|
||||
license: "https://github.com/nushell/nu_scripts/blob/main/LICENSE"
|
||||
version: 0.1.0
|
||||
type: "module"
|
||||
modules: ["./themes/nu-themes/", "./nu-hooks/"]
|
||||
}
|
8
themes/package.nuon
Normal file
8
themes/package.nuon
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
name: "nu-themes"
|
||||
description: "Officially-supported themes for Nushell"
|
||||
documentation: "https://github.com/nushell/nu_scripts/blob/main/README.md"
|
||||
license: "https://github.com/nushell/nu_scripts/blob/main/LICENSE"
|
||||
version: 0.1.0
|
||||
type: "module"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue