-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernize Distribution #8
Comments
Suggested approach: replace Makefile with Rollup. Reference example: https://github.com/rollup/rollup-starter-lib |
As I dig in a little bit, I am able to run I notice that the tests are not all passing. Here is the output:
Is this expected? Or were the tests all passing in the past? My gut feeling is that the first task should actually be to make sure all the tests pass, then only after that we can go about working on the distribution. Also, a few notes from initial investigation: The Makefile concatenates the source files together. Options for moving forward with Rollup include:
Another adjacent thought - if we were to really deeply refresh this library, we could also take a stylistic pass over the codebase and adopt However, with the tests in a broken state, it does not seem feasible to move forward at all with any of these steps. We need a stable test harness to check what things break and how they break along the way towards modernization. Anyone here familiar enough with the failing test cases to maybe taks a stab at making them pass (or removing them if they are not valid tests)? |
Opened a separate issue for only fixing the tests: #9 |
I have merged the pull requests The new version compiles fine and passes the tests. Now, how should the html examples in the examples directory be changed to work again? |
Ah! The html examples in the examples directory can be made to work again by having them reference the UMD output in |
Closing this issue as it's essentially done. Opening a few more as follow-on tasks:
|
User story: As a potential user of this library, I would like to see it have a modern and easy to consume distribution, so that I can use it in my project (either via NPM as a dependency, or via some CDN such as JSDelivr or UNPKG).
I suppose the ideal scenario would be a UMD bundle distribution that contains dependencies as well (science, tiny-queue).
The text was updated successfully, but these errors were encountered: