stc icon indicating copy to clipboard operation
stc copied to clipboard

Would you be willing to provide an STC playground?

Open sunrabbit123 opened this issue 1 year ago • 4 comments

When creating a contribution or issue, it would be nice to have a place to look up the most recent STC and write test cases more easily. You can more easily check if an existing case is a working case or not.

Like how we use Typescript Playground to check types.

This would make it easier to submit issues without having to build and test the STC yourself.

### Tasks
- [ ] https://github.com/dudykr/stc/pull/1082
- [x] Create playground repository or some workspace
- [ ] design playground feature
- [ ] connect CI and CD for playground(wasm build and deploy)
- [ ] https://github.com/dudykr/stc/issues/1081
- [ ] system design

sunrabbit123 avatar May 12 '23 09:05 sunrabbit123

I want to, but this is a very complex task..

kdy1 avatar May 18 '23 07:05 kdy1

What needs to be done to make it possible? Afaik, there is an LSP setup with VSCode. Maybe this can be done the same way as SWC playground with the nightly build of STC as a plugin?

phoenix-ru avatar Jun 03 '23 12:06 phoenix-ru

Code would be almost similar, but we should publish Wasm files

kdy1 avatar Jun 03 '23 13:06 kdy1

Do you need to do something like #300 ? If so, do you use wasm-bindgen instead of napi-rs?

sunrabbit123 avatar Aug 01 '23 06:08 sunrabbit123