acacode/swagger-typescript-api

Some changes related to biome and so on led to breakdown

Closed this issue · 2 comments

version 13.2.2

ERROR  this.workspace.openProject is not a function                                                                                                                                                                                                   10:14:40 AM

    at Biome.openProject (/Users/deface/.npm/_npx/98b3a09fcb3583e5/node_modules/@biomejs/js-api/dist/index.js:59:31)
    at Biome.create (/Users/deface/.npm/_npx/98b3a09fcb3583e5/node_modules/@biomejs/js-api/dist/index.js:21:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async CodeFormatter.format (/Users/deface/.npm/_npx/98b3a09fcb3583e5/node_modules/swagger-typescript-api/dist/src-CuoIgJ3d.js:41:17)
    at async CodeFormatter.formatCode (/Users/deface/.npm/_npx/98b3a09fcb3583e5/node_modules/swagger-typescript-api/dist/src-CuoIgJ3d.js:55:22)
    at async CodeGenProcess.createOutputFileInfo (/Users/deface/.npm/_npx/98b3a09fcb3583e5/node_modules/swagger-typescript-api/dist/src-CuoIgJ3d.js:2963:17)
    at async CodeGenProcess.createSingleFileInfo (/Users/deface/.npm/_npx/98b3a09fcb3583e5/node_modules/swagger-typescript-api/dist/src-CuoIgJ3d.js:2933:10)
    at async CodeGenProcess.generateOutputFiles (/Users/deface/.npm/_npx/98b3a09fcb3583e5/node_modules/swagger-typescript-api/dist/src-CuoIgJ3d.js:2882:99)
    at async CodeGenProcess.start (/Users/deface/.npm/_npx/98b3a09fcb3583e5/node_modules/swagger-typescript-api/dist/src-CuoIgJ3d.js:2791:19)
    at async generateApi (/Users/deface/.npm/_npx/98b3a09fcb3583e5/node_modules/swagger-typescript-api/dist/src-CuoIgJ3d.js:3129:9) 

You need to downgrade to 13.1.3 for it to work again.

So it has something to do with the biomejs betas.

You need to downgrade to 13.1.3 for it to work again.

So it has something to do with the biomejs betas.

thank you, i did it yesterday, i wrote this issue only for information. Have a nice day!