workbenchdev / workbenchdev/Workbench
TypeScript support
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 844
- Forks
- 91
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 1
Description
we should support TypeScript
We can iterate on this and go like this
- add a new language "TypeScript" without compilation
- Add support for compilation
- Add instructions on how to enable TypeScript support in
Extensions.js- TypeScript should not run if it's not enabled -
add support for type checks with Biome LSPuse typescript-language-server - port Welcome demo to TypeScript
- Add TypeScript support to workbench-cli
- have the
build-aux/library.jscompile TypeScriptmain.tsfiles to equivalentmain.jsfiles (and run biome formatter over them) - port more demos to TypeScript https://github.com/workbenchdev/demos/pull/201
- replace BrainBlasted/gi-typescript-definitions with generating types at build time
- Add a simple script that will generate the types for us. Probably similar to https://github.com/vixalien/gi-typescript-definitions/blob/main/generate_types_in_flatpak.sh https://github.com/workbenchdev/demos/pull/201
- https://floss.social/@jumplink/114218446354825670
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with build-aux/library.js and the remaining TypeScript checklist items in this issue. Review the linked demos pull request and the referenced type-generation script for context. Done means compiling main.ts files to equivalent main.js files, running the formatter, porting more demos, and adding build-time type generation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100