nestjs icon indicating copy to clipboard operation
nestjs copied to clipboard

Update kratos dependencies versions

Open IgorSmugalov opened this issue 2 years ago • 5 comments

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 avatar Sep 14 '23 12:09 IgorSmugalov

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

IgorSmugalov avatar Sep 14 '23 17:09 IgorSmugalov

конфликт

TorinAsakura avatar Sep 14 '23 17:09 TorinAsakura

Все зависимости успешно обновлены до последних версий кроме: "@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/[email protected]'
➤ 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/[email protected]'
➤ 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/[email protected]'

ArtemMakhaydinov avatar Sep 18 '23 11:09 ArtemMakhaydinov

конфликт

TorinAsakura avatar Sep 20 '23 00:09 TorinAsakura

Все зависимости успешно обновлены до последних версий кроме: "@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/[email protected]' ➤ 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/[email protected]' ➤ 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/[email protected]'

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

TorinAsakura avatar Sep 20 '23 20:09 TorinAsakura