Skip to content

Commit

Permalink
Use moc.js 0.10.4 for dfx versions prior to 0.18.0 (#273)
Browse files Browse the repository at this point in the history
* Use moc.js 0.10.4 based on dfx version

* Set up compiler switching

* Misc

* Refactor
  • Loading branch information
rvanasa committed Mar 8, 2024
1 parent 9d3f074 commit f54bb71
Show file tree
Hide file tree
Showing 5 changed files with 149,587 additions and 67 deletions.
158 changes: 112 additions & 46 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-motoko",
"displayName": "Motoko",
"description": "Motoko language support",
"version": "0.15.3",
"version": "0.16.0",
"publisher": "dfinity-foundation",
"repository": "https://github.com/dfinity/vscode-motoko",
"engines": {
Expand Down Expand Up @@ -168,6 +168,7 @@
"dependencies": {
"@wasmer/wasi": "1.2.2",
"change-case": "4.1.2",
"execa": "^4.1.0",
"fast-glob": "3.2.12",
"ic-mops": "0.26.3",
"ic0": "0.2.7",
Expand Down Expand Up @@ -219,7 +220,7 @@
"compile:extension": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --minify",
"compile:browser": "esbuild ./src/browser.ts --bundle --outfile=out/browser.js --external:vscode --format=cjs --platform=node --minify",
"compile:server": "esbuild ./src/server/server.ts --bundle --outfile=out/server.js --external:vscode --format=cjs --platform=node --minify",
"compile:motoko": "esbuild motoko --bundle --outfile=out/motoko.js --format=cjs --platform=node --minify",
"compile:motoko": "esbuild motoko --bundle --outfile=out/motoko.js --format=cjs --platform=node --minify && shx cp -r src/server/compiler out/compiler",
"generate": "node scripts/generate",
"test": "jest",
"package": "npm run generate && vsce package && npm test && npm run --silent lint",
Expand Down
Loading

0 comments on commit f54bb71

Please sign in to comment.