Skip to content

Commit d713315

Browse files
Merge branch 'master' of github.com:nwutils/nw-builder
2 parents 93cc727 + 32748b6 commit d713315

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

README.md

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77

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

10+
## Table of Contents
11+
12+
- [Installation](https://github.com/nwutils/nw-builder#installation)
13+
- [Usage](https://github.com/nwutils/nw-builder#usage)
14+
- [API Reference](https://github.com/nwutils/nw-builder#api-reference)
15+
- [Contributing](https://github.com/nwutils/nw-builder#contributing)
16+
- [License](https://github.com/nwutils/nw-builder#license)
17+
1018
## Installation
1119

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

353361
### Getting Started
354362

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

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

370386
## License
371387

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

0 commit comments

Comments
 (0)