-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also, files have been reformatted so that the formatting check in CI will pass.
- Loading branch information
Showing
12 changed files
with
109 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: ci | ||
|
||
on: | ||
workflow_dispatch: # allow manual trigger | ||
pull_request: # on pull request changes | ||
push: | ||
branches: [main] # on commits to the main branch | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # to publish releases | ||
issues: write # to comment on released issues | ||
pull-requests: write # to comment on released PRs | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
with: { node-version: 20.x } | ||
- run: npm install -g pnpm | ||
- run: pnpm install --frozen-lockfile | ||
- run: pnpm run -r format:check | ||
- run: pnpm run -r test | ||
- run: pnpm run -r build | ||
# - run: pnpm run -r release | ||
# env: | ||
# GITHUB_TOKEN: ${{ github.token }} | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,35 @@ | ||
{ | ||
"name": "@formula-monks/kurt", | ||
"description": "A wrapper for AI SDKs, for building LLM-agnostic structured AI applications", | ||
"license": "MIT", | ||
"version": "1.0.0", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"test": "jest", | ||
"prepack": "tsc" | ||
}, | ||
"prettier": { | ||
"semi": false | ||
}, | ||
"dependencies": { | ||
"@google-cloud/vertexai": "1.1.0", | ||
"openai": "^4.40.0", | ||
"zod": "^3.23.5", | ||
"zod-to-json-schema": "^3.23.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.7.0", | ||
"jest": "^29.7.0", | ||
"ts-jest": "^29.1.2", | ||
"type-fest": "^4.18.1", | ||
"typescript": "^5.4.5" | ||
} | ||
"name": "@formula-monks/kurt", | ||
"description": "A wrapper for AI SDKs, for building LLM-agnostic structured AI applications", | ||
"license": "MIT", | ||
"version": "1.0.0", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"test": "jest", | ||
"format": "prettier --write ./**/*.{ts,js,json,md}", | ||
"format:check": "prettier --check ./**/*.{ts,js,json,md}", | ||
"build": "tsc", | ||
"prepack": "pnpm run build" | ||
}, | ||
"prettier": { | ||
"semi": false | ||
}, | ||
"dependencies": { | ||
"@google-cloud/vertexai": "1.1.0", | ||
"openai": "^4.40.0", | ||
"zod": "^3.23.5", | ||
"zod-to-json-schema": "^3.23.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.7.0", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.2.5", | ||
"ts-jest": "^29.1.2", | ||
"type-fest": "^4.18.1", | ||
"typescript": "^5.4.5" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.