🔥 remove unused package folder
This commit is contained in:
parent
189302be5f
commit
1f51001e9e
5 changed files with 0 additions and 2446 deletions
3
package/.gitignore
vendored
3
package/.gitignore
vendored
|
|
@ -1,3 +0,0 @@
|
|||
bin
|
||||
data
|
||||
out
|
||||
2370
package/package-lock.json
generated
2370
package/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
"name": "package",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "out/index.js",
|
||||
"bin": "out/index.js",
|
||||
"pkg": {
|
||||
"scripts": [
|
||||
"node_modules/axios/**/*"
|
||||
],
|
||||
"assets": [
|
||||
"node_modules/@lancedb/vectordb-darwin-arm64/**/*"
|
||||
],
|
||||
"targets": [
|
||||
"node18-darwin-arm64"
|
||||
],
|
||||
"outputPath": "bin"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "ncc build src/index.ts -o out && pkg .",
|
||||
"build:dev": "tsc"
|
||||
},
|
||||
"author": "Nate Sesti and Ty Dunn",
|
||||
"license": "Apache-2.0",
|
||||
"devDependencies": {
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"esbuild": "^0.19.11",
|
||||
"pkg": "^5.8.1",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lancedb/vectordb-darwin-arm64": "^0.4.3",
|
||||
"vectordb": "^0.4.3"
|
||||
},
|
||||
"engine-strict": true,
|
||||
"engines": {
|
||||
"node": ">=20.11.0"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
import * as lancedb from "vectordb";
|
||||
|
||||
(async () => {
|
||||
console.log("Hello!");
|
||||
const uri = "data/sample-lancedb";
|
||||
const db = await lancedb.connect(uri);
|
||||
const tb = await db.createTable("myTable", [
|
||||
{ vector: [3.1, 4.1], item: "foo", price: 10.0 },
|
||||
{ vector: [5.9, 26.5], item: "bar", price: 20.0 },
|
||||
]);
|
||||
const query = await tb.search([100, 100]).limit(2).execute();
|
||||
console.log(query);
|
||||
console.log("DONE");
|
||||
})();
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "ES2020",
|
||||
"outDir": "out",
|
||||
"lib": ["ES2020", "dom", "es6", "es5", "dom.iterable", "scripthost"],
|
||||
"sourceMap": true,
|
||||
"rootDir": "src",
|
||||
"allowJs": true,
|
||||
"strict": true /* enable all strict type-checking options */,
|
||||
/* Additional Checks */
|
||||
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
||||
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
||||
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
||||
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
||||
"resolveJsonModule": true /* Enable importing .json files */
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue