Skip to content

Commit abaa955

Browse files
committed
v1.1.0 FabricAI AI Inside v2.27.3
1 parent 25c9f36 commit abaa955

File tree

7 files changed

+1292
-466
lines changed

7 files changed

+1292
-466
lines changed

.github/workflows/npm-publish.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
name: Npm Publish Package
55

6+
env:
7+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
8+
69
on:
710
release:
811
types: [created]
@@ -14,10 +17,13 @@ jobs:
1417
- uses: actions/checkout@v3
1518
- uses: actions/setup-node@v3
1619
with:
17-
node-version: 16
20+
node-version: 18
1821
registry-url: https://registry.npmjs.org/
1922
- run: npm ci
2023
- run: npm run build
21-
- run: npm publish --access public
22-
env:
23-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
24+
- name: Publish NPM
25+
if: '!github.event.release.prerelease'
26+
run: npm publish
27+
- name: Publish NPM (beta)
28+
if: 'github.event.release.prerelease'
29+
run: npm publish --tag beta

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,6 @@ dist
105105

106106
nodemon.json
107107
test.js
108+
test.ts
109+
output/
110+
input/

README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ Add to project's package.json:
1010
npm install @rantalainen/fabricai-api-client
1111
```
1212

13-
### Import to NodeJS project
14-
15-
```javascript
16-
const { FabricAiApiClient } = require('@rantalainen/fabricai-api-client');
17-
```
18-
19-
### Import to TypeScript project
13+
### Import
2014

2115
```javascript
2216
import { FabricAiApiClient } from '@rantalainen/fabricai-api-client';
@@ -44,7 +38,3 @@ Available methods can be found in the [Technical API documentation](https://ai.d
4438
- FabricAI: https://fabricai.fi/
4539
- FabricAI AI Inside Developer Guide: https://ai.dev.fabricai.io/docs/
4640
- FabricAI Technical API documentation: https://ai.dev.fabricai.io/docs/api/
47-
48-
## Changelog
49-
50-
- 1.0.0 First release

0 commit comments

Comments
 (0)