diff --git a/docs/package.json b/docs/package.json index de71d750b8..0471a2c80b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,7 +2,7 @@ "name": "docs", "type": "module", "private": true, - "version": "1.17.0", + "version": "1.18.0", "license": "MIT", "scripts": { "dev": "astro dev --host", diff --git a/packages/cli/package.json b/packages/cli/package.json index 2dfbab47fa..c1a6786a0b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,71 +1,71 @@ { - "name": "genaiscript", - "version": "1.17.0", - "main": "built/genaiscript.cjs", - "bin": { - "genaiscript": "./built/genaiscript.cjs" - }, - "publisher": "Microsoft", - "repository": { - "url": "https://github.com/microsoft/genaiscript" - }, - "homepage": "https://microsoft.github.io/genaiscript", - "keywords": [ - "genai", - "ai", - "cli", - "prompt", - "llm", - "generative ai", - "gpt4", - "chatgpt" - ], - "description": "A CLI for GenAIScript, a generative AI scripting framework.", - "license": "MIT", - "dependencies": { - "tree-sitter-wasms": "^0.1.10", - "web-tree-sitter": "^0.22.2", - "pdfjs-dist": "4.0.379" - }, - "optionalDependencies": { - "llamaindex": "0.1.21" - }, - "engines": { - "node": ">=20.0.0" - }, - "devDependencies": { - "@llamaindex/env": "^0.0.5", - "@types/fs-extra": "^11.0.4", - "@types/node": "^20.11.27", - "@types/papaparse": "^5.3.14", - "@types/pg": "^8.11.2", - "@types/replace-ext": "^2.0.2", - "@types/ws": "^8.5.10", - "commander": "^12.0.0", - "dotenv": "^16.4.5", - "esbuild": "^0.20.2", - "execa": "^8.0.1", - "file-type": "^19.0.0", - "fs-extra": "^11.2.0", - "genaiscript-core": "*", - "get-stdin": "^9.0.0", - "glob": "^10.3.10", - "mammoth": "^1.7.0", - "node-sarif-builder": "^3.0.0", - "openai": "^4.28.4", - "ora": "^8.0.1", - "pretty-bytes": "^6.1.1", - "replace-ext": "^2.0.0", - "semver": "^7.6.0", - "tsx": "^4.7.1", - "typescript": "^5.3.3", - "zx": "^7.2.3" - }, - "scripts": { - "compile": "esbuild src/main.ts --bundle --platform=node --target=node20 --outfile=built/genaiscript.cjs --external:pdfjs-dist --external:llamaindex --external:web-tree-sitter --external:tree-sitter-wasms && echo '#!/usr/bin/env node' | cat - built/genaiscript.cjs > temp && mv temp built/genaiscript.cjs", - "postcompile": "cp built/genaiscript.cjs ../vscode/genaiscript.cjs && node built/genaiscript.cjs help-all > ../../docs/src/content/docs/reference/cli/commands.md", - "go": "yarn compile && node built/genaiscript.cjs", - "test": "node --import tsx --test src/**.test.ts", - "typecheck": "tsc -p src" - } + "name": "genaiscript", + "version": "1.18.0", + "main": "built/genaiscript.cjs", + "bin": { + "genaiscript": "./built/genaiscript.cjs" + }, + "publisher": "Microsoft", + "repository": { + "url": "https://github.com/microsoft/genaiscript" + }, + "homepage": "https://microsoft.github.io/genaiscript", + "keywords": [ + "genai", + "ai", + "cli", + "prompt", + "llm", + "generative ai", + "gpt4", + "chatgpt" + ], + "description": "A CLI for GenAIScript, a generative AI scripting framework.", + "license": "MIT", + "dependencies": { + "tree-sitter-wasms": "^0.1.10", + "web-tree-sitter": "^0.22.2", + "pdfjs-dist": "4.0.379" + }, + "optionalDependencies": { + "llamaindex": "0.1.21" + }, + "engines": { + "node": ">=20.0.0" + }, + "devDependencies": { + "@llamaindex/env": "^0.0.5", + "@types/fs-extra": "^11.0.4", + "@types/node": "^20.11.27", + "@types/papaparse": "^5.3.14", + "@types/pg": "^8.11.2", + "@types/replace-ext": "^2.0.2", + "@types/ws": "^8.5.10", + "commander": "^12.0.0", + "dotenv": "^16.4.5", + "esbuild": "^0.20.2", + "execa": "^8.0.1", + "file-type": "^19.0.0", + "fs-extra": "^11.2.0", + "genaiscript-core": "*", + "get-stdin": "^9.0.0", + "glob": "^10.3.10", + "mammoth": "^1.7.0", + "node-sarif-builder": "^3.0.0", + "openai": "^4.28.4", + "ora": "^8.0.1", + "pretty-bytes": "^6.1.1", + "replace-ext": "^2.0.0", + "semver": "^7.6.0", + "tsx": "^4.7.1", + "typescript": "^5.3.3", + "zx": "^7.2.3" + }, + "scripts": { + "compile": "esbuild src/main.ts --bundle --platform=node --target=node20 --outfile=built/genaiscript.cjs --external:pdfjs-dist --external:llamaindex --external:web-tree-sitter --external:tree-sitter-wasms && echo '#!/usr/bin/env node' | cat - built/genaiscript.cjs > temp && mv temp built/genaiscript.cjs", + "postcompile": "cp built/genaiscript.cjs ../vscode/genaiscript.cjs && node built/genaiscript.cjs help-all > ../../docs/src/content/docs/reference/cli/commands.md", + "go": "yarn compile && node built/genaiscript.cjs", + "test": "node --import tsx --test src/**.test.ts", + "typecheck": "tsc -p src" + } } diff --git a/packages/core/package.json b/packages/core/package.json index d8f82faea8..70b30be1bb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,54 +1,54 @@ { - "name": "genaiscript-core", - "version": "1.17.0", - "main": "src/index.ts", - "license": "MIT", - "private": true, - "npm": { - "publish": false - }, - "repository": { - "directory": "packages/core", - "url": "https://github.com/microsoft/genaiscript" - }, - "optionalDependencies": { - "pdfjs-dist": "4.0.379", - "web-tree-sitter": "^0.22.2" - }, - "devDependencies": { - "mammoth": "^1.7.0", - "@types/ini": "^4.1.0", - "@types/mime-types": "^2.1.4", - "@types/node": "^20.11.27", - "ajv": "^8.12.0", - "cross-fetch": "^4.0.0", - "csv-parse": "^5.5.5", - "dotenv": "^16.4.5", - "esbuild": "^0.20.1", - "fast-xml-parser": "^4.3.6", - "fetch-retry": "^5.0.6", - "file-type": "^19.0.0", - "gpt-tokenizer": "^2.1.2", - "ini": "^4.1.2", - "json5": "^2.2.3", - "jsonrepair": "^3.6.0", - "magic-string": "^0.30.8", - "markdown-table": "^3.0.3", - "mime-types": "^2.1.35", - "minimatch": "^9.0.3", - "openai": "^4.29.0", - "prettier": "^3.2.5", - "pretty-bytes": "^6.1.1", - "serialize-error": "^11.0.3", - "toml": "^3.0.0", - "tree-sitter-wasms": "^0.1.10", - "typescript": "^5.3.3", - "yaml": "^2.4.1" - }, - "scripts": { - "typecheck": "tsc -p src", - "prompts:bundle": "node bundleprompts.mjs", - "pretypecheck": "yarn prompts:bundle", - "test": "node --import tsx --test src/**.test.ts" - } + "name": "genaiscript-core", + "version": "1.18.0", + "main": "src/index.ts", + "license": "MIT", + "private": true, + "npm": { + "publish": false + }, + "repository": { + "directory": "packages/core", + "url": "https://github.com/microsoft/genaiscript" + }, + "optionalDependencies": { + "pdfjs-dist": "4.0.379", + "web-tree-sitter": "^0.22.2" + }, + "devDependencies": { + "mammoth": "^1.7.0", + "@types/ini": "^4.1.0", + "@types/mime-types": "^2.1.4", + "@types/node": "^20.11.27", + "ajv": "^8.12.0", + "cross-fetch": "^4.0.0", + "csv-parse": "^5.5.5", + "dotenv": "^16.4.5", + "esbuild": "^0.20.1", + "fast-xml-parser": "^4.3.6", + "fetch-retry": "^5.0.6", + "file-type": "^19.0.0", + "gpt-tokenizer": "^2.1.2", + "ini": "^4.1.2", + "json5": "^2.2.3", + "jsonrepair": "^3.6.0", + "magic-string": "^0.30.8", + "markdown-table": "^3.0.3", + "mime-types": "^2.1.35", + "minimatch": "^9.0.3", + "openai": "^4.29.0", + "prettier": "^3.2.5", + "pretty-bytes": "^6.1.1", + "serialize-error": "^11.0.3", + "toml": "^3.0.0", + "tree-sitter-wasms": "^0.1.10", + "typescript": "^5.3.3", + "yaml": "^2.4.1" + }, + "scripts": { + "typecheck": "tsc -p src", + "prompts:bundle": "node bundleprompts.mjs", + "pretypecheck": "yarn prompts:bundle", + "test": "node --import tsx --test src/**.test.ts" + } } diff --git a/packages/sample/package.json b/packages/sample/package.json index 8a1fc36564..63114c11ff 100644 --- a/packages/sample/package.json +++ b/packages/sample/package.json @@ -1,6 +1,6 @@ { "name": "genaiscript-sample", - "version": "1.17.0", + "version": "1.18.0", "license": "MIT", "private": true, "devDependencies": { diff --git a/packages/vscode/package.json b/packages/vscode/package.json index 91986da5d9..e30a7d86df 100644 --- a/packages/vscode/package.json +++ b/packages/vscode/package.json @@ -7,7 +7,7 @@ }, "displayName": "GenAIScript Insiders", "description": "Generative AI Scripting.", - "version": "1.17.0", + "version": "1.18.0", "icon": "icon.png", "engines": { "vscode": "^1.86.0"