Skip to content

Commit

Permalink
Adjust TS/JS regexp for Document detection, also adjust TextMate (#179)
Browse files Browse the repository at this point in the history
Co-authored-by: Jerel Miller <[email protected]>
  • Loading branch information
phryneas and jerelmiller authored Aug 23, 2024
1 parent 415ff4a commit b4687eb
Show file tree
Hide file tree
Showing 15 changed files with 7,497 additions and 53 deletions.
167 changes: 166 additions & 1 deletion package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"format": "prettier --write .",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:extension": "node src/__e2e__/runTests.js",
"test:textmate": "npx vscode-tmgrammar-snap -s source.ts -g src/language-server/__tests__/fixtures/TypeScript.tmLanguage.json src/language-server/__tests__/fixtures/documents/*.ts",
"codegen": "graphql-codegen",
"vscode:prepublish": "npm run build:production"
},
Expand Down Expand Up @@ -91,7 +92,8 @@
"rimraf": "6.0.1",
"ts-jest": "29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
"typescript": "^5.5.3",
"vscode-tmgrammar-test": "^0.1.3"
},
"publisher": "apollographql",
"categories": [
Expand Down
47 changes: 25 additions & 22 deletions sampleWorkspace/sampleWorkspace.code-workspace
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
{
"folders": [
{
"path": "localSchema"
},
{
"path": "clientSchema"
},
{
"path": "spotifyGraph"
},
{
"path": "httpSchema"
},
{
"path": "localSchemaArray"
},
{
"path": "rover"
}
],
"settings": {}
}
"folders": [
{
"path": "localSchema"
},
{
"path": "clientSchema"
},
{
"path": "spotifyGraph"
},
{
"path": "httpSchema"
},
{
"path": "localSchemaArray"
},
{
"path": "rover"
},
{
"path": "../src/language-server/__tests__/fixtures/documents"
}
],
"settings": {}
}
Loading

0 comments on commit b4687eb

Please sign in to comment.