Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nwutils/nw-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed May 30, 2022
2 parents 93cc727 + 32748b6 commit d713315
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@

Build [NW.js](https://github.com/nwjs/nw.js) applications for Mac, Windows and Linux.

## Table of Contents

- [Installation](https://github.com/nwutils/nw-builder#installation)
- [Usage](https://github.com/nwutils/nw-builder#usage)
- [API Reference](https://github.com/nwutils/nw-builder#api-reference)
- [Contributing](https://github.com/nwutils/nw-builder#contributing)
- [License](https://github.com/nwutils/nw-builder#license)

## Installation

> Tested and runs on Node 14, 16 and 18!
Expand Down Expand Up @@ -352,14 +360,22 @@ This project was created by [Steffen Müller](https://github.com/steffenmllr) an

### Getting Started

- Install Node.js (I'd suggest using `nvm`)
- Install your preferred package manager (doesn't have to be `pnpm`, I'm just using it as an example)
- Run `pnpm install` to install dependencies
- Run `pnpm demo` to test your changes at first glance
- Run `pnpm test` to run tests
- Don't forget to run `pnpm format` && `pnpm lint` before commiting your changes
1. Pick and install a Node version manager
* Linux/OSX - [nvm](https://github.com/nvm-sh/nvm)
* Windows 8+ - [nvm-windows](https://github.com/coreybutler/nvm-windows)
* Windows 7 - [nodist](https://github.com/nullivex/nodist)
* Win/Lin/OSX - [volta](https://volta.sh)
1. Use your version manager to install Node 14.19, 16.9, 18.2 or above
1. Run `corepack enable`
1. `corepack prepare [email protected] --activate`
1. `pnpm install`
* If you haven't used `pnpm` before, [here is a cheatsheet](https://dev.to/equiman/npm-vs-yarn-vs-pnpm-commands-cheatsheet-3el8)
1. `pnpm demo` to test your changes at first glance
1. `pnpm test` to run unit tests
1. Don't forget to run `pnpm format && pnpm lint` before commiting your changes

### General Guidelines

- Whenever possible, open an issue before submitting a pull request.
- PRs should have short descriptive titles. For example:
- fix(docs): fix typo in `options.platform` description
Expand All @@ -369,4 +385,4 @@ This project was created by [Steffen Müller](https://github.com/steffenmllr) an

## License

MIT
[MIT](https://github.com/nwutils/nw-builder/blob/master/.github/LICENSE)

0 comments on commit d713315

Please sign in to comment.