Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
feat(playground): add a button to copy rome_ir to clipboard (#2604)
Browse files Browse the repository at this point in the history
* feat: 🎸 add a button to copy rome_ir to clipboard

* chore: 🤖 format align to ci

* fix: 🐛 CR issue

* fix: 🐛 remove unnecessary if

* chore: 🤖 use icon instead

* chore: 🤖 udpate foramt:rome

* chore: 🤖 update lock

* Update website/playground/src/DesktopPlayground.tsx

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* chore: 🤖 fix CR issue

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
  • Loading branch information
IWANABETHATGUY and ematipico committed May 26, 2022
1 parent 52c2020 commit 9be13ca
Show file tree
Hide file tree
Showing 7 changed files with 246 additions and 9 deletions.
1 change: 1 addition & 0 deletions website/playground/assets/copy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions website/playground/assets/failed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions website/playground/assets/success.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion website/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"build:js": "tsc && vite build",
"build:wasm": "wasm-pack build --target web --release",
"build:wasm-dev": "wasm-pack build --target web --dev",
"format": "cargo run -p rome_cli --release -- format --write ./src"
"format": "cargo run -p rome_cli --release -- format --write ./src",
"format:rome": "rome format src --write ."
},
"dependencies": {
"@uiw/react-textarea-code-editor": "^1.4.16",
Expand All @@ -20,6 +21,7 @@
"react-tabs": "^3.2.3"
},
"devDependencies": {
"@honkhonk/vite-plugin-svgr": "^1.1.0",
"@tailwindcss/forms": "^0.4.0",
"@types/prettier": "^2.4.3",
"@types/react": "^17.0.33",
Expand All @@ -28,6 +30,7 @@
"@vitejs/plugin-react": "^1.0.7",
"autoprefixer": "^10.4.2",
"postcss": "^8.4.6",
"rome": "0.5.0-next",
"tailwindcss": "^3.0.19",
"typescript": "^4.4.4",
"vite": "^2.7.2"
Expand Down
198 changes: 193 additions & 5 deletions website/playground/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9be13ca

Please sign in to comment.