Eric Liu
5f1e8de1e1
Re-work toHierarchy
utility
...
Refactor `toHiearchy` to be more generic, performant
- Use callback to "pick" generic parent ID property instead of requiring that `pid` be hardcoded`
- Account for edge cases of an invalid parent ID
- Use Map to store node children for lookups
- Use one pass instead of removing empty nodes at the very end
- DX: use generics to type `toHierarchy`
- Make `toHierarchy` even more generic (reusable with `RecursiveList`)
Co-Authored-By: Bram <bramhavers@gmail.com>
2024-12-09 12:20:20 -08:00
Bram
8849efc153
merged 0.86.2
2024-12-08 11:10:30 -08:00
Eric Liu
69d51872a5
docs: omit Prettier from client JS
2024-11-24 13:32:50 -08:00
Eric Liu
dee74d3470
docs: add syntax highlighting for component API
2024-11-23 15:26:39 -08:00
dependabot[bot]
4739aaf0dd
build(deps): bump cross-spawn in /docs ( #2053 )
...
Bumps and [cross-spawn](https://github.com/moxystudio/node-cross-spawn ). These dependencies needed to be updated together.
Updates `cross-spawn` from 7.0.3 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
Updates `cross-spawn` from 6.0.5 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 14:51:37 -08:00
Eric Liu
da2d28a426
chore(docs): bump deps
2024-11-09 11:26:43 -08:00
Eric Liu
3511f09b2e
chore(docs): bump deps
2024-10-20 11:00:29 -07:00
Eric Liu
72e7201449
chore(docs): run npm audit fix
2024-10-20 10:56:07 -07:00
dependabot[bot]
64debccd08
build(deps-dev): bump vite from 5.4.1 to 5.4.6 in /docs ( #2004 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.1 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 12:08:32 -07:00
metonym
c45c5cd72d
chore(docs): patch svelte
to 4.2.19 [ci skip]
2024-09-13 09:14:36 -07:00
Eric Liu
d90526bd3a
chore(docs): rebuild lockfile [ci skip]
2024-08-24 12:59:46 -07:00
Eric Liu
96cfb4be44
build: replace Yarn with npm ( #1993 )
2024-08-20 07:00:23 -07:00