Skip to content

Commit 4b19404

Browse files
committed
Migrate from yarn to npm to avoid issues on Windows
1 parent 2fafca1 commit 4b19404

File tree

18 files changed

+20249
-15851
lines changed

18 files changed

+20249
-15851
lines changed

.gitignore

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
### VSCode
2+
.vscode
3+
### Webstorm
4+
.idea
15
###> github/gitignore/Node.gitignore ###
26
# Logs
37
logs
48
*.log
59
npm-debug.log*
6-
yarn-debug.log*
7-
yarn-error.log*
810
lerna-debug.log*
911

1012
# Diagnostic reports (https://nodejs.org/api/report.html)
@@ -66,9 +68,6 @@ typings/
6668
# Output of 'npm pack'
6769
*.tgz
6870

69-
# Yarn Integrity file
70-
.yarn-integrity
71-
7271
# dotenv environment variables file
7372
.env
7473
.env.test
@@ -172,10 +171,6 @@ Temporary Items
172171
# Override: "gatsby files"
173172
!public
174173

175-
# Yarn Plug'n'Play
176-
.pnp/
177-
.pnp.js
178-
179174
# create-react-app build
180175
/web-app/build/
181176

api/.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

api/.yarn.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

api/.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

api/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ It is a [RESTful](https://en.wikipedia.org/wiki/Representational_state_transfer)
66

77
## Getting started
88

9-
This project uses [Yarn](https://yarnpkg.com/) as a dependency manager.
9+
This project uses [NPM](https://npmjs.com/) as a dependency manager.
1010

1111
To get started, you should first install all dependencies:
1212

1313
```bash
14-
yarn
14+
npm i
1515
```
1616

1717
## Usage
1818

1919
To run the API server, use the `start` script:
2020

2121
```bash
22-
yarn start
22+
npm run start
2323
```
2424

2525
The API server listens on port 4000.
@@ -56,17 +56,17 @@ Search for postal code information in the database of valid postal codes.
5656
To run the API in watch mode:
5757

5858
```bash
59-
yarn watch
59+
npm run watch
6060
```
6161

6262
To run the linter against the [standard ESLint config used in Gowento projects](https://github.com/gowento/eslint-config-gowento):
6363

6464
```bash
65-
yarn lint
65+
npm run lint
6666
```
6767

6868
To run all tests:
6969

7070
```bash
71-
yarn test
71+
npm run test
7272
```

0 commit comments

Comments
 (0)