From 22dcd05c4d4493ef7d65f5e6a535add467f9892e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 13:59:39 +0000 Subject: [PATCH 1/3] chore(deps): update dependency @biomejs/biome to v1.6.1 --- bun.lockb | Bin 42919 -> 42919 bytes package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bun.lockb b/bun.lockb index 14abb913f0280e5ed91866af864c67cf439b1ec8..9109f6e12bbddaf113cbec5188349a662d90097c 100755 GIT binary patch delta 1163 zcmZ2}o@x1crU`lq)ryy*9(>~}5whCAH7`}wE@585Srf0ksoA{lU5RDuUvBgZQ)FbD zypU6S@&!c^C`*8YW3q%250n?61QVYCX9);#PQIzc4O6cSQvuQ$p$yYG0V=M)IYzyW zd2^I{w0gZq(}g{}lP;FevUPr2nV&770D;Nr_Q zaVBC5#Oz%o_fGh*ApTjK(6mV3wx0J43=E76EDQobIunRtfFf^y#KTC7)Aq9u5*;W4wd52H$Bd zTt3;?U!p!!Nl3wR<7z)%bG^5-durE6n(e98%TIMy@YC3JQLRL`o9!a!g65=Ul95?F z^i67~rGG`brm6i`JG^ZB zyPdcH7j?c;C{@@WX!IaNEy5!1o#co8r?q!7WV>0+;Wzg9ww{sY!KA)tGP->^lm7x; z$J$_ARp}#MB0G=ctT=x_i0CPaJNGJ2Z4j?2;A3SI`f6=4EB*Sqs?zaQhduy zY^zt+Z$6x?^&m6)Ti`>e>sWwvF0$*iqHkRGX#8sbUQAEzPwGcuHI<|?qnB$;UOiiR z)`_D`nWuk~{j#(?$v4`P(@p1AxjJ96pR|$fW9ej_d>{U{lAukK*9J(`_xxk|XnM=B zF796SMOB@HzgEmi+wQ@m_1N88C_ms9uT6!@H}|Khul`5|ui%;1U8K}=z9ZqpwG|9p zkDS{#Dr`OubzK9H&PR6L-v{ju%StD>Z3vnvw6ki*uHA)32fo_J?f&ri*nMNK?N#rt zFVI?b%3HGJ?c+1z+b8cc2--!?fmP{QG z;WL?hLy-qeODI9;2q--RO5cFe63S3{C_MvA>rCQc*&L(Z#=JR7JzBl~)HkQ>ALdy; z!Wk^qHah$f220Y;UdW!@+x-23rOV&yH4IUQ?{CpK?GSvO_2EXFwO>w7nY4^i%|-pC zq~+9Hk7G>?3=E76EDQobIunRtfQ7far`uE_Kuq4-iCxOzwZ-2+DXpx?&ul`UUDWGq z&fZSrSadzp`?6$L#){+9^N+WFeU{+$D@FHs-p_=u^}dDY$- ze|F_>5^!yG!-CK{`f}bh$CyXS+ZH(;(NbZSr5B>k_#xF>TQ=`p24d(%SiM z#QyGeyC>GP%;|Ft*S~MA%&~DvPshib63Gd>g7x=)_qg*Y+tUFXa|)4&z^cN`o?0`*Rw+Rv`=0eAW^?Z-N9>_`m|a5H#2I>Z*+cDb@aTu zvDl>@lYewK+1me%oEc`ZydwBP)#uqiwf^q6)t&4(zm$2`#Vsq9_ZbHtw&jPqt^r8r zBfCysY;8i_`}&{a->MG(ns8%hY@71MsUI9OULHR+afL(Wk#{MZKdx8&D0wweUhPKa z)5kf&{#(AP9GkF+t556vrRTR&CdUR!IMkfJ?bSU~fMv?NH2056oF2^1vnQ|GWT6{c z86C8ypz>a${qA+LB5Us7Ygo-u_A^TC;~(K=^ETzQYH(l7J|nAgVzXg*KGS3YU|QA) z*`vs8s%O0Ud8s_VIgkN#Y@#d!g9HOZ!$q^rPW#V&ieq6k)Pu-W0%gR3GW?&XPm{Mh zzW^#T*|t?&7NTM$P=y#!#nYe0*-w<2nP4gkTg9QKUk9p?2CCRKD^7Rfy zK-3W0@6fc)>ya{4X7m15RylT{@p>icRg)hs7T$bsF*D=jz(vZFA1vdUEU;7!iOn`S pd#Mx>pL6owrNVH2z%us9Y|EsP_;OIT(B#F-VEQ!RmK_Y70RR)5y3qgt diff --git a/package.json b/package.json index 9239468..19efa8c 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "normalize-url": "8.0.1" }, "devDependencies": { - "@biomejs/biome": "1.5.3", + "@biomejs/biome": "1.6.1", "@tsconfig/bun": "1.0.4", "@tsconfig/strictest": "2.0.3", "@types/bun": "1.0.8", From a46cbc6d72cfb287968bf10ee34e989aafededba Mon Sep 17 00:00:00 2001 From: risu729 <79110363+risu729@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:57:29 +0800 Subject: [PATCH 2/3] chore: follow new biome rules --- biome.json => biome.jsonc | 10 ++++++++- bun.lockb | Bin 42919 -> 43467 bytes package.json | 45 +++++++++++++++++++------------------- src/util/index.ts | 2 +- tsconfig.json | 5 ++++- 5 files changed, 37 insertions(+), 25 deletions(-) rename biome.json => biome.jsonc (55%) diff --git a/biome.json b/biome.jsonc similarity index 55% rename from biome.json rename to biome.jsonc index 6fa66c8..fe08bdf 100644 --- a/biome.json +++ b/biome.jsonc @@ -13,7 +13,15 @@ }, "linter": { "rules": { - "all": true + "all": true, + "nursery": { + "all": true, + // This is a server-side application + "noConsole": "off", + // This rule reports bun as an undeclared dependency + // ref: https://github.com/biomejs/biome/issues/2074 + "noUndeclaredDependencies": "off" + } } }, "json": { diff --git a/bun.lockb b/bun.lockb index 9109f6e12bbddaf113cbec5188349a662d90097c..d01cf9c88a4ccfb4ffc62cd41795da609479a13a 100755 GIT binary patch delta 7622 zcmeHMeN3vxJk>)PyG9{Uv_gZ~~f8nUK#SzA5o4H(PikQ5wW+tFIPrbZB!ppEBS8iIBF zs1&0z46;&_0|r4D0p7Nz#<$!j2p5dO{??Y&zGWC(0Un9|_n^lM4q#j|yd$iv_~ zzFjlmGTPa|=_Wx4huj7k0htOtKP$$g!UJ1dQX707wQIk`05)hTM#Vy|Zmg+pL0HVt zivrgt)D2zUxTd9Xb+u3qp{3pQ&8y`u5)7QwH2l8AV7$X8Ui zG`6o1gqJk_IwV_s7Lq-P)uaj5vB6!CR>=CsCUqenI2(KugSdaC7J_J4!}F|cuV#CM zL3qLaz0v7{5RXcIYvZa~EUfSOZ=t{ze};|bfi7q>KOIH=(m4M-EW-ArAbPx&jg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^);9@ceL(Si9Q)2RxTN zcRYt-fC-ocL;*a$5H|F6azt%B;l34J8ZmhG90w%4Xn-o{R;<26>Sf4)Ma_ zc7_w|B>yMH`aCqeF!BKhkOrjk;HMyS1CS2f2+Ra#19O0zfLS`{GOp)U#beC*xxmeO zp82(9JjqUgJ1hnAfGi*fFjl3LC!Yy}6bk%IF}^Nc#mHf!?5?m_eI7Ea>g6HoNiK{ktdL zUw(YnGm)BlwgWSGUeL$eY%;oTUaODfZvNd*t7gPP&*{J)7LDcv1-9kMmn3=w zO+u!PjzV?{{y3OMJ(@2wE#D>6^4n_+d!bGWjPC$1{wgpy3FBCgJ&IbMzVvZL5WDAF|26x6tPh=16)5A~urV7;+kgdR>EsfHF_~(D zHoNiW|7Z3e{Br4YuRf+(%;A-z={fDjr-DbL4xQ{9{$A;|&cM)=6m))Fw{mzuzSIcb zWIQIRV_MeyPhYrHz^fkn0WRu# znrO8f-xMBeUcLR%n$D&06pNWdkz?pTVJ|XYnikxKh_dJBvf{rj8mJMq%F)9;~~6U{IR#y5jk z=00?;c$tk2=3w1p6ebcVYL`>KltAUXoJqzvie+m)yz<$BrcX2rx$Nh&bkDBDB;#8} z*b3)2&V-M?hWh+a9M$y0UAaldHww$q-<;bO@vpgBdu_^Iq}bhF@dmBlotUqGp$P7c zNI&NN_Or(|Z*m+sB8^WL#VLy$w;rrkwHj@I4%2sbCng!6Ebcj6*>*8$Gz;~-DKIdP z({Fa?CK;bD>b7J&od3?#IBO7RwgU%m8D;IsO)@@dB=ip^-T27)BeEFedbG#obx&e} z@hRiptd+yFpD!swy_4tDk!yS(`}U6y4Llt9i61qEe2isFp$(X1e5`o#+|>M2pVYn+ zhNV!T9dk`|Wlv(h@o^*izaD%b#r@VJSL=<>A1^<-*kkthqwk5`CPi@4P$~e)o;hV{7(3E{~Nyv_I;90jD@mn*aa+ diff --git a/package.json b/package.json index 19efa8c..ce47b72 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,25 @@ { - "$schema": "https://json.schemastore.org/package.json", - "name": "gdrive4d", - "private": true, - "scripts": { - "start": "bun src/main.ts", - "start:screen": "screen -DRS gdrive4d bun start", - "check": "biome check --apply-unsafe ." - }, - "dependencies": { - "@googleapis/drive": "8.7.0", - "consola": "3.2.3", - "discord.js": "14.14.1", - "normalize-url": "8.0.1" - }, - "devDependencies": { - "@biomejs/biome": "1.6.1", - "@tsconfig/bun": "1.0.4", - "@tsconfig/strictest": "2.0.3", - "@types/bun": "1.0.8", - "ignore-sync": "7.0.1", - "typescript": "5.4.2" - } + "$schema": "https://json.schemastore.org/package.json", + "name": "gdrive4d", + "private": true, + "scripts": { + "start": "bun src/main.ts", + "start:screen": "screen -DRS gdrive4d bun start", + "check": "biome check --apply ." + }, + "dependencies": { + "@googleapis/drive": "8.7.0", + "consola": "3.2.3", + "discord.js": "14.14.1", + "gaxios": "6.3.0", + "normalize-url": "8.0.1" + }, + "devDependencies": { + "@biomejs/biome": "1.6.1", + "@tsconfig/bun": "1.0.4", + "@tsconfig/strictest": "2.0.3", + "@types/bun": "1.0.8", + "ignore-sync": "7.0.1", + "typescript": "5.4.2" + } } diff --git a/src/util/index.ts b/src/util/index.ts index b4be14f..90d8345 100644 --- a/src/util/index.ts +++ b/src/util/index.ts @@ -1 +1 @@ -export * from "./invisible"; +export { appendInvisible, decodeAppendedInvisible } from "./invisible"; diff --git a/tsconfig.json b/tsconfig.json index 167b993..5f638cb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,9 @@ { "$schema": "https://json.schemastore.org/tsconfig", - "extends": ["@tsconfig/bun/tsconfig.json", "@tsconfig/strictest/tsconfig.json"], + "extends": [ + "@tsconfig/bun/tsconfig.json", + "@tsconfig/strictest/tsconfig.json" + ], "compilerOptions": { "allowJs": true }, From f66c86fc1cd929e7f3366006fb689e81e0cc3f60 Mon Sep 17 00:00:00 2001 From: risu729 <79110363+risu729@users.noreply.github.com> Date: Thu, 14 Mar 2024 23:12:50 +0800 Subject: [PATCH 3/3] chore(biome.jsonc): disable colliding rule --- biome.jsonc | 4 +++- src/embeds.ts | 2 +- src/util/index.ts | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 src/util/index.ts diff --git a/biome.jsonc b/biome.jsonc index fe08bdf..df6ab89 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -20,7 +20,9 @@ "noConsole": "off", // This rule reports bun as an undeclared dependency // ref: https://github.com/biomejs/biome/issues/2074 - "noUndeclaredDependencies": "off" + "noUndeclaredDependencies": "off", + // This rule collides with lint/nursery/noBarrelFile + "useImportRestrictions": "off" } } }, diff --git a/src/embeds.ts b/src/embeds.ts index e9407aa..9181a39 100644 --- a/src/embeds.ts +++ b/src/embeds.ts @@ -15,7 +15,7 @@ import normalizeUrl, { type Options as NormalizeUrlOptions, } from "normalize-url"; import { driveClient, fileTypes } from "./gdrive"; -import { appendInvisible, decodeAppendedInvisible } from "./util"; +import { appendInvisible, decodeAppendedInvisible } from "./util/invisible"; /** * Extract Google Drive file IDs from a string. diff --git a/src/util/index.ts b/src/util/index.ts deleted file mode 100644 index 90d8345..0000000 --- a/src/util/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { appendInvisible, decodeAppendedInvisible } from "./invisible";