atls / nestjs

NestJS Custom Workshop
BSD 3-Clause "New" or "Revised" License
33 stars 8 forks source link

Update kratos dependencies versions #281

Closed IgorSmugalov closed 2 months ago

IgorSmugalov commented 1 year ago

All dependencies updated to the last versions in the kratos module

Except:

@ory/kratos-client - moved from the alpha version to the release, needs to update all api in the kratos module

~get-port - updated to 6.1.2, the maximum available version: 7.0.0, an error occurs when trying to update to 7.0.0~ fixed

@types/express - updated to 4.17.13, the maximum available version: 4.17.17: when trying to use it, there is a conflict with @types/express-serve-static-core, failed to raise the version above 4.17.13, issue about this

IgorSmugalov commented 1 year ago

bumped get-potr and typescript as https://github.com/atls/nestjs/pull/275/commits/c1f749f45364339f3ef1e15de5e3b80b0e170a24

TorinAsakura commented 1 year ago

конфликт

ArtemMakhaydinov commented 1 year ago

Все зависимости успешно обновлены до последних версий кроме: "@ory/kratos-client": "0.5.5-alpha.4" - в следующей же минорной версии изменен API, выдает кучу ошибок по несуществующим импортам "@types/express": "4.17.14" - при попытке обновиться выше чек выдает:

```shell ➤ YN0000: ┌ Typecheck ➤ YN0000: │ ../../../.yarn/berry/cache/@types-express-npm-4.17.17-46fe8173db-9.zip/node_modules/@types/express/index.d.ts ➤ YN0000: │ ➤ YN0000: │ Erro: Conflicting definitions for 'express-serve-static-core' found at '/home/artem/.yarn/berry/cache/@types-express-serve-static-core-npm-4.17.36-87a82f5a6b-9.zip/node_modules/@types/express-serve-static-core/index.d.ts' and ➤ YN0000: │ '/home/artem/.yarn/berry/cache/@types-express-serve-static-core-npm-4.17.24-cd6b9fd3ba-9.zip/node_modules/@types/express-serve-static-core/index.d.ts'. Consider installing a specific version of this library to resolve the ➤ YN0000: │ conflict. ➤ YN0000: │ The file is in the program because: ➤ YN0000: │ Type library referenced via 'express-serve-static-core' from file '/home/artem/.yarn/berry/cache/@types-express-npm-4.17.13-0e12fe9c24-9.zip/node_modules/@types/express/index.d.ts' with packageId ➤ YN0000: │ '@types/express-serve-static-core/index.d.ts@4.17.24' ➤ YN0000: │ Imported via 'express-serve-static-core' from file '/home/artem/.yarn/berry/cache/@types-express-npm-4.17.13-0e12fe9c24-9.zip/node_modules/@types/express/index.d.ts' with packageId ➤ YN0000: │ '@types/express-serve-static-core/index.d.ts@4.17.24' ➤ YN0000: │ Type library referenced via 'express-serve-static-core' from file '/home/artem/.yarn/berry/cache/@types-express-npm-4.17.17-46fe8173db-9.zip/node_modules/@types/express/index.d.ts' with packageId ➤ YN0000: │ '@types/express-serve-static-core/index.d.ts@4.17.36' ```
TorinAsakura commented 1 year ago

конфликт

TorinAsakura commented 1 year ago

Все зависимости успешно обновлены до последних версий кроме: "@ory/kratos-client": "0.5.5-alpha.4" - в следующей же минорной версии изменен API, выдает кучу ошибок по несуществующим импортам "@types/express": "4.17.14" - при попытке обновиться выше чек выдает:

➤ YN0000: ┌ Typecheck ➤ YN0000: │ ../../../.yarn/berry/cache/@types-express-npm-4.17.17-46fe8173db-9.zip/node_modules/@types/express/index.d.ts ➤ YN0000: │ ➤ YN0000: │ Erro: Conflicting definitions for 'express-serve-static-core' found at '/home/artem/.yarn/berry/cache/@types-express-serve-static-core-npm-4.17.36-87a82f5a6b-9.zip/node_modules/@types/express-serve-static-core/index.d.ts' and ➤ YN0000: │ '/home/artem/.yarn/berry/cache/@types-express-serve-static-core-npm-4.17.24-cd6b9fd3ba- 9.zip/node_modules/@types/express-serve-static-core/index.d.ts'. Consider installing a specific version of this library to resolve the ➤ YN0000: │ conflict. ➤ YN0000: │ The file is in the program because: ➤ YN0000: │ Type library referenced via 'express-serve-static-core' from file '/home/artem/.yarn/berry/cache/@types-express-npm-4.17.13-0e12fe9c24-9.zip/node_modules/@types/express/index.d.ts' with packageId ➤ YN0000: │ '@types/express-serve-static-core/index.d.ts@4.17.24' ➤ YN0000: │ Imported via 'express-serve-static-core' from file '/home/artem/.yarn/berry/cache/@types-express-npm-4.17.13-0e12fe9c24-9.zip/node_modules/@types/express/index.d.ts' with packageId ➤ YN0000: │ '@types/express-serve-static-core/index.d.ts@4.17.24' ➤ YN0000: │ Type library referenced via 'express-serve-static-core' from file '/home/artem/.yarn/berry/cache/@types-express-npm-4.17.17-46fe8173db-9.zip/node_modules/@types/express/index.d.ts' with packageId ➤ YN0000: │ '@types/express-serve-static-core/index.d.ts@4.17.36'

ну так погоди, с проблемами нужно разбираться. Какой смысл в проверке твоих навыков, если при возникновении ошибок ты просто фиксируешься на первой безопасной версии? Копай.