Skip to content

Commit

Permalink
prepare for 2.0.0-aplha.2 release
Browse files Browse the repository at this point in the history
Signed-off-by: karthik2804 <[email protected]>
  • Loading branch information
karthik2804 committed Jun 13, 2024
1 parent 6ac9b48 commit ee18c60
Show file tree
Hide file tree
Showing 32 changed files with 355 additions and 910 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Spin JS SDK

This is an SDK for Javascript and Typescript based on [componentize-js](https://github.com/bytecodealliance/ComponentizeJS).


## Installing the templates

[Spin](https://github.com/fermyon/spin) is a prerequisite.

The templates can be installed with the following command:

```bash
spin plugin install --update --git https://github.com/fermyon/spin-js-sdk --branch feat/sdk-v2
```

## Creating and Building a new app=

```bash
spin new -t http-ts hello-world -a
cd hello-world
npm install
spin buiild
```

## Running the app

```bash
spin up
```

## Note: Installing the package

Currently pre-release versionf are published on NPM and can be installed using the following command:

```bash
npm install @fermyon/spin-sdk@next
```
19 changes: 0 additions & 19 deletions lib/inboundHttp.d.ts

This file was deleted.

115 changes: 0 additions & 115 deletions lib/inboundHttp.js

This file was deleted.

3 changes: 0 additions & 3 deletions lib/inboundRedis.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions lib/inboundRedis.js

This file was deleted.

12 changes: 0 additions & 12 deletions lib/index.d.ts

This file was deleted.

12 changes: 0 additions & 12 deletions lib/index.js

This file was deleted.

11 changes: 0 additions & 11 deletions lib/keyValue.d.ts

This file was deleted.

42 changes: 0 additions & 42 deletions lib/keyValue.js

This file was deleted.

40 changes: 0 additions & 40 deletions lib/llm.d.ts

This file was deleted.

26 changes: 0 additions & 26 deletions lib/llm.js

This file was deleted.

9 changes: 0 additions & 9 deletions lib/mqtt.d.ts

This file was deleted.

11 changes: 0 additions & 11 deletions lib/mqtt.js

This file was deleted.

6 changes: 0 additions & 6 deletions lib/mysql.d.ts

This file was deleted.

31 changes: 0 additions & 31 deletions lib/mysql.js

This file was deleted.

6 changes: 0 additions & 6 deletions lib/postgres.d.ts

This file was deleted.

Loading

0 comments on commit ee18c60

Please sign in to comment.