1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/cli/tests/integration
Bartek Iwańczuk 2b31634d61
feat(unstable): Workspaces support (#20410)
This commit adds unstable workspace support. This is extremely
bare-bones and
minimal first-pass at this.

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

```jsonc
// deno.json
{
  "workspaces": [
     "a",
     "b"
  },
  "imports": {
    "express": "npm:express@5"
   }
}
```
``` jsonc
// a/deno.json
{
  "name": "a",
  "version": "1.0.2",
  "imports": {
    "kleur": "npm:kleur"
  }
}
```
```jsonc
// b/deno.json
{
  "name": "b",
  "version": "0.51.0",
  "imports": {
    "chalk": "npm:chalk"
  }
}
```

`--unstable-workspaces` flag is required to use this feature:
```
$ deno run --unstable-workspaces mod.ts
```

---------

Co-authored-by: David Sherret <dsherret@gmail.com>
2023-11-17 11:30:53 +09:00
..
bench_tests.rs test(bench): mark explicit timer test as flaky (#20304) 2023-08-27 22:22:23 +02:00
bundle_tests.rs feat(cli): --ext parameter for run, compile, and bundle (#17172) 2023-03-22 10:15:53 -04:00
cache_tests.rs chore: switch compile tests over to the TestBuilder (#21180) 2023-11-17 11:30:13 +09:00
cert_tests.rs feat(ext/net): use rustls_tokio_stream (#21205) 2023-11-17 11:30:38 +09:00
check_tests.rs feat: granular --unstable-* flags (#20968) 2023-11-01 23:15:08 +01:00
compile_tests.rs chore: switch compile tests over to the TestBuilder (#21180) 2023-11-17 11:30:13 +09:00
coverage_tests.rs fix: exclude internal JS files from coverage (#20448) 2023-09-11 13:53:42 +00:00
doc_tests.rs fix(doc): deno doc --lint mod.ts should output how many files checked (#21084) 2023-11-04 04:43:54 +00:00
eval_tests.rs feat(unstable): deno run --env (#20300) 2023-11-01 15:21:13 +00:00
flags_tests.rs chore: Remove 'UNSTABLE:' from 'deno compile' help (#21003) 2023-10-28 01:54:52 +00:00
fmt_tests.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
info_tests.rs feat(unstable): package manager (#20517) 2023-09-18 10:46:44 -04:00
init_tests.rs fix(init): skip existing files instead of erroring (#20434) 2023-09-12 12:55:26 +02:00
inspector_tests.rs refactor: rewrite ext/io, ext/webstorage ops to op2 (#20461) 2023-09-12 12:42:05 +02:00
install_tests.rs fix(install): should work with non-existent relative root (#21161) 2023-11-17 11:29:15 +09:00
js_unit_tests.rs chore: migrate to new deno_core and metrics (#21057) 2023-11-05 14:27:36 -07:00
jsr_tests.rs fix: improve deno doc --lint error messages (#21156) 2023-11-17 11:27:51 +09:00
lint_tests.rs chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
lsp_tests.rs fix(lsp): update tsconfig after refreshing settings on init (#21170) 2023-11-17 11:28:56 +09:00
mod.rs feat(unstable): package manager (#20517) 2023-09-18 10:46:44 -04:00
node_compat_tests.rs chore(cli): use NPM_CONFIG_REGISTRY for all tests (#20320) 2023-08-29 13:02:54 -06:00
node_unit_tests.rs fix(ext/node): don't call undefined nextTick fn (#20724) 2023-10-02 14:13:57 +02:00
npm_tests.rs fix(npm): support cjs entrypoint in node_modules folder (#21224) 2023-11-17 11:30:46 +09:00
repl_tests.rs fix(repl): jsxImportSource was not working (#21049) 2023-11-01 23:04:54 +00:00
run_tests.rs feat(unstable): Workspaces support (#20410) 2023-11-17 11:30:53 +09:00
shared_library_tests.rs Revert "chore: use kqueue backend of notify on macOS" (#21039) 2023-11-01 15:54:27 +00:00
task_tests.rs fix(npm): run pre and post tasks if present (#19178) 2023-05-18 15:51:17 -04:00
test_tests.rs fix(test): --junit-path should handle when the dir doesn't exist (#21044) 2023-11-01 19:59:51 +00:00
upgrade_tests.rs chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
vendor_tests.rs feat(vendor): support for npm specifiers (#19186) 2023-05-19 22:39:27 +00:00
watcher_tests.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
worker_tests.rs fix: regression in workers using dynamic imports (#20006) 2023-08-02 01:19:44 +00:00