Merge pull request #4172 from continuedev/dallin/remove-onigasm

Remove onigasm
This commit is contained in:
Nate Sesti 2025-02-15 10:08:19 -08:00 • committed by GitHub
commit b5fcbe36c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 39 deletions

View file

@ -11,7 +11,6 @@ bin
assets
gui/**
!gui/onigasm.wasm
.devcontainer
.github

View file

@ -120,12 +120,6 @@ const isMacTarget = target?.startsWith("darwin");
fs.copyFileSync("tmp_index.html", indexHtmlPath);
fs.unlinkSync("tmp_index.html");
// Copy over other misc. files
fs.copyFileSync(
"../extensions/vscode/gui/onigasm.wasm",
path.join(intellijExtensionWebviewPath, "onigasm.wasm"),
);
console.log("[info] Copied gui build to JetBrains extension");
// Then copy over the dist folder to the VSCode extension //

View file

@ -18,8 +18,10 @@ function copyConfigSchema() {
enum: ["merge", "overwrite"],
default: "merge",
title: "Merge behavior",
markdownDescription: "If set to 'merge', .continuerc.json will be applied on top of config.json (arrays and objects are merged). If set to 'overwrite', then every top-level property of .continuerc.json will overwrite that property from config.json.",
"x-intellij-html-description": "<p>If set to <code>merge</code>, <code>.continuerc.json</code> will be applied on top of <code>config.json</code> (arrays and objects are merged). If set to <code>overwrite</code>, then every top-level property of <code>.continuerc.json</code> will overwrite that property from <code>config.json</code>.</p>"
markdownDescription:
"If set to 'merge', .continuerc.json will be applied on top of config.json (arrays and objects are merged). If set to 'overwrite', then every top-level property of .continuerc.json will overwrite that property from config.json.",
"x-intellij-html-description":
"<p>If set to <code>merge</code>, <code>.continuerc.json</code> will be applied on top of <code>config.json</code> (arrays and objects are merged). If set to <code>overwrite</code>, then every top-level property of <code>.continuerc.json</code> will overwrite that property from <code>config.json</code>.</p>",
};
fs.writeFileSync("continue_rc_schema.json", JSON.stringify(schema, null, 2));
@ -123,12 +125,6 @@ async function buildGui(isGhAction) {
fs.copyFileSync("tmp_index.html", indexHtmlPath);
fs.unlinkSync("tmp_index.html");
// Copy over other misc. files
fs.copyFileSync(
"../extensions/vscode/gui/onigasm.wasm",
path.join(intellijExtensionWebviewPath, "onigasm.wasm"),
);
console.log("[info] Copied gui build to JetBrains extension");
// Then copy over the dist folder to the VSCode extension //
@ -539,5 +535,5 @@ module.exports = {
downloadSqliteBinary,
downloadRipgrepBinary,
copyTokenizers,
copyScripts
copyScripts,
};

22
gui/package-lock.json generated
View file

@ -32,7 +32,6 @@
"lodash": "^4.17.21",
"minisearch": "^7.0.2",
"mustache": "^4.2.0",
"onigasm": "^2.2.5",
"posthog-js": "^1.130.1",
"prismjs": "^1.29.0",
"react": "^18.2.0",
@ -8835,27 +8834,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/onigasm": {
"version": "2.2.5",
"resolved": "https://registry.npmjs.org/onigasm/-/onigasm-2.2.5.tgz",
"integrity": "sha512-F+th54mPc0l1lp1ZcFMyL/jTs2Tlq4SqIHKIXGZOR/VkHkF9A7Fr5rRr5+ZG/lWeRsyrClLYRq7s/yFQ/XhWCA==",
"dependencies": {
"lru-cache": "^5.1.1"
}
},
"node_modules/onigasm/node_modules/lru-cache": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
"integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
"dependencies": {
"yallist": "^3.0.2"
}
},
"node_modules/onigasm/node_modules/yallist": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
},
"node_modules/optionator": {
"version": "0.9.4",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",

View file

@ -40,7 +40,6 @@
"lodash": "^4.17.21",
"minisearch": "^7.0.2",
"mustache": "^4.2.0",
"onigasm": "^2.2.5",
"posthog-js": "^1.130.1",
"prismjs": "^1.29.0",
"react": "^18.2.0",