Skip to content
Snippets Groups Projects
Commit 9c5d1661 authored by Berend Sliedrecht's avatar Berend Sliedrecht
Browse files

remove references to yarn and npm and use pnpm


Signed-off-by: default avatarBerend Sliedrecht <blu3beri@proton.me>
parent e43648e4
No related branches found
No related tags found
2 merge requests!9feat(ssi): Establish a trusted connection with yourself,!8Project house-keeping, refactoring and reorganizing
......@@ -17,7 +17,7 @@ The Attestation Manager is the microservice responsible for handling the feature
### Pre-requisite
* yarn
* pnpm
* docker
* docker-compose
* PostgreSQL
......@@ -54,12 +54,12 @@ to run all the services.
## Build
```
yarn build
pnpm build
```
## Run
```
yarn start
pnpm start
```
### Environment Variables Required
......@@ -96,13 +96,13 @@ yarn start
```bash
# unit tests
$ npm run test
$ pnpm test
# e2e tests
$ npm run test:e2e
$ pnpm test:e2e
# test coverage
$ npm run test:cov
$ pnpm test:cov
```
......
......@@ -15,7 +15,7 @@
"prisma:migrate": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma",
"prismaStudio": "npx prisma studio",
"start": "nest start",
"start:docker": "yarn prisma:generate && yarn dbSchema && yarn start",
"start:docker": "pnpm prisma:generate && pnpm dbSchema && pnpm start",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
......
......@@ -23,7 +23,7 @@ The service implements REST endpoints, events and calls to other services relate
### Pre-requisites
* yarn
* pnpm
* docker
* docker-compose
* postgres
......@@ -103,13 +103,13 @@ to run all the services.
```bash
# unit tests
$ npm run test
$ pnpm test
# e2e tests
$ npm run test:e2e
$ pnpm test:e2e
# test coverage
$ npm run test:cov
$ pnpm test:cov
```
## GDPR
......
......@@ -14,8 +14,8 @@
"prisma:migrate": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma",
"prismaStudio": "npx prisma studio",
"start": "nest start",
"start:docker": "yarn prisma:generate && yarn dbSchema && yarn start",
"start:docker:prod": "yarn prisma:migrate && node dist/src/main",
"start:docker": "pnpm prisma:generate && pnpm dbSchema && pnpm start",
"start:docker:prod": "pnpm prisma:migrate && node dist/src/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
......
......@@ -17,7 +17,7 @@ The Principal Manager is the microservice responsible for handling the authentic
### Pre-requisite
* yarn
* pnpm
* docker
* docker-compose
* Postgres
......@@ -55,12 +55,12 @@ to run all the services.
## Build
```
yarn build
pnpm build
```
## Run
```
yarn start
pnpm start
```
### Environment variable required
......@@ -91,13 +91,13 @@ yarn start
```bash
# unit tests
$ yarn test
$ pnpm test
# e2e tests
$ yarn test:e2e
$ pnpm test:e2e
# test coverage
$ yarn test:cov
$ pnpm test:cov
```
## GDPR
......
......@@ -15,7 +15,7 @@
"prisma:migrate": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma",
"prismaStudio": "npx prisma studio",
"start": "nest start",
"start:docker": "yarn prisma:migrate && yarn start",
"start:docker": "pnpm prisma:migrate && pnpm start",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
......
This diff is collapsed.
......@@ -16,7 +16,7 @@ The Proof Manager, is the microservice responsible for handling the features rel
### Pre-requisite
* yarn
* pnpm
* docker
* docker-compose
* Postgres
......@@ -56,12 +56,12 @@ to run all the services.
## Build
```
yarn build
pnpm build
```
## Run
```
yarn start
pnpm start
```
### Environment Variables Required
......@@ -96,13 +96,13 @@ yarn start
```bash
# unit tests
$ npm run test
$ pnpm test
# e2e tests
$ npm run test:e2e
$ pnpm test:e2e
# test coverage
$ npm run test:cov
$ pnpm test:cov
```
......
......@@ -15,7 +15,7 @@
"dbSchema": "npx prisma db push --schema=./src/prisma/schema.prisma",
"prismaStudio": "npx prisma studio",
"start": "nest start",
"start:docker": "yarn prisma:generate && yarn dbSchema && yarn start",
"start:docker": "pnpm prisma:generate && pnpm dbSchema && pnpm start",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
......
......@@ -26,7 +26,7 @@ with the default exposed ports:
Dependencies:
```bash
$ yarn
$ pnpm install
```
* **If docker is not installed, [Install docker](https://docs.docker.com/engine/install/)**.
......@@ -85,13 +85,13 @@ $ docker-compose up --build
```bash
# unit tests
$ yarn test
$ pnpm test
# e2e tests
$ yarn test:e2e
$ pnpm test:e2e
# test coverage
$ yarn test:cov
$ pnpm test:cov
```
......
{
"name": "ocm-engine",
"author": "Vereign AG",
"packageManager": "yarn@3.6.3",
"private": true,
"workspaces": [
"apps/*"
],
"scripts": {
"prisma:generate": "pnpm -r prisma:generate",
"attestation:build": "pnpm -F attestation-manager build",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment