Skip to content

feat(autocomplete): add type generator from the php yaml definitions MONGOSH-2030 #521

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

Merged
merged 28 commits into from
Jun 12, 2025
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c0366fb
wire up some of the generation logic
nirinchev Mar 19, 2025
3c3b63b
Generate some tests
nirinchev Mar 20, 2025
7affa15
revert some package-lock changes
nirinchev Mar 20, 2025
469d960
chore: update prettier version
nirinchev Mar 20, 2025
5a5e282
add recursive sumbodule checkout
nirinchev Mar 24, 2025
97c254d
Use recursive checkout in publish-packages
nirinchev Mar 27, 2025
71ef75c
lower typescript version
nirinchev Mar 27, 2025
ec3f94c
Merge branch 'main' into ni/mql-typescript
nirinchev Apr 3, 2025
798d30b
generate schema for the driver definitions
nirinchev Apr 22, 2025
1aa3656
fix: handle more corner cases; add static schemas for docs that don't…
nirinchev May 26, 2025
7778b59
generate tests for query
nirinchev Jun 3, 2025
176176d
add search tests
nirinchev Jun 4, 2025
9859784
remove manually spawning yamlfix
nirinchev Jun 4, 2025
3932406
add schemas for first/last
nirinchev Jun 4, 2025
ee3e0cd
add .gitattributes for generated files
nirinchev Jun 6, 2025
d0b762f
Merge branch 'main' into ni/mql-typescript
nirinchev Jun 6, 2025
bf69c54
fix: resolve eslint issues
nirinchev Jun 9, 2025
e9e8635
update mongo-php-library
nirinchev Jun 9, 2025
7fc9890
Emit schema.ts as a giant string
nirinchev Jun 9, 2025
a213220
fix depalign issues
nirinchev Jun 9, 2025
beb71dc
fix depcheck issue
nirinchev Jun 9, 2025
3aa4977
chore: use the shell-bson-parser instead of custom type processors
nirinchev Jun 9, 2025
b968371
add stage tests
nirinchev Jun 9, 2025
ce8e7bd
chore: remove json5 dependency
nirinchev Jun 10, 2025
7cd7cde
Remove ejson syntax support
nirinchev Jun 11, 2025
9a38983
remove schema-export.js, rename schema to .d.ts
nirinchev Jun 11, 2025
f878c8a
fix query parser test
nirinchev Jun 11, 2025
edeb493
move dev dependencies to devDependencies
nirinchev Jun 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/bump-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
# don't checkout a detatched HEAD
ref: ${{ github.head_ref }}
token: ${{ steps.app-token.outputs.token }}
submodules: recursive

# this is important so git log can pick up on
# the whole history to generate the list of AUTHORS
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Node.js
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
# don't checkout a detatched HEAD
ref: ${{ github.head_ref }}
token: ${{ steps.app-token.outputs.token }}
submodules: recursive

# this is important so git log has the whole history
fetch-depth: "0"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-cidrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
# don't checkout a detatched HEAD
ref: ${{ github.head_ref }}
token: ${{ steps.app-token.outputs.token }}
submodules: recursive

- uses: actions/setup-node@v4
with:
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ report.json
.compiled-sources
expansions.yml
.nvmrc
.vscode
!.vscode/extentions.json
.vscode/settings.json
.migration-cache
lerna-debug.log
packages/**/*.tgz
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "packages/mql-typescript/mongo-php-library"]
path = packages/mql-typescript/mongo-php-library
url = https://github.com/mongodb-js/mongo-php-library
Loading
Loading