Skip to content

Commit

Permalink
syntax highlighter changed to codemirror, improve code, last session …
Browse files Browse the repository at this point in the history
…restored, version changed
  • Loading branch information
kmikzjh committed Sep 18, 2023
1 parent 9d4f720 commit 5344336
Show file tree
Hide file tree
Showing 14 changed files with 884 additions and 559 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@ A JS/TS playground write using Tauri + React + Vite + Rust, made for fun <3

## Pre-requisites

- [Bun](https://bun.sh/) (currently only `bun runtime` is available in windows)
- [Bun](https://bun.sh/) (currently only `bun runtime` is available on windows)
- [Pnpm](https://pnpm.io/es/installation)
- [Rust](https://www.rust-lang.org/tools/install)
- [Tauri-cli](https://tauri.app/v1/guides/getting-started/setup/vite)

### Bun
Bun is the core of this project, is used to process JS/TS code.
You need to specified bun binary path in the app.

Example:

![bun binary path](docs/img/bun-binary-path.png "bun binary path")

### Pnpm
Pnpm is used for the installations of dependencies and build the React App components.
Expand All @@ -43,6 +38,7 @@ To build the app, use `cargo tauri build`
- [] Write unit test, ups!
- [] Create new tabs
- [] Stylising the app to improve UI/UX
- [] Theme selector
- [] Improve my english :P
- ... and more

Expand Down
Binary file removed docs/img/bun-binary-path.png
Binary file not shown.
Binary file modified docs/img/ninja-script-example-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
},
"dependencies": {
"@tauri-apps/api": "^1.4.0",
"@uiw/react-textarea-code-editor": "2.1.7",
"@uiw/codemirror-extensions-langs": "^4.21.13",
"@uiw/codemirror-theme-dracula": "^4.21.13",
"@uiw/react-codemirror": "^4.21.13",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Loading

0 comments on commit 5344336

Please sign in to comment.