Comments (14)
started porting in mapbox/node-webworker-threads@audreyt:master...master
from node-webworker-threads.
from node-webworker-threads.
Okay, first pass of the port is done:
- minor modifications to package.json, adding index.js
- build runs and works on travis: https://travis-ci.org/mapbox/node-webworker-threads
- build runs and works on appveyor: https://ci.appveyor.com/project/Mapbox/node-webworker-threads/build/1.0.5
Next steps:
- What platforms do you want to support with binaries? Linux, Windows, and OS X?
- Do you want to host the binaries on S3 or do you wish to provide an alternative host?
from node-webworker-threads.
I'll add:
- I recommend S3 hosting, details at https://github.com/mapbox/node-pre-gyp#host and https://github.com/mapbox/node-pre-gyp#s3-hosting
- docs describing what I've started setting up for travis and appveyor are at https://github.com/mapbox/node-pre-gyp#travis-automation and https://github.com/mapbox/node-pre-gyp#appveyor-automation
from node-webworker-threads.
@springmeyer How large are the Linux, Windows and OS X binaries? If they are reasonably small (<1MB each) I'd like to host them in audreyt.github.io/node-webworker-threads/ — that is, in the gh-pages
branch of this repo — if that sounds reasonable to you.
BTW you're a committer now! Please merge when you feel it's ready.
from node-webworker-threads.
@audreyt - the OS X binary is 93 KB so hosting them in the gh-pages branch seems reasonable. Because the node-pre-gyp publish
command only supports s3 hosts then publishing to the gh-pages
branch will need some alternative automation.
from node-webworker-threads.
OK! Good to know, looking forward to the commits
from node-webworker-threads.
This would be a very welcome addition.
How ready is this and what steps remain before webworker-threads has node-pre-gyp support?
from node-webworker-threads.
then publishing to the gh-pages branch will need some alternative automation.
@thorlarholm ^^ this is the next bit that needs work. Because @audreyt wishes to host on github rather than s3 someone needs to write a bit of code to auto-publish binaries. This should not be hard - but would take a bit of time. I sketched out some basics over at mapbox/node-pre-gyp#134 (comment) if you are interested in tackling this.
from node-webworker-threads.
Thanks @springmeyer I forked your changes and started work on publishing to gh-pages.
from node-webworker-threads.
Great @thorlarholm
from node-webworker-threads.
@thorlarholm awesome, much kudos!
from node-webworker-threads.
Don't congratulate me too much, I had to ditch my fork due to work obligations.
This is still an open issue.
from node-webworker-threads.
What about using this instead to publish the prebuild modules to Githubs Releases?
https://www.npmjs.com/package/node-pre-gyp-github
from node-webworker-threads.
Related Issues (20)
- Can't install with yarn HOT 4
- Implement removeEventListener()
- importScripts() should resolve against webworker file not cwd HOT 1
- npm install fails with node 11 HOT 2
- corrupted double-linked list: webworker-threads/build/Release/WebWorkerThreads.node
- Terminating worker threads - the correct way ?
- thread Pool do not support to run a function with operation buffer? HOT 1
- npm install webworker-threads fails. node: 8.11.2, npm: 5.6.0. HOT 3
- How to debug webworkerthread.cc file HOT 1
- Error while installing webworker on ubuntu
- Accessing any unknown variable inside worker, program is not responding at all.
- npm install --global --production windows-build-tools HOT 1
- Issue installing on macOS HOT 6
- npm install error with node 12 HOT 3
- Build Failing HOT 1
- Can't install on macOS Catalina HOT 2
- Could not install on windows 10 HOT 1
- Failed to install [email protected] using npm HOT 11
- Can you provide a version support to node 10 +
- Can you provide a support for node 19 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-webworker-threads.