Commit Graph

222 Commits

Author SHA1 Message Date
Asher Gomez
81e49f659a
chore: remove requirement for @examples in constructors (#5485) 2024-07-19 13:07:02 +09:00
Asher Gomez
ad1dad6ce6
docs(cli,csv,datetime,fmt,fs,http,ini,semver,testing): assert optional properties on types/interfaces have @default tag (#4933)
* docs: assert optional properties on types/interfaces have `@default` tag

* work

* work

* work

* work

* work

* work

* fix

* fix

* Update fs/expand_glob.ts

* cleanups

* cleanups

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-11 09:21:37 +00:00
Yoshiya Hinosawa
26d6d2b510
chore: use new format for workspaces and re-enable using Deno canary and v1.x (#5375)
* chore: use new format for workspaces

* fixes

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-11 10:24:30 +10:00
Yoshiya Hinosawa
3209065200
chore: check import map range specifier (#5380) 2024-07-10 20:06:59 +09:00
Yoshiya Hinosawa
10be0e3fde
chore: run test in Node.js (#5258)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-04 14:36:47 +09:00
Asher Gomez
5f2b0f59b6
chore: allow lint:docs task to resolve root modules (#5198)
* chore: allow `lint:docs` task to resolve root modules

* fixes

* Revert "fixes"

This reverts commit b18f41c59c.
2024-06-30 18:27:29 +10:00
Yoshiya Hinosawa
2ad437d04f
BREAKING(yaml): make Schema and Type private and stop supporting user-defined schemas (#5175)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-28 19:28:55 +09:00
Yoshiya Hinosawa
9411d0957e
docs(yaml): improve yaml document (#5127)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-25 15:01:58 +09:00
Yoshiya Hinosawa
21e8ece519
docs(dotenv): improve dotenv docs (#5095) 2024-06-21 13:21:26 +09:00
Divy Srivastava
16fa0c8220
docs(json): lint @std/json docs (#4798)
* docs(json): lint `json/` docs

* Fix example

* skip eval of some examples

* fixes

* remove tmp.jsonl

* add example reading from a file

* add same example to constructor

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-06-18 10:10:57 +00:00
Yoshiya Hinosawa
8ec230fea3
chore: fix dependency graph (#5069) 2024-06-18 13:38:08 +09:00
Asher Gomez
d93aa7c94e
chore: remove --table functionality from graph checker (#5064) 2024-06-18 12:36:16 +10:00
Yoshiya Hinosawa
635e062330
docs(testing): improve the docs of @std/testing (#5033)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-17 11:31:31 +09:00
Asher Gomez
f7ae2aa8d5
docs(msgpack): complete documentation (#5029) 2024-06-12 15:49:23 +12:00
Asher Gomez
de68967e8d
docs(regexp): complete documentation (#5023)
* docs(regexp): complete documentation

* clean

* tweaks
2024-06-11 19:06:12 +12:00
Yoshiya Hinosawa
ec73b76d91
docs(ini): improve ini docs (#5020) 2024-06-11 16:05:04 +09:00
Asher Gomez
35c240eeed
docs(fs): improve documentation (#4788) 2024-06-07 15:54:50 +12:00
Asher Gomez
94bb952729
docs(net): complete documentation (#4982) 2024-06-07 15:54:15 +12:00
Asher Gomez
dc2fcd882a
chore: improve circular dependencies checker (#4970)
* chore: improve circular dependencies checker

* update graph
2024-06-05 21:38:40 +00:00
Asher Gomez
b8d94177a5
docs(url): complete documentation (#4965)
* docs(url): complete documentation

* suggestions
2024-06-05 21:16:52 +00:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
Yoshiya Hinosawa
3db62b0017
docs(csv): improve API docs (#4920)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-03 12:32:09 +09:00
Yoshiya Hinosawa
388800f301
docs(path): improve API docs (#4900)
Co-authored-by: Nathan Whitaker <nathan@deno.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-02 11:46:36 +09:00
Yoshiya Hinosawa
e9bcddb491
chore: use --no-lock in doc snippet eval (#4918) 2024-05-31 18:37:53 +09:00
Yoshiya Hinosawa
f94f8f3580
docs(crypto): improve docs (#4884)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-31 11:39:47 +09:00
Asher Gomez
79d6a70729
docs(assert,cli,data-structures,expect,fmt,front-matter,html,http,jsonc,semver,streams,text,toml,webgpu): add snippet checks in module, function and class docs to doc checker (#4855)
* chore: add snippet checks to module docs

* fix

* work

* tweak
2024-05-31 12:01:46 +10:00
Divy Srivastava
079e40296c
docs(toml): lint @std/toml docs (#4799)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-30 13:08:02 +09:00
Yoshiya Hinosawa
47c38498eb
docs(assert): improve docs (#4876)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-30 11:38:16 +09:00
Yoshiya Hinosawa
595d812ea3
docs(html): improve API docs (#4878) 2024-05-29 18:15:48 +09:00
Yoshiya Hinosawa
1e194f746b
chore: don't require @returns tag when return type is type assertion (#4873)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-29 16:33:37 +09:00
Yoshiya Hinosawa
0b95598ec1
chore: show the total number of doc errors (#4871) 2024-05-29 15:21:43 +09:00
Yoshiya Hinosawa
655ff10086
chore: draw only direct dependencies in dep diagram (#4870) 2024-05-29 15:21:26 +09:00
Marvin Hagemeister
999e5e7a97
docs(uuid): update module docs (#4790) 2024-05-29 15:47:42 +10:00
Yoshiya Hinosawa
bce7d8e38b
chore: generate dependency graph image (#4869) 2024-05-29 13:49:22 +09:00
Asher Gomez
ab6d747f9c
chore: implement custom resolver for doc() (#4866) 2024-05-29 11:55:37 +09:00
Yoshiya Hinosawa
1eaee146c3
docs(fmt): improve API docs (#4829)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2024-05-28 15:14:34 +09:00
Yusuke Tanaka
9c3c53e65b
docs(streams): improve docs for stabilization (#4852)
This commit improves docs of the streams module.

Towards #3764

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-27 18:27:40 -07:00
Yusuke Tanaka
d13ef17a5d
docs(front-matter): improve docs for stabilization (#4789)
This commit improves docs of the front-matter module.

Specifically, the following things are done:

- Use `@example` where appropriate to render the examples more beautifully
- Split the big example attached to `createExtractor` function into smaller pieces so that each one has minimal yet meaningful example
- Add `@returns` to the `test` function
- Deduplicate `Format` type definition
- Add a brief description to `Format` type

Towards #3764

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-27 18:14:52 -07:00
Yoshiya Hinosawa
083b63f428
docs(semver): improve docs (#4846)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-27 19:03:20 +09:00
Yoshiya Hinosawa
b9dbcb774d
chore: reorder check-doc entries (#4857) 2024-05-27 18:19:27 +09:00
Yoshiya Hinosawa
826344cd29
docs(data-structures): enables doc lint of data-structures (#4847) 2024-05-27 14:30:26 +09:00
Nathan Whitaker
472f370813
docs(encoding): Cleanup and fix doc lints (#4838)
* Polish varint encoding docs

* Use assertions in examples

* Fix incorrect example

* Fix doc lints

* Add encoding to doc lint entrypoints

* Fmt

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-23 19:23:24 -07:00
David Sherret
5a6e99cc6e
docs(text): pass docs check (#4837) 2024-05-23 13:01:10 -04:00
David Sherret
c0d75322c7
docs(cli): make check_docs pass (#4815) 2024-05-23 12:53:13 -04:00
Satya Rohith
caac76fd34
docs(expect): document methods and add examples (#4836) 2024-05-23 16:50:11 +05:30
Yoshiya Hinosawa
082107bd7f
chore: update dependency check tool (#4833)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-23 13:43:23 +09:00
Asher Gomez
acd380f7f9
chore: update circular package check for encoding/mod.ts (#4824) 2024-05-23 06:07:13 +10:00
Leo Kettmeir
a3c99863f5
docs(http): improve docs for stabilization (#4813)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-22 12:09:08 -07:00
David Sherret
d7424a2278
chore: improve check_docs.ts (#4834) 2024-05-22 11:58:40 -04:00
Luca Casonato
1a2f721d41
docs(ulid): finish documentation (#4825)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-22 15:42:59 +02:00
Igor Zinkovsky
0248c18bfd
fix: complete docs for std/jsonc (#4814) 2024-05-22 06:03:58 +00:00
Asher Gomez
67ca078107
chore: add @example title check to doc checker (#4823)
* chore: add `@example` title check to doc checker

* fix
2024-05-22 15:08:36 +10:00
Leo Kettmeir
e3f63dc2ef
docs(async): improve docs for stabilization (#4803) 2024-05-21 17:40:43 -07:00
Leo Kettmeir
0ef767f52a
docs(webgpu): improve docs for stabilization (#4811) 2024-05-21 10:33:10 -07:00
Luca Casonato
006b96a586
ci: handle classes in check_docs.ts (#4800) 2024-05-21 16:09:42 +02:00
Asher Gomez
8fc19d95c7
chore: support no-eval code snippet directive (#4791) 2024-05-21 20:12:55 +10:00
Asher Gomez
16162ebcda
chore: improve doc checker (#4782)
* chore: improve doc checker

* tweaks

* tweaks
2024-05-21 15:34:08 +10:00
Asher Gomez
e07a1e6a87
docs(collections,internal,media-types): use @typeParam tag instead of @template (#4772) 2024-05-20 17:34:47 +10:00
Asher Gomez
17d7fffccc
docs(internal): cleanups and documentation improvements (#4706)
* feat(internal): `internal@1.0.0`

* work

* revert

* fix

* fix
2024-05-15 09:57:20 +02:00
Asher Gomez
1271a7f392
docs(media-types): polish documentation (#4731) 2024-05-15 16:33:05 +10:00
Asher Gomez
b32ab88b40
chore: update deno_doc (#4726) 2024-05-15 05:36:08 +10:00
Yoshiya Hinosawa
4398642ef3
chore: update check_circular_package_dependencies.ts (#4720) 2024-05-13 18:43:49 +09:00
Jacob Avery
8c87b7f8e4
test(cli): Spinner tests (#4713)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-13 09:11:47 +09:00
Asher Gomez
a079dd3fed
docs(bytes,collections): fix doc checker and documentation (#4691)
docs(bytes,collection): fix doc checker and documentation
2024-05-08 16:18:26 +10:00
Asher Gomez
5e99c21210
docs(collections): complete documentation (#4664)
* docs(collections): complete documentation

* work

* work

* work

* work

* fix

* fixes

* fixes

* fixes

* fixes

* tweak
2024-05-06 16:51:20 +09:00
Asher Gomez
4bdefc105c
chore: run @example JSDoc code snippets (#4669)
* chore: run `@example` JSDoc code snippets

* async-ify

* work

* fix

* works

* fix

* tweak
2024-05-06 13:28:15 +10:00
Asher Gomez
b884c7ce73
chore: add @template JSDoc tag check (#4667) 2024-05-02 17:47:00 +10:00
Yoshiya Hinosawa
77996a9eb1
chore: update check_deprecation.ts (#4657) 2024-04-30 08:37:05 +09:00
Yoshiya Hinosawa
1c1403a3f1
chore: update check_circular_package_dependencies.ts for workspaces (#4653) 2024-04-29 16:24:55 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
8f60a3546b
BREAKING(console): remove std/console (#4643) 2024-04-26 19:54:59 +00:00
Asher Gomez
80cff5c3e7
BREAKING(flags): remove std/flags (#4644) 2024-04-27 05:52:44 +10:00
Asher Gomez
433d544885
BREAKING(permissions): remove std/permissions (#4642) 2024-04-27 05:50:55 +10:00
Bartek Iwańczuk
4a1ed50dba
chore: update convert_to_workspace.ts script (#4631) 2024-04-24 05:46:15 +10:00
Asher Gomez
ac5723de73
chore: JSDoc checker (#4618)
* chore: JSDoc checker

* work

* fix
2024-04-22 07:07:34 +00:00
Asher Gomez
e1f9d80fa3
chore: fix types (#4617) 2024-04-22 06:03:29 +00:00
Asher Gomez
762a7c266d
chore: reword to use "package" (#4612)
* chore: reword to use "package"

* tweak
2024-04-22 05:23:12 +00:00
Asher Gomez
3f9d4a8494
chore: simplify deprecation notice check (#4577) 2024-04-17 15:36:50 +09:00
Asher Gomez
fe9b2958fe
deprecation(permissions): update removal time for std/permissions (#4575) 2024-04-17 15:23:56 +09:00
Asher Gomez
be7deb2888
chore: use @deno/graph from JSR (#4564)
* chore: use `@deno/graph` from JSR

* fix
2024-04-10 16:06:44 +09:00
Asher Gomez
7630dd5418
deprecation(console): copy std/console APIs into std/cli and deprecate std/console (#4547)
deprecation(console): merge `std/console` into `std/cli`
2024-04-08 14:32:55 +10:00
Jeremy Banks
260292cf2e
fix(_tools): update check_deprecation path exclusion to recognize Windows directory separators (#4519)
fix(_tools): update check_deprecation path exclusion to recognize Windows directory separators
2024-03-26 12:31:22 +11:00
Asher Gomez
5061ec38f3
chore: refactor lint:mod-exports task to use std/path (#4503) 2024-03-25 15:03:01 +11:00
David Sherret
e749d4e3ea
fix: use hyphens for JSR package exports (#4424) 2024-03-19 10:22:38 -07:00
Yoshiya Hinosawa
56e30548ca
chore: remove "exclude" list from jsr config (#4449) 2024-03-08 18:26:04 +09:00
Asher Gomez
32e4b4334c
chore(_tools): prepare for noUncheckedIndexedAccess (#4442) 2024-03-06 16:09:13 +11:00
Asher Gomez
660e78ef51
chore: ignore more test files from being published (#4441) 2024-03-05 19:08:15 +11:00
Asher Gomez
ef0d782254
chore: enable camelcase lint rule (#4440) 2024-03-05 14:57:14 +11:00
Asher Gomez
8aac2e31f5
chore: exclude test files from being published to JSR (#4433)
* chore: exclude test files from being published to JSR

* tweak

* fix
2024-03-05 12:45:06 +11:00
Yoshiya Hinosawa
d78ce08453
chore: add --all-imports option to deps check tool (#4410) 2024-03-04 15:37:26 +09:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax (#4406)
* Start

* Update

* Format

* Revert deno.json change

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
Luca Casonato
ac82d732a3
build: update _ to - in workspace converter script (#4357) 2024-02-21 13:43:55 +01:00
Asher Gomez
ece94b6019
chore(internal): remove warnOnDeprecatedApi() and internal folder (#4359) 2024-02-20 20:00:58 +11:00
Asher Gomez
f3cce1b017
fix(http): version from deno.json import (#4342) 2024-02-17 14:33:19 +11:00
Yoshiya Hinosawa
5e3b3f54a3
chore: update dependency checker tool (#4331) 2024-02-14 14:37:50 +09:00
Asher Gomez
b9f3a74c8b
BREAKING(semver): remove eq(), gt(), gte(), lt(), lte() and neq() (#4294) 2024-02-09 23:26:42 +00:00
Asher Gomez
841c8449d8
chore: fix publish of std/crypto to JSR (#4291)
fix: publish of `std/crypto` to JSR
2024-02-09 19:17:15 +09:00
Tim Reichen
bcfec95e6f
chore(tools): add check flag to browser_compat.ts (#4240) 2024-02-05 10:53:06 +09:00
Luca Casonato
6dad7609c3
chore: set up workspace publish from CI (#4210) 2024-01-26 16:51:24 +09:00
Tim Reichen
d23718945e
feat(tools,log,http,semver): check mod exports, export items consistently from mod.ts (#4229) 2024-01-25 18:36:46 +09:00