Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
release: v0.0.37
Browse files Browse the repository at this point in the history
  • Loading branch information
hlhr202 committed May 7, 2023
1 parent c3005dc commit d9ff9bd
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 33 deletions.
10 changes: 5 additions & 5 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@llama-node/examples",
"version": "0.0.36",
"version": "0.0.37",
"description": "",
"main": "index.js",
"type": "module",
Expand All @@ -18,9 +18,9 @@
"langchain": "^0.0.56"
},
"dependencies": {
"@llama-node/core": "0.0.36",
"@llama-node/llama-cpp": "0.0.36",
"@llama-node/rwkv-cpp": "0.0.36",
"llama-node": "0.0.36"
"@llama-node/core": "0.0.37",
"@llama-node/llama-cpp": "0.0.37",
"@llama-node/rwkv-cpp": "0.0.37",
"llama-node": "0.0.37"
}
}
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "llama-node",
"version": "0.0.36",
"version": "0.0.37",
"description": "Node.js Library for Large Language Model LLaMA/RWKV",
"keywords": [
"llama",
Expand Down Expand Up @@ -59,10 +59,10 @@
"packageManager": "[email protected]",
"homepage": "https://llama-node.vercel.app/",
"devDependencies": {
"@llama-node/cli": "0.0.36",
"@llama-node/core": "0.0.36",
"@llama-node/llama-cpp": "0.0.36",
"@llama-node/rwkv-cpp": "0.0.36",
"@llama-node/cli": "0.0.37",
"@llama-node/core": "0.0.37",
"@llama-node/llama-cpp": "0.0.37",
"@llama-node/rwkv-cpp": "0.0.37",
"@napi-rs/cli": "^2.15.2",
"@tensorflow/tfjs-node": "^4.2.0",
"@types/node": "^18.15.5",
Expand All @@ -80,17 +80,17 @@
"vitest": "^0.30.1"
},
"dependencies": {
"@llama-node/cli": "0.0.36"
"@llama-node/cli": "0.0.37"
},
"optionalDependencies": {
"@llama-node/core": "0.0.36",
"@llama-node/llama-cpp": "0.0.36",
"@llama-node/rwkv-cpp": "0.0.36"
"@llama-node/core": "0.0.37",
"@llama-node/llama-cpp": "0.0.37",
"@llama-node/rwkv-cpp": "0.0.37"
},
"peerDependencies": {
"@llama-node/cli": "0.0.36",
"@llama-node/core": "0.0.36",
"@llama-node/llama-cpp": "0.0.36",
"@llama-node/rwkv-cpp": "0.0.36"
"@llama-node/cli": "0.0.37",
"@llama-node/core": "0.0.37",
"@llama-node/llama-cpp": "0.0.37",
"@llama-node/rwkv-cpp": "0.0.37"
}
}
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@llama-node/cli",
"version": "0.0.36",
"version": "0.0.37",
"description": "",
"main": "index.js",
"type": "commonjs",
Expand All @@ -12,7 +12,7 @@
"test": "tsx src/index.ts"
},
"dependencies": {
"@llama-node/core": "0.0.36",
"@llama-node/core": "0.0.37",
"yargs": "^17.7.1"
},
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@llama-node/core",
"version": "0.0.36",
"version": "0.0.37",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down
2 changes: 1 addition & 1 deletion packages/llama-cpp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@llama-node/llama-cpp",
"version": "0.0.36",
"version": "0.0.37",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rwkv-cpp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@llama-node/rwkv-cpp",
"version": "0.0.36",
"version": "0.0.37",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

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

4 changes: 3 additions & 1 deletion scripts/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,16 @@ const moveForPackages = async (packageName: string) => {
);

const sourceBinaries = await glob(
`${process.cwd()}/tmp/artifacts/**/${packageName}/**/*.node`
`${process.cwd()}/tmp/artifacts/*/${packageName}/**/*.node`
);

execSync(`rimraf ${targetBinaryDir}`);
execSync(`mkdir ${targetBinaryDir}`);

sourceBinaries.forEach((file) => {
execSync(`cp ${file} ${targetBinaryDir}`);
const fileName = path.basename(file);
console.log(`Copied ${fileName} to ${targetBinaryDir}`);
});
};

Expand Down

0 comments on commit d9ff9bd

Please sign in to comment.