Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

[Do Not Merge]Monorepo #130

Draft
wants to merge 22 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
891bdce
refactor: extract component individually
teobler Mar 22, 2023
8b331d6
refactor: extract shared api params
teobler Mar 22, 2023
285eb59
feature: add build script via vite
teobler Mar 22, 2023
1e92f0d
refactor: remove all unnecessary any type guard
teobler Mar 22, 2023
6e6b543
chore: update gitignore
teobler Mar 22, 2023
04f3207
chore: update package meta
teobler Mar 27, 2023
adbe756
refactor: rename api params and extract them into a map
teobler Mar 27, 2023
b36e1c7
feature: prepare needed exports for integration
teobler Mar 28, 2023
5e5f3fe
feature: integrate with extracted click prompt button
teobler Mar 28, 2023
30db07b
refactor: extract all llm related api
teobler Mar 28, 2023
929cc17
fix: add max_old_space_size to fix heap out of memory issue during bu…
teobler Mar 28, 2023
2bab7a0
chore: add name for each github actions for better understanding
teobler Mar 28, 2023
c75726f
fix: fix ssr error by import componment from click-prompt-button dyna…
teobler Mar 30, 2023
07e6b0d
fix: fix style issue
teobler Mar 31, 2023
3c70ba1
chore: add build as dependency of dev
teobler Mar 31, 2023
8842774
fix: fix chat style
teobler Mar 31, 2023
acd4048
chore: refactor eslint and tsconfig for monorepo
teobler Mar 31, 2023
ac34ba3
fix: fix building error
teobler Apr 3, 2023
dd7da32
chore: clean up dependencies
teobler Apr 3, 2023
04aaf18
chore: add start script
teobler Apr 3, 2023
9b419ee
remove: remove chatgpt-visual-novel, will redirect user to visual-nov…
teobler Apr 6, 2023
0be8fdb
fix: fix api type definition
teobler Apr 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,37 @@ jobs:
with:
persist-credentials: false

- uses: actions/setup-node@v3
- name: Setup Node 🧰
uses: actions/setup-node@v3
with:
node-version: 16

- run: npm ci
- name: Install Dependencies 🗂
run: npm ci

- run: npm run build --if-present
- name: Build 🛠
run: |
export NODE_OPTIONS="--max_old_space_size=4096"
npm run build --if-present

- run: npm run test
- name: Test 🔧
run: npm run test
lint:
name: format and lint
name: Format & Lint
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false

- uses: actions/setup-node@v3
- name: Setup Node 🧰
uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci

- run: npm run format
- name: Install Dependencies 🗂
run: npm ci

- run: npm run lint
- name: Lint 💄
run: npm run lint
17 changes: 10 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
**/node_modules
/.pnp
.pnp.js
pnpm-lock.yaml
**/pnpm-lock.yaml

# testing
/coverage
**/coverage

# next.js
/.next/
/.swc/
/out/

# production
/build
**/build
**/dist
**/.turbo

# misc
.DS_Store
Expand All @@ -29,17 +31,18 @@ yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# intellij
.idea

/dist
# generated
public/sitemap-0.xml
src/assets/resources/**/*.json

.env
Loading