File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " swagger-typescript-api " : patch
3
+ ---
4
+
5
+ Update the internal Biome to latest beta release.
Original file line number Diff line number Diff line change 47
47
"typedoc" : " typedoc"
48
48
},
49
49
"dependencies" : {
50
- "@biomejs/js-api" : " ^0.8.0-beta.2 " ,
51
- "@biomejs/wasm-nodejs" : " ^2.0.0-beta.4 " ,
50
+ "@biomejs/js-api" : " ^0.8.0-beta.3 " ,
51
+ "@biomejs/wasm-nodejs" : " ^2.0.0-beta.6 " ,
52
52
"@types/swagger-schema-official" : " ^2.0.25" ,
53
53
"c12" : " ^3.0.3" ,
54
54
"citty" : " ^0.1.6" ,
Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ export class CodeFormatter {
39
39
format = async ( content : string ) => {
40
40
const biome = await Biome . create ( { distribution : Distribution . NODE } ) ;
41
41
const biomeProject = biome . openProject ( ) ;
42
- biome . applyConfiguration ( biomeProject , {
42
+ biome . applyConfiguration ( biomeProject . projectKey , {
43
43
files : { maxSize : Number . MAX_SAFE_INTEGER } ,
44
44
formatter : { indentStyle : "space" } ,
45
45
} ) ;
46
- const formatted = biome . formatContent ( biomeProject , content , {
46
+ const formatted = biome . formatContent ( biomeProject . projectKey , content , {
47
47
filePath : path . format ( { name : nanoid . nanoid ( ) , ext : "ts" } ) ,
48
48
} ) ;
49
49
return formatted . content ;
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ __metadata:
172
172
languageName : node
173
173
linkType : hard
174
174
175
- " @biomejs/js-api@npm:^0.8.0-beta.2 " :
175
+ " @biomejs/js-api@npm:^0.8.0-beta.3 " :
176
176
version : 0.8.0-beta.3
177
177
resolution : " @biomejs/js-api@npm:0.8.0-beta.3"
178
178
peerDependencies :
@@ -190,7 +190,7 @@ __metadata:
190
190
languageName : node
191
191
linkType : hard
192
192
193
- " @biomejs/wasm-nodejs@npm:^2.0.0-beta.4 " :
193
+ " @biomejs/wasm-nodejs@npm:^2.0.0-beta.6 " :
194
194
version : 2.0.0-beta.6
195
195
resolution : " @biomejs/wasm-nodejs@npm:2.0.0-beta.6"
196
196
checksum : 10c0/cce971dc448c66f9db24a3f55dda7b369fab634eaad3414c55062c451ecb56a6a523b4e27eee6c7ce297032a625eba85077c6a1f138b8b3e949b32309edd014e
@@ -3684,8 +3684,8 @@ __metadata:
3684
3684
resolution : " swagger-typescript-api@workspace:."
3685
3685
dependencies :
3686
3686
" @biomejs/biome " : " npm:2.0.0-beta.6"
3687
- " @biomejs/js-api " : " npm:^0.8.0-beta.2 "
3688
- " @biomejs/wasm-nodejs " : " npm:^2.0.0-beta.4 "
3687
+ " @biomejs/js-api " : " npm:^0.8.0-beta.3 "
3688
+ " @biomejs/wasm-nodejs " : " npm:^2.0.0-beta.6 "
3689
3689
" @changesets/changelog-github " : " npm:0.5.1"
3690
3690
" @changesets/cli " : " npm:2.29.4"
3691
3691
" @tsconfig/node18 " : " npm:18.2.4"
You can’t perform that action at this time.
0 commit comments