vectra-js 0.9.5 → 0.9.6
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/.github/workflows/npm-publish.yml +10 -27
- package/bin/vectra.js +0 -0
- package/package.json +12 -7
|
@@ -1,42 +1,25 @@
|
|
|
1
|
-
name: Publish
|
|
1
|
+
name: Publish Package
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- master
|
|
7
7
|
|
|
8
|
+
permissions:
|
|
9
|
+
id-token: write
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
8
12
|
jobs:
|
|
9
13
|
publish:
|
|
10
14
|
runs-on: ubuntu-latest
|
|
11
15
|
environment: Build
|
|
12
|
-
|
|
13
|
-
permissions:
|
|
14
|
-
contents: read
|
|
15
|
-
|
|
16
16
|
steps:
|
|
17
17
|
- uses: actions/checkout@v4
|
|
18
18
|
|
|
19
19
|
- uses: actions/setup-node@v4
|
|
20
20
|
with:
|
|
21
|
-
node-version:
|
|
22
|
-
registry-url: https://registry.npmjs.org
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
version: 9
|
|
27
|
-
|
|
28
|
-
- name: Install dependencies
|
|
29
|
-
run: pnpm install --frozen-lockfile
|
|
30
|
-
|
|
31
|
-
- name: Configure npm auth
|
|
32
|
-
run: |
|
|
33
|
-
printf "//registry.npmjs.org/:_authToken=%s" "$NODE_AUTH_TOKEN" > "$NPM_CONFIG_USERCONFIG"
|
|
34
|
-
env:
|
|
35
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_KEY }}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- name: Verify auth (CI check)
|
|
39
|
-
run: npm whoami
|
|
40
|
-
|
|
41
|
-
- name: Publish to npm
|
|
42
|
-
run: pnpm publish --no-git-checks --access public
|
|
21
|
+
node-version: '24'
|
|
22
|
+
registry-url: 'https://registry.npmjs.org'
|
|
23
|
+
- run: npm install
|
|
24
|
+
- run: npm run build --if-present
|
|
25
|
+
- run: npm publish
|
package/bin/vectra.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vectra-js",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "A production-ready, provider-agnostic Node.js SDK for End-to-End RAG pipelines.",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"prisma:generate": "prisma generate",
|
|
9
|
+
"lint": "eslint . --ext .js,.cjs,.mjs",
|
|
10
|
+
"lint:fix": "eslint . --ext .js,.cjs,.mjs --fix"
|
|
11
|
+
},
|
|
6
12
|
"bin": {
|
|
7
13
|
"vectra": "bin/vectra.js"
|
|
8
14
|
},
|
|
@@ -47,10 +53,9 @@
|
|
|
47
53
|
"globals": "^16.5.0",
|
|
48
54
|
"prisma": "^7.2.0"
|
|
49
55
|
},
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"lint:fix": "eslint . --ext .js,.cjs,.mjs --fix"
|
|
56
|
+
"pnpm": {
|
|
57
|
+
"onlyBuiltDependencies": [
|
|
58
|
+
"sqlite3"
|
|
59
|
+
]
|
|
55
60
|
}
|
|
56
|
-
}
|
|
61
|
+
}
|