mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
b1c6142f74
This commit effectively turns Deno into Deno 2.0. This is done by forcing `DENO_FUTURE=1` env var, that was available in the past few months to try Deno 2 changes. This commit contains several breaking changes scheduled for Deno 2: - all deprecated JavaScript APIs are not available any more, mostly `Deno.*` APIs - `window` global is removed - FFI, WebGPU and FS APIs are now stable and don't require `--unstable-*` flags - import assertions are no longer supported - "bring your own node modules" is enabled by default This is the first commit in a series that are scheduled before the Deno 2 release. Follow up work is tracked in https://github.com/denoland/deno/issues/25241. --------- Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com> Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> Co-authored-by: Nathan Whitaker <nathan@deno.com>
43 lines
1.2 KiB
Text
43 lines
1.2 KiB
Text
{
|
|
"tempDir": true,
|
|
"tests": {
|
|
"global_cache": {
|
|
"args": "run --node-modules=global-auto b/main.ts",
|
|
"output": "b/main_global_cache.out"
|
|
},
|
|
"global_cache_bare_specifier_not_in_pkg": {
|
|
"args": "run --node-modules=global-auto main.ts",
|
|
"output": "main.out"
|
|
},
|
|
"node_modules_dir": {
|
|
"args": "run --node-modules=local-auto b/main.ts",
|
|
"output": "b/main_node_modules_dir.out"
|
|
},
|
|
"byonm": {
|
|
"envs": {
|
|
"DENO_FUTURE": "1"
|
|
},
|
|
"steps": [{
|
|
"args": "install",
|
|
"output": "[WILDCARD]"
|
|
}, {
|
|
"args": "run b/main.ts",
|
|
"output": "b/main_byonm.out"
|
|
}]
|
|
},
|
|
"exports_sub_path_not_exists": {
|
|
// TODO(2.0): this test appears legitimately broken
|
|
"ignore": true,
|
|
"args": "run b/exports-sub-path-not-exists.ts",
|
|
"output": "b/exports-sub-path-not-exists.out",
|
|
"exitCode": 1
|
|
},
|
|
"no_exports_sub_path_not_exists": {
|
|
// TODO(2.0): this test appears legitimately broken
|
|
"ignore": true,
|
|
"args": "run b/no-exports-sub-path-not-exists.ts",
|
|
"output": "b/no-exports-sub-path-not-exists.out",
|
|
"exitCode": 1
|
|
}
|
|
}
|
|
}
|