Skip to content

Commit

Permalink
v1.1.0 FabricAI AI Inside v2.27.3
Browse files Browse the repository at this point in the history
  • Loading branch information
henripero committed Sep 20, 2024
1 parent 25c9f36 commit abaa955
Show file tree
Hide file tree
Showing 7 changed files with 1,292 additions and 466 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

name: Npm Publish Package

env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

on:
release:
types: [created]
Expand All @@ -14,10 +17,13 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish NPM
if: '!github.event.release.prerelease'
run: npm publish
- name: Publish NPM (beta)
if: 'github.event.release.prerelease'
run: npm publish --tag beta
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,6 @@ dist

nodemon.json
test.js
test.ts
output/
input/
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@ Add to project's package.json:
npm install @rantalainen/fabricai-api-client
```

### Import to NodeJS project

```javascript
const { FabricAiApiClient } = require('@rantalainen/fabricai-api-client');
```

### Import to TypeScript project
### Import

```javascript
import { FabricAiApiClient } from '@rantalainen/fabricai-api-client';
Expand Down Expand Up @@ -44,7 +38,3 @@ Available methods can be found in the [Technical API documentation](https://ai.d
- FabricAI: https://fabricai.fi/
- FabricAI AI Inside Developer Guide: https://ai.dev.fabricai.io/docs/
- FabricAI Technical API documentation: https://ai.dev.fabricai.io/docs/api/

## Changelog

- 1.0.0 First release
Loading

0 comments on commit abaa955

Please sign in to comment.