make the themes a module (#648)

related to
- https://github.com/nushell/nupm/pull/33

## description
with https://github.com/nushell/nupm/pull/33, Nupm can now install
separate modules from a single package 🥳

the `nu_scripts` are a package and looks like they contain a few
potential standalone modules:
- the themes
- the hooks
- the custom completions
- ...

this PR is a proposal to move `themes/` to `nu-themes/` and add
`./nu-themes/` as a module to the `nu-scripts` package.
that way when running `nupm install --path .` in the root of the
`nu_scripts`, a `nu-themes` module will be installed in
`$env.NUPM_HOME/modules`.

then one can run
```nushell
use nu-themes/themes/nushell-dark.nu
```
and next get the theme with
```nushell
nushell-dark
```
This commit is contained in:
Antoine Stevan 2023-10-23 18:25:04 +02:00 committed by GitHub
parent 2fa5caa586
commit cc0719bdad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
454 changed files with 1 additions and 0 deletions

View File

@ -5,4 +5,5 @@
license: "https://github.com/nushell/nu_scripts/blob/main/LICENSE"
version: 0.1.0
type: "module"
modules: ["./themes/nu-themes/"]
}

Some files were not shown because too many files have changed in this diff Show More