@@ -107,6 +107,13 @@ This is a simple library that can create Windows message boxes on a web page. It
107107- ESLint for linting.
108108- Prettier.js for formatting.
109109
110+
111+ This library uses ` pnpm ` as a package manager. You can install it with:
112+
113+ ``` bash
114+ sudo npm install -g pnpm
115+ ```
116+
110117## Setting up the development environment 🖥️
111118
112119- [ Fork this repository to your own GitHub account.] ( https://github.com/SkwalExe/WinMB.js/fork )
@@ -117,17 +124,17 @@ git clone https://github.com/YOUR_USERNAME/WinMB.js
117124cd ./WinMB.js
118125```
119126
120- - Install devDependencies
127+ - Install (dev)dependencies
121128
122129``` bash
123- npm install --include=dev
130+ pnpm install
124131```
125132
126- - Run the npm ` serve ` script to start a local development server on port ` 10001 `
133+ - Run the pnpm ` serve ` script to start a local development server on port ` 10001 `
127134 - This will continuously rebuild the UMD bundle and reload the page.
128135
129136``` bash
130- npm run serve
137+ pnpm run serve
131138```
132139
133140- Open the local development server on ` https://localhost:10001/ ` and open the project in your IDE.
@@ -172,9 +179,9 @@ git checkout -b my-new-feature
172179- When you finished your changes, you must check your code's formatting and linting and fix all the errors.
173180
174181``` bash
175- npm run lint:fix # check for linting errors
176- npm run check-types # check for type errors
177- npm run format # comply with foramtting rules
182+ pnpm run lint:fix # check for linting errors
183+ pnpm run check-types # check for type errors
184+ pnpm run format # comply with foramtting rules
178185```
179186
180187- After that, add your changes to ` CHANGELOG.md ` and update the README if needed.
@@ -191,7 +198,7 @@ git push -u origin my-new-feature
191198
192199- Finally, you can create your pull request from your fork repo's github page.
193200
194- ## NPM scripts
201+ ## PNPM scripts
195202
196203- ` lint ` : Perform ESLint checks.
197204- ` format ` : Format codebase with prettier.
0 commit comments