-
Notifications
You must be signed in to change notification settings - Fork 793
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
fix(build): update deps, karma and nw config #1049
Conversation
Thanks for your work on this! The build system now works. However, the current build for macOS is broken due to problems with old NW.js on latest macOS. So I needed to make one more change, to increase the version of nwjs:
|
Good to know! I don't use Macs which is probably why I missed this. I'll make the change later today. |
I'd like to make some changes for quality of life improvements, such as a preference to switch off warning messages and different defaults depending in the filename. I am familiar with JavaScript, but what is the main thing I will need to read up on to be able to edit work with this codebase? |
I'm not sure what could act as a good reference. From what I've seen, the codebase is pretty old - there's a polyfill for Promises and the underlying browser APIs have also changed. It looks like the maintainer is not active anymore so making my changes on a forked version. |
@gingerbeardman If you're looking for something production ready, this is not it. It'll probably take me 1-2 months to get everything working. |
Hey no worries! I'm not in a rush and I'm happy enough with my butchered version for now. My current issue: on the import dialog I'm setting sprite sheet frame size w/h from values in the filename (eg. Is there anywhere we can chat about these things? This issue seems to not be the best place. @ayushmXn |
@ayushmXn i've contacted you on https://gitter.im |
@bcharbonnier Could you add @ayushmXn as a maintainer? I'm trying to package piskel as a Flatpak and this PR is basically essential for it. Without the PR I would have to package his version, which is weird |
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.4.6 to 3.14.1. - [Release notes](https://github.com/nodeca/js-yaml/releases) - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](nodeca/js-yaml@3.4.6...3.14.1) --- updated-dependencies: - dependency-name: js-yaml dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.6.0 to 1.13.4. - [Release notes](https://github.com/jashkenas/underscore/releases) - [Commits](jashkenas/underscore@1.6.0...1.13.4) --- updated-dependencies: - dependency-name: underscore dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 3.10.1 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@3.10.1...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Well this was mighty unfortunate. |
Closed the PR since didn't look like it was going to be merged so forked the repo and maintaining my own version here: |
Hello, just wondering if these fixes for the build process issues are still working or if its something I'm doing wrong or if there's another repo with a working version of it somewhere? However, if not, that is all good and thank you for your time. |
@NiasuK You can apply the patches in this PR and test it out - will probably have to update bunch of deps again. I used to maintain a fork but deleted it a while ago - moved on to other things. |
Fixes: #973, #1047
Closes: #1013, #1041
Changes
node_modules
on Node 14 and above11e0066
9bbc9d2
Use a fork of grunt nw plugin to get desktop builds workingbb4c4fe
build
andbuild:mac
commands withdesktop:run
anddesktop:build
(for all platforms except osx32).Build Instructions
desktop:run
to run the desktop app directly.desktop:build
to build applications for all platforms exceptosx32
.I'll be making a bunch of fixes in this branch and release them at https://ayushmxn.github.io/piskel
Things yet to be done
yargs