diff --git a/docs/package.json b/docs/package.json index 7fa8e45c96..9989d6018a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,30 +1,30 @@ { - "name": "docs", - "type": "module", - "private": true, - "version": "1.22.1", - "license": "MIT", - "scripts": { - "dev": "astro dev --host", - "start": "astro dev --host", - "check": "astro check", - "build": "astro build", - "build:asw": "rm -Rf distasw && mkdir distasw && touch distasw/index.html && mkdir distasw/genaiscript && cp -r dist/* distasw/genaiscript", - "preview": "astro preview", - "astro": "astro", - "genai:test": "node ../packages/cli/built/genaiscript.cjs test src/**/*.md", - "genai:frontmatter": "node ../packages/cli/built/genaiscript.cjs batch frontmatter src/**/*.md --apply-edits", - "genai:technical": "node ../packages/cli/built/genaiscript.cjs batch technical src/**/*.md --apply-edits", - "genai:alt-text": "node scripts/image-alt-text.mjs" - }, - "dependencies": { - "@astrojs/check": "^0.5.9", - "@astrojs/starlight": "^0.21.1", - "astro": "^4.5.3", - "sharp": "0.32.6", - "typescript": "5.4.5" - }, - "devDependencies": { - "zx": "^8.0.2" - } + "name": "docs", + "type": "module", + "private": true, + "version": "1.22.2", + "license": "MIT", + "scripts": { + "dev": "astro dev --host", + "start": "astro dev --host", + "check": "astro check", + "build": "astro build", + "build:asw": "rm -Rf distasw && mkdir distasw && touch distasw/index.html && mkdir distasw/genaiscript && cp -r dist/* distasw/genaiscript", + "preview": "astro preview", + "astro": "astro", + "genai:test": "node ../packages/cli/built/genaiscript.cjs test src/**/*.md", + "genai:frontmatter": "node ../packages/cli/built/genaiscript.cjs batch frontmatter src/**/*.md --apply-edits", + "genai:technical": "node ../packages/cli/built/genaiscript.cjs batch technical src/**/*.md --apply-edits", + "genai:alt-text": "node scripts/image-alt-text.mjs" + }, + "dependencies": { + "@astrojs/check": "^0.5.9", + "@astrojs/starlight": "^0.21.1", + "astro": "^4.5.3", + "sharp": "0.32.6", + "typescript": "5.4.5" + }, + "devDependencies": { + "zx": "^8.0.2" + } } diff --git a/packages/cli/package.json b/packages/cli/package.json index 72c3084091..f796f95b08 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,72 +1,72 @@ { - "name": "genaiscript", - "version": "1.22.1", - "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": { - "pdfjs-dist": "4.0.379", - "tree-sitter-wasms": "^0.1.11", - "typescript": "5.4.5", - "web-tree-sitter": "^0.22.2" - }, - "optionalDependencies": { - "llamaindex": "0.1.21" - }, - "engines": { - "node": ">=20.0.0" - }, - "devDependencies": { - "promptfoo": "^0.56.0", - "@llamaindex/env": "^0.0.5", - "@types/fs-extra": "^11.0.4", - "@types/node": "^20.12.7", - "@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.12", - "mammoth": "^1.7.1", - "node-sarif-builder": "^3.1.0", - "openai": "^4.33.1", - "ora": "^8.0.1", - "pretty-bytes": "^6.1.1", - "replace-ext": "^2.0.0", - "semver": "^7.6.0", - "tsx": "^4.7.2", - "zx": "^8.0.2" - }, - "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 --external:promptfoo && node ../../scripts/patch-cli.mjs", - "postcompile": "node built/genaiscript.cjs info help > ../../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.22.2", + "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": { + "pdfjs-dist": "4.0.379", + "tree-sitter-wasms": "^0.1.11", + "typescript": "5.4.5", + "web-tree-sitter": "^0.22.2" + }, + "optionalDependencies": { + "llamaindex": "0.1.21" + }, + "engines": { + "node": ">=20.0.0" + }, + "devDependencies": { + "promptfoo": "^0.56.0", + "@llamaindex/env": "^0.0.5", + "@types/fs-extra": "^11.0.4", + "@types/node": "^20.12.7", + "@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.12", + "mammoth": "^1.7.1", + "node-sarif-builder": "^3.1.0", + "openai": "^4.33.1", + "ora": "^8.0.1", + "pretty-bytes": "^6.1.1", + "replace-ext": "^2.0.0", + "semver": "^7.6.0", + "tsx": "^4.7.2", + "zx": "^8.0.2" + }, + "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 --external:promptfoo && node ../../scripts/patch-cli.mjs", + "postcompile": "node built/genaiscript.cjs info help > ../../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 797b1d1979..c168c520d0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "genaiscript-core", - "version": "1.22.1", + "version": "1.22.2", "main": "src/index.ts", "license": "MIT", "private": true, diff --git a/packages/sample/package.json b/packages/sample/package.json index 10070279ea..d615741b97 100644 --- a/packages/sample/package.json +++ b/packages/sample/package.json @@ -1,6 +1,6 @@ { "name": "genaiscript-sample", - "version": "1.22.1", + "version": "1.22.2", "license": "MIT", "private": true, "scripts": { diff --git a/packages/vscode/package.json b/packages/vscode/package.json index 201655a9b2..93d089734e 100644 --- a/packages/vscode/package.json +++ b/packages/vscode/package.json @@ -7,7 +7,7 @@ }, "displayName": "GenAIScript Insiders", "description": "Generative AI Scripting.", - "version": "1.22.1", + "version": "1.22.2", "icon": "icon.png", "engines": { "vscode": "^1.86.0" diff --git a/slides/package.json b/slides/package.json index 60308a01b0..9c00202271 100644 --- a/slides/package.json +++ b/slides/package.json @@ -1,6 +1,6 @@ { "name": "genaiscript-slides", - "version": "1.22.1", + "version": "1.22.2", "type": "module", "private": true, "npm": {