remove onigasm

This commit is contained in:
Dallin Romney 2025-02-14 19:42:57 -08:00
parent af175c6fd9
commit b5c07654df
4 changed files with 5 additions and 17 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,
};

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",