Skip to content

Commit

Permalink
feat: extract sqljs file
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwong committed Oct 22, 2024
1 parent e132f43 commit 220b297
Show file tree
Hide file tree
Showing 7 changed files with 1,386 additions and 947 deletions.
Binary file modified cursor/cursor.alfredworkflow
Binary file not shown.
2 changes: 1 addition & 1 deletion cursor/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import alfy from 'alfy';
import os from 'os';
import fs from 'fs';
import initSqlJs from 'sql.js';
import initSqlJs from './lib/sqljs/sql-wasm.cjs';
import { getFileNameInDB, getFullNameInDB, getPathInDB } from './utils.js';

const homedir = os.homedir;
Expand Down
4 changes: 2 additions & 2 deletions cursor/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<key>escaping</key>
<integer>102</integer>
<key>keyword</key>
<string>cursor</string>
<string>csr</string>
<key>queuedelaycustom</key>
<integer>3</integer>
<key>queuedelayimmediatelyinitially</key>
Expand Down Expand Up @@ -131,7 +131,7 @@
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>1.0.0</string>
<string>1.0.1</string>
<key>webaddress</key>
<string>https://github.com/simonwong/alfred-workflows</string>
</dict>
Expand Down
192 changes: 192 additions & 0 deletions cursor/lib/sqljs/sql-wasm.cjs

Large diffs are not rendered by default.

Binary file added cursor/lib/sqljs/sql-wasm.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions cursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "MIT",
"type": "module",
"dependencies": {
"alfy": "^2.0.0",
"sql.js": "^1.10.3"
}
"alfy": "^2.0.0"
},
"packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
}
Loading

0 comments on commit 220b297

Please sign in to comment.