@jerome-benoit/sap-ai-provider 4.0.0-rc.2 → 4.0.1
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/LICENSE.md +174 -188
- package/README.md +160 -80
- package/dist/index.cjs +150 -109
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -138
- package/dist/index.d.ts +40 -138
- package/dist/index.js +151 -112
- package/dist/index.js.map +1 -1
- package/package.json +18 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jerome-benoit/sap-ai-provider",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "SAP AI Core provider for AI SDK (powered by @sap-ai-sdk/orchestration)",
|
|
6
6
|
"keywords": [
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"author": "mymediset",
|
|
29
|
+
"volta": {
|
|
30
|
+
"node": "24.13.0"
|
|
31
|
+
},
|
|
29
32
|
"main": "./dist/index.cjs",
|
|
30
33
|
"module": "./dist/index.js",
|
|
31
34
|
"types": "./dist/index.d.ts",
|
|
@@ -48,8 +51,13 @@
|
|
|
48
51
|
"build": "tsup",
|
|
49
52
|
"build:watch": "tsup --watch",
|
|
50
53
|
"clean": "rm -rf dist",
|
|
51
|
-
"lint": "eslint .",
|
|
52
|
-
"lint-fix": "eslint . --fix",
|
|
54
|
+
"lint": "npm run lint:md:all && eslint .",
|
|
55
|
+
"lint-fix": "npm run lint:md:fix && eslint . --fix",
|
|
56
|
+
"lint:md": "markdownlint -c .markdownlintrc '**/*.md'",
|
|
57
|
+
"lint:md:fix": "markdownlint -c .markdownlintrc '**/*.md' --fix",
|
|
58
|
+
"lint:md:links": "find . -name '*.md' -not -path './node_modules/*' -exec markdown-link-check -c .markdown-link-check.json {} \\;",
|
|
59
|
+
"lint:md:toc": "tsx scripts/check-toc.ts",
|
|
60
|
+
"lint:md:all": "npm run lint:md && npm run lint:md:toc",
|
|
53
61
|
"type-check": "tsc --noEmit",
|
|
54
62
|
"prettier-check": "prettier --check .",
|
|
55
63
|
"prettier-fix": "prettier --write .",
|
|
@@ -59,16 +67,15 @@
|
|
|
59
67
|
"test:edge": "vitest --config vitest.edge.config.ts --run",
|
|
60
68
|
"test:node:watch": "vitest --config vitest.node.config.ts",
|
|
61
69
|
"test:coverage": "vitest run --coverage",
|
|
62
|
-
"validate-docs": "tsx scripts/validate-docs.ts",
|
|
63
|
-
"fix-docs-toc": "tsx scripts/fix-docs-toc.ts",
|
|
64
70
|
"prepare": "npm run build",
|
|
65
|
-
"prepublishOnly": "npm run
|
|
71
|
+
"prepublishOnly": "npm run type-check && npm run lint && npm run test && npm run build && npm run check-build",
|
|
66
72
|
"check-build": "ls -la dist/ && test -f dist/index.js && test -f dist/index.cjs && test -f dist/index.d.ts"
|
|
67
73
|
},
|
|
68
74
|
"dependencies": {
|
|
69
|
-
"@ai-sdk/provider": "^3.0.
|
|
70
|
-
"@ai-sdk/provider-utils": "^4.0.
|
|
75
|
+
"@ai-sdk/provider": "^3.0.3",
|
|
76
|
+
"@ai-sdk/provider-utils": "^4.0.7",
|
|
71
77
|
"@sap-ai-sdk/orchestration": "^2.5.0",
|
|
78
|
+
"eslint-plugin-jsdoc": "^62.0.0",
|
|
72
79
|
"zod": "^4.3.5",
|
|
73
80
|
"zod-to-json-schema": "^3.25.1"
|
|
74
81
|
},
|
|
@@ -81,7 +88,9 @@
|
|
|
81
88
|
"eslint": "^9.39.2",
|
|
82
89
|
"eslint-plugin-perfectionist": "^5.3.1",
|
|
83
90
|
"globals": "^17.0.0",
|
|
84
|
-
"
|
|
91
|
+
"markdown-link-check": "^3.14.2",
|
|
92
|
+
"markdownlint-cli": "^0.47.0",
|
|
93
|
+
"prettier": "^3.8.0",
|
|
85
94
|
"tsup": "^8.5.1",
|
|
86
95
|
"tsx": "^4.21.0",
|
|
87
96
|
"typescript": "^5.9.3",
|