llm-exe 2.1.8 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-exe",
3
- "version": "2.1.8",
3
+ "version": "2.2.0",
4
4
  "description": "Simplify building LLM-powered apps with easy-to-use base components, supporting text and chat-based prompts with handlebars template engine, output parsers, and flexible function calling capabilities.",
5
5
  "keywords": [
6
6
  "ai",
@@ -35,18 +35,20 @@
35
35
  "node": ">=18"
36
36
  },
37
37
  "scripts": {
38
+ "typecheck": "tsc --noEmit",
38
39
  "test": "NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.ts --detectOpenHandles --coverage --forceExit",
39
40
  "test-examples": "eval $(cat .env) NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.examples.ts --detectOpenHandles --coverage --forceExit",
40
41
  "test-one": "eval $(cat .env) NODE_OPTIONS=--experimental-vm-modules jest --detectOpenHandles --coverage --forceExit --config jest.config.examples.ts examples/helloWorldReasoning.test.ts",
41
42
  "build": "(concurrently \"tsc --p ./tsconfig.json -w\" \"tsc-alias -p tsconfig.json -w\")",
42
43
  "build:ci": "tsup src/index.ts --format cjs,esm --dts --clean",
43
- "build:package": "tsup src/index.ts --format cjs,esm --dts --clean",
44
+ "build:browser": "tsup src/script.ts --format iife --platform browser --target es6 --sourcemap --clean --external '**'",
45
+ "build:package": "tsup src/index.ts --format cjs,esm --dts --clean --external jsonschema,json-schema-to-ts,exponential-backoff,@aws-sdk/credential-providers,@aws-crypto/sha256-js,@smithy/protocol-http,@smithy/signature-v4",
44
46
  "build:docs-examples": "./node_modules/.bin/esbuild examples/prompt/index.ts examples/state/index.ts --bundle --outdir=docs/.vitepress/components/examples --platform=node --target=es6 --format=esm",
45
47
  "build:watch:docs-examples": "./node_modules/.bin/esbuild examples/prompt/index.ts examples/state/index.ts --watch --bundle --outdir=docs/.vitepress/components/examples --platform=node --target=es6 --format=esm",
46
48
  "predocs:build": "npm run build:docs-examples",
47
49
  "docs:dev": "(concurrently \"vitepress dev docs\" \"npm run build:watch:docs-examples\")",
48
50
  "docs:build": "vitepress build docs",
49
- "lint": "eslint",
51
+ "lint": "eslint .",
50
52
  "format:check": "prettier --check \"src\"",
51
53
  "format:write": "prettier --write \"src\"",
52
54
  "publish-main": "npm publish",
@@ -56,40 +58,41 @@
56
58
  "license": "MIT",
57
59
  "dependencies": {
58
60
  "@aws-crypto/sha256-js": "5.2.0",
59
- "@aws-sdk/credential-providers": "3.624.0",
60
- "@smithy/signature-v4": "4.1.0",
61
- "exponential-backoff": "3.1.1",
61
+ "@aws-sdk/credential-providers": "3.806.0",
62
+ "@smithy/signature-v4": "5.1.0",
63
+ "exponential-backoff": "3.1.2",
62
64
  "handlebars": "4.7.8",
63
- "json-schema-to-ts": "3.1.0",
64
- "jsonschema": "1.4.1",
65
+ "json-schema-to-ts": "3.1.1",
66
+ "jsonschema": "1.5.0",
65
67
  "uuid": "10.0.0"
66
68
  },
67
69
  "devDependencies": {
68
- "@tsconfig/recommended": "^1.0.2",
69
- "@types/jest": "^29.5.2",
70
- "@types/json-schema": "^7.0.11",
71
- "@types/node": "17.0.23",
70
+ "@tsconfig/recommended": "1.0.8",
71
+ "@types/jest": "^29.5.14",
72
+ "@types/node": "^18.0.0",
72
73
  "@types/prettier": "2.6.0",
73
- "@types/uuid": "^10.0.0",
74
+ "@types/uuid": "10.0.0",
75
+ "@typescript-eslint/eslint-plugin": "^8.32.0",
76
+ "@typescript-eslint/parser": "^8.32.0",
74
77
  "concurrently": "^8.2.2",
75
- "esbuild": "0.23.1",
76
- "eslint": "^8.41.0",
77
- "eslint-config-airbnb-base": "^15.0.0",
78
- "eslint-config-prettier": "^8.8.0",
78
+ "esbuild": "0.25.4",
79
+ "eslint": "^9.26.0",
80
+ "eslint-config-prettier": "^8.10.0",
81
+ "eslint-plugin-import": "^2.31.0",
79
82
  "eslint-plugin-prettier": "^4.2.1",
80
- "jest": "^29.5.0",
81
- "prettier": "^2.8.8",
82
- "ts-jest": "^29.1.0",
83
- "ts-node": "^10.9.1",
84
- "tsc-alias": "^1.6.6",
85
- "tsup": "^8.2.4",
86
- "tsconfig-paths": "^3.14.1",
87
- "typescript": "^4.8.4",
83
+ "jest": "29.7.0",
84
+ "prettier": "3.5.3",
85
+ "ts-jest": "29.3.2",
86
+ "ts-node": "^10.9.2",
87
+ "tsc-alias": "^1.8.16",
88
+ "tsconfig-paths": "4.2.0",
89
+ "tsup": "^8.4.0",
90
+ "typescript": "5.8.3",
88
91
  "vitepress": "^1.3.2"
89
92
  },
90
93
  "repository": {
91
94
  "type": "git",
92
95
  "url": "https://github.com/gregreindel/llm-exe"
93
96
  },
94
- "homepage": "https:/llm-exe.com"
97
+ "homepage": "https://llm-exe.com"
95
98
  }