-
Notifications
You must be signed in to change notification settings - Fork 3
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
Contributing to the library while using a different version of Node.js or NPM could make unexpected changes to the published packages #11
Comments
Hey once more @gridsystem, I'd like to apologize once more for keeping you waiting for so long. I really appreciate your determination to help and I'm more invested in bringing this library forward a bit more again, especially the npm package part. The When I'm done with my testing in regards to the newly bundled library, which should now also work when imported via npm, I'm happy to invest time into this issue here as well. But I'm also open to accept pull requests that solve this issue and provide some instructions for potential contributors. I'm currently on While I wasn't working on this library directly, I implemented a new ascii shader which might qualify as a new rendering mode apart from the existing output_rltest.mp4Also, this library currently is dependent on the viewers machine being compatible with Cheers! |
Hey again @gridsystem! I have started working on this in a separate branch, which is also linked in this issue: https://github.com/humanbydefinition/p5.asciify/tree/11-contributing-to-the-library-while-using-a-different-version-of-nodejs-or-npm-could-make-unexpected-changes-to-the-published-packages I have been testing around a bit and really like the functionalities that come with the suggestions you provided, thanks a bunch! Except updating the I'd love to have your feedback on this! Regarding the I'm definitely motivated to add more functionality to the library itself and improve the code structure overall. 🤞 |
Hey again, I decided to merge this to main already, since the most important things are done from my point of view. As mentioned in the pull request, the I'll re-open this issue until then, also to receive potential feedback. :) I'm unsure if people are able to comment on a closed issue. |
Expected Behavior
If another contributor makes changes to the repository, the files generated by Rollup for distribution should reflect only those changes, and nothing to do with the contributor's environment.
Current Behavior
If I am using a different version of Node.js or NPM and make a small change to any of the files in the
src
directory, and runnpm dev
, the generated files could differ beyond the change I've made.Possible Solution
.nvmrc
so that contributors can runnvm use
in the project directory to automatically install and select that version of Node.JSengines
property ofpackage.json
npm install [email protected] -g
npm
in theengines
property ofpackage.json
Notes
If you're keen, let me know and I can open a PR.
The text was updated successfully, but these errors were encountered: