Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deno|bun: make non-experimental #1152

Merged
merged 3 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1213,8 +1213,8 @@ You can see the core plugins with `rtx plugin ls --core`.
- [Ruby](./docs/ruby.md)
- [Go](./docs/go.md)
- [Java](./docs/java.md)
- [Deno (experimental)](./docs/deno.md)
- [Bun (experimental)](./docs/bun.md)
- [Deno](./docs/deno.md)
- [Bun](./docs/bun.md)

## FAQs

Expand Down
8 changes: 3 additions & 5 deletions src/plugins/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ pub type PluginMap = BTreeMap<String, Arc<dyn Plugin>>;

pub static CORE_PLUGINS: Lazy<PluginMap> = Lazy::new(|| {
let plugins: Vec<Arc<dyn Plugin>> = vec![
Arc::new(BunPlugin::new()),
Arc::new(DenoPlugin::new()),
Arc::new(GoPlugin::new()),
Arc::new(JavaPlugin::new()),
if *RTX_NODE_BUILD == Some(true) {
Expand All @@ -56,11 +58,7 @@ pub static CORE_PLUGINS: Lazy<PluginMap> = Lazy::new(|| {
});

pub static EXPERIMENTAL_CORE_PLUGINS: Lazy<PluginMap> = Lazy::new(|| {
let plugins: Vec<Arc<dyn Plugin>> = vec![
Arc::new(BunPlugin::new()),
Arc::new(DenoPlugin::new()),
Arc::new(ErlangPlugin::new()),
];
let plugins: Vec<Arc<dyn Plugin>> = vec![Arc::new(ErlangPlugin::new())];
plugins
.into_iter()
.map(|plugin| (plugin.name().to_string(), plugin))
Expand Down