Skip to content

Commit

Permalink
up peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zth committed Feb 14, 2024
1 parent 6028e3c commit 75ef984
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# master

# 0.6.0

- Up peer dependencies to support ReScript `11.1.0-rc.2` and Core `1.0.0`.

# 0.5.0

- Add `extract` and `ui-url` commands to CLI.
Expand Down
31 changes: 17 additions & 14 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rescript-edgedb",
"version": "0.5.0",
"version": "0.6.0",
"description": "Use EdgeDB in ReScript.",
"main": "src/EdgeDB.mjs",
"bin": "dist/Cli.js",
Expand Down Expand Up @@ -29,15 +29,16 @@
"fast-glob": "^3.3.1"
},
"devDependencies": {
"@rescript/core": "1.0.0",
"esbuild": "^0.19.3",
"rescript": "^11.0.0",
"rescript-embed-lang": "0.4.0",
"rescript-nodejs": "^16.0.0"
},
"peerDependencies": {
"@rescript/core": ">= 0.6.0",
"@rescript/core": ">= 1.0.0",
"edgedb": ">= 1.3.6",
"rescript": "^11.0.0",
"rescript": "^11.0.0 || ^11.1.0-rc.2",
"rescript-embed-lang": ">= 0.4.0"
}
}
12 changes: 12 additions & 0 deletions vscode-extension/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,18 @@ export async function activate(context: ExtensionContext) {
setupDocumentWatchers(context),
]);

languages.registerCompletionItemProvider(
{
language: "rescript",
},
{
provideCompletionItems(d, p) {
const pkgJson = findProjectPackageJsonRoot(d.fileName);
return [];
},
}
);

context.subscriptions.push(
commands.registerCommand(
"vscode-rescript-edgedb-open-ui",
Expand Down

0 comments on commit 75ef984

Please sign in to comment.