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 ...@@ -17,7 +17,7 @@ The Attestation Manager is the microservice responsible for handling the feature
### Pre-requisite ### Pre-requisite
* yarn * pnpm
* docker * docker
* docker-compose * docker-compose
* PostgreSQL * PostgreSQL
...@@ -54,12 +54,12 @@ to run all the services. ...@@ -54,12 +54,12 @@ to run all the services.
## Build ## Build
``` ```
yarn build pnpm build
``` ```
## Run ## Run
``` ```
yarn start pnpm start
``` ```
### Environment Variables Required ### Environment Variables Required
...@@ -96,13 +96,13 @@ yarn start ...@@ -96,13 +96,13 @@ yarn start
```bash ```bash
# unit tests # unit tests
$ npm run test $ pnpm test
# e2e tests # e2e tests
$ npm run test:e2e $ pnpm test:e2e
# test coverage # test coverage
$ npm run test:cov $ pnpm test:cov
``` ```
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"prisma:migrate": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma", "prisma:migrate": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma",
"prismaStudio": "npx prisma studio", "prismaStudio": "npx prisma studio",
"start": "nest start", "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", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
......
...@@ -23,7 +23,7 @@ The service implements REST endpoints, events and calls to other services relate ...@@ -23,7 +23,7 @@ The service implements REST endpoints, events and calls to other services relate
### Pre-requisites ### Pre-requisites
* yarn * pnpm
* docker * docker
* docker-compose * docker-compose
* postgres * postgres
...@@ -103,13 +103,13 @@ to run all the services. ...@@ -103,13 +103,13 @@ to run all the services.
```bash ```bash
# unit tests # unit tests
$ npm run test $ pnpm test
# e2e tests # e2e tests
$ npm run test:e2e $ pnpm test:e2e
# test coverage # test coverage
$ npm run test:cov $ pnpm test:cov
``` ```
## GDPR ## GDPR
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
"prisma:migrate": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma", "prisma:migrate": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma",
"prismaStudio": "npx prisma studio", "prismaStudio": "npx prisma studio",
"start": "nest start", "start": "nest start",
"start:docker": "yarn prisma:generate && yarn dbSchema && yarn start", "start:docker": "pnpm prisma:generate && pnpm dbSchema && pnpm start",
"start:docker:prod": "yarn prisma:migrate && node dist/src/main", "start:docker:prod": "pnpm prisma:migrate && node dist/src/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
......
...@@ -17,7 +17,7 @@ The Principal Manager is the microservice responsible for handling the authentic ...@@ -17,7 +17,7 @@ The Principal Manager is the microservice responsible for handling the authentic
### Pre-requisite ### Pre-requisite
* yarn * pnpm
* docker * docker
* docker-compose * docker-compose
* Postgres * Postgres
...@@ -55,12 +55,12 @@ to run all the services. ...@@ -55,12 +55,12 @@ to run all the services.
## Build ## Build
``` ```
yarn build pnpm build
``` ```
## Run ## Run
``` ```
yarn start pnpm start
``` ```
### Environment variable required ### Environment variable required
...@@ -91,13 +91,13 @@ yarn start ...@@ -91,13 +91,13 @@ yarn start
```bash ```bash
# unit tests # unit tests
$ yarn test $ pnpm test
# e2e tests # e2e tests
$ yarn test:e2e $ pnpm test:e2e
# test coverage # test coverage
$ yarn test:cov $ pnpm test:cov
``` ```
## GDPR ## GDPR
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"prisma:migrate": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma", "prisma:migrate": "npx prisma migrate deploy --schema=./src/prisma/schema.prisma",
"prismaStudio": "npx prisma studio", "prismaStudio": "npx prisma studio",
"start": "nest start", "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", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -16,7 +16,7 @@ The Proof Manager, is the microservice responsible for handling the features rel ...@@ -16,7 +16,7 @@ The Proof Manager, is the microservice responsible for handling the features rel
### Pre-requisite ### Pre-requisite
* yarn * pnpm
* docker * docker
* docker-compose * docker-compose
* Postgres * Postgres
...@@ -56,12 +56,12 @@ to run all the services. ...@@ -56,12 +56,12 @@ to run all the services.
## Build ## Build
``` ```
yarn build pnpm build
``` ```
## Run ## Run
``` ```
yarn start pnpm start
``` ```
### Environment Variables Required ### Environment Variables Required
...@@ -96,13 +96,13 @@ yarn start ...@@ -96,13 +96,13 @@ yarn start
```bash ```bash
# unit tests # unit tests
$ npm run test $ pnpm test
# e2e tests # e2e tests
$ npm run test:e2e $ pnpm test:e2e
# test coverage # test coverage
$ npm run test:cov $ pnpm test:cov
``` ```
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"dbSchema": "npx prisma db push --schema=./src/prisma/schema.prisma", "dbSchema": "npx prisma db push --schema=./src/prisma/schema.prisma",
"prismaStudio": "npx prisma studio", "prismaStudio": "npx prisma studio",
"start": "nest start", "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", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
......
...@@ -26,7 +26,7 @@ with the default exposed ports: ...@@ -26,7 +26,7 @@ with the default exposed ports:
Dependencies: Dependencies:
```bash ```bash
$ yarn $ pnpm install
``` ```
* **If docker is not installed, [Install docker](https://docs.docker.com/engine/install/)**. * **If docker is not installed, [Install docker](https://docs.docker.com/engine/install/)**.
...@@ -85,13 +85,13 @@ $ docker-compose up --build ...@@ -85,13 +85,13 @@ $ docker-compose up --build
```bash ```bash
# unit tests # unit tests
$ yarn test $ pnpm test
# e2e tests # e2e tests
$ yarn test:e2e $ pnpm test:e2e
# test coverage # test coverage
$ yarn test:cov $ pnpm test:cov
``` ```
......
{ {
"name": "ocm-engine", "name": "ocm-engine",
"author": "Vereign AG", "author": "Vereign AG",
"packageManager": "yarn@3.6.3",
"private": true, "private": true,
"workspaces": [
"apps/*"
],
"scripts": { "scripts": {
"prisma:generate": "pnpm -r prisma:generate", "prisma:generate": "pnpm -r prisma:generate",
"attestation:build": "pnpm -F attestation-manager build", "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