@vivantel/rag-core 0.1.0 → 1.1.2

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.
@@ -1,151 +1,155 @@
1
- name: Publish
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
-
8
- permissions:
9
- contents: write
10
- pull-requests: write
11
- issues: write
12
- packages: write
13
-
14
- jobs:
15
- release-please:
16
- name: Release Please
17
- runs-on: ubuntu-latest
18
-
19
- outputs:
20
- release_created: ${{ steps.release.outputs.release_created }}
21
- tag_name: ${{ steps.release.outputs.tag_name }}
22
- version: ${{ steps.release.outputs.version }}
23
-
24
- steps:
25
- - name: Run Release Please
26
- id: release
27
- uses: googleapis/release-please-action@v5
28
- with:
29
- token: ${{ secrets.GITHUB_TOKEN }}
30
- release-type: node
31
- package-name: '@vivantel/rag-core'
32
- config-file: .github/config/release-please.json
33
- manifest-file: .release-please-manifest.json
34
-
35
- publish-npm:
36
- name: Publish to npm
37
- needs: release-please
38
- if: ${{ needs.release-please.outputs.release_created == 'true' }}
39
- runs-on: ubuntu-latest
40
-
41
- permissions:
42
- contents: read
43
- id-token: write # для npm provenance
44
-
45
- steps:
46
- - name: Checkout code
47
- uses: actions/checkout@v6
48
- with:
49
- ref: ${{ needs.release-please.outputs.tag_name }}
50
-
51
- - name: Setup Node.js
52
- uses: actions/setup-node@v6
53
- with:
54
- node-version: 'lts/*'
55
- registry-url: 'https://registry.npmjs.org'
56
- cache: 'npm'
57
-
58
- - name: Install dependencies
59
- run: npm ci
60
-
61
- - name: Build
62
- run: npm run build
63
-
64
- - name: Run tests
65
- run: npm test
66
-
67
- - name: Check package size
68
- run: npx package-size
69
-
70
- - name: Publish to npm
71
- run: npm publish --provenance --access public
72
- env:
73
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
74
-
75
- - name: Create GitHub Release
76
- uses: softprops/action-gh-release@v2
77
- with:
78
- tag_name: ${{ needs.release-please.outputs.tag_name }}
79
- name: Release ${{ needs.release-please.outputs.version }}
80
- body_path: CHANGELOG.md
81
- draft: false
82
- prerelease: false
83
- generate_release_notes: true
84
- env:
85
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86
-
87
- create-github-package:
88
- name: Publish to GitHub Packages
89
- needs: release-please
90
- if: ${{ needs.release-please.outputs.release_created == 'true' }}
91
- runs-on: ubuntu-latest
92
-
93
- permissions:
94
- contents: read
95
- packages: write
96
-
97
- steps:
98
- - name: Checkout code
99
- uses: actions/checkout@v6
100
- with:
101
- ref: ${{ needs.release-please.outputs.tag_name }}
102
-
103
- - name: Setup Node.js
104
- uses: actions/setup-node@v6
105
- with:
106
- node-version: 'lts/*'
107
- registry-url: 'https://npm.pkg.github.com'
108
- cache: 'npm'
109
-
110
- - name: Install dependencies
111
- run: npm ci
112
-
113
- - name: Build
114
- run: npm run build
115
-
116
- - name: Publish to GitHub Packages
117
- run: npm publish
118
- env:
119
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120
-
121
- update-docs:
122
- name: Update Documentation
123
- needs: release-please
124
- if: ${{ needs.release-please.outputs.release_created == 'true' }}
125
- runs-on: ubuntu-latest
126
-
127
- steps:
128
- - name: Checkout code
129
- uses: actions/checkout@v6
130
- with:
131
- ref: ${{ needs.release-please.outputs.tag_name }}
132
-
133
- - name: Setup Node.js
134
- uses: actions/setup-node@v6
135
- with:
136
- node-version: 'lts/*'
137
- cache: 'npm'
138
-
139
- - name: Install dependencies
140
- run: npm ci
141
-
142
- - name: Generate API documentation
143
- run: npm run docs:generate
144
-
145
- - name: Deploy to GitHub Pages
146
- uses: peaceiris/actions-gh-pages@v4
147
- with:
148
- github_token: ${{ secrets.GITHUB_TOKEN }}
149
- publish_dir: ./docs/api
150
- destination_dir: ${{ needs.release-please.outputs.version }}
151
- keep_files: false
1
+ name: Publish
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ version_type:
7
+ description: "Version type"
8
+ required: true
9
+ type: choice
10
+ options: [patch, minor, major]
11
+
12
+ permissions:
13
+ contents: write
14
+ pull-requests: write
15
+ issues: write
16
+ packages: write
17
+
18
+ jobs:
19
+ release-please:
20
+ name: Release Please
21
+ runs-on: ubuntu-latest
22
+
23
+ outputs:
24
+ release_created: ${{ steps.release.outputs.release_created }}
25
+ tag_name: ${{ steps.release.outputs.tag_name }}
26
+ version: ${{ steps.release.outputs.version }}
27
+
28
+ steps:
29
+ - name: Run Release Please
30
+ id: release
31
+ uses: googleapis/release-please-action@v5
32
+ with:
33
+ token: ${{ secrets.GITHUB_TOKEN }}
34
+ release-type: node
35
+ package-name: "@vivantel/rag-core"
36
+ config-file: .github/config/release-please.json
37
+ manifest-file: .release-please-manifest.json
38
+
39
+ publish-npm:
40
+ name: Publish to npm
41
+ needs: release-please
42
+ if: ${{ needs.release-please.outputs.release_created == 'true' }}
43
+ runs-on: ubuntu-latest
44
+
45
+ permissions:
46
+ contents: read
47
+ id-token: write # для npm provenance
48
+
49
+ steps:
50
+ - name: Checkout code
51
+ uses: actions/checkout@v6
52
+ with:
53
+ ref: ${{ needs.release-please.outputs.tag_name }}
54
+
55
+ - name: Setup Node.js
56
+ uses: actions/setup-node@v6
57
+ with:
58
+ node-version: "lts/*"
59
+ registry-url: "https://registry.npmjs.org"
60
+ cache: "npm"
61
+
62
+ - name: Install dependencies
63
+ run: npm ci
64
+
65
+ - name: Build
66
+ run: npm run build
67
+
68
+ - name: Run tests
69
+ run: npm test
70
+
71
+ - name: Check package size
72
+ run: npx package-size
73
+
74
+ - name: Publish to npm
75
+ run: npm publish --provenance --access public
76
+ env:
77
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
78
+
79
+ - name: Create GitHub Release
80
+ uses: softprops/action-gh-release@v2
81
+ with:
82
+ tag_name: ${{ needs.release-please.outputs.tag_name }}
83
+ name: Release ${{ needs.release-please.outputs.version }}
84
+ body_path: CHANGELOG.md
85
+ draft: false
86
+ prerelease: false
87
+ generate_release_notes: true
88
+ env:
89
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90
+
91
+ create-github-package:
92
+ name: Publish to GitHub Packages
93
+ needs: release-please
94
+ if: ${{ needs.release-please.outputs.release_created == 'true' }}
95
+ runs-on: ubuntu-latest
96
+
97
+ permissions:
98
+ contents: read
99
+ packages: write
100
+
101
+ steps:
102
+ - name: Checkout code
103
+ uses: actions/checkout@v6
104
+ with:
105
+ ref: ${{ needs.release-please.outputs.tag_name }}
106
+
107
+ - name: Setup Node.js
108
+ uses: actions/setup-node@v6
109
+ with:
110
+ node-version: "lts/*"
111
+ registry-url: "https://npm.pkg.github.com"
112
+ cache: "npm"
113
+
114
+ - name: Install dependencies
115
+ run: npm ci
116
+
117
+ - name: Build
118
+ run: npm run build
119
+
120
+ - name: Publish to GitHub Packages
121
+ run: npm publish
122
+ env:
123
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
124
+
125
+ update-docs:
126
+ name: Update Documentation
127
+ needs: release-please
128
+ if: ${{ needs.release-please.outputs.release_created == 'true' }}
129
+ runs-on: ubuntu-latest
130
+
131
+ steps:
132
+ - name: Checkout code
133
+ uses: actions/checkout@v6
134
+ with:
135
+ ref: ${{ needs.release-please.outputs.tag_name }}
136
+
137
+ - name: Setup Node.js
138
+ uses: actions/setup-node@v6
139
+ with:
140
+ node-version: "lts/*"
141
+ cache: "npm"
142
+
143
+ - name: Install dependencies
144
+ run: npm ci
145
+
146
+ - name: Generate API documentation
147
+ run: npm run docs:generate
148
+
149
+ - name: Deploy to GitHub Pages
150
+ uses: peaceiris/actions-gh-pages@v4
151
+ with:
152
+ github_token: ${{ secrets.GITHUB_TOKEN }}
153
+ publish_dir: ./docs/api
154
+ destination_dir: ${{ needs.release-please.outputs.version }}
155
+ keep_files: false
@@ -1,150 +1,54 @@
1
- name: Release
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
-
8
- permissions:
9
- contents: write
10
- pull-requests: write
11
- issues: write
12
- packages: write
13
-
14
- jobs:
15
- release-please:
16
- name: Release Please
17
- runs-on: ubuntu-latest
18
-
19
- outputs:
20
- release_created: ${{ steps.release.outputs.release_created }}
21
- tag_name: ${{ steps.release.outputs.tag_name }}
22
- version: ${{ steps.release.outputs.version }}
23
-
24
- steps:
25
- - name: Run Release Please
26
- id: release
27
- uses: googleapis/release-please-action@v5
28
- with:
29
- token: ${{ secrets.GITHUB_TOKEN }}
30
- release-type: node
31
- package-name: '@vivantel/rag-core'
32
- config-file: .github/config/release-please.json
33
- manifest-file: .release-please-manifest.json
34
-
35
- publish-npm:
36
- name: Publish to npm
37
- needs: release-please
38
- if: ${{ needs.release-please.outputs.release_created == 'true' }}
39
- runs-on: ubuntu-latest
40
-
41
- permissions:
42
- contents: read
43
- id-token: write # для npm provenance
44
-
45
- steps:
46
- - name: Checkout code
47
- uses: actions/checkout@v6
48
- with:
49
- ref: ${{ needs.release-please.outputs.tag_name }}
50
-
51
- - name: Setup Node.js
52
- uses: actions/setup-node@v6
53
- with:
54
- node-version: '20.x'
55
- registry-url: 'https://registry.npmjs.org'
56
- cache: 'npm'
57
-
58
- - name: Install dependencies
59
- run: npm ci
60
-
61
- - name: Build
62
- run: npm run build
63
-
64
- - name: Run tests
65
- run: npm test
66
-
67
- - name: Check package size
68
- run: npx package-size
69
-
70
- - name: Publish to npm
71
- run: npm publish --provenance --access public
72
- env:
73
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
74
-
75
- - name: Create GitHub Release
76
- uses: softprops/action-gh-release@v1
77
- with:
78
- tag_name: ${{ needs.release-please.outputs.tag_name }}
79
- name: Release ${{ needs.release-please.outputs.version }}
80
- body_path: CHANGELOG.md
81
- draft: false
82
- prerelease: false
83
- env:
84
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85
-
86
- create-github-package:
87
- name: Publish to GitHub Packages
88
- needs: release-please
89
- if: ${{ needs.release-please.outputs.release_created == 'true' }}
90
- runs-on: ubuntu-latest
91
-
92
- permissions:
93
- contents: read
94
- packages: write
95
-
96
- steps:
97
- - name: Checkout code
98
- uses: actions/checkout@v6
99
- with:
100
- ref: ${{ needs.release-please.outputs.tag_name }}
101
-
102
- - name: Setup Node.js
103
- uses: actions/setup-node@v6
104
- with:
105
- node-version: '20.x'
106
- registry-url: 'https://npm.pkg.github.com'
107
- cache: 'npm'
108
-
109
- - name: Install dependencies
110
- run: npm ci
111
-
112
- - name: Build
113
- run: npm run build
114
-
115
- - name: Publish to GitHub Packages
116
- run: npm publish
117
- env:
118
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119
-
120
- update-docs:
121
- name: Update Documentation
122
- needs: release-please
123
- if: ${{ needs.release-please.outputs.release_created == 'true' }}
124
- runs-on: ubuntu-latest
125
-
126
- steps:
127
- - name: Checkout code
128
- uses: actions/checkout@v6
129
- with:
130
- ref: ${{ needs.release-please.outputs.tag_name }}
131
-
132
- - name: Setup Node.js
133
- uses: actions/setup-node@v6
134
- with:
135
- node-version: '20.x'
136
- cache: 'npm'
137
-
138
- - name: Install dependencies
139
- run: npm ci
140
-
141
- - name: Generate API documentation
142
- run: npm run docs:generate
143
-
144
- - name: Deploy to GitHub Pages
145
- uses: peaceiris/actions-gh-pages@v4
146
- with:
147
- github_token: ${{ secrets.GITHUB_TOKEN }}
148
- publish_dir: ./docs/api
149
- destination_dir: ${{ needs.release-please.outputs.version }}
150
- keep_files: false
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+ permissions:
9
+ contents: write
10
+ pull-requests: write
11
+ issues: write
12
+
13
+ jobs:
14
+ release-please:
15
+ runs-on: ubuntu-latest
16
+ outputs:
17
+ release_created: ${{ steps.release.outputs.release_created }}
18
+ steps:
19
+ - name: Run Release Please
20
+ id: release
21
+ uses: googleapis/release-please-action@v5
22
+ with:
23
+ token: ${{ secrets.RELEASE_TOKEN }}
24
+ release-type: node
25
+ config-file: .github/config/release-please.json
26
+ manifest-file: .release-please-manifest.json
27
+
28
+ publish-npm:
29
+ needs: release-please
30
+ if: ${{ needs.release-please.outputs.release_created == 'true' }}
31
+ runs-on: ubuntu-latest
32
+ permissions:
33
+ contents: read
34
+ id-token: write
35
+ steps:
36
+ - uses: actions/checkout@v4
37
+ with:
38
+ fetch-depth: 0
39
+
40
+ - uses: actions/setup-node@v4
41
+ with:
42
+ node-version: '20.x'
43
+ registry-url: 'https://registry.npmjs.org'
44
+
45
+ - name: Install dependencies
46
+ run: npm ci
47
+
48
+ - name: Build
49
+ run: npm run build
50
+
51
+ - name: Publish to npm
52
+ run: npm publish --provenance --access public
53
+ env:
54
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.1.2"
3
+ }
package/.versionrc.json CHANGED
@@ -1,19 +1,19 @@
1
- {
2
- "types": [
3
- {"type": "feat", "section": "Features"},
4
- {"type": "fix", "section": "Bug Fixes"},
5
- {"type": "perf", "section": "Performance Improvements"},
6
- {"type": "refactor", "section": "Code Refactoring"},
7
- {"type": "docs", "section": "Documentation"},
8
- {"type": "style", "hidden": true},
9
- {"type": "chore", "hidden": true},
10
- {"type": "test", "hidden": true}
11
- ],
12
- "releaseCommitMessageFormat": "chore: release {{currentTag}}",
13
- "skip": {
14
- "bump": false,
15
- "changelog": false,
16
- "commit": false,
17
- "tag": false
18
- }
1
+ {
2
+ "types": [
3
+ {"type": "feat", "section": "Features"},
4
+ {"type": "fix", "section": "Bug Fixes"},
5
+ {"type": "perf", "section": "Performance Improvements"},
6
+ {"type": "refactor", "section": "Code Refactoring"},
7
+ {"type": "docs", "section": "Documentation"},
8
+ {"type": "style", "hidden": true},
9
+ {"type": "chore", "hidden": true},
10
+ {"type": "test", "hidden": true}
11
+ ],
12
+ "releaseCommitMessageFormat": "chore: release {{currentTag}}",
13
+ "skip": {
14
+ "bump": false,
15
+ "changelog": false,
16
+ "commit": false,
17
+ "tag": false
18
+ }
19
19
  }
package/CHANGELOG.md CHANGED
@@ -1,21 +1,51 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [Unreleased]
9
-
10
- ### Added
11
- - Initial release
12
-
13
- ### Changed
14
-
15
- ### Deprecated
16
-
17
- ### Removed
18
-
19
- ### Fixed
20
-
21
- ### Security
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.1.2](https://github.com/vivantel/rag_core/compare/v1.1.1...v1.1.2) (2026-05-31)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add repository.url to package.json for npm provenance ([01f8164](https://github.com/vivantel/rag_core/commit/01f816412ce5643eaa1cc1acb6a689fa48c20bfc))
14
+
15
+ ## [1.1.1](https://github.com/vivantel/rag_core/compare/v1.1.0...v1.1.1) (2026-05-31)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add repository.url to package.json for npm provenance ([c468d1f](https://github.com/vivantel/rag_core/commit/c468d1f819579524795cf2f533871efe9931dd6f))
21
+
22
+ ## [1.1.0](https://github.com/vivantel/rag_core/compare/v1.0.0...v1.1.0) (2026-05-31)
23
+
24
+
25
+ ### Features
26
+
27
+ * test trusted publisher automation ([7fd08b9](https://github.com/vivantel/rag_core/commit/7fd08b96f32e7f7c2c2c02ec7e2eebb761d5fa7f))
28
+
29
+ ## 1.0.0 (2026-05-31)
30
+
31
+
32
+ ### Features
33
+
34
+ * test trusted publisher automation ([8a8cf1f](https://github.com/vivantel/rag_core/commit/8a8cf1f05ab420ebfcaba5653819d0d5e5c5fc2f))
35
+ * test trusted publisher automation ([b2638cd](https://github.com/vivantel/rag_core/commit/b2638cd58abbfe073db51ef2fd0146594a99c55f))
36
+ * test trusted publisher automation ([c524461](https://github.com/vivantel/rag_core/commit/c5244615cf7e5e91457446b43d62efdd7928273c))
37
+
38
+ ## [Unreleased]
39
+
40
+ ### Added
41
+ - Initial release
42
+
43
+ ### Changed
44
+
45
+ ### Deprecated
46
+
47
+ ### Removed
48
+
49
+ ### Fixed
50
+
51
+ ### Security