Code Monkey home page Code Monkey logo

Comments (3)

ghostoy avatar ghostoy commented on May 19, 2024

@TheJaredWilcurt We now have a simple list of latest & stable versions at http://nwjs.io/versions.json.

from website.

TheJaredWilcurt avatar TheJaredWilcurt commented on May 19, 2024

@ghostoy I've been using that for years but recently found that it would be nice to be able to pull in these versions via npm.

There are repos like node-abi that have hard-coded the NW.js versions into them, and are several years out of date.

Currently the only way to have access to these up-to-date NW.js versions via npm is to do:

npm install --save-dev bower nwjs/website#master

then

const nwVersions = require('nw-version/src/versions.json');

Which installs a ton of unwanted things (node-sass binary is built, coffeescript, react, bower, etc) just to have access to one JSON file.


Suggested Solution:

  1. Create a new repo nwjs/nw-versions
  2. Move the versions.json to that repo
  3. Publish the repo to npm so people can just use npm install nw-versions
  4. Update the website to use this new repo as well, pointing to "nw-versions": "latest" so all builds will still be the same

If you do step 1 and 3, then I'll do step 2 and 4.

from website.

TheJaredWilcurt avatar TheJaredWilcurt commented on May 19, 2024

Step 2 done:

If you create the nwjs/nw-versions repo, then I'll submit a PR against it for the above content.

Then you or @rogerwang can merge it and do the npm publish

from website.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.