Skip to content

Commit

Permalink
chore: move everything to named exports, fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zacanger committed Jan 2, 2024
1 parent b3f60a1 commit ff70932
Show file tree
Hide file tree
Showing 1,109 changed files with 2,675 additions and 2,603 deletions.
21 changes: 6 additions & 15 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
* Revive this
* Move to promise API for any Node builtins
* Bring back anything useful from old versions
* Remove DOM-related stuff
* Ensure all functions have JSDocs with examples
* Update docs and changelog
* Get 100% coverage:
* Unit tests
* https://github.com/nodejs/help/issues/3902
* Types
* No ts-expect-errors
* No `any`
* No eslint-disables
* Aim for no useless imports (avoid the lodash problem)
* Aim for ES2024+/Node21+ compatibility only
* Remove anything that can be done with plain JS now
* Aim for no useless imports (avoid the lodash problem)
* Get high test coverage:
* Unit tests (https://github.com/nodejs/help/issues/3902)
* Minimal `any` and `ts-expect-error`
* Minimal `eslint-disable`
* Update changelog
6 changes: 6 additions & 0 deletions docs/assets/26e93147f10415a0ed4a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/assets/75c9471662e97ee24f29.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/assets/db90e4df2373980c497d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/hierarchy.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/assets/hierarchy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions docs/assets/highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@
--dark-hl-8: #6A9955;
--light-hl-9: #EE0000;
--dark-hl-9: #D7BA7D;
--light-hl-10: #811F3F;
--dark-hl-10: #D16969;
--light-hl-11: #D16969;
--dark-hl-11: #CE9178;
--light-hl-12: #267F99;
--dark-hl-12: #4EC9B0;
--light-hl-10: #267F99;
--dark-hl-10: #4EC9B0;
--light-hl-11: #000000FF;
--dark-hl-11: #D4D4D4;
--light-hl-12: #811F3F;
--dark-hl-12: #D16969;
--light-hl-13: #D16969;
--dark-hl-13: #CE9178;
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}
Expand All @@ -43,6 +45,7 @@
--hl-10: var(--light-hl-10);
--hl-11: var(--light-hl-11);
--hl-12: var(--light-hl-12);
--hl-13: var(--light-hl-13);
--code-background: var(--light-code-background);
} }

Expand All @@ -60,6 +63,7 @@
--hl-10: var(--dark-hl-10);
--hl-11: var(--dark-hl-11);
--hl-12: var(--dark-hl-12);
--hl-13: var(--dark-hl-13);
--code-background: var(--dark-code-background);
} }

Expand All @@ -77,6 +81,7 @@
--hl-10: var(--light-hl-10);
--hl-11: var(--light-hl-11);
--hl-12: var(--light-hl-12);
--hl-13: var(--light-hl-13);
--code-background: var(--light-code-background);
}

Expand All @@ -94,6 +99,7 @@
--hl-10: var(--dark-hl-10);
--hl-11: var(--dark-hl-11);
--hl-12: var(--dark-hl-12);
--hl-13: var(--dark-hl-13);
--code-background: var(--dark-code-background);
}

Expand All @@ -110,4 +116,5 @@
.hl-10 { color: var(--hl-10); }
.hl-11 { color: var(--hl-11); }
.hl-12 { color: var(--hl-12); }
.hl-13 { color: var(--hl-13); }
pre, code { background: var(--code-background); }
4 changes: 2 additions & 2 deletions docs/assets/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

Loading

0 comments on commit ff70932

Please sign in to comment.