espruino / espruino/BangleApps

Clearer structure/instructions for Typescript projects

Open
#3,140 1 comment 0 reactions 0 assignees View on GitHub
area-dev type-enhancement
Dominant language
JavaScript
Stars
571
Forks
1.3k
Avg merge
17h 38m
Merged PRs (30d)
17

Description

Preface, I'm not very familiar with the Javascript, NPM, Typescript, or Bangle ecosystems, and got some help from some other people to get a project template set up. I'm a C# programmer, and I prefer static typing, so Typescript seemed like a good solution.
In that process of getting help with setting up a project, the others said that the way that the Typescript bindings are set up is strange, if they're to be used for individual projects. They also mentioned that it's set up to build every Typescript project in the repo, which makes it sound to me like the Typescript bindings were made to be used for the web app backend rather than for building individual projects. If that is the case, could there be some sort of method set up to make it easier to use Typescript in standalone projects, such as an npm package? In my case, I'm going to write my apps using WebStorm locally, compile to JS, then upload to the watch using the web IDE, and it would be much easier to include an npm package than to clone the entire repo and copy just the ``types`` folder (which ended up being the solution I'm going with for now)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.