reasonml-old / index Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] Index of available BuckleScript bindings
[DEPRECATED] Index of available BuckleScript bindings
Things like this for example are awesome little examples of using OCaml/Reason/Bucklescript!
So BuckleTypes org is great but the current workflow for creating and consuming typings is hard to scale. If I want to use the binding I have to:
while hoping for version compatibility with whatever I use.
On the other hand of the spectrum a creator has to create a repo, add it to npm (or at least add package.json) and be willing to maintain it over time. Otherwise it gets abandoned and everybody is sad.
The most straightforward1 solution is to create a centralised repo for bindings. @ryyppy2 suggested that we could copy the implementation from TypeScript 2.
How I imagine the perfect workflow is that there's a single bucklescript
command - let's say install
which pulls typings from the central repo/place and adds them to your project. I don't think it needs to do resolve version because it can either use yarn.lock
or check module version directly in node_modules
. You end up with typings added to your bsconfig
and probably to package.json
. afterwards you'd probably need to run yarn
/npm install
to actually pull those in.
I'm not sure what's the perfect way to design publishing specs and vendoring specs. I imagine that typings need to be owned by the community. I'm not sure how to model it so that it's both easy to contribute to and maintains good quality.
So before we bikeshed about particular implementation and how to resolve the problems with it, let's think about the workflow. I'll try to write down everything that we mentioned on Discord if I have time. Any contribution below is much appreciated.
1: not really straightforward
2: I don't know their github handle
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.