Skip to content

Commit

Permalink
Release .29 (#68)
Browse files Browse the repository at this point in the history
* Release .29

* docs

* fix egui
  • Loading branch information
lucasavila00 committed Mar 29, 2024
1 parent a1876fe commit 5a69874
Show file tree
Hide file tree
Showing 12 changed files with 51 additions and 19 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Build/release Electron app

on:
push:
tags:
- v*.*.*
release:
types: [created]

jobs:
release:
Expand Down
9 changes: 9 additions & 0 deletions apps/egui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# egui

## 0.0.29

### Patch Changes

- Fix Electron App Build
- Updated dependencies
- @lmscript/client@0.0.29
- @lmscript/gui@0.0.29

## 0.0.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/egui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "egui",
"version": "0.0.2",
"name": "@lmscript/egui",
"version": "0.0.29",
"description": "An Electron application with React and TypeScript",
"main": "./out/main/index.mjs",
"author": "example.com",
Expand Down
11 changes: 7 additions & 4 deletions apps/egui/src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ import { app, shell, BrowserWindow, ipcMain, dialog } from "electron";
import { join } from "path";
import { electronApp, optimizer, is } from "@electron-toolkit/utils";
import icon from "../../resources/icon.png?asset";
import { SGLangBackend } from "@lmscript/client/backends/sglang";
import { AbstractBackend } from "@lmscript/client/backends/abstract";
import { VllmBackend } from "@lmscript/client/backends/vllm";
import { RunpodServerlessBackend } from "@lmscript/client/backends/runpod-serverless-sglang";
import type { AbstractBackend } from "@lmscript/client/backends/abstract";
// import { RunpodServerlessBackend } from "@lmscript/client/backends/runpod-serverless-sglang";
const { RunpodServerlessBackend } = require("@lmscript/client/backends/runpod-serverless-sglang");
// import { SGLangBackend } from "@lmscript/client/backends/sglang";
const { SGLangBackend } = require("@lmscript/client/backends/sglang");
// import { VllmBackend } from "@lmscript/client/backends/vllm";
const { VllmBackend } = require("@lmscript/client/backends/vllm");
import type { Backend } from "@lmscript/gui/src/editor/hooks/useBackendConfig";
import fs from "node:fs";

Expand Down
2 changes: 1 addition & 1 deletion apps/egui/src/renderer/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const GetBackendInstanceElectron: GetBackendInstance = (backendConfig) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(window as any).getBackendInstance = GetBackendInstanceElectron;

import "gui/out/tailwind.css";
import "@lmscript/gui/out/tailwind.css";

import "cal-sans";

Expand Down
8 changes: 8 additions & 0 deletions apps/gui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @lmscript/gui

## 0.0.29

### Patch Changes

- Fix Electron App Build
- Updated dependencies
- @lmscript/client@0.0.29

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/gui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lmscript/gui",
"private": true,
"version": "0.0.2",
"version": "0.0.29",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
7 changes: 7 additions & 0 deletions examples/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @lmscript/examples_client

## 1.0.2

### Patch Changes

- Updated dependencies
- @lmscript/client@0.0.29

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lmscript/examples_client",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lmscript/client

## 0.0.29

### Patch Changes

- Fix Electron App Build

## 0.0.28

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

Dependency-Free Typescript client for LmScript.

The Complete API documentation is available at the project's
[JSR page](https://jsr.io/@lmscript/client).

## Installation

### Installing from JSR
Install from [NPM](https://www.npmjs.com/package/@lmscript/client)

Follow the instructions on the project's
[JSR page](https://jsr.io/@lmscript/client).
```shell
npm i @lmscript/client
```

## Usage

TODO docs

There are more complete examples in the
[client's examples folder](https://github.com/lucasavila00/LmScript/tree/main/client/examples).

Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lmscript/client",
"version": "0.0.28",
"version": "0.0.29",
"description": "Dependency-Free Typescript client for LmScript.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 5a69874

Please sign in to comment.