1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
Commit graph

264 commits

Author SHA1 Message Date
Bartek Iwańczuk
aebbdd5cc2
Revert "feat(lint): stabilize "deno lint" subcommand (#8075)" (#8128)
This reverts commit c5c48f845a.
2020-10-26 13:36:13 +01:00
Bartek Iwańczuk
c5c48f845a
feat(lint): stabilize "deno lint" subcommand (#8075)
This commit stabilizes "deno lint" by removing
the need to pass --unstable flag.

--unstable is still required when using --json flag.
2020-10-22 21:52:37 +02:00
Max Drosdo.www
17eaede643
docs: fix command examples use outdated default file_server port (#8062) 2020-10-22 17:17:38 +02:00
Casper Beyer
322913ee5c
docs(tools/repl): add special variables section (#8057) 2020-10-21 13:41:29 +02:00
Nayeem Rahman
070d99645f
chore: Rename --importmap to --import-map (#7032)
--importmap still works as an alias to --import-map
but is not visible in CLI help output.
2020-10-20 14:30:59 +02:00
Josh
9141c76b25
docs: Mention how to use a specific shell for Deno.run (#7966) 2020-10-20 13:11:38 +02:00
Carter Snook
4ff5003eb6
docs(cli): interfaces used as parameters should be exported (#7500)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-10-20 13:41:40 +11:00
Casper Beyer
e58763737e
docs(getting_started): fix WebAssembly example (#8028) 2020-10-19 14:43:58 +02:00
Casper Beyer
f91c1155f0
docs(tools): add repl section (#8011)
This adds a section on the repl with the keybindings that we support out
of the box.
2020-10-19 13:33:15 +02:00
sakas
f42d0fc99e
docs: fix links to examples (#7919) 2020-10-13 17:19:34 +02:00
Trivikram Kamat
f4c3d50120
docs: add Deno internals talk from Paris Deno (#7889) 2020-10-09 23:03:56 -04:00
Steven Guerrero
82a17dad11
docs: fix deno.land/manual example and clarify linting of code (#7842)
Fixes #7841
2020-10-07 11:31:36 +11:00
Bartek Iwańczuk
6b8aef5103
chore: update contributing.md and PR template (#7820) 2020-10-06 10:40:48 +02:00
Trivikram Kamat
d0eb179132
docs: end sentences with a period in markdown (#7813) 2020-10-04 07:19:11 +11:00
Trivikram Kamat
391eed42f4
docs: update location of unit tests folder (#7814) 2020-10-04 07:16:13 +11:00
Trivikram Kamat
8ceb165e5d
docs: end sentences with a period in docs (#7730) 2020-09-28 16:01:32 +10:00
Trivikram Kamat
1437838ea1
docs: use const assertion for PermissionDescriptor (#7733)
Fixes #7731
2020-09-28 12:47:00 +10:00
Trivikram Kamat
54d897c140
docs: update deno bundle output to single line (#7734) 2020-09-28 12:46:19 +10:00
Nayeem Rahman
8cbf0e75b2
fix: Use $deno$test.ts instead of .deno.test.ts (#7717) 2020-09-27 14:21:11 -04:00
Trivikram Kamat
249d82099e
doc: use APA citation style for listing conference talks (#7721) 2020-09-27 13:50:42 -04:00
Trivikram Kamat
d2fde8a363
doc: end sentences with a period in examples (#7722) 2020-09-27 13:49:41 -04:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
Trivikram Kamat
c28757f379
docs: update GitHub doc links to use $CLI_VERSION (#7710) 2020-09-27 12:12:33 +02:00
Trivikram Kamat
13b5cc7673
docs: use $STD_VERSION in std lib import comment (#7707) 2020-09-27 12:11:01 +02:00
Trivikram Kamat
30252e25b8
docs: update --unstable flag forget message (#7708) 2020-09-27 07:56:03 +10:00
Search
52c67d301c
docs(cli): Update web assembly example and accepted compiler options in docs. (#7678)
Fixes #7556 
Fixes #7634
2020-09-27 05:48:32 +10:00
tokiedokie
43fa68e589
docs: V8 is a JavaScript engine, not a runtime (#7619) 2020-09-22 13:53:35 +10:00
michael spengler
5a8a4da524
docs: minor documentation improvement (#7603)
Closes #7602
2020-09-22 13:52:04 +10:00
Rob Waller
333462b9c2
docs: titles in examples should be sentence case (#7609) 2020-09-21 22:01:25 +10:00
Luca Casonato
303ebc0df4
chore: remove readJson/writeJson from manual (#7541) 2020-09-17 17:26:46 +02:00
Sidd Sridharan
aa81bc73d9
docs: fix typo assertAsyncThrows -> assertThrowsAsync (#7506) 2020-09-16 12:31:12 +02:00
Bartek Iwańczuk
44343a8aee
docs(lint): ignore diagnostic in whole file (#7489) 2020-09-15 10:02:19 +02:00
Piyotaro, Kiiroi (きいろい ぴよ太郎)
5819cfbeec
docs(std/testing) add a description of assertNotMatch(). (#7470) 2020-09-14 22:47:45 -04:00
Casper Beyer
9b8f1d9be8
docs(testing): describe coverage blackboxing rules (#7483) 2020-09-14 21:23:20 -04:00
Luca Casonato
f06724f238
docs: manual updates for 1.4 features and changes (#7440) 2020-09-13 15:17:25 +02:00
Chris Knight
95db324748
doc: improve Examples (#7428) 2020-09-12 08:03:18 -04:00
tokiedokie
7ff0c4d8c8
docs: move “Debugger” to “Debugging your code” in “Getting started” (#7421) 2020-09-11 16:28:25 +02:00
Danilo Sampaio
dfd8794da4
docs: add a Powershell autocomplete example (#7329) 2020-09-10 10:13:30 +02:00
Yusuke Tanaka
857f9b32e0
feat(fmt, lint): show number of checked files (#7312) 2020-09-09 16:45:31 +02:00
KrisChambers
1cd2267500
feat(info): Dependency count and sizes (#6786)
This commit changes "deno info" subcommand logic.

- Modules are no longer loaded into V8 isolate - analysis
  is done using ModuleGraph.
- Removed deno_core::Deps structure.
- Modules are no longer type-checked and transpiled - 
  "compiled" file is shown only if it is already available.
- Added number of unique dependencies for root module.
- Changed tree output:
  - file size is shown next to the dependency
  - repeated dependencies are marked with "*"
  - used less spaces in prefix to save terminal width
2020-09-07 15:59:47 +02:00
crowlKats
849431eb1d
Fix hellish mistake in manual (#7363) 2020-09-05 16:34:20 -04:00
reuixiy
5b100cb874
docs: use the rightwards arrow symbol uniformly (#7331) 2020-09-03 15:14:28 +02:00
YellowBird
5db200b6ab
fix(docs): replace "eslint-ignore-" with "eslint-disable-" (#7319) 2020-09-02 12:03:35 +02:00
Yusuke Tanaka
fa65e49bc6
feat(lint): Add support for reading input from stdin (#7263) 2020-08-31 13:53:42 +02:00
Matt Barnett-Jones
58c83b671b
Typo in zsh env setup steps (#7250) 2020-08-29 10:15:23 -04:00
Yusuke Tanaka
0d11f3504b
fix(lint): use recommended rules set (#7222) 2020-08-29 12:58:20 +02:00
Nayeem Rahman
3d23208019
fix(deno install): Strip "@..." suffixes from inferred names (#7223) 2020-08-27 16:55:58 -04:00
Benjamin Lupton
7583fd0979
docs(build): details on updating rust (#7133) 2020-08-27 10:59:36 +02:00
Rob Waller
765235341b
docs: add fetch and read/write examples (#7186) 2020-08-26 18:45:03 +02:00
Danny Denenberg
2df4a29f49
Typo (#7177) 2020-08-24 12:36:56 -04:00
tokiedokie
679a190fcd
add links in the manual (#7120) 2020-08-20 11:57:15 -04:00
Nayeem Rahman
015fa0bd41
refactor: permissions (#7074) 2020-08-18 16:29:32 -04:00
Yasser A.Idrissi
7f85bb3763
docs(contributing/artchitecture): Add Deno conference youtube link (#6859) 2020-08-18 13:36:12 -04:00
tokiedokie
7766500bf5
remove Table of Contents in docs/contributing/style_guide.md (#7067) 2020-08-18 00:32:52 -04:00
tokiedokie
68e1ba07d3
typos (#7082) 2020-08-17 12:17:57 -04:00
tokiedokie
42ff8ede4c
typo (#7052) 2020-08-15 09:47:14 -04:00
tokiedokie
496c9d73a1
improve docs (#7053) 2020-08-15 09:46:36 -04:00
tokiedokie
b9adfe53d3
typo (#7029) 2020-08-14 13:49:22 -04:00
Connor Peet
fbee85b1ae
docs: update VS Code debugging options for 1.47 (#6767) 2020-08-14 13:22:46 -04:00
Nayeem Rahman
81ce4499e7
fix: Make std work with isolatedModules (#7016) 2020-08-12 12:01:36 +02:00
Prabhanjan
fdb2dab7cd
docs: instructions for loading zsh completions (#6998) 2020-08-09 23:50:29 -04:00
Rob Waller
d7dcbab3ef
docs: Improve examples (#6958) 2020-08-06 11:35:08 -04:00
josephrocca
2cd1fe8edf
Fixed benchmarks url (#6952) 2020-08-04 07:46:07 -04:00
Arseny Kruglikov
bda9f61972
docs: fix some grammar mistakes in permissions.md (#6949) 2020-08-03 22:57:57 -04:00
Chayim Refael Friedman
e9d713c007
typo (#6937) 2020-08-03 10:53:18 -04:00
Ben Stolovitz
39693094f1
Fix grammatical error in Linter documentation (#6939) 2020-08-03 10:52:53 -04:00
Luca Casonato
4afb4b6e46
feat: add $STD_VERSION replacement variable in docs (#6922) 2020-07-31 11:12:20 +02:00
Jordan Cannon
3b7fdd6734
Fix typo (#6872) 2020-07-26 10:41:24 -04:00
Ryan Dahl
ca4dcb36dd
Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
takutoaoi
090455936c
docs: Fix broken links (#6853) 2020-07-23 10:05:36 -04:00
Jason Miller
c587450cd4
typo (#6800) 2020-07-19 12:10:55 -04:00
David Sherret
cde4dbb351
Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
Luca Casonato
ac000341db
--no-check docs (#6714) 2020-07-13 00:51:39 -04:00
Ryan Dahl
862bc2ecae
docs: Improve v8-flags docs (#6684) 2020-07-08 11:13:22 +02:00
Sebastien Filion
e8571742eb
docs: Update testing.md (#6680) 2020-07-07 15:58:10 +02:00
Sebastien Filion
4534db656d
feat(test): Add support for regex in filter flag (#6343)
Currently, the documentation makes it sound like the test subcommand's filter
flag could accept some kind of pattern matching value like a glob or a regex,
although the function "createFilterFn" accepts a regex as an argument, there's
no way to pass an actual regex value from the CLI.

This commit makes it possible to pass a string that could be cast as regex 
when string matches "^/.*/$".

With this change, a user can use the filter flag as follow:

deno test --filter "/test-.+/"

Also tested that `\` get escaped properly, on MacOS at least, and this is 
also a valid flag:

deno test --filter "/test-\d+/"
2020-07-07 15:13:38 +02:00
uki00a
74cd91ee56
typo (#6598) 2020-07-02 09:16:07 -04:00
Stanislav
55c234af97
docs: update discord link (#6599) 2020-07-02 09:15:36 -04:00
Haoran Liu
1c12098e4a
docs: update macOS dependencies of building V8 from source (#6538) 2020-06-28 10:19:58 -04:00
Vincent Victoria
6be3487f73
docs: Update import_maps.md to include more examples (#5648) 2020-06-27 13:52:07 +02:00
champ
1fcb71b355
fix typo (#6476) 2020-06-25 12:35:34 -04:00
Chris Knight
c98038a032
doc: add info on installing wasm32-wasi target (#6470) 2020-06-25 06:38:27 -04:00
Colin Harrington
f4397e5ec9
Update contributing.md for consistency (#6452) 2020-06-24 15:14:28 +02:00
Casper Beyer
d2403caa3b
doc: WASM -> WebAssembly (#6426) 2020-06-22 11:27:25 -04:00
Ryan Dahl
3c58767831
Remove logos from introduction -> deno.land/artwork (#6399) 2020-06-20 17:53:55 +02:00
Chris Knight
78a311aa5f
docs: Update standard library and testing manual pages (#6323) 2020-06-18 06:13:56 -04:00
Rob Waller
02ef670deb
Feature testing assertions documentation (#6332) 2020-06-18 05:27:09 -04:00
Rob Waller
b86514aa7e
docs: testing filter info (#6313) 2020-06-16 17:17:00 -04:00
Mandeep Singh
9e8ecedfea
docs: added autocompletion example for zsh (#6298) 2020-06-15 12:09:17 -04:00
Dan
f7d0e39892
minor grammar fix (#6299)
noun -> verb
2020-06-15 12:08:35 -04:00
Luca Casonato
0ffc99a61d
Move to allowlist and blocklist (#6282) 2020-06-13 13:09:39 -04:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
Jaap Aarts
3eee961473
document "deno run -" (#6256) 2020-06-12 10:59:51 -04:00
Dustin Callaway
93573afe82
improve file_server docs (#6262) 2020-06-12 10:44:00 -04:00
Bartek Iwańczuk
c073f552d9
docs(lint): add entry in manual (#6258) 2020-06-12 15:31:04 +02:00
Paul Whitmer
cfbc5da48c
docs: fix typo in import maps example (#6250) 2020-06-12 14:25:53 +02:00
Tomofumi Chiba
a1b37f177b
fixed double prompt in manual (#6230) 2020-06-10 20:24:41 -04:00
Chris Knight
1120dfe3f2
doc: improve linking to external code docs (#6158) 2020-06-10 13:43:44 -04:00
thomas
d9c6b109df
docs(contributing): add Rust install notes as prerequisites (#6195) 2020-06-10 11:16:33 -04:00
Brian Bowman
af69f25319
docs: Update debugger.md (#6219) 2020-06-10 12:48:07 +02:00
Nayeem Rahman
44251ce8ea
fix(cli/js/web/worker): Disable relative module specifiers (#5266) 2020-06-09 14:33:52 +02:00
thomas
81a6f673ad
docs(contributing): fix links to rid and metrics (#6191) 2020-06-09 14:13:32 +02:00
Sidharth Vinod
5e01e14f08
Change from let to const (#6181) 2020-06-08 18:52:23 -04:00
Nayeem Rahman
f247423f20
doc: Add a CLI section (#6164) 2020-06-08 09:49:32 -04:00
hork71
6155ec2317
docs: vim/neovim settings for editors (#6064) 2020-06-07 13:52:53 +02:00
Ryan Dahl
fbf075997c
Increase visibly of CoC (#6152) 2020-06-06 13:38:09 -04:00
Taisuke Fukuno
d2243b1125
deno test should run mjs files (#6122) 2020-06-05 17:01:44 -04:00
Matt Dumler
a04166e9fa
deno doc docs (#5650) 2020-06-04 15:12:02 -04:00
Mudit Ameta
8f08b3f73d
Add instructions for using Deno with Emacs (#5928) 2020-05-28 16:27:27 -04:00
Kennan Seno
088fc1556c
Add release changes section in doc (#5903) 2020-05-28 09:02:31 -04:00
迷渡
23bbb39454
doc: official denoland extension (#5890) 2020-05-27 01:06:08 -04:00
Chris Knight
27708fe873
doc: various runtime doc updates (#5885) 2020-05-26 22:12:02 -04:00
crowlKats
d4711feba8
docs: update JetBrains environment support (#5877) 2020-05-26 13:11:08 -04:00
Robin Wieruch
845bc443da
improve docs (#5873) 2020-05-26 10:09:47 -04:00
Robin Wieruch
44477596ed
improve docs (#5872) 2020-05-26 10:08:23 -04:00
Chris Knight
9090023c33
docs: "Getting started" manual updates (#5835) 2020-05-26 13:12:07 +02:00
Nayeem Rahman
4ebd243423
fix(std/testing/asserts): Support browsers (#5847) 2020-05-25 13:32:34 -04:00
Martin Suchanek
fbbb9f1c36
Add missing async delay import to code sample (#5837) 2020-05-25 09:12:45 -04:00
Umar Bolatov
2bbe475dbb
docs: update permissions example (#5809) 2020-05-24 11:24:14 +02:00
Khang Dinh
65f4e59122
typos (#5713) 2020-05-21 12:40:02 -04:00
Bartek Iwańczuk
f98cc34c40
docs: add entry for 'deno info' (#5703) 2020-05-21 10:43:56 -04:00
Chris Schepman
bebb8c029f
docs: Update debugger.md (#5615) 2020-05-21 13:05:25 +02:00
JavaScriptDude
0f1c66cb6d
docs: update permissions docs (#5426) 2020-05-21 12:54:09 +02:00
Maple Miao
9fdc6dc435
docs: fix test glob pattern (#5661) 2020-05-21 01:02:32 -04:00
moumni
949061c4b6
fix url (#5637) 2020-05-19 15:25:38 -04:00
Matt Dumler
88b24261ba
adjust docs (#5598) 2020-05-18 15:53:25 -04:00
Nayeem Rahman
76ee5c7808
docs: Clarify external code vendoring (#5597) 2020-05-18 15:50:57 -04:00
Matt Dumler
b3a216790a
Update docs/getting_started/first_steps.md (#5573) 2020-05-18 07:33:05 -04:00
Richard Lemaster
af09ba0056
Update style_guide.md (#5576) 2020-05-18 07:31:46 -04:00
Matt Dumler
7863d611fc
Update docs/getting_started/permissions.md (#5574)
Aligned the example wording more closely with that in the
`first_steps.md` document, and made other minor edits/corrections.
2020-05-18 07:31:18 -04:00
Bert Belder
36fde75d77
Miscellaneous documentation and spelling improvements (#5527)
* Extended/updated documentation on code editor setup and plugins.
* Moved documentation to the right file.
* Fixed spelling errors in documentation and code.
* Updated broken links.

Co-authored-by: 迷渡 <justjavac@gmail.com>
Co-authored-by: AlfieriChou <alfierichou@gmail.com>
Co-authored-by: Anil Seervi <anil13112000@gmail.com
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de>
Co-authored-by: Tommy May <tommymay37@gmail.com>
Co-authored-by: Turbinya <wownucleos@gmail.com>
Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17 19:24:39 +02:00
thomasy
c4f356bda5
docs: fix import maps code without --allow-net (#5528) 2020-05-17 12:29:56 +02:00
Bartek Iwańczuk
6405675448
chore: remove typedoc (#5497) 2020-05-16 16:02:03 +02:00
Dan Vanderkam
aa1284ceb0
Lets --> Let's (#5473) 2020-05-15 17:02:11 -04:00
Andrius Kripaitis
a9ebbca170
Fix JavaScript spelling (#5467) 2020-05-15 17:01:21 -04:00
Max
d4afc9890d
adjust example code (#5332) 2020-05-15 10:27:38 -04:00
Kerollos Magdy
b0d62cdbd7
Add link to JSDoc website (#5370) 2020-05-15 10:21:00 -04:00
André Vargas
750a3413a0
docs: Fix typo in OS Signals example (#5413) 2020-05-14 22:18:33 +02:00
Stu Finn
8a5068f2b4
Fix grammar (#5399) 2020-05-14 14:10:25 -04:00
Kerollos Magdy
a2ba5a31a5
Remove extra dollar sign from docs (#5361) 2020-05-14 11:34:13 -04:00
Thomas Steiner
b60cde4c0a
Avoid unfortunate ASCII arrow splitting (#5325) 2020-05-14 07:00:44 -04:00
Peter Indiola
21a4e9cc58
Fix small typo in the docs (#5310) 2020-05-14 09:03:55 +02:00
Dante Calderón
c3a205bae8
Fix typos across the repo (#5295)
Corrections made:
* cli/js/tests/README.md:44:7: corrected "discoveres" to "discovers"
* cli/js/tests/chown_test.ts:111:37: corrected "priviledge" to "privilege"
* cli/worker.rs:231:56: corrected "decendants" to "descendants"
* deno_typescript/lib.rs:136:50: corrected "emmited" to "emitted"
* core/es_isolate.rs:492:67: corrected "registerd" to "registered"
* core/isolate.rs:103:28: corrected "initalize" to "initialize"
* docs/runtime.md:29:14: corrected "ect" to "etc"
* docs/tools/debugger.md:122:16: corrected "implementes" to "implements"
* std/encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere"
* std/encoding/csv.ts:37:43: corrected "referal" to "referral"
* std/fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable"
* std/fmt/README.md:21:40: corrected "Alternativly" to "Alternatively"
* std/fmt/README.md:35:68: corrected "seperated" to "separated"
* std/fmt/README.md:179:59: corrected "provded" to "provided"
* std/mime/multipart.ts:581:46: corrected "writen" to "written"
* std/path/_globrex.ts:19:52: corrected "equivelant" to "equivalent"
* std/node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous"
* tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance"
* std/node/module.ts:1003:18: corrected "existend" to "existed"
2020-05-14 06:38:42 +02:00
Shohei YOSHIDA
45ec10535a
docs: add 'ts' tag to code blocks in manual/examples/os_signals.md (#5297)
This should enable syntax highlighting on the website.
2020-05-14 05:54:57 +02:00
Amen
38e253e377
Add allow-read to file-server debugger example (#5282) 2020-05-13 18:06:43 -04:00
Bartek Iwańczuk
7ceac1284e
docs: standard library (#5274) 2020-05-13 19:19:29 +02:00
Luca Casonato
aa58128a12
docs: Added unstable message to compiler api (#5272) 2020-05-13 18:10:54 +02:00
Bartek Iwańczuk
e9ce043b7c
docs: add debugger manual (#5265) 2020-05-13 17:55:44 +02:00
Nugine
bc7817e161
doc: fix typo in workers.md (#5256) 2020-05-13 12:13:06 +02:00
Haobo Zhao
c912ffde11
doc: fix typo (remove redundant 'from') in first_steps.md (#5199) 2020-05-12 01:31:21 +02:00