@recombine-ai/engine 0.8.8 → 0.9.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../src/lib/llm-adapters/openai.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAA;AAClF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAIvC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,8BAA8B,EAAE,UAAU,GAAG,QAAQ,CAAC,CAAA;AAE3F,MAAM,MAAM,iBAAiB,GAAG;IAC5B,YAAY,EAAE;QAAE,QAAQ,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;KAAE,CAAA;CAC3D,CAAA;AAID,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,iBAAiB,EAC1B,IAAI,EAAE,iBAAiB,GACxB,UAAU,
|
|
1
|
+
{"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../src/lib/llm-adapters/openai.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAA;AAClF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAIvC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,8BAA8B,EAAE,UAAU,GAAG,QAAQ,CAAC,CAAA;AAE3F,MAAM,MAAM,iBAAiB,GAAG;IAC5B,YAAY,EAAE;QAAE,QAAQ,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;KAAE,CAAA;CAC3D,CAAA;AAID,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,iBAAiB,EAC1B,IAAI,EAAE,iBAAiB,GACxB,UAAU,CA+CZ"}
|
package/changelog.md
CHANGED
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -114,7 +114,8 @@ To contribute to this project, you'll need to set up your local development envi
|
|
|
114
114
|
npm install
|
|
115
115
|
```
|
|
116
116
|
|
|
117
|
-
This project uses `npm` as its package manager. If you don't have it installed, you can install
|
|
117
|
+
This project uses `npm` as its package manager. If you don't have it installed, you can install
|
|
118
|
+
it with:
|
|
118
119
|
|
|
119
120
|
```sh
|
|
120
121
|
npm install -g npm
|
|
@@ -122,10 +123,13 @@ To contribute to this project, you'll need to set up your local development envi
|
|
|
122
123
|
|
|
123
124
|
2. **Set up Git hooks with Husky:**
|
|
124
125
|
|
|
125
|
-
Git hooks are automatically installed when you run `npm install` (via the `prepare` script). The
|
|
126
|
-
|
|
126
|
+
Git hooks are automatically installed when you run `npm install` (via the `prepare` script). The
|
|
127
|
+
project uses Husky to manage the following Git hooks:
|
|
128
|
+
- **`pre-commit`**: Runs `lint-staged` to format and lint only staged files using Prettier and
|
|
129
|
+
ESLint
|
|
127
130
|
- **`pre-push`**: Runs TypeScript type checking to ensure no type errors before pushing
|
|
128
|
-
- **`post-merge`**: Automatically runs `npm install` if `package.json` or `npm.yaml` changed
|
|
131
|
+
- **`post-merge`**: Automatically runs `npm install` if `package.json` or `npm.yaml` changed
|
|
132
|
+
after a merge
|
|
129
133
|
|
|
130
134
|
### Available Scripts
|
|
131
135
|
|
|
@@ -147,3 +151,16 @@ The project maintains code quality through:
|
|
|
147
151
|
- **Prettier** for consistent code formatting
|
|
148
152
|
- **Vitest** for testing
|
|
149
153
|
- **Husky + lint-staged** for automated pre-commit checks
|
|
154
|
+
|
|
155
|
+
### Publishing
|
|
156
|
+
|
|
157
|
+
To publish the package, on your machine in **main** branch run following sequence of commands:
|
|
158
|
+
|
|
159
|
+
```sh
|
|
160
|
+
npm version patch # or minor, or major – this updates package.json and package-lock.json with new version
|
|
161
|
+
git push # push commit with new version
|
|
162
|
+
git push --tags # push tags, this will trigger publishing workflow
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
> **NOTE:** To publish the package, you must be in [Recombine AI](https://github.com/recombine-ai)
|
|
166
|
+
> GitHub organization.
|