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

Remove --unstable-workspaces flag #273

Merged
merged 1 commit into from
Jan 15, 2024
Merged
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
48 changes: 2 additions & 46 deletions runtime/manual/tools/unstable_flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ deno --help

You can enable a feature flag when you run a Deno program from the command line
by passing in the flag as an option to the CLI. Here's an example of running a
program with the `--unstable-workspaces` flag enabled:
program with the `--unstable-byonm` flag enabled:

```sh
deno run --unstable-workspaces main.ts
deno run --unstable-byonm main.ts
```

## Configuring flags in `deno.json`
Expand Down Expand Up @@ -206,50 +206,6 @@ Enabling this flag makes the [`Deno.cron`](/kv/manual/cron) API available on the
Enabling this flag makes [Deno KV](/kv/manual/cron) APIs available in the `Deno`
namespace.

## `--unstable-workspaces`

**Environment variable:** `DENO_UNSTABLE_WORKSPACES`

Enabling this flag allows `deno.json` to specify a `workspaces` key, that
accepts a list of subdirectories. Each workspace can have its own import map.
It's required to specify `"name"` and `"version"` properties in the
configuration file for the workspace:

```json
// deno.json
{
"workspaces": [
"a",
"b"
},
"imports": {
"express": "npm:express@5"
}
}
```

```json
// a/deno.json
{
"name": "a",
"version": "1.0.2",
"imports": {
"kleur": "npm:kleur"
}
}
```

```json
// b/deno.json
{
"name": "b",
"version": "0.51.0",
"imports": {
"chalk": "npm:chalk"
}
}
```

## `--unstable-ffi`

Enable unstable FFI APIs -
Expand Down