1
0
mirror of https://github.com/nushell/nushell.git synced 2025-05-24 20:00:47 +02:00
nushell/crates
Wind 7d7dbd8b2c
Fix missing required overlay error ()
# Description
Fixes: 

The error occurs when using an alias with a module prefix, it can
initially pass through alias checking, but if the alias leads to
commands which have side effects, it doesn't call these functions to
apply side effects.
This pr ensure that in such cases, nushell still calls
`parse_overlay_xxx` functions to apply the side effects.

I want to make my test easier to write, so this pr depends on
https://github.com/nushell/nushell/pull/15054.

# User-Facing Changes
The following code will no longer raise an error:
```
module inner {}
module spam { export alias b = overlay use inner }
use spam
spam b
```

# Tests + Formatting
Added 2 tests.

# After Submitting
NaN
2025-02-10 16:27:50 +08:00
..
nu_plugin_custom_values Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu_plugin_example Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu_plugin_formats Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu_plugin_gstat Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu_plugin_inc Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu_plugin_nu_example Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu_plugin_polars fix polars save example typo () 2025-02-06 07:01:09 -06:00
nu_plugin_python Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu_plugin_query Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu_plugin_stress_internals Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-cli refactor(completion): expression based variable/cell_path completion () 2025-02-09 22:26:41 -05:00
nu-cmd-base Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-cmd-extra Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-cmd-lang fix: clippy warnings with --all-features () 2025-02-07 12:30:25 +01:00
nu-cmd-plugin Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-color-config Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-command allow export alias in repl () 2025-02-10 15:32:05 +08:00
nu-derive-value Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-engine Enable nushell error with backtrace () 2025-02-06 22:05:58 +08:00
nu-explore feat(explore): Allow expanding selected cell with 'e' () 2025-02-06 06:56:53 -06:00
nu-glob Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-json Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-lsp fix(lsp): exit on null root_dir () 2025-02-08 06:49:38 -06:00
nu-parser Fix missing required overlay error () 2025-02-10 16:27:50 +08:00
nu-path Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-plugin Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-plugin-core Replaced IoError::new_with_additional_context calls that still had Span::unknown() () 2025-02-08 09:23:28 -06:00
nu-plugin-engine Replaced IoError::new_with_additional_context calls that still had Span::unknown() () 2025-02-08 09:23:28 -06:00
nu-plugin-protocol Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-plugin-test-support Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-pretty-hex Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-protocol fix ranges over zero-length input () 2025-02-08 19:57:28 -05:00
nu-std Add std-rfc README () 2025-02-09 11:21:56 -05:00
nu-system Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-table Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-term-grid Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nu-test-support fix: clippy warnings with --all-features () 2025-02-07 12:30:25 +01:00
nu-utils Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
nuon Bump to 0.102.1 dev version () 2025-02-05 00:19:48 -05:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

Nushell core libraries and plugins

These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.

Foundational libraries are split into two kinds of crates:

  • Core crates - those crates that work together to build the Nushell language engine
  • Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.

Plugins are likewise also split into two types:

  • Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
  • Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.