-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo.txt
36 lines (36 loc) · 2.65 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
- [x] set import.meta.main correctly (will need change in quickjs to support this)
- [x] add path-less-traveled-style pathMarker functionality to Path
- concat and relativeTo have this covered
- [x] move all of exec and ChildProcess's string/Path/Array/number handling into parseArgString
- [x] expose exec's arg-string-to-array parsing function, for forwarding to 'concurrently', 'nodemon', etc
- [x] accept Path objects in exec array
- [x] make static Path methods return Paths instead of strings
- [x] make quote accept Path objects
- [x] make ls, pwd, etc all return Path objects when possible
- [x] add something to make "this path but with a different extension" and "this path but swap the basedir from this to this" easier
- [ ] finish all the help docs!!!
- [ ] spicy: override types for string-receiving methods to accept anything that can be converted to a string (if quickjs converts it)
- this is to make Paths easier to work with
- [x] add frozen "initial pwd" somewhere
- [x] expose "makeErrorWithProperties" somehow. new error constructor? overload base error constructor?
- changed base Error constructor in QuickJS
- [x] tests for `which`
- [x] make string color/style functions accept Path objects (convert them to strings internally)
- [ ] InteractivePrompt: screen contents can get messed up when hitting backspace repeatedly
- [ ] InteractivePrompt: spawning one InteractivePrompt from within another results in both running at once. Problem? idk, but it makes it hard to use InteractivePrompt from a repl
- [ ] support source maps for compiled languages
- [ ] pager for long help text (when using repl)
- [-] create solution for tracing `exec` and friends without it being crazy chatty. maybe log levels
- [x] allow catting multiple files together, and do so as binary
- [ ] jsx in the repl behaves weirdly because the repl autocomplete thinks the slash is a regexp literal
- [ ] in windows powershell, numbers printed in the repl (ie from running `2 + 2`) aren't visible
- works fine in windows Terminal git bash though
- [ ] in windows terminal git bash, in repl, pressing up for history doesn't work past the first item
- [ ] repl sometimes needs you to press Ctrl+C more times than it should
- [ ] fix chmod so it has add/remove semantics and respects existing perms
- [ ] yavascript globals aren't set up in workers
- [ ] add `.on("exit")` support to node-compat `process` shim
- [ ] make assert have nice messages when one isn't specified
- [x] Path normalize handles `../../a` wrong; gives `a`, but should give `../../a`
- [x] `inspect(Path.prototype)` fails due to `[inspect.custom]` handling
- [ ] make `__dirname` and `__filename` Path objects? Or have versions that are?