Commit graph

26 commits

Author SHA1 Message Date
Ry Dahl d492c5abe3
feat: Deno.args now does not include script (#3628)
Previously Deno.args was ["script.js", "arg1", "arg2"]
Now it is just ["arg1", "arg2"]
BREAKING CHANGE
2020-01-09 11:37:01 -07:00
Ry Dahl c50cab90a0
Remove xeval subcommand (#3630) 2020-01-08 17:40:59 -05:00
Ry Dahl 2d5457df15
feat(flags): script arguments come after '--' (#3621) 2020-01-08 14:59:53 -05:00
Kitson Kelly d325566a7e Runtime Compiler API (#3442)
Also restructures the compiler TypeScript files to make them easier to
manage and eventually integrate deno_typescript fully.
2020-01-08 09:17:44 -05:00
Nayeem Rahman 4e1a638bc5 doc: Add glib2.0 as a build prerequisite (#3608) 2020-01-05 19:35:45 -05:00
Nayeem Rahman 954a0c64e7 doc: Update and improve build instructions (#3547) 2019-12-24 22:00:30 -05:00
Nayeem Rahman e8d82a6348 feat: Add missing mod.ts files in std (#3509)
std/archive/tar.ts:
- Remove FileReader.
- Remove FileWriter.

std/encoding/csv.ts:
- ExtendedParseOptions -> ParseOptions
- HeaderOption -> HeaderOptions
- ParseOptions -> ReadOptions
- readAll() -> readMatrix()

std/encoding/yaml.ts:
- DumpOptions -> StringifyOptions

std/fmt/colors.ts:
- getEnabled() -> getColorEnabled()
- setEnabled() -> setColorEnabled()

std/testing/mod.ts:
- Re-export sibling modules.
2019-12-20 15:21:30 -05:00
Christian Bromann 1c09cc63c8 fix code example (#3519) 2019-12-18 09:44:30 -05:00
dnalborczyk ef17488398 fix v8-flags example to manual (#3470) 2019-12-12 13:02:07 +08:00
Ry Dahl c016684653
refactor: reorganize flags (#3389)
- Remove ability to specify run arguments like `--allow-net` after the
  script argument. It's too hacky to make work with clap.
- Remove `--v8-options`, instead use `--v8-flags=--help`
- Give more descriptive names to unit tests in flags.rs
- Assume argv and subcommand into DenoFlags struct so the output of
  flags module is only DenoFlags rather than the tuple (subcommand, flags,
  argv).
- Improve CLI help text
- Make `deno run` specific args like `--allow-net` only show up in 'deno
  help run' instead of as global flags in `deno help`.
- Removes `deno version` to simplify our implementation and be closer to
  clap defaults. `deno -V` now only shows Deno's version and not V8's nor
  TypeScript. `Deno.versions` can be used to see that information.
- Prevent clap from auto-detecting terminal width and attempting to wrap
  text.
2019-11-26 08:06:32 -08:00
Kitson Kelly 8d977d0117 feat: Support named exports on bundles. (#3352) 2019-11-20 11:02:08 -05:00
Ry Dahl e6fdb2628f chore: improve examples (#3377) 2019-11-18 22:07:13 -08:00
Andy Hayden 411f53f7bb Add wasm example to manual (#3353) 2019-11-15 12:42:40 -05:00
Kitson Kelly 8d03397293 Make bundles fully standalone (#3325)
- Bundles are fully standalone. They now include the shared loader with
  `deno_typescript`.
- Refactor of the loader in `deno_typescript` to perform module
  instantiation in a more
- Change of behaviour when an output file is not specified on the CLI.
  Previously a default name was determined and the bundle written to that
  file, now the bundle will be sent to `stdout`.
- Refactors in the TypeScript compiler to be able to support the concept
  of a request type.  This provides a cleaner abstraction and makes it
  easier to support things like single module transpiles to the userland.
- Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`,
  and define `pid` and `noColor` in a better way.
- Don't bind early to `console` in `repl.ts`.
- Add an integration test for generating a bundle.
2019-11-13 10:35:56 -05:00
木杉 b3baab6d14 fix manual (#3313)
PS C:\Users\zhbnh> git config --global core.symlinks=true
error: invalid key: core.symlinks=true
2019-11-10 09:59:17 -05:00
Ry Dahl f466ef9706 manual: add chocolatey install instructions (#3280) 2019-11-06 21:05:37 -08:00
Ry Dahl 86b3ac5108
feat: lockfiles (#3231)
Use --lock-write=lock.json or --lock-check=lock.json on the command
line.
2019-11-03 10:39:27 -05:00
Joseph Sintum 0d41b10ade Update broken links (#3225) 2019-10-29 05:17:58 -04:00
Ry Dahl 38f01f73a4
Move prebuilt binaries to third_party (#3227) 2019-10-28 22:04:24 -04:00
Andy Hayden f484776384 Use top-level for-await in various places (#3217) 2019-10-28 15:58:35 -04:00
Yoshiya Hinosawa efd7e78af3 Use web standard Permissions API (#3200) 2019-10-27 11:22:53 -04:00
Andy Hayden aec5a646c9 feat: top-level-for-await (#3212) 2019-10-27 09:04:42 -04:00
Nayeem Rahman 51dd91a3cc Update link to schematic diagram in manual (#3211) 2019-10-26 21:15:49 -04:00
Nayeem Rahman 585993c8d5 Fix some deno.land URLs in the manual (#3205) 2019-10-26 10:40:13 -04:00
Ry Dahl be8777de19
Change magic table-of-contents thing (#3197)
We changed our markdown parser from showdown to remark for better react
integration, and it necessitated this change.
2019-10-24 17:58:57 -04:00
Ry Dahl 1d8f3cc896
Remove old website (#3194)
Move manual.md and style_guide.md into //std so they can be accessed
from https://deno.land/std/manual.md

Code for new website is https://github.com/denoland/deno_website2

Co-authored-by: Christian Moritz <chrmoritz@gmail.com>
2019-10-24 16:14:05 -04:00
Renamed from website/manual.md (Browse further)