Skip to content

feat: add mongodb-ts-autocomplete package MONGOSH-2034 #520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 46 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
8b624a4
add mongodb-ts-autocomplete
lerouxb Mar 19, 2025
f004ead
comment
lerouxb Mar 19, 2025
d455c29
unnecessary slashes
lerouxb Mar 19, 2025
8a9bf2e
undo the typescript bump, do it separately
lerouxb Mar 19, 2025
b4288ed
simplify partially
lerouxb Mar 19, 2025
ef52e58
smaller package-lock
lerouxb Mar 20, 2025
f0fd8a6
lint
lerouxb Mar 20, 2025
84577fe
flatten some dirs for now
lerouxb Mar 20, 2025
e8b1c41
I think the bson expressions would just be global and not namespaced
lerouxb Mar 20, 2025
2a27aa2
add missing lodash dep
lerouxb Mar 20, 2025
dcc6cc0
comment
lerouxb Mar 20, 2025
6d9a9d7
at least structure the files as they will end up
lerouxb Mar 20, 2025
5debe99
the simplest aggregation test
lerouxb Mar 20, 2025
962a4fc
formatting
lerouxb Mar 20, 2025
b87ddee
remove the aggregation support for now
lerouxb Mar 21, 2025
e0fa139
include the real bson types
lerouxb Mar 21, 2025
cb8c25a
fixes to debugging
lerouxb Mar 21, 2025
86625fe
don't use namespaces, remove hacks, just allow import
lerouxb Mar 21, 2025
02334a2
wip
lerouxb Mar 21, 2025
200d25e
combine the types into one module that just exports strings
lerouxb Mar 21, 2025
07b36cc
stale comment
lerouxb Mar 21, 2025
a26cfb4
use the bson types in the generated typescript
lerouxb Mar 21, 2025
4e48247
we'll also need a way to load the databases for the connection
lerouxb Mar 28, 2025
cff226e
export types
lerouxb Mar 28, 2025
dcbcd85
we'll always want the whole new line, not just the name that was auto…
lerouxb Mar 28, 2025
444fdd3
changes that become obvious once I tried to plug this in
lerouxb Apr 1, 2025
bd97f73
remove use
lerouxb Apr 1, 2025
13bd2c8
remove the ability to autocomplete in the middle of text
lerouxb Apr 1, 2025
b38851c
remove type from the result - we won't use it
lerouxb Apr 1, 2025
44b3c36
unused
lerouxb Apr 1, 2025
b4bc959
better types
lerouxb Apr 1, 2025
d59b939
readonly
lerouxb Apr 1, 2025
1a75ca1
object, not tuple
lerouxb Apr 1, 2025
7a8fbc3
formatting
lerouxb Apr 1, 2025
2f4ae35
switch, remove pointless functions
lerouxb Apr 1, 2025
6b0a43f
Merge branch 'main' into add-autocomplete-package
lerouxb Apr 1, 2025
162ec95
switch statement
lerouxb Apr 1, 2025
67b800d
nit
lerouxb Apr 1, 2025
fd4973b
cleaner
lerouxb Apr 1, 2025
df6eee5
remove unnecessary databaseNames and collectionNames
lerouxb Apr 2, 2025
701696b
Merge branch 'main' into add-autocomplete-package
lerouxb Apr 2, 2025
a5ac33c
prettier
lerouxb Apr 2, 2025
926e37f
use type-export from mongodb-schema
lerouxb Apr 4, 2025
aff779c
have index.ts only re-export
lerouxb Apr 4, 2025
1789f77
unused dep
lerouxb Apr 4, 2025
fac8734
format schema and construct the db object to work the way the shell-a…
lerouxb Apr 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configs/tsconfig-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"tsconfig.react.json"
],
"peerDependencies": {
"typescript": "^5.0.4"
"typescript": "^5.8.2"
},
"devDependencies": {
"@mongodb-js/prettier-config-devtools": "^1.0.1",
Expand Down
Loading
Loading