Skip to content

Commit

Permalink
docs: better yarn outdated message and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
theblockstalk committed Jul 16, 2024
1 parent 137b127 commit 9c56f83
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ jobs:
with:
node-version: 22.3.0
cache: yarn
- run: yarn outdated || echo "WARNING:Packages outdate. Update packages with 'yarn upgrade-interactive --latest'"
- run: yarn outdated || echo "WARNING: Packages outdate. Update packages with 'yarn upgrade-interactive --latest'" && exit 1
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,10 @@ yarn run test:cov

Run in a Digital Ocean App which runs the nodejs project: <https://docs.digitalocean.com/products/app-platform/>

Using Ubuntu 22.04 with Nodejs 18.x is enabled:
Using Ubuntu 22.04 with Nodejs 20+ is enabled:

- <https://docs.digitalocean.com/products/app-platform/reference/buildpacks/nodejs/#ubuntu-2204-stack-supporting-nodejs-18>

Build command: `yarn -v && yarn install && yarn run build`

- NOTE: we need to run `yarn install` again so that we install with `[email protected]` which we force via`.yarnrc.yml` and `.yarn/releases/yarn-3.1.1.cjs`. See <https://github.com/Tonomy-Foundation/Tonomy-Communication/issues/85> for more details.
Build command: `yarn run build`

Run command: `yarn run start:prod`
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@nestjs/platform-socket.io": "^10.2.3",
"@nestjs/swagger": "^7.1.10",
"@nestjs/websockets": "^10.2.3",
"@tonomy/tonomy-id-sdk": "../",
"@tonomy/tonomy-id-sdk": "/home/dev/Documents/Git/Tonomy/Tonomy-ID-Integration/Tonomy-ID-SDK",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"hcaptcha": "^0.1.1",
Expand All @@ -48,8 +48,6 @@
"@types/jest": "29.5.12",
"@types/node": "20.14.10",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"cross-env": "^7.0.3",
"eslint": "^9.6.0",
"eslint-config-prettier": "^9.0.0",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2290,7 +2290,7 @@
resolved "https://registry.yarnpkg.com/@tonomy/did-resolver/-/did-resolver-4.0.4.tgz#4a0c5bc68e4498e992bca62914ec5d763eaacf82"
integrity sha512-7sgPKUENMsGfq2TaAo4/hwthy45pvVnZep79o6BpmPK5xSwzPctglITkgfM7OY6hyS4le4wQC0LYI7mrGShD2A==

"@tonomy/tonomy-id-sdk@../":
"@tonomy/tonomy-id-sdk@file:..":
version "0.21.0-development.4"
dependencies:
"@consento/sync-randombytes" "^1.0.5"
Expand Down Expand Up @@ -2702,7 +2702,7 @@
dependencies:
"@types/yargs-parser" "*"

"@typescript-eslint/[email protected]", "@typescript-eslint/eslint-plugin@^7.16.0":
"@typescript-eslint/[email protected]":
version "7.16.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.16.0.tgz#b3563927341eca15124a18c6f94215f779f5c02a"
integrity sha512-py1miT6iQpJcs1BiJjm54AMzeuMPBSPuKPlnT8HlfudbcS5rYeX5jajpLf3mrdRh9dA/Ec2FVUY0ifeVNDIhZw==
Expand All @@ -2717,7 +2717,7 @@
natural-compare "^1.4.0"
ts-api-utils "^1.3.0"

"@typescript-eslint/[email protected]", "@typescript-eslint/parser@^7.16.0":
"@typescript-eslint/[email protected]":
version "7.16.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.16.0.tgz#53fae8112f8c912024aea7b499cf7374487af6d8"
integrity sha512-ar9E+k7CU8rWi2e5ErzQiC93KKEFAXA2Kky0scAlPcxYblLt8+XZuHUZwlyfXILyQa95P6lQg+eZgh/dDs3+Vw==
Expand Down

0 comments on commit 9c56f83

Please sign in to comment.