From fb6c0d780d6c81304977db562e3fe20fc349a31e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Sep 2026 11:04:15 +0200 Subject: [PATCH 01/27] Bump fast-uri from 3.1.4 to 3.1.6 (#2270) * Bump fast-uri from 3.1.4 to 3.1.8 Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.4 to 3.1.8. - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.4...v3.1.8) --- updated-dependencies: - dependency-name: fast-uri dependency-version: 3.1.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] * Update fast-uri to 3.1.6 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcin Biernacik --- yarn.lock | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index d2037ecd9..9b04612d6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1662,9 +1662,9 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.4: integrity "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" fast-uri@^3.0.1: - version "3.1.4" - resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.4.tgz#3b3daf9ce68f41f956df0b505132c0cfce9ec7af" - integrity sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw== + version "3.1.6" + resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.6.tgz#bfdd308ef763f835fed059f3c6c925f708e33e3a" + integrity sha512-7Ical1vFEMr0onbVzEDIreM22I4khW+fzyQPwvAFWBp1iwdshSZRsL4jjRvPG9JP1uiqMHRto+YU6R2/CzDz5Q== fast-xml-builder@^1.1.7: version "1.2.0" @@ -3186,7 +3186,7 @@ string_decoder@^1.1.1: dependencies: safe-buffer "~5.2.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -3200,6 +3200,13 @@ strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.2.0.tgz#d22a269522836a627af8d04b5c3fd2c7fa3e32e3" From a207dff467f4483f9c749800512836bf510247c2 Mon Sep 17 00:00:00 2001 From: rafal-hawrylak <33635872+rafal-hawrylak@users.noreply.github.com> Date: Mon, 28 Sep 2026 12:52:41 +0200 Subject: [PATCH 02/27] Update OSS test credentials (#2346) BUG=566964693 --- test_credentials/bigquery.json.enc | Bin 2643 -> 2644 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/test_credentials/bigquery.json.enc b/test_credentials/bigquery.json.enc index 775e14b66e5e4c930974fa575865953dcfa212d8..224076f56171fb2efe22568b9927ae58f8a9c439 100644 GIT binary patch literal 2644 zcmV-a3aj-BB>)b(muL#gowh7`8=UdO(iDhPTl-3Cul(VDTiNKO`l6y#$-NS)6ae3xnoFI(9s@UknX&5bt6+ zMxOxV^lK-=eaC|dcg23@m?wzH0C66Te49fy{x`@9Uo~P~C*z{|4IF0R8ydE%+t2O2 zv*VsO^@7~RDB5H;PZN0i*zsaP#ib;w@EX{r5+CHV*Hy|ZTXzV)X!0T^X^N^r9))ZD zT_SjBCONOC_yXZ1*A}xp-zEs+Yl2mR%cG-yip+i!;8$qJSymzn zT6>5!lp3hrdfljkfg`Gfr3j4S!HOc*TDTsyIn5GfOXY=THfpIQra`t+A*>W3 zZH5OKw2GY{{p9TMDdg+=^ zSL|+rIxYEzsX`*r79kN;wSYSFru-fTfM66C!UD4+6J03{TllaB03l6xUW3^qJnFSZ z{uDR>4uG18uw=fNIC%;f;>^Wjnpt&0gIo#M;-@YdM(~}$rZ3`xiekMIeR;GQuS3hF zWJDfbTR_Z2L`L@Qcg>gTvI7~JyZ>X(m&qr^WaeZ(I`U=vi2x((AD`}|sg01O58NibDjse5> z=lF6+N87+r{z}Y$5WaMfLg?d(&}6xtahT5L1%09RO@^&)aGk&ZK?sNB!u}|+me|e8 z>V+yUKBncn4?J4{>3g>7lZsVGngM8;e<+qt5nI+k-Ak$jK}4BZb;mkEul_oA77=XD zmN+;77pjU1d_o@+(@?XpY|#?Tf}oJ^VFe<>;R%3}Bp?E?MiRK~@~=U!P2%nXauB`R z+Qn0IX{RssC?p(1n4UosmWA>ySSti*!wl)vqD0Y*voisuNXC(W(P}%?_kdo(*4Q%- zJf&q6I5_{<@Zas&c>_@SC@OR6l&b(T$D4e=lA{&fe7C7^;R|dOfdTmzz*j0mxl9jr z&Y$l$tnV{iWi|be@~sL!EqbC>nWtj>TbMsM{UQ0RTET_|&4OMu}YKGAQY+04I)RcM@p86R-$DhW)WH93sM5l20flB6MeT1{7p*%8(>cV);PluZD7LVN}H|GOrty~t6dTLcif`OS+%3=phN#og`5Fa z?k2LZK9-V8$P;KcMO`fDdFh0cQrz5+#?JB*e10T28CLN*v;Zx_1`J>Fdb^?!5Y}8{ z@;^`BLLQA%_8d-b=LJATJl8@ynSWM{qK(lCM$e<+AT8v^dw3So-#|ip+)v+eQ-o#~ zuN9}#+ir~M`24@Fq(|=Zr~Dy-KgX#9u6RzHw^8b1bzTX3f*R}UiVSmxXttXCO?_g$ z%O{}Y8inN=kreh>oB^7}n$_+(Vr{eAJsw22ZumND4u|YOiIlj*m#5Ai4}o@xy+(>x1a>@9uZ5`_AbwKr7((J9byho%1mFphjDhIi0Cw8L*r-bz9_ISF4k~}ziabM3rEfjOdBp4tqU^wSMY)T32<}O_Y;>At<<|E3P zcL{lVh%(m6^k$jhpieQ&Gg|dztowB&#U=8N0W}?#jtrb~wNSCmHE+XLLu}_ju)L_` z51*ClXl5kL_f$)n3ig|amtp>X?p-uCa~>@N8J!vk%d_3yBM zkJ>=!aw~9PN*S2%P|O?LeYJ2nNs@8S+jeQv8hr82zN*Tb)^gAb%*`+6o@f~9qZNLw zr&guT>e%pUKwPl2I=!F7?KNT-^EPEF*3`@%XAmtkf7>Gtzy%tl;?J&{`iGgX=_tPJ z+K3lm{p$*Q?d^A$t3Wn1?vI5pJe?SE-hfah>+UcI6fdeX{bxAatz3zUVz);+znF7r?G;L3DT zK8KH6qUu0+rLV9rRpUDDsp=M)NTEIT#&LA_y2}GYox-EI?!fIy(mPNntD!^6HdeLG zleP>3FSM8M`@5J}5D=-0@d(0E{c3V#!@2%3-`+DA9^?{uwRL-da`4sh6B8^AKJ&=u z@x`@dDA-**@W6L_iA7Rs9Op} zdTI(S4J<8izC41_6`n!NoXiaB(9biR5=1Z3`l1%s&6F0@?f974IUF|*dQq(Pp6hUJ z-D&RrgQ(-MwD?UN5QE4gQY>niaAIxOhvD zp@u>VF_gP(b;Q9$+wHYP+0@1X`LMg33rsJ5Ipvqm##LpZqprecBh?VE66h815V#qt zSIb5*Jl_yDD$EIsHbbOTYS^RDyJz|6h$P*v=gf|iQ)%h-2b!|5Cy;%p2hf}cvZY5# ze;>MGDfq#{pd4&Moo-o@?TLijpPM$%dzo*j_*IB8`Nsv}KUSfg)PfyXofc+05&zQ~ z?Hh5c%pm2NKc8)W>k*dpR18q9Nlf}^H;xPBo$w0$KxujBPJo*xPW*Ng+;CoR^ii9| zsY$KE47gn5p3RI67y3M`pm74)8o|Ls2VU$2t}2v(Cu1pZhYb%LE<0?pr6e4Qu6 zxp>aD{w-%XXR7EolW*UD{Ms3)2z0DZzR9rkF<-79n# zXC4RqzVOT^_`^46m#A)b=Wi>Q27I;lF5s?cOVq@78BCHc)KVLs<6{SMLCTIMrnn-T zxcS;ZFJR_Tk91fbLp25)rbn#D9HGp0ED0XtlSW9x#~>geEr@3}QPN|AS(x5*XFD19 Ci86=) literal 2643 zcmV-Z3as@CBmfS&muL~~!(}hXS4i-eBR)2TR`nl^ILTSRL6*;`)(Qcf;u5M906Q=~ ze?wkm3uLiCD7NF=QlyfNINp0dlubRVc$UlHPyAkRoHHokGXo;KJN6~;OrW|cgIA$U z|0J?~_kp(UjuMaYgP`>WX4kQy`(%1U#{%BFNlW3E$DjpD<(&0e;YQe^)M8w|5gN>h z!Hu`5JgMdiDW=@Upy#ey9YYhDV9Lt)!f|7tA4oI9Shu7BuvHkj->&=cr2=b$8Ugl33o)1tTNQGno;JJX@UP)x$OXSRE>H=LlAN z#LNPoDxbP#Sr_VORwPNvg!V%-Ssr}A;_&R3cgx9VDAto?;?P$SB(z;jS`k&VyWG-A z4o;}5@D<3E$h6R=ul~%2Nn6qQw8Xj!QjSb%Qm1jsq{*!ZAmSqFjHbzfVYVGgxcEH} z5z`GZeqHWR-8e+ztK`$1d6!$JR$%uix-ZYI#@s0`XCmhD`8_iIjv{a1$=F0ot0jza?8fGfU##9;jiC8@=^w5A z`}i|)>Z2KA{R1G{?NL6&Q8Gm8!y5XyJyy&RkSS;LRmH0}_FZIbe^W~?!&p)Ik-dS!FIC6kPzK8rlL;%_f&96G=N+QRn91p>>E z6$sfCn7X4x=EXw#W0owAL*+V~2Pdzb5ds?8j>NFN_m>S#q^s#e&TUJw%7QJcg4i8k zUi$su|Cv0Nwc25OC5;=!qopO{u29+VoHE{lsB2c~g_%7R-8qIWLlM9aNcdv09IVIT z@Fv1{ZjeMeePrO`huPq*K3ZE##{`T#_s8Sb{U{ZbI>PFn#8D`i_k zWN$~SH2W7FC#x2fNJ~3I)-qgtmcey$c2S#&Mou`ABkr~5XrcEc!Q*xAM`?-%)P!8W zSbifC4m|VE)#A7y2OM3k&q0DAY>ZaD zBhrPsgzd;fGqMTjk@!%)9J)wm=tMj?!K zGJtOf?UR7xvgr(yqh$aW0{`%Lov7Q&iJlwquEX=#Q z0R|i?Xm5Wxi&}d`WV8$znEAhjn^ACg9v9Gmr5e@>#qg zWR=I7|NCTSlel$kPd_bJ*l=|Syc!^Vn8vKxCgc)4hO^#M)HF6Sr|eBD(?KD?$*bDA z?Y&f|l4^bfbp6-r*d%wYFE5Du$zFQgsWo@huVkH)CwHWPw1r%1;atDc#S)J>uI%c2 z$g(@YJX^$E;^UaTEEmhVNaJlIx-IRywYRqEZxU1~IDWVjid0BHMDZLc50eM#U~<5C z{`C9d=|Bbfz!KgWL+BAT-spgQWoKOkcXC>usXOZwh!W^x%$F9GLgw`Vh9}=e4$_0a z@CPyA3LIn&V%9z8-esB1_JbT{9 zf=newlbLySOy&N|MSot0f=DsaxL*^z5#WyAWi&|-d2P?(z8(SZ>m`!`Uz8;oi=ryQ z;MH;Tt$tMEv1i}kwKH0qCtmIuGB^NXi#zEEgchH5hg)Kcm+R9KxGyod9&PXpGpm@M z@oxC^iIErtr3gFT)xY%fHUbTol6?4PtN+2T&Akb|L~I16^B= z7M_=uN0T;7oM%-4P_?5adfhOukCGDydI%9ZFg5Uq^ZmJmFx^}HAtdAbroOn}_KNy| zo~+uJ^G1u3-MzX%k9*`q#eQg|6q}%iyh28TSd8w_d;= zwGf>`^S+8(UZ|B*75H7k&_n^&Oz{8ew(Ylq(|l5Aw_>2o!WDEmjM$Gl38}3^*JZ7i zmy#&RU*xoSNfqiUr~QxpU}@jmPJo!O7Hys5y#pGm3!kw^|^e-)#)bOUu>vfjBh!z8zaLE#rc)2PD7zj~tr3R_j)Z>%m8Fqtebt z_fak(Zi33%FC`$$bBaXLeZ+^;*ZDl1*kAZyJt(F2xs9&s4&08hKAdC{3S1*Zd9P^G zbL71qUZq|E2$^1P#r~+sYlDEeRuIu&_X4U99#4eO{r-AD|lFTu2 zIcETjepw_>@A0I@6+W6RH9oAh!b+}Jsq&H_- BF{J Date: Tue, 29 Sep 2026 11:50:33 +0200 Subject: [PATCH 03/27] Pin fast-uri to 3.1.7 (#2349) --- package.json | 3 ++- yarn.lock | 17 +++++------------ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 1000b614b..de16faa75 100644 --- a/package.json +++ b/package.json @@ -103,6 +103,7 @@ "**/linkify-it": "^5.0.2", "**/braces": "^3.0.3", "**/@eslint/plugin-kit": "0.7.2", - "@google-cloud/storage/**/uuid": "14.0.2" + "@google-cloud/storage/**/uuid": "14.0.2", + "**/fast-uri": "3.1.7" } } diff --git a/yarn.lock b/yarn.lock index 9b04612d6..3c01af76a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1661,10 +1661,10 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.4: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" -fast-uri@^3.0.1: - version "3.1.6" - resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.6.tgz#bfdd308ef763f835fed059f3c6c925f708e33e3a" - integrity sha512-7Ical1vFEMr0onbVzEDIreM22I4khW+fzyQPwvAFWBp1iwdshSZRsL4jjRvPG9JP1uiqMHRto+YU6R2/CzDz5Q== +fast-uri@3.1.7, fast-uri@^3.0.1: + version "3.1.7" + resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.7.tgz#743157d957f3cbb4c65310e033dc2ad4ad7dc60a" + integrity sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg== fast-xml-builder@^1.1.7: version "1.2.0" @@ -3186,7 +3186,7 @@ string_decoder@^1.1.1: dependencies: safe-buffer "~5.2.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -3200,13 +3200,6 @@ strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-ansi@^7.0.1: version "7.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.2.0.tgz#d22a269522836a627af8d04b5c3fd2c7fa3e32e3" From b3dace50af635ae4596f659b9ed18f6917a1be75 Mon Sep 17 00:00:00 2001 From: dataform-team <94851596+dataform-team@users.noreply.github.com> Date: Thu, 1 Oct 2026 10:23:08 +0200 Subject: [PATCH 04/27] Update the npm package version (#2353) --- version.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.bzl b/version.bzl index f37dde1a6..925289e31 100644 --- a/version.bzl +++ b/version.bzl @@ -1 +1 @@ -DF_VERSION = "3.0.71" +DF_VERSION = "3.0.72" From 52d3ebbd1ac6c06caee81ba48799fa3cfc9402bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 11:26:38 +0200 Subject: [PATCH 05/27] Bump @grpc/grpc-js from 1.14.4 to 1.14.5 (#2355) Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.14.4 to 1.14.5. - [Release notes](https://github.com/grpc/grpc-node/releases) - [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.14.4...@grpc/grpc-js@1.14.5) --- updated-dependencies: - dependency-name: "@grpc/grpc-js" dependency-version: 1.14.5 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3c01af76a..af0ef5d4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -231,9 +231,9 @@ uuid "^8.0.0" "@grpc/grpc-js@^1.12.6": - version "1.14.4" - resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.14.4.tgz#e73ff57d97802f063999545f43ebb2b1eca65d9d" - integrity sha512-k9Dj3DV/itK9D06Y8f190Qgop7/Ui+D0njFV3LHMPwPT75DpXLQohE9Wmz0QElrJnzsjB7KPWiKJbOl7IPDArQ== + version "1.14.5" + resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.14.5.tgz#12f97bd9f716358e377ffaa768195d1219eb76a3" + integrity sha512-7VZM+SVdEcUUqSQeNI3zM8Qs/BhQKZndPo2h5VkYkAM8Iz0wJIa8mKV5ekQGqG8UUsnkQ0NMxIxwkIHYvj0qOw== dependencies: "@grpc/proto-loader" "^0.8.0" "@js-sdsl/ordered-map" "^4.4.2" @@ -3186,7 +3186,7 @@ string_decoder@^1.1.1: dependencies: safe-buffer "~5.2.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -3200,6 +3200,13 @@ strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.2.0.tgz#d22a269522836a627af8d04b5c3fd2c7fa3e32e3" From c201be16d254fe7654b115cc0080861aed5a7e03 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 08:35:02 +0200 Subject: [PATCH 06/27] Bump vm2 from 3.11.6 to 3.11.7 (#2358) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.11.6 to 3.11.7. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/main/CHANGELOG.md) - [Commits](https://github.com/patriksimek/vm2/compare/3.11.6...v3.11.7) --- updated-dependencies: - dependency-name: vm2 dependency-version: 3.11.7 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 15 +++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index de16faa75..7a08ddc43 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "typeid-js": "0.3.0", "untildify": "^4.0.0", "url": "^0.11.0", - "vm2": "3.11.6", + "vm2": "3.11.7", "vscode-jsonrpc": "^5.0.1", "vscode-languageclient": "^6.1.3", "vscode-languageserver": "^6.1.1", diff --git a/yarn.lock b/yarn.lock index af0ef5d4e..cbe912858 100644 --- a/yarn.lock +++ b/yarn.lock @@ -875,12 +875,7 @@ acorn@^7.4.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity "sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo= sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" -acorn@^8.11.0, acorn@^8.15.0, acorn@^8.7.1, acorn@^8.8.2: - version "8.17.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.17.0.tgz#1785adb84faf8d8add10369b93826fc2bd08f1fe" - integrity sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg== - -acorn@^8.16.0: +acorn@^8.11.0, acorn@^8.15.0, acorn@^8.16.0, acorn@^8.7.1, acorn@^8.8.2: version "8.18.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.18.0.tgz#4faf01b2d6d326bfeed97aea1f52220b5f4c1940" integrity sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ== @@ -3459,10 +3454,10 @@ uuidv7@^0.4.4: resolved "https://registry.yarnpkg.com/uuidv7/-/uuidv7-0.4.4.tgz#e7ffd7981f590c478fb8868eff4bb3bc55fa90e6" integrity sha512-jjRGChg03uGp9f6wQYSO8qXkweJwRbA5WRuEQE8xLIiehIzIIi23qZSzsyvZPCPoFqkeLtZuz7Plt1LGukAInA== -vm2@3.11.6: - version "3.11.6" - resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.11.6.tgz#044ddbbd68c0157bc07b2e2fca20f38d3d673be7" - integrity sha512-35hVTcKieg7jJMntHhgWT5c2a1J2vmpXm66Xs1Z8ayHOJTj8rzIlXKzba3nO1Om/sonmnkjlAOMt9p8lYJXsWw== +vm2@3.11.7: + version "3.11.7" + resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.11.7.tgz#c6515754a3d500dba72c12270dfede231de12ca7" + integrity sha512-DtUSI2CaVfb3rf17uJgTUGlKiVCIeZ3VLAhFOMMm2JGPoi8EFlBrDfxMt/qpZFFDl3DNbiE0V+VROHQImnbwTQ== dependencies: acorn "^8.15.0" acorn-walk "^8.3.4" From 811cac45693eb1529aecc9c66ae9e851898140dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2026 14:26:32 +0200 Subject: [PATCH 07/27] Bump vm2 from 3.11.7 to 3.12.2 (#2363) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.11.7 to 3.12.2. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/main/CHANGELOG.md) - [Commits](https://github.com/patriksimek/vm2/compare/v3.11.7...v3.12.2) --- updated-dependencies: - dependency-name: vm2 dependency-version: 3.12.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 7a08ddc43..869776618 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "typeid-js": "0.3.0", "untildify": "^4.0.0", "url": "^0.11.0", - "vm2": "3.11.7", + "vm2": "3.12.2", "vscode-jsonrpc": "^5.0.1", "vscode-languageclient": "^6.1.3", "vscode-languageserver": "^6.1.1", diff --git a/yarn.lock b/yarn.lock index cbe912858..521457a00 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3454,10 +3454,10 @@ uuidv7@^0.4.4: resolved "https://registry.yarnpkg.com/uuidv7/-/uuidv7-0.4.4.tgz#e7ffd7981f590c478fb8868eff4bb3bc55fa90e6" integrity sha512-jjRGChg03uGp9f6wQYSO8qXkweJwRbA5WRuEQE8xLIiehIzIIi23qZSzsyvZPCPoFqkeLtZuz7Plt1LGukAInA== -vm2@3.11.7: - version "3.11.7" - resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.11.7.tgz#c6515754a3d500dba72c12270dfede231de12ca7" - integrity sha512-DtUSI2CaVfb3rf17uJgTUGlKiVCIeZ3VLAhFOMMm2JGPoi8EFlBrDfxMt/qpZFFDl3DNbiE0V+VROHQImnbwTQ== +vm2@3.12.2: + version "3.12.2" + resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.12.2.tgz#0a8cab04496918a94911498d6f42f3d3cc06df7e" + integrity sha512-LRHt4xU6eXshlZEcSZVrTehLGxRDjHvjmFPGwEp4xGpZX61QzH6Xm9wK2nU7XAp36V1w2xILAL1LwxVkgD1Ipw== dependencies: acorn "^8.15.0" acorn-walk "^8.3.4" From da31d53d51be3cbc8e2afa0dc8dc8fb2bc16347a Mon Sep 17 00:00:00 2001 From: rafal-hawrylak <33635872+rafal-hawrylak@users.noreply.github.com> Date: Fri, 9 Oct 2026 11:42:13 +0000 Subject: [PATCH 08/27] docs(cli): add comprehensive CLI reference README (#2329) (#2364) --- cli/BUILD | 12 +- cli/README.md | 378 +++++++++++++++++++++++++++++++++++ packages/@dataform/cli/BUILD | 8 + readme.md | 3 +- 4 files changed, 392 insertions(+), 9 deletions(-) create mode 100644 cli/README.md diff --git a/cli/BUILD b/cli/BUILD index aa20288d4..002fc3b19 100644 --- a/cli/BUILD +++ b/cli/BUILD @@ -1,11 +1,13 @@ load("//tools:ts_library.bzl", "ts_library") -load("//tools/common:copy.bzl", "copy_file") -load("//:version.bzl", "DF_VERSION") load("//testing:index.bzl", "ts_test_suite") load("//tools:node_modules.bzl", "node_modules") package(default_visibility = ["//visibility:public"]) +exports_files([ + "README.md", +]) + ts_library( name = "cli", srcs = [ @@ -142,9 +144,3 @@ ts_test_suite( "@npm//ts-mockito", ], ) - -copy_file( - name = "readme", - src = "//:readme.md", - out = "readme.md", -) diff --git a/cli/README.md b/cli/README.md new file mode 100644 index 000000000..e2a171a5c --- /dev/null +++ b/cli/README.md @@ -0,0 +1,378 @@ +# Dataform CLI Reference + +This document is a complete reference for the `dataform` command line interface, generated from the CLI source in this repository (`cli/`). It covers every command and flag as implemented today, plus practical example use cases. + +For conceptual documentation (project structure, SQLX syntax, the JavaScript API, etc.) see the [root readme](../readme.md) and the hosted [Dataform CLI guide](https://cloud.google.com/dataform/docs/use-dataform-cli). + +## Installation + +```bash +npm i -g @dataform/cli +``` + +## Invocation + +``` +dataform [project-dir] [options] +``` + +`project-dir` is optional for every command and defaults to `.` (the current directory). It is resolved with tilde-expansion, so `~/my-project` works. `project-dir` can be passed either positionally (`dataform compile my-project`) or as a named flag (`dataform compile --project-dir=my-project`). + +Run `dataform` with no arguments, or `dataform help`, to print the list of commands. Run `dataform help ` or `dataform --help` for a command's full flag list. + +## Global behavior + +- **`--help`** — shows help for the current command. +- **`--version`** — prints the installed `@dataform/cli` version number. +- **Strict parsing** — unknown commands or flags are rejected with an error, and the CLI suggests the closest matching command name for typos. +- **Colored output** — output is colorized by default. Set `NO_COLOR=1` (or `true`/`yes`) to disable it. +- **Lineage debug logging** — set `DATAFORM_LINEAGE_DEBUG=1` to enable verbose logging from the OpenLineage emitter used by `run --emit-lineage`. + +## Commands + +- [`init`](#init) +- [`install`](#install) +- [`init-creds`](#init-creds) +- [`compile`](#compile) +- [`test`](#test) +- [`run`](#run) +- [`format`](#format) + +--- + +### `init` + +``` +dataform init [project-dir] [default-database] [default-location] +``` + +Creates a new Dataform project (`workflow_settings.yaml`, `.gitignore`, `definitions/`, and `includes/`) in `project-dir`. Fails if `workflow_settings.yaml`, `package.json`, or `dataform.json` already exists in `project-dir`. + +**Positional arguments** + +| Argument | Required | Description | +|---|---|---| +| `project-dir` | No (default `.`) | The directory to create the project in. | +| `default-database` | **Yes** | The default database to use, equivalent to a Google Cloud Project ID. | +| `default-location` | **Yes** | The default BigQuery location. See [supported values](https://cloud.google.com/bigquery/docs/locations). | + +`default-database` and `default-location` are positional but enforced as required at runtime — omitting either produces an error telling you to run `dataform help init`. All three positional arguments can also be passed as named flags (`--project-dir`, `--default-database`, `--default-location`), e.g. `dataform init my_project --default-database=my-gcp-project-id --default-location=US`. + +**Options** + +| Flag | Type | Default | Description | +|---|---|---|---| +| `--iceberg` | boolean | `false` | Initialize the project with workflow-level Iceberg tables configuration. When set, prompts interactively for an Iceberg bucket name, table folder root/subpath, and connection. | + +--- + +### `install` + +``` +dataform install [project-dir] +``` + +Installs a project's NPM dependencies (via `npm i --ignore-scripts`) as declared in the project's `package.json`. + +**Positional arguments** + +| Argument | Required | Description | +|---|---|---| +| `project-dir` | No (default `.`) | The Dataform project directory. | + +**Options:** none. + +> Note: for projects that specify `dataformCoreVersion` in `workflow_settings.yaml`, `@dataform/core` is installed automatically in an isolated temporary directory at compile/run time, and running `dataform install` throws an error (`No installation is needed when using workflow_settings.yaml, as packages are installed at runtime.`). Use `dataform install` only when managing `@dataform/core` and external dependencies via `package.json` (without `dataformCoreVersion` in `workflow_settings.yaml`). + +--- + +### `init-creds` + +``` +dataform init-creds [project-dir] +``` + +Interactively creates a `.df-credentials.json` file that Dataform uses to connect to BigQuery. **Only BigQuery is currently supported.** + +Prompts for: +1. Dataset location (`US`, `EU`, or a custom region name). +2. Authentication method — Application Default Credentials (ADC) or a JSON service account key file. + - ADC: prompts for your billing project ID. + - JSON key: prompts for the path to a downloaded service account key file. + +**Positional arguments** + +| Argument | Required | Description | +|---|---|---| +| `project-dir` | No (default `.`) | The Dataform project directory the credentials file is written into. | + +**Options** + +| Flag | Type | Default | Description | +|---|---|---|---| +| `--test-connection` | boolean | `true` | If true, runs a test query using the credentials you just entered before saving them. | + +--- + +### `compile` + +``` +dataform compile [project-dir] +``` + +Compiles the project and prints a summary (or JSON / Graphviz DOT representation) of the compiled dependency graph without executing it against your warehouse. Useful for validating a project and inspecting its structure. + +**Positional arguments** + +| Argument | Required | Description | +|---|---|---| +| `project-dir` | No (default `.`) | The Dataform project directory. | + +**Options** + +| Flag | Type | Default | Description | +|---|---|---|---| +| `--json` | boolean | `false` | Outputs a JSON representation of the compiled project. Mutually exclusive with `--dot`. | +| `--dot` | boolean | `false` | Outputs a [Graphviz DOT](https://graphviz.org/doc/info/lang.html) representation of the compiled project. Mutually exclusive with `--json`. | +| `--verbose` | boolean | `false` | Enable verbose compilation output. Mutually exclusive with `--quiet`. | +| `--quiet` | boolean | `false` | Less verbose compilation output. Mutually exclusive with `--verbose`. | +| `--watch` | boolean | `false` | Watches the project directory (ignoring `node_modules`) and recompiles automatically on changes, with a debounce of 500ms. Runs until interrupted with Ctrl+C. | +| `--timeout` | string | `'60s'` (`60000` ms) | Duration to allow compilation to complete, e.g. `'1s'`, `'10m'`. | +| `--output-actions` | array | — | Filters the *printed* output to only these actions (comma-separated or repeatable). The whole project still compiles; this only prunes what's printed. Each entry must be either an unambiguous bare action `` or a fully-qualified `..` target (no `*` wildcard expansion). | +| `--output-tags` | array | — | Filters the printed output to actions with any of these tags (comma-separated or repeatable). | +| `--output-include-deps` | boolean | — | Also includes upstream dependencies of the selected actions in the output. Requires `--output-actions` or `--output-tags`. | +| `--output-include-dependents` | boolean | — | Also includes downstream dependents of the selected actions in the output. Requires `--output-actions` or `--output-tags`. | +| Project-config overrides | — | — | See [Shared project-config flags](#shared-project-config-flags). | + +--- + +### `test` + +``` +dataform test [project-dir] +``` + +Compiles the project and runs its unit tests (`type: "test"` actions) against BigQuery. + +**Positional arguments** + +| Argument | Required | Description | +|---|---|---| +| `project-dir` | No (default `.`) | The Dataform project directory. | + +**Options** + +| Flag | Type | Default | Description | +|---|---|---|---| +| `--credentials` | string | `.df-credentials.json` | Path to the credentials JSON file to use. | +| `--timeout` | string | `'60s'` (`60000` ms) | Duration to allow compilation to complete, e.g. `'1s'`, `'10m'`. | +| `--json` | boolean | `false` | Outputs test results as JSON instead of human-readable text. | +| Project-config overrides | — | — | See [Shared project-config flags](#shared-project-config-flags). | + +Exits with code `1` if any test fails, if the project fails to compile, or if no unit tests are found. Exits `0` if all tests pass. + +--- + +### `run` + +``` +dataform run [project-dir] +``` + +Compiles and executes the project against BigQuery (or validates it with `--dry-run`). + +**Positional arguments** + +| Argument | Required | Description | +|---|---|---| +| `project-dir` | No (default `.`) | The Dataform project directory. | + +**Options** + +| Flag | Type | Default | Description | +|---|---|---|---| +| `--dry-run` | boolean | — | Validates the run SQL with BigQuery without applying any changes to the warehouse. | +| `--run-tests` | boolean | — | Requires the project's unit tests to pass before executing; aborts the run if any test fails. | +| `--action-retry-limit` | number | `0` | Retries idempotent actions up to this many times on failure. | +| `--actions` | array | — | Action names to run (comma-separated or repeatable). Each entry must be either an unambiguous bare action `` or a fully-qualified `..` target (note: despite the CLI help text, `*` wildcards are not expanded). | +| `--tags` | array | — | Tags to filter the actions to run (comma-separated or repeatable). | +| `--include-deps` | boolean | — | Also runs upstream dependencies of the selected actions. Requires `--actions` or `--tags`. | +| `--include-dependents` | boolean | — | Also runs downstream dependents of the selected actions. Requires `--actions` or `--tags`. | +| `--full-refresh` | boolean | `false` | Forces incremental tables (unless marked `protected`) to be rebuilt from scratch instead of updated incrementally (regular tables and views are always rebuilt). | +| `--credentials` | string | `.df-credentials.json` | Path to the credentials JSON file to use. | +| `--json` | boolean | `false` | Outputs the run result as JSON. Only supported together with `--dry-run` — plain `run --json` (without `--dry-run`) is rejected. | +| `--timeout` | string | `'60s'` (`60000` ms) | Duration to allow **compilation only** to complete, e.g. `'1s'`, `'10m'`. Does not bound execution — see `--execution-timeout`. | +| `--execution-timeout` | string | — | Wall-clock deadline for the *entire* run (compile + all actions), e.g. `'10m'`, `'2h'`. When it fires, in-flight actions are cancelled and pending actions are skipped. Off by default. | +| `--jit-timeout` | string | — | Per-model just-in-time (JiT) compilation worker timeout, e.g. `'30s'`, `'2m'`. Each action with JiT code gets its own fresh deadline, independent of `--execution-timeout`. If unset, only `--execution-timeout` bounds JiT work. | +| `--job-prefix` | string | — | Adds an additional prefix to BigQuery job IDs, in the form `dataform-${jobPrefix}-`. | +| `--job-labels` | string | — | Comma-separated `key=value` labels to attach to BigQuery jobs, e.g. `'key1=val1,key2=val2'`. | +| `--emit-lineage` | boolean | — | Emits OpenLineage `RunEvent`s to Knowledge Catalog Lineage for each executed action. Overrides the `lineage.enabled` setting in `workflow_settings.yaml` when specified. | +| Project-config overrides | — | — | See [Shared project-config flags](#shared-project-config-flags). | + +If `--timeout` is set without `--execution-timeout`, `run` prints a warning reminding you that `--timeout` only bounds compilation. + +Exit codes: `0` on success, `1` if compilation fails, unit tests fail (with `--run-tests`), the run fails, times out, or is cancelled (Ctrl+C). + +--- + +### `format` + +``` +dataform format [project-dir] +``` + +Formats `.sqlx` and `.js` files in the project using Dataform's built-in formatter. + +**Positional arguments** + +| Argument | Required | Description | +|---|---|---| +| `project-dir` | No (default `.`) | The Dataform project directory. | + +**Options** + +| Flag | Type | Default | Description | +|---|---|---|---| +| `--actions` | array | `{definitions,includes}/**/*.{js,sqlx}` | Glob pattern(s) of files to format, relative to `project-dir`. (Note: despite the shared flag name, here it means file globs, not action names.) | +| `--ignore-js-files` | boolean | `false` | If set, only formats `.sqlx` files (skips `.js` files). | +| `--check` | boolean | `false` | Checks whether files are already formatted correctly, without modifying them. Exits `1` if any file would be reformatted. | + +--- + +## Shared project-config flags + +`compile`, `test`, and `run` all accept the following flags, which override the equivalent settings in the project's `workflow_settings.yaml` for that invocation only: + +| Flag | Type | Description | +|---|---|---| +| `--default-database` | string | Overrides the default database (Google Cloud Project ID). | +| `--default-schema` | string | Overrides the default schema name. | +| `--default-location` | string | Overrides the default BigQuery location. See [supported values](https://cloud.google.com/bigquery/docs/locations). | +| `--assertion-schema` | string | Overrides the default assertion schema. | +| `--vars` | string | Injects variables as `key=value` pairs (comma-separated), referenced in code via `dataform.projectConfig.vars.someKey`. Example: `--vars=env=staging,region=eu`. | +| `--database-suffix` | string | Suffix appended to all output database names. | +| `--schema-suffix` | string | Suffix appended to all output schema names. Must contain only alphanumeric characters and/or underscores. | +| `--table-prefix` | string | Prefix added to all table names. | +| `--disable-assertions` | boolean | Disables all assertions, both built-in (`uniqueKey`, `nonNull`, `rowConditions`) and manual (`type: assertion`). Default `false`. | +| `--default-reservation` | string | The default BigQuery reservation to use for execution. | + +## Other shared flags + +These are reused by multiple commands: + +| Flag | Used by | Description | +|---|---|---| +| `--actions` | `run`, `compile` (as `--output-actions`/`--output-tags` under different names), `format` | Meaning varies by command — see each command's table above. | +| `--credentials` | `test`, `run` | Path to the credentials JSON file. Default: `.df-credentials.json`. | +| `--json` | `compile`, `test`, `run` | Requests JSON output instead of human-readable text. | +| `--timeout` | `compile`, `test`, `run` | Bounds project **compilation** time only (default `60s`). | + +## Credentials file + +`init-creds` writes a `.df-credentials.json` file (filename fixed, not configurable) into the project directory. This file stores the connection details Dataform needs to reach your warehouse: + +- **ADC-based**: `{ "projectId": ..., "location": ... }` +- **JSON-key-based**: `{ "projectId": ..., "credentials": "", "location": ... }` + +Only BigQuery is supported by `init-creds` and the bundled BigQuery adapter in this codebase. Treat `.df-credentials.json` as a secret — `dataform init` adds it to `.gitignore` automatically; never commit it. + +--- + +## Example use cases + +### First-time project setup + +```bash +dataform init my_project my-gcp-project-id US +cd my_project +dataform init-creds +dataform run +``` + +### Compiling and inspecting a project without touching the warehouse + +```bash +# Human-readable summary +dataform compile + +# Full compiled graph as JSON, e.g. to pipe into jq +dataform compile --json | jq '.tables[].target' + +# Visualize the dependency graph +dataform compile --dot > graph.dot && dot -Tpng graph.dot -o graph.png + +# Only show a subset of the graph (by unambiguous action name or full database.schema.name target) +dataform compile --output-actions=my_table --output-include-deps +dataform compile --output-actions=my-gcp-project-id.my_schema.my_table --output-include-deps +``` + +### Running unit tests before deploying changes + +```bash +dataform test +# ...or fail a run early if tests don't pass: +dataform run --run-tests +``` + +### Running only part of a pipeline + +```bash +# Run a specific table (by bare name or full database.schema.name) and anything downstream of it +dataform run --actions=my_table --include-dependents +dataform run --actions=my-gcp-project-id.my_schema.my_table --include-dependents + +# Run everything tagged "daily", including their dependencies +dataform run --tags=daily --include-deps + +# Force a full rebuild of the "my_incremental_table" incremental table +dataform run --actions=my_incremental_table --full-refresh +``` + +### Validating a run without applying changes + +```bash +dataform run --dry-run --json > dry-run-result.json +``` + +### Bounding how long a run is allowed to take + +```bash +# Compilation must finish within 30s; the whole run (compile + execute) within 15 minutes +dataform run --timeout=30s --execution-timeout=15m + +# Cap each JiT-compiled model's own compilation step at 1 minute +dataform run --execution-timeout=15m --jit-timeout=1m +``` + +### Targeting a different environment for one invocation + +```bash +dataform run \ + --default-database=my-staging-project \ + --schema-suffix=staging \ + --vars=env=staging,region=eu +``` + +### Iterating on SQLX during development + +```bash +dataform compile --watch +``` + +### Checking formatting without modifying files + +```bash +dataform format --check +``` + +### Tracking and labeling jobs from a run + +```bash +dataform run --job-prefix=nightly --job-labels=team=analytics,pipeline=nightly-etl +``` + +### Emitting lineage events for a run + +```bash +DATAFORM_LINEAGE_DEBUG=1 dataform run --emit-lineage +``` diff --git a/packages/@dataform/cli/BUILD b/packages/@dataform/cli/BUILD index 31309c581..72c1f0556 100644 --- a/packages/@dataform/cli/BUILD +++ b/packages/@dataform/cli/BUILD @@ -1,4 +1,5 @@ load("//tools:ts_library.bzl", "ts_library") +load("//tools/common:copy.bzl", "copy_file") load("//:version.bzl", "DF_VERSION") load("//packages:index.bzl", "LICENSE_HEADER", "add_license_header_to_file", "pkg_bundle", "pkg_json", "pkg_npm_tar") load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") @@ -91,11 +92,18 @@ pkg_bundle( ], ) +copy_file( + name = "readme", + src = "//cli:README.md", + out = "README.md", +) + pkg_npm_tar( name = "package", deps = [ ":bundle", ":package.json", + ":readme", ":worker_bundle", ], ) diff --git a/readme.md b/readme.md index 9c23579c4..84d3b56c8 100644 --- a/readme.md +++ b/readme.md @@ -21,7 +21,7 @@ Follow the [quickstart guide](https://cloud.google.com/dataform/docs/quickstart) ### With the CLI -You can run Dataform locally using the Dataform CLI tool, which can be installed using the following command line. Follow the [CLI guide](https://cloud.google.com/dataform/docs/use-dataform-cli) to get started. +You can run Dataform locally using the Dataform CLI tool, which can be installed using the following command line. Follow the [CLI guide](https://cloud.google.com/dataform/docs/use-dataform-cli) to get started, or see the [CLI reference](cli/README.md) for all commands and flags. ``` npm i -g @dataform/cli @@ -36,6 +36,7 @@ npm i -g @dataform/cli - Enable [scripting](https://cloud.google.com/dataform/docs/develop-workflows-js) and code re-use with a JavaScript API. - Import [pre-defined packages](https://dataform-co.github.io/dataform/docs/packages), or create your own. - View the [Dataform Core reference](https://cloud.google.com/dataform/docs/reference/dataform-core-reference). +- View the [Dataform CLI reference](cli/README.md). - View the [Dataform configs reference](https://dataform-co.github.io/dataform/docs/configs-reference). _Note: this readme can also be viewed on https://dataform-co.github.io/dataform._ From 48271fa68aa69bc797a130c5ed64d17e469a6b8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=C5=82odarczyk?= <121974187+Ford544@users.noreply.github.com> Date: Mon, 12 Oct 2026 11:53:35 +0200 Subject: [PATCH 09/27] Bazel toolchain rewrite (#2352) * Migrate from the legacy Bazel toolchain to aspect_rules * Migrate from yarn to pnpm --- .bazelrc | 1 + .gitignore | 4 - BUILD | 77 +- MODULE.bazel | 53 +- MODULE.bazel.lock | 2155 +++++++++- WORKSPACE | 29 - cli/BUILD | 101 +- cli/api/BUILD | 83 +- cli/api/commands/base_worker.ts | 9 +- cli/api/commands/compile.ts | 4 - cli/api/commands/jit/compiler.ts | 5 - cli/api/lineage/testing/BUILD | 4 +- cli/api/utils/BUILD | 8 +- cli/commands/compile_command.ts | 2 +- cli/index_test_base.ts | 14 +- cli/vm/BUILD | 68 +- cli/vm/compile.ts | 12 +- cli/vm/jit_loader.js | 18 - cli/vm/worker.ts | 15 + cli/vm/worker_loader.js | 8 + common/errors/BUILD | 16 +- common/flags/BUILD | 27 +- common/flags/testing/BUILD | 5 +- common/promises/BUILD | 18 +- common/promises/index.ts | 4 +- common/protos/BUILD | 32 +- common/strings/BUILD | 20 +- contributing.md | 12 +- core/BUILD | 36 +- core/compilation_sql/BUILD | 2 +- examples/BUILD | 19 +- examples/examples_test.ts | 3 +- package.json | 65 +- packages/@dataform/cli/BUILD | 49 +- packages/@dataform/cli/bin_loader.js | 4 + packages/@dataform/cli/worker.ts | 10 - packages/@dataform/core/BUILD | 40 +- packages/@dataform/core/webpack.config.js | 28 +- packages/BUILD | 31 +- packages/index.bzl | 117 +- packages/rollup.config.js | 57 +- packages/rollup_bundle_dts.bzl | 376 -- packages/rollup_dts.config.js | 10 +- packages/sample-extension/BUILD | 34 +- packages/sample-extension/webpack.config.js | 27 +- pnpm-lock.yaml | 3690 ++++++++++++++++ protos/BUILD | 2 - scripts/format | 5 +- scripts/lint | 7 +- scripts/publish | 14 +- scripts/run | 3 +- scripts/run_integration_tests | 4 +- scripts/run_tests | 4 +- scripts/run_tests_on_cloudbuild | 5 - sqlx/BUILD | 26 +- testing/BUILD | 52 +- testing/index.bzl | 40 +- testing/index.ts | 24 +- testing/resolver-patch.js | 44 + tests/api/BUILD | 14 +- tests/api/projects/common_v2/BUILD | 4 +- .../api/projects/invalid_dataform_json/BUILD | 4 +- .../projects/never_finishes_compiling/BUILD | 4 +- tests/integration/BUILD | 12 +- tests/integration/bigquery_project/BUILD | 4 +- .../integration/property_graph_project/BUILD | 4 +- tools/BUILD | 18 +- tools/compile_protos.js | 54 + tools/gen-package-json/BUILD | 28 - tools/registry-tools/BUILD | 6 - tools/registry-tools/switch_registry.js | 38 - tools/ts_library.bzl | 59 +- tools/ts_proto_library.bzl | 181 +- tsconfig.json | 11 +- vscode/BUILD | 29 +- yarn.lock | 3691 ----------------- 76 files changed, 6693 insertions(+), 5100 deletions(-) delete mode 100644 WORKSPACE delete mode 100644 cli/vm/jit_loader.js create mode 100644 cli/vm/worker.ts create mode 100644 cli/vm/worker_loader.js create mode 100644 packages/@dataform/cli/bin_loader.js delete mode 100644 packages/@dataform/cli/worker.ts delete mode 100644 packages/rollup_bundle_dts.bzl create mode 100644 pnpm-lock.yaml create mode 100644 testing/resolver-patch.js create mode 100644 tools/compile_protos.js delete mode 100644 tools/gen-package-json/BUILD delete mode 100644 tools/registry-tools/BUILD delete mode 100644 tools/registry-tools/switch_registry.js delete mode 100644 yarn.lock diff --git a/.bazelrc b/.bazelrc index ca2c522f0..966b96e0f 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,4 +1,5 @@ common --enable_bzlmod +common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig build --test_output=errors --action_env="GTEST_COLOR=1" diff --git a/.gitignore b/.gitignore index ed680598e..b0e011f04 100644 --- a/.gitignore +++ b/.gitignore @@ -6,8 +6,6 @@ bazel-* .vscode/ .history/ -bazel-* - **/.DS_Store **/*.orig @@ -18,6 +16,4 @@ go.sum secret.json bigquery.json -yarn-error.log - tmp/ diff --git a/BUILD b/BUILD index 3f9020806..eb5c3edfd 100644 --- a/BUILD +++ b/BUILD @@ -1,6 +1,18 @@ +load("@aspect_bazel_lib//lib:copy_to_bin.bzl", "copy_to_bin") +load("@bazel_gazelle//:def.bzl", "gazelle") +load("@npm//:defs.bzl", "npm_link_all_packages") +load("@npm//:eslint/package_json.bzl", eslint_bin = "bin") +load("@npm//:prettier/package_json.bzl", prettier_bin = "bin") + package(default_visibility = ["//visibility:public"]) -load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") +npm_link_all_packages(name = "node_modules") + +copy_to_bin( + name = "tsconfig", + srcs = ["tsconfig.json"], + visibility = ["//visibility:public"], +) exports_files([ "tsconfig.json", @@ -9,61 +21,26 @@ exports_files([ "version.bzl", ]) -PROTOBUF_DEPS = [ - "@npm//protobufjs", - "@npm//protobufjs-cli", - # these deps are needed even though they are not automatic transitive deps of - # protobufjs since if they are not in the runfiles then protobufjs attempts to - # run `npm install` at runtime to get thhem which fails as it tries to access - # the npm cache outside of the sandbox - "@npm//semver", - "@npm//chalk", - "@npm//glob", - "@npm//jsdoc", - "@npm//minimist", - "@npm//tmp", - "@npm//uglify-js", - "@npm//uglify-es", - "@npm//espree", - "@npm//escodegen", - "@npm//estraverse", -] - -nodejs_binary( - name = "pbjs", - data = PROTOBUF_DEPS, - entry_point = "@npm//:node_modules/protobufjs-cli/bin/pbjs", -) - -nodejs_binary( - name = "pbts", - data = PROTOBUF_DEPS, - entry_point = "@npm//:node_modules/protobufjs-cli/bin/pbts", -) - -nodejs_binary( +eslint_bin.eslint_binary( name = "eslint", + chdir = "$$BUILD_WORKSPACE_DIRECTORY", data = [ - "eslint.config.js", - "@npm//@typescript-eslint/parser", - "@npm//eslint", - ] + glob(["eslint-rules/**"]), - entry_point = "@npm//:node_modules/eslint/bin/eslint.js", + "//testing:resolver-patch", + "//:node_modules/@typescript-eslint/parser", + ], + node_options = [ + "--require=./testing/resolver-patch.js", + ], + visibility = ["//visibility:public"], ) -load("@bazel_gazelle//:def.bzl", "gazelle") +prettier_bin.prettier_binary( + name = "prettier", + chdir = "$$BUILD_WORKSPACE_DIRECTORY", + visibility = ["//visibility:public"], +) # gazelle:prefix github.com/dataform-co/dataform # gazelle:proto package # gazelle:proto_group go_package gazelle(name = "gazelle") - -load("//tools:ts_library.bzl", "ts_library") - -# TODO: This is only here in order to workaround a bug in the way bazel resolves -# workspace imports when in nested repositories, and can be removed once that is fixed. -ts_library( - name = "modules-fix", - srcs = [], - module_name = "df", -) diff --git a/MODULE.bazel b/MODULE.bazel index cc4c7af5b..36b447394 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -3,17 +3,58 @@ module( version = "1.0.0", ) -# 1. bazel_skylib +# Core Aspect Build Rules +bazel_dep(name = "aspect_rules_js", version = "2.0.1") +bazel_dep(name = "aspect_rules_ts", version = "3.0.0") +bazel_dep(name = "aspect_rules_webpack", version = "0.16.0") +bazel_dep(name = "aspect_rules_rollup", version = "2.0.0") +bazel_dep(name = "aspect_bazel_lib", version = "2.7.7") + +# Node.js Toolchain Configuration +bazel_dep(name = "rules_nodejs", version = "6.7.6") +bazel_dep(name = "platforms", version = "0.0.10") + +node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node") +node.toolchain(node_version = "24.13.0") +use_repo( + node, + "nodejs", + "nodejs_darwin_amd64", + "nodejs_darwin_arm64", + "nodejs_linux_amd64", + "nodejs_linux_arm64", + "nodejs_windows_amd64", +) + +# NPM Lock File Translation to Bzlmod Package Trees +npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True) +npm.npm_translate_lock( + name = "npm", + pnpm_lock = "//:pnpm-lock.yaml", + use_home_npmrc = True, +) +use_repo(npm, "npm") + +pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm") +pnpm.pnpm(pnpm_version = "8.15.9") +use_repo(pnpm, "pnpm") + +# TODO: make sure the TS version here is alinged with package.json (@npm//:typescript/resolved.json) +# once it's updated there +rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext") +rules_ts_ext.deps(ts_version = "5.5.4") +use_repo(rules_ts_ext, "npm_typescript") + +# bazel_skylib bazel_dep(name = "bazel_skylib", version = "1.7.1") -# 2. com_google_protobuf +# com_google_protobuf bazel_dep(name = "protobuf", version = "27.3", repo_name = "com_google_protobuf") - -# 4. rules_go +# rules_go bazel_dep(name = "rules_go", version = "0.49.0", repo_name = "io_bazel_rules_go") -# 5. bazel_gazelle +# bazel_gazelle bazel_dep(name = "gazelle", version = "0.37.0", repo_name = "bazel_gazelle") # Go dependencies via Gazelle's go_deps extension @@ -40,6 +81,6 @@ use_repo( "org_golang_x_text", ) -# 6. Custom gcloud SDK extension +# Custom gcloud SDK extension gcloud_sdk_ext = use_extension("//tools/gcloud:extensions.bzl", "gcloud_sdk_extension") use_repo(gcloud_sdk_ext, "gcloud_sdk") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index b14d15b88..4c429b067 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -9,12 +9,29 @@ "https://bcr.bazel.build/modules/abseil-cpp/20230802.0.bcr.1/source.json": "14892cc698e02ffedf4967546e6bedb7245015906888d3465fcf27c90a26da10", "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel": "50341a62efbc483e8a2a6aec30994a58749bd7b885e18dd96aa8c33031e558ef", "https://bcr.bazel.build/modules/apple_support/1.5.0/source.json": "eb98a7627c0bc486b57f598ad8da50f6625d974c8f723e9ea71bd39f709c9862", + "https://bcr.bazel.build/modules/aspect_bazel_lib/2.7.7/MODULE.bazel": "491f8681205e31bb57892d67442ce448cda4f472a8e6b3dc062865e29a64f89c", + "https://bcr.bazel.build/modules/aspect_bazel_lib/2.7.7/source.json": "87f12b449cd1d27d3e83840a59a6966d557e7c3c5f19e7b2e0361da5edc6b397", + "https://bcr.bazel.build/modules/aspect_rules_js/2.0.0/MODULE.bazel": "b45b507574aa60a92796e3e13c195cd5744b3b8aff516a9c0cb5ae6a048161c5", + "https://bcr.bazel.build/modules/aspect_rules_js/2.0.1/MODULE.bazel": "a09d32aa997ad899fcd88dc6e629188f03351994f0698bc32a9979c5bcfd5c31", + "https://bcr.bazel.build/modules/aspect_rules_js/2.0.1/source.json": "62bda0d34f3817af165d1903b890ecbf6e50d652492f8bb83682636e997b5619", + "https://bcr.bazel.build/modules/aspect_rules_rollup/2.0.0/MODULE.bazel": "314e883f0584036a97c6d55d9843e344c5cfdcac6477aac3e1e816b6337788b9", + "https://bcr.bazel.build/modules/aspect_rules_rollup/2.0.0/source.json": "ee54a32a7c4792581371f5cdcda74083be32dedecd90692d2f59691e2c454dac", + "https://bcr.bazel.build/modules/aspect_rules_ts/3.0.0/MODULE.bazel": "0e7ac8ff86454e4f7564242b66c27401b384798400170474bef5554087a256ec", + "https://bcr.bazel.build/modules/aspect_rules_ts/3.0.0/source.json": "077e4dd4b3e8cf2332bc4604a34a64442ab09c96373420f4eadb0fd56a8d4b0e", + "https://bcr.bazel.build/modules/aspect_rules_webpack/0.16.0/MODULE.bazel": "b6df9c0bc3d39e98e970751b9c8a5cfe12105a89d9a88160fc78a83cda6f7640", + "https://bcr.bazel.build/modules/aspect_rules_webpack/0.16.0/source.json": "e6010a0b6c2d41d1763026794d45d107e23bfc44ad2603343ef60bb6f96d96c4", "https://bcr.bazel.build/modules/bazel_features/1.1.0/MODULE.bazel": "cfd42ff3b815a5f39554d97182657f8c4b9719568eb7fded2b9135f084bf760b", "https://bcr.bazel.build/modules/bazel_features/1.1.1/MODULE.bazel": "27b8c79ef57efe08efccbd9dd6ef70d61b4798320b8d3c134fd571f78963dbcd", "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", - "https://bcr.bazel.build/modules/bazel_features/1.11.0/source.json": "c9320aa53cd1c441d24bd6b716da087ad7e4ff0d9742a9884587596edfe53015", + "https://bcr.bazel.build/modules/bazel_features/1.18.0/MODULE.bazel": "1be0ae2557ab3a72a57aeb31b29be347bcdc5d2b1eb1e70f39e3851a7e97041a", + "https://bcr.bazel.build/modules/bazel_features/1.28.0/MODULE.bazel": "4b4200e6cbf8fa335b2c3f43e1d6ef3e240319c33d43d60cc0fbd4b87ece299d", + "https://bcr.bazel.build/modules/bazel_features/1.39.0/MODULE.bazel": "28739425c1fc283c91931619749c832b555e60bcd1010b40d8441ce0a5cf726d", + "https://bcr.bazel.build/modules/bazel_features/1.39.0/source.json": "f63cbeb4c602098484d57001e5a07d31cb02bbccde9b5e2c9bf0b29d05283e93", "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", + "https://bcr.bazel.build/modules/bazel_features/1.9.0/MODULE.bazel": "885151d58d90d8d9c811eb75e3288c11f850e1d6b481a8c9f766adee4712358b", "https://bcr.bazel.build/modules/bazel_features/1.9.1/MODULE.bazel": "8f679097876a9b609ad1f60249c49d68bfab783dd9be012faf9d82547b14815a", + "https://bcr.bazel.build/modules/bazel_lib/3.0.0/MODULE.bazel": "22b70b80ac89ad3f3772526cd9feee2fa412c2b01933fea7ed13238a448d370d", + "https://bcr.bazel.build/modules/bazel_lib/3.0.0/source.json": "895f21909c6fba01d7c17914bb6c8e135982275a1b18cdaa4e62272217ef1751", "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", "https://bcr.bazel.build/modules/bazel_skylib/1.2.0/MODULE.bazel": "44fe84260e454ed94ad326352a698422dbe372b21a1ac9f3eab76eb531223686", "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", @@ -23,7 +40,8 @@ "https://bcr.bazel.build/modules/bazel_skylib/1.5.0/MODULE.bazel": "32880f5e2945ce6a03d1fbd588e9198c0a959bb42297b2cfaf1685b7bc32e138", "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", - "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", + "https://bcr.bazel.build/modules/bazel_skylib/1.8.1/MODULE.bazel": "88ade7293becda963e0e3ea33e7d54d3425127e0a326e0d17da085a5f1f03ff6", + "https://bcr.bazel.build/modules/bazel_skylib/1.8.1/source.json": "7ebaefba0b03efe59cac88ed5bbc67bcf59a3eff33af937345ede2a38b2d368a", "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", "https://bcr.bazel.build/modules/gazelle/0.32.0/MODULE.bazel": "b499f58a5d0d3537f3cf5b76d8ada18242f64ec474d8391247438bf04f58c7b8", @@ -38,14 +56,16 @@ "https://bcr.bazel.build/modules/jsoncpp/1.9.5/MODULE.bazel": "31271aedc59e815656f5736f282bb7509a97c7ecb43e927ac1a37966e0578075", "https://bcr.bazel.build/modules/jsoncpp/1.9.5/source.json": "4108ee5085dd2885a341c7fab149429db457b3169b86eb081fa245eadf69169d", "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", - "https://bcr.bazel.build/modules/platforms/0.0.10/source.json": "f22828ff4cf021a6b577f1bf6341cb9dcd7965092a439f64fc1bb3b7a5ae4bd5", "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d", "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc", + "https://bcr.bazel.build/modules/platforms/1.0.0/MODULE.bazel": "f05feb42b48f1b3c225e4ccf351f367be0371411a803198ec34a389fb22aa580", + "https://bcr.bazel.build/modules/platforms/1.0.0/source.json": "f4ff1fd412e0246fd38c82328eb209130ead81d62dcd5a9e40910f867f733d96", "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", + "https://bcr.bazel.build/modules/protobuf/27.0/MODULE.bazel": "7873b60be88844a0a1d8f80b9d5d20cfbd8495a689b8763e76c6372998d3f64c", "https://bcr.bazel.build/modules/protobuf/27.3/MODULE.bazel": "d94898cbf9d6d25c0edca2521211413506b68a109a6b01776832ed25154d23d7", "https://bcr.bazel.build/modules/protobuf/27.3/source.json": "d6fdc641a99c600df6eb0fa5b99879ca497dbcf6fd1287372576a83f82dd93b6", "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", @@ -56,7 +76,8 @@ "https://bcr.bazel.build/modules/rules_cc/0.0.6/MODULE.bazel": "abf360251023dfe3efcef65ab9d56beefa8394d4176dd29529750e1c57eaa33f", "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", - "https://bcr.bazel.build/modules/rules_cc/0.0.9/source.json": "1f1ba6fea244b616de4a554a0f4983c91a9301640c8fe0dd1d410254115c8430", + "https://bcr.bazel.build/modules/rules_cc/0.2.16/MODULE.bazel": "9242fa89f950c6ef7702801ab53922e99c69b02310c39fb6e62b2bd30df2a1d4", + "https://bcr.bazel.build/modules/rules_cc/0.2.16/source.json": "d03d5cde49376d87e14ec14b666c56075e5e3926930327fd5d0484a1ff2ac1cc", "https://bcr.bazel.build/modules/rules_go/0.41.0/MODULE.bazel": "55861d8e8bb0e62cbd2896f60ff303f62ffcb0eddb74ecb0e5c0cbe36fc292c8", "https://bcr.bazel.build/modules/rules_go/0.42.0/MODULE.bazel": "8cfa875b9aa8c6fce2b2e5925e73c1388173ea3c32a0db4d2b4804b453c14270", "https://bcr.bazel.build/modules/rules_go/0.46.0/MODULE.bazel": "3477df8bdcc49e698b9d25f734c4f3a9f5931ff34ee48a2c662be168f5f2d3fd", @@ -71,7 +92,11 @@ "https://bcr.bazel.build/modules/rules_jvm_external/5.1/source.json": "5abb45cc9beb27b77aec6a65a11855ef2b55d95dfdc358e9f312b78ae0ba32d5", "https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0", "https://bcr.bazel.build/modules/rules_license/0.0.7/MODULE.bazel": "088fbeb0b6a419005b89cf93fe62d9517c0a2b8bb56af3244af65ecfe37e7d5d", - "https://bcr.bazel.build/modules/rules_license/0.0.7/source.json": "355cc5737a0f294e560d52b1b7a6492d4fff2caf0bef1a315df5a298fca2d34a", + "https://bcr.bazel.build/modules/rules_license/1.0.0/MODULE.bazel": "a7fda60eefdf3d8c827262ba499957e4df06f659330bbe6cdbdb975b768bb65c", + "https://bcr.bazel.build/modules/rules_license/1.0.0/source.json": "a52c89e54cc311196e478f8382df91c15f7a2bfdf4c6cd0e2675cc2ff0b56efb", + "https://bcr.bazel.build/modules/rules_nodejs/6.2.0/MODULE.bazel": "ec27907f55eb34705adb4e8257952162a2d4c3ed0f0b3b4c3c1aad1fac7be35e", + "https://bcr.bazel.build/modules/rules_nodejs/6.7.6/MODULE.bazel": "45f203b9c0d721bcb1a5932815f218091fa2169cede2af3d88a8a17a4fb7676a", + "https://bcr.bazel.build/modules/rules_nodejs/6.7.6/source.json": "ad9987b7979be1ce93d10ffee9b6af4f84f8835cbc7def27937d632da2e4750e", "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", "https://bcr.bazel.build/modules/rules_pkg/0.7.0/source.json": "c2557066e0c0342223ba592510ad3d812d4963b9024831f7f66fd0584dd8c66c", "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", @@ -82,9 +107,12 @@ "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel": "26114f0c0b5e93018c0c066d6673f1a2c3737c7e90af95eff30cfee38d0bbac7", "https://bcr.bazel.build/modules/rules_python/0.22.1/source.json": "57226905e783bae7c37c2dd662be078728e48fa28ee4324a7eabcafb5a43d014", "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", + "https://bcr.bazel.build/modules/rules_shell/0.4.1/MODULE.bazel": "00e501db01bbf4e3e1dd1595959092c2fadf2087b2852d3f553b5370f5633592", + "https://bcr.bazel.build/modules/rules_shell/0.4.1/source.json": "4757bd277fe1567763991c4425b483477bb82e35e777a56fd846eb5cceda324a", "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", - "https://bcr.bazel.build/modules/stardoc/0.5.3/source.json": "cd53fe968dc8cd98197c052db3db6d82562960c87b61e7a90ee96f8e4e0dda97", + "https://bcr.bazel.build/modules/stardoc/0.5.4/MODULE.bazel": "6569966df04610b8520957cb8e97cf2e9faac2c0309657c537ab51c16c18a2a4", + "https://bcr.bazel.build/modules/stardoc/0.5.4/source.json": "a961f58a71e735aa9dcb2d79b288e06b0a2d860ba730302c8f11be411b76631e", "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43", "https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0", "https://bcr.bazel.build/modules/zlib/1.2.12/MODULE.bazel": "3b1a8834ada2a883674be8cbd36ede1b6ec481477ada359cd2d3ddc562340b27", @@ -138,21 +166,2122 @@ ] } }, - "@@platforms//host:extension.bzl%host_platform": { + "@@aspect_bazel_lib~//lib:extensions.bzl%toolchains": { "general": { - "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", - "usagesDigest": "V1R2Y2oMxKNfx2WCWpSCaUV1WefW1o8HZGm3v1vHgY4=", + "bzlTransitiveDigest": "3KydN9M+cGcn8Huu/umxX7Vk08sXz5lJeUxg/b0Gxjc=", + "usagesDigest": "Cfe43UxnexwXh6eindVSVzskoYyQKVcN0d7Q5GURnP8=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, "generatedRepoSpecs": { - "host_platform": { - "bzlFile": "@@platforms//host:extension.bzl", - "ruleClassName": "host_platform_repo", + "expand_template_windows_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:expand_template_toolchain.bzl", + "ruleClassName": "expand_template_platform_repo", + "attributes": { + "platform": "windows_amd64" + } + }, + "copy_to_directory_windows_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_to_directory_toolchain.bzl", + "ruleClassName": "copy_to_directory_platform_repo", + "attributes": { + "platform": "windows_amd64" + } + }, + "jq_darwin_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:jq_toolchain.bzl", + "ruleClassName": "jq_platform_repo", + "attributes": { + "platform": "darwin_amd64", + "version": "1.7" + } + }, + "copy_to_directory_freebsd_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_to_directory_toolchain.bzl", + "ruleClassName": "copy_to_directory_platform_repo", + "attributes": { + "platform": "freebsd_amd64" + } + }, + "expand_template_linux_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:expand_template_toolchain.bzl", + "ruleClassName": "expand_template_platform_repo", + "attributes": { + "platform": "linux_amd64" + } + }, + "jq_linux_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:jq_toolchain.bzl", + "ruleClassName": "jq_platform_repo", + "attributes": { + "platform": "linux_arm64", + "version": "1.7" + } + }, + "coreutils_darwin_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:coreutils_toolchain.bzl", + "ruleClassName": "coreutils_platform_repo", + "attributes": { + "platform": "darwin_arm64", + "version": "0.0.26" + } + }, + "copy_to_directory_linux_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_to_directory_toolchain.bzl", + "ruleClassName": "copy_to_directory_platform_repo", + "attributes": { + "platform": "linux_arm64" + } + }, + "bsd_tar_linux_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:tar_toolchain.bzl", + "ruleClassName": "bsdtar_binary_repo", + "attributes": { + "platform": "linux_arm64" + } + }, + "copy_directory_darwin_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_directory_toolchain.bzl", + "ruleClassName": "copy_directory_platform_repo", + "attributes": { + "platform": "darwin_amd64" + } + }, + "coreutils_darwin_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:coreutils_toolchain.bzl", + "ruleClassName": "coreutils_platform_repo", + "attributes": { + "platform": "darwin_amd64", + "version": "0.0.26" + } + }, + "coreutils_linux_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:coreutils_toolchain.bzl", + "ruleClassName": "coreutils_platform_repo", + "attributes": { + "platform": "linux_arm64", + "version": "0.0.26" + } + }, + "zstd_linux_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:zstd_toolchain.bzl", + "ruleClassName": "zstd_binary_repo", + "attributes": { + "platform": "linux_arm64" + } + }, + "yq_linux_s390x": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:yq_toolchain.bzl", + "ruleClassName": "yq_platform_repo", + "attributes": { + "platform": "linux_s390x", + "version": "4.25.2" + } + }, + "yq": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:yq_toolchain.bzl", + "ruleClassName": "yq_host_alias_repo", "attributes": {} + }, + "expand_template_darwin_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:expand_template_toolchain.bzl", + "ruleClassName": "expand_template_platform_repo", + "attributes": { + "platform": "darwin_amd64" + } + }, + "copy_directory_linux_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_directory_toolchain.bzl", + "ruleClassName": "copy_directory_platform_repo", + "attributes": { + "platform": "linux_amd64" + } + }, + "jq_darwin_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:jq_toolchain.bzl", + "ruleClassName": "jq_platform_repo", + "attributes": { + "platform": "darwin_arm64", + "version": "1.7" + } + }, + "yq_darwin_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:yq_toolchain.bzl", + "ruleClassName": "yq_platform_repo", + "attributes": { + "platform": "darwin_amd64", + "version": "4.25.2" + } + }, + "copy_directory_linux_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_directory_toolchain.bzl", + "ruleClassName": "copy_directory_platform_repo", + "attributes": { + "platform": "linux_arm64" + } + }, + "expand_template_toolchains": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:expand_template_toolchain.bzl", + "ruleClassName": "expand_template_toolchains_repo", + "attributes": { + "user_repository_name": "expand_template" + } + }, + "bats_assert": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "98ca3b685f8b8993e48ec057565e6e2abcc541034ed5b0e81f191505682037fd", + "urls": [ + "https://github.com/bats-core/bats-assert/archive/v2.1.0.tar.gz" + ], + "strip_prefix": "bats-assert-2.1.0", + "build_file_content": "load(\"@aspect_bazel_lib//lib:copy_to_directory.bzl\", \"copy_to_directory\")\n\ncopy_to_directory(\n name = \"assert\",\n hardlink = \"on\",\n srcs = glob([\n \"src/**\",\n \"load.bash\",\n ]),\n out = \"bats-assert\",\n visibility = [\"//visibility:public\"]\n)\n" + } + }, + "copy_to_directory_darwin_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_to_directory_toolchain.bzl", + "ruleClassName": "copy_to_directory_platform_repo", + "attributes": { + "platform": "darwin_amd64" + } + }, + "zstd_darwin_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:zstd_toolchain.bzl", + "ruleClassName": "zstd_binary_repo", + "attributes": { + "platform": "darwin_arm64" + } + }, + "bsd_tar_linux_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:tar_toolchain.bzl", + "ruleClassName": "bsdtar_binary_repo", + "attributes": { + "platform": "linux_amd64" + } + }, + "yq_toolchains": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:yq_toolchain.bzl", + "ruleClassName": "yq_toolchains_repo", + "attributes": { + "user_repository_name": "yq" + } + }, + "zstd_linux_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:zstd_toolchain.bzl", + "ruleClassName": "zstd_binary_repo", + "attributes": { + "platform": "linux_amd64" + } + }, + "bats_support": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "7815237aafeb42ddcc1b8c698fc5808026d33317d8701d5ec2396e9634e2918f", + "urls": [ + "https://github.com/bats-core/bats-support/archive/v0.3.0.tar.gz" + ], + "strip_prefix": "bats-support-0.3.0", + "build_file_content": "load(\"@aspect_bazel_lib//lib:copy_to_directory.bzl\", \"copy_to_directory\")\n\ncopy_to_directory(\n name = \"support\",\n hardlink = \"on\",\n srcs = glob([\n \"src/**\",\n \"load.bash\",\n ]),\n out = \"bats-support\",\n visibility = [\"//visibility:public\"]\n)\n" + } + }, + "bsd_tar_windows_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:tar_toolchain.bzl", + "ruleClassName": "bsdtar_binary_repo", + "attributes": { + "platform": "windows_amd64" + } + }, + "jq": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:jq_toolchain.bzl", + "ruleClassName": "jq_host_alias_repo", + "attributes": {} + }, + "expand_template_darwin_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:expand_template_toolchain.bzl", + "ruleClassName": "expand_template_platform_repo", + "attributes": { + "platform": "darwin_arm64" + } + }, + "bsd_tar_darwin_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:tar_toolchain.bzl", + "ruleClassName": "bsdtar_binary_repo", + "attributes": { + "platform": "darwin_arm64" + } + }, + "copy_to_directory_linux_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_to_directory_toolchain.bzl", + "ruleClassName": "copy_to_directory_platform_repo", + "attributes": { + "platform": "linux_amd64" + } + }, + "coreutils_linux_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:coreutils_toolchain.bzl", + "ruleClassName": "coreutils_platform_repo", + "attributes": { + "platform": "linux_amd64", + "version": "0.0.26" + } + }, + "copy_directory_toolchains": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_directory_toolchain.bzl", + "ruleClassName": "copy_directory_toolchains_repo", + "attributes": { + "user_repository_name": "copy_directory" + } + }, + "yq_linux_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:yq_toolchain.bzl", + "ruleClassName": "yq_platform_repo", + "attributes": { + "platform": "linux_amd64", + "version": "4.25.2" + } + }, + "copy_to_directory_darwin_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_to_directory_toolchain.bzl", + "ruleClassName": "copy_to_directory_platform_repo", + "attributes": { + "platform": "darwin_arm64" + } + }, + "coreutils_toolchains": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:coreutils_toolchain.bzl", + "ruleClassName": "coreutils_toolchains_repo", + "attributes": { + "user_repository_name": "coreutils" + } + }, + "copy_directory_freebsd_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_directory_toolchain.bzl", + "ruleClassName": "copy_directory_platform_repo", + "attributes": { + "platform": "freebsd_amd64" + } + }, + "zstd_darwin_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:zstd_toolchain.bzl", + "ruleClassName": "zstd_binary_repo", + "attributes": { + "platform": "darwin_amd64" + } + }, + "zstd_toolchains": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:zstd_toolchain.bzl", + "ruleClassName": "zstd_toolchains_repo", + "attributes": { + "user_repository_name": "zstd" + } + }, + "bats_file": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "9b69043241f3af1c2d251f89b4fcafa5df3f05e97b89db18d7c9bdf5731bb27a", + "urls": [ + "https://github.com/bats-core/bats-file/archive/v0.4.0.tar.gz" + ], + "strip_prefix": "bats-file-0.4.0", + "build_file_content": "load(\"@aspect_bazel_lib//lib:copy_to_directory.bzl\", \"copy_to_directory\")\n\ncopy_to_directory(\n name = \"file\",\n hardlink = \"on\",\n srcs = glob([\n \"src/**\",\n \"load.bash\",\n ]),\n out = \"bats-file\",\n visibility = [\"//visibility:public\"]\n)\n" + } + }, + "expand_template_linux_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:expand_template_toolchain.bzl", + "ruleClassName": "expand_template_platform_repo", + "attributes": { + "platform": "linux_arm64" + } + }, + "jq_linux_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:jq_toolchain.bzl", + "ruleClassName": "jq_platform_repo", + "attributes": { + "platform": "linux_amd64", + "version": "1.7" + } + }, + "bsd_tar_darwin_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:tar_toolchain.bzl", + "ruleClassName": "bsdtar_binary_repo", + "attributes": { + "platform": "darwin_amd64" + } + }, + "bsd_tar_toolchains": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:tar_toolchain.bzl", + "ruleClassName": "tar_toolchains_repo", + "attributes": { + "user_repository_name": "bsd_tar" + } + }, + "bats_toolchains": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "a1a9f7875aa4b6a9480ca384d5865f1ccf1b0b1faead6b47aa47d79709a5c5fd", + "urls": [ + "https://github.com/bats-core/bats-core/archive/v1.10.0.tar.gz" + ], + "strip_prefix": "bats-core-1.10.0", + "build_file_content": "load(\"@local_config_platform//:constraints.bzl\", \"HOST_CONSTRAINTS\")\nload(\"@aspect_bazel_lib//lib/private:bats_toolchain.bzl\", \"bats_toolchain\")\nload(\"@aspect_bazel_lib//lib:copy_to_directory.bzl\", \"copy_to_directory\")\n\ncopy_to_directory(\n name = \"core\",\n hardlink = \"on\",\n srcs = glob([\n \"lib/**\",\n \"libexec/**\"\n ]) + [\"bin/bats\"],\n out = \"bats-core\",\n)\n\nbats_toolchain(\n name = \"toolchain\",\n core = \":core\",\n libraries = [\"@bats_support//:support\", \"@bats_assert//:assert\", \"@bats_file//:file\"]\n)\n\ntoolchain(\n name = \"bats_toolchain\",\n exec_compatible_with = HOST_CONSTRAINTS,\n toolchain = \":toolchain\",\n toolchain_type = \"@aspect_bazel_lib//lib:bats_toolchain_type\",\n)\n" + } + }, + "yq_windows_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:yq_toolchain.bzl", + "ruleClassName": "yq_platform_repo", + "attributes": { + "platform": "windows_amd64", + "version": "4.25.2" + } + }, + "jq_windows_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:jq_toolchain.bzl", + "ruleClassName": "jq_platform_repo", + "attributes": { + "platform": "windows_amd64", + "version": "1.7" + } + }, + "expand_template_freebsd_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:expand_template_toolchain.bzl", + "ruleClassName": "expand_template_platform_repo", + "attributes": { + "platform": "freebsd_amd64" + } + }, + "yq_linux_ppc64le": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:yq_toolchain.bzl", + "ruleClassName": "yq_platform_repo", + "attributes": { + "platform": "linux_ppc64le", + "version": "4.25.2" + } + }, + "copy_to_directory_toolchains": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_to_directory_toolchain.bzl", + "ruleClassName": "copy_to_directory_toolchains_repo", + "attributes": { + "user_repository_name": "copy_to_directory" + } + }, + "jq_toolchains": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:jq_toolchain.bzl", + "ruleClassName": "jq_toolchains_repo", + "attributes": { + "user_repository_name": "jq" + } + }, + "copy_directory_darwin_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_directory_toolchain.bzl", + "ruleClassName": "copy_directory_platform_repo", + "attributes": { + "platform": "darwin_arm64" + } + }, + "copy_directory_windows_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:copy_directory_toolchain.bzl", + "ruleClassName": "copy_directory_platform_repo", + "attributes": { + "platform": "windows_amd64" + } + }, + "yq_darwin_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:yq_toolchain.bzl", + "ruleClassName": "yq_platform_repo", + "attributes": { + "platform": "darwin_arm64", + "version": "4.25.2" + } + }, + "coreutils_windows_amd64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:coreutils_toolchain.bzl", + "ruleClassName": "coreutils_platform_repo", + "attributes": { + "platform": "windows_amd64", + "version": "0.0.26" + } + }, + "yq_linux_arm64": { + "bzlFile": "@@aspect_bazel_lib~//lib/private:yq_toolchain.bzl", + "ruleClassName": "yq_platform_repo", + "attributes": { + "platform": "linux_arm64", + "version": "4.25.2" + } } }, - "recordedRepoMappingEntries": [] + "recordedRepoMappingEntries": [ + [ + "aspect_bazel_lib~", + "aspect_bazel_lib", + "aspect_bazel_lib~" + ], + [ + "aspect_bazel_lib~", + "bazel_skylib", + "bazel_skylib~" + ], + [ + "aspect_bazel_lib~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@aspect_rules_js~//npm:extensions.bzl%pnpm": { + "general": { + "bzlTransitiveDigest": "iWpzFILPmnP15Ha0YiJe7/RJYiK+HrX5Hopk4QUZyFI=", + "usagesDigest": "1ifri1dQ7pR5jWOV+MO3qrBffm2QZ31MGvT6hIoQK+I=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "pnpm__links": { + "bzlFile": "@@aspect_rules_js~//npm/private:npm_import.bzl", + "ruleClassName": "npm_import_links", + "attributes": { + "package": "pnpm", + "version": "8.15.9", + "dev": false, + "root_package": "", + "link_packages": {}, + "deps": {}, + "transitive_closure": {}, + "lifecycle_build_target": false, + "lifecycle_hooks_env": [], + "lifecycle_hooks_execution_requirements": [ + "no-sandbox" + ], + "lifecycle_hooks_use_default_shell_env": false, + "bins": {}, + "package_visibility": [ + "//visibility:public" + ], + "replace_package": "" + } + }, + "pnpm": { + "bzlFile": "@@aspect_rules_js~//npm/private:npm_import.bzl", + "ruleClassName": "npm_import_rule", + "attributes": { + "package": "pnpm", + "version": "8.15.9", + "root_package": "", + "link_workspace": "", + "link_packages": {}, + "integrity": "sha512-SZQ0ydj90aJ5Tr9FUrOyXApjOrzuW7Fee13pDzL0e1E6ypjNXP0AHDHw20VLw4BO3M1XhQHkyik6aBYWa72fgQ==", + "url": "", + "commit": "", + "patch_args": [ + "-p0" + ], + "patches": [], + "custom_postinstall": "", + "npm_auth": "", + "npm_auth_basic": "", + "npm_auth_username": "", + "npm_auth_password": "", + "lifecycle_hooks": [], + "extra_build_content": "load(\"@aspect_rules_js//js:defs.bzl\", \"js_binary\")\njs_binary(name = \"pnpm\", data = glob([\"package/**\"]), entry_point = \"package/dist/pnpm.cjs\", visibility = [\"//visibility:public\"])", + "generate_bzl_library_targets": false, + "extract_full_archive": true, + "system_tar": "auto" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "aspect_bazel_lib~", + "bazel_skylib", + "bazel_skylib~" + ], + [ + "aspect_bazel_lib~", + "bazel_tools", + "bazel_tools" + ], + [ + "aspect_rules_js~", + "aspect_bazel_lib", + "aspect_bazel_lib~" + ], + [ + "aspect_rules_js~", + "bazel_features", + "bazel_features~" + ], + [ + "aspect_rules_js~", + "bazel_skylib", + "bazel_skylib~" + ], + [ + "aspect_rules_js~", + "bazel_tools", + "bazel_tools" + ], + [ + "bazel_features~", + "bazel_features_globals", + "bazel_features~~version_extension~bazel_features_globals" + ], + [ + "bazel_features~", + "bazel_features_version", + "bazel_features~~version_extension~bazel_features_version" + ] + ] + } + }, + "@@aspect_rules_ts~//ts:extensions.bzl%ext": { + "general": { + "bzlTransitiveDigest": "oKcu5tBbtSfUDhUlzslFb7VqeJo83CbHK95dXgz/1F0=", + "usagesDigest": "CUBMmbsuViyAVZVMkOx0OsD0zFXvIS7qHelONWk74s0=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "npm_typescript": { + "bzlFile": "@@aspect_rules_ts~//ts/private:npm_repositories.bzl", + "ruleClassName": "http_archive_version", + "attributes": { + "bzlmod": true, + "version": "5.5.4", + "integrity": "", + "build_file": "@@aspect_rules_ts~//ts:BUILD.typescript", + "build_file_substitutions": { + "bazel_worker_version": "5.4.2", + "google_protobuf_version": "3.20.1" + }, + "urls": [ + "https://registry.npmjs.org/typescript/-/typescript-{}.tgz" + ] + } + } + }, + "recordedRepoMappingEntries": [ + [ + "aspect_rules_ts~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@rules_jvm_external~//:extensions.bzl%maven": { + "general": { + "bzlTransitiveDigest": "4ijz6uc3T4E+d+U8LQv4EAt+8OqZNVY/lzvhLx3y1yg=", + "usagesDigest": "OjLvK9v56sSYg9fWBGDp03uaz8IwSP9Vg23Iv73BRdY=", + "recordedFileInputs": { + "@@rules_jvm_external~//rules_jvm_external_deps_install.json": "3ab1f67b0de4815df110bc72ccd6c77882b3b21d3d1e0a84445847b6ce3235a3" + }, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "org_slf4j_slf4j_api_1_7_30": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "cdba07964d1bb40a0761485c6b1e8c2f8fd9eb1d19c53928ac0d7f9510105c57", + "urls": [ + "https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar", + "https://maven.google.com/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar" + ], + "downloaded_file_path": "org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar" + } + }, + "com_google_api_grpc_proto_google_common_protos_2_0_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "5ce71656118618731e34a5d4c61aa3a031be23446dc7de8b5a5e77b66ebcd6ef", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/grpc/proto-google-common-protos/2.0.1/proto-google-common-protos-2.0.1.jar", + "https://maven.google.com/com/google/api/grpc/proto-google-common-protos/2.0.1/proto-google-common-protos-2.0.1.jar" + ], + "downloaded_file_path": "com/google/api/grpc/proto-google-common-protos/2.0.1/proto-google-common-protos-2.0.1.jar" + } + }, + "com_google_api_gax_1_60_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "02f37d4ff1a7b8d71dff8064cf9568aa4f4b61bcc4485085d16130f32afa5a79", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/gax/1.60.0/gax-1.60.0.jar", + "https://maven.google.com/com/google/api/gax/1.60.0/gax-1.60.0.jar" + ], + "downloaded_file_path": "com/google/api/gax/1.60.0/gax-1.60.0.jar" + } + }, + "com_google_guava_failureaccess_1_0_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "a171ee4c734dd2da837e4b16be9df4661afab72a41adaf31eb84dfdaf936ca26", + "urls": [ + "https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar", + "https://maven.google.com/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar" + ], + "downloaded_file_path": "com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar" + } + }, + "commons_logging_commons_logging_1_2": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "daddea1ea0be0f56978ab3006b8ac92834afeefbd9b7e4e6316fca57df0fa636", + "urls": [ + "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar", + "https://maven.google.com/commons-logging/commons-logging/1.2/commons-logging-1.2.jar" + ], + "downloaded_file_path": "commons-logging/commons-logging/1.2/commons-logging-1.2.jar" + } + }, + "com_google_http_client_google_http_client_appengine_1_38_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "f97b495fd97ac3a3d59099eb2b55025f4948230da15a076f189b9cff37c6b4d2", + "urls": [ + "https://repo1.maven.org/maven2/com/google/http-client/google-http-client-appengine/1.38.0/google-http-client-appengine-1.38.0.jar", + "https://maven.google.com/com/google/http-client/google-http-client-appengine/1.38.0/google-http-client-appengine-1.38.0.jar" + ], + "downloaded_file_path": "com/google/http-client/google-http-client-appengine/1.38.0/google-http-client-appengine-1.38.0.jar" + } + }, + "com_google_cloud_google_cloud_storage_1_113_4": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "796833e9bdab80c40bbc820e65087eb8f28c6bfbca194d2e3e00d98cb5bc55d6", + "urls": [ + "https://repo1.maven.org/maven2/com/google/cloud/google-cloud-storage/1.113.4/google-cloud-storage-1.113.4.jar", + "https://maven.google.com/com/google/cloud/google-cloud-storage/1.113.4/google-cloud-storage-1.113.4.jar" + ], + "downloaded_file_path": "com/google/cloud/google-cloud-storage/1.113.4/google-cloud-storage-1.113.4.jar" + } + }, + "io_grpc_grpc_context_1_33_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "99b8aea2b614fe0e61c3676e681259dc43c2de7f64620998e1a8435eb2976496", + "urls": [ + "https://repo1.maven.org/maven2/io/grpc/grpc-context/1.33.1/grpc-context-1.33.1.jar", + "https://maven.google.com/io/grpc/grpc-context/1.33.1/grpc-context-1.33.1.jar" + ], + "downloaded_file_path": "io/grpc/grpc-context/1.33.1/grpc-context-1.33.1.jar" + } + }, + "com_google_api_grpc_proto_google_iam_v1_1_0_3": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "64cee7383a97e846da8d8e160e6c8fe30561e507260552c59e6ccfc81301fdc8", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/grpc/proto-google-iam-v1/1.0.3/proto-google-iam-v1-1.0.3.jar", + "https://maven.google.com/com/google/api/grpc/proto-google-iam-v1/1.0.3/proto-google-iam-v1-1.0.3.jar" + ], + "downloaded_file_path": "com/google/api/grpc/proto-google-iam-v1/1.0.3/proto-google-iam-v1-1.0.3.jar" + } + }, + "com_google_api_api_common_1_10_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "2a033f24bb620383eda440ad307cb8077cfec1c7eadc684d65216123a1b9613a", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/api-common/1.10.1/api-common-1.10.1.jar", + "https://maven.google.com/com/google/api/api-common/1.10.1/api-common-1.10.1.jar" + ], + "downloaded_file_path": "com/google/api/api-common/1.10.1/api-common-1.10.1.jar" + } + }, + "com_google_auth_google_auth_library_oauth2_http_0_22_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "1722d895c42dc42ea1d1f392ddbec1fbb28f7a979022c3a6c29acc39cc777ad1", + "urls": [ + "https://repo1.maven.org/maven2/com/google/auth/google-auth-library-oauth2-http/0.22.0/google-auth-library-oauth2-http-0.22.0.jar", + "https://maven.google.com/com/google/auth/google-auth-library-oauth2-http/0.22.0/google-auth-library-oauth2-http-0.22.0.jar" + ], + "downloaded_file_path": "com/google/auth/google-auth-library-oauth2-http/0.22.0/google-auth-library-oauth2-http-0.22.0.jar" + } + }, + "com_typesafe_netty_netty_reactive_streams_2_0_5": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "f949849fc8ee75fde468ba3a35df2e04577fa31a2940b83b2a7dc9d14dac13d6", + "urls": [ + "https://repo1.maven.org/maven2/com/typesafe/netty/netty-reactive-streams/2.0.5/netty-reactive-streams-2.0.5.jar", + "https://maven.google.com/com/typesafe/netty/netty-reactive-streams/2.0.5/netty-reactive-streams-2.0.5.jar" + ], + "downloaded_file_path": "com/typesafe/netty/netty-reactive-streams/2.0.5/netty-reactive-streams-2.0.5.jar" + } + }, + "com_typesafe_netty_netty_reactive_streams_http_2_0_5": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "b39224751ad936758176e9d994230380ade5e9079e7c8ad778e3995779bcf303", + "urls": [ + "https://repo1.maven.org/maven2/com/typesafe/netty/netty-reactive-streams-http/2.0.5/netty-reactive-streams-http-2.0.5.jar", + "https://maven.google.com/com/typesafe/netty/netty-reactive-streams-http/2.0.5/netty-reactive-streams-http-2.0.5.jar" + ], + "downloaded_file_path": "com/typesafe/netty/netty-reactive-streams-http/2.0.5/netty-reactive-streams-http-2.0.5.jar" + } + }, + "javax_annotation_javax_annotation_api_1_3_2": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e04ba5195bcd555dc95650f7cc614d151e4bcd52d29a10b8aa2197f3ab89ab9b", + "urls": [ + "https://repo1.maven.org/maven2/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar", + "https://maven.google.com/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar" + ], + "downloaded_file_path": "javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar" + } + }, + "com_google_j2objc_j2objc_annotations_1_3": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "21af30c92267bd6122c0e0b4d20cccb6641a37eaf956c6540ec471d584e64a7b", + "urls": [ + "https://repo1.maven.org/maven2/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar", + "https://maven.google.com/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar" + ], + "downloaded_file_path": "com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar" + } + }, + "software_amazon_awssdk_metrics_spi_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "08a11dc8c4ba464beafbcc7ac05b8c724c1ccb93da99482e82a68540ac704e4a", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/metrics-spi/2.17.183/metrics-spi-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/metrics-spi/2.17.183/metrics-spi-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/metrics-spi/2.17.183/metrics-spi-2.17.183.jar" + } + }, + "org_reactivestreams_reactive_streams_1_0_3": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "1dee0481072d19c929b623e155e14d2f6085dc011529a0a0dbefc84cf571d865", + "urls": [ + "https://repo1.maven.org/maven2/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar", + "https://maven.google.com/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar" + ], + "downloaded_file_path": "org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar" + } + }, + "com_google_http_client_google_http_client_jackson2_1_38_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e6504a82425fcc2168a4ca4175138ddcc085168daed8cdedb86d8f6fdc296e1e", + "urls": [ + "https://repo1.maven.org/maven2/com/google/http-client/google-http-client-jackson2/1.38.0/google-http-client-jackson2-1.38.0.jar", + "https://maven.google.com/com/google/http-client/google-http-client-jackson2/1.38.0/google-http-client-jackson2-1.38.0.jar" + ], + "downloaded_file_path": "com/google/http-client/google-http-client-jackson2/1.38.0/google-http-client-jackson2-1.38.0.jar" + } + }, + "io_netty_netty_transport_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "c5fb68e9a65b6e8a516adfcb9fa323479ee7b4d9449d8a529d2ecab3d3711d5a", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-transport/4.1.72.Final/netty-transport-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-transport/4.1.72.Final/netty-transport-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-transport/4.1.72.Final/netty-transport-4.1.72.Final.jar" + } + }, + "io_netty_netty_codec_http2_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "c89a70500f59e8563e720aaa808263a514bd9e2bd91ba84eab8c2ccb45f234b2", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-codec-http2/4.1.72.Final/netty-codec-http2-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-codec-http2/4.1.72.Final/netty-codec-http2-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-codec-http2/4.1.72.Final/netty-codec-http2-4.1.72.Final.jar" + } + }, + "io_opencensus_opencensus_api_0_24_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "f561b1cc2673844288e596ddf5bb6596868a8472fd2cb8993953fc5c034b2352", + "urls": [ + "https://repo1.maven.org/maven2/io/opencensus/opencensus-api/0.24.0/opencensus-api-0.24.0.jar", + "https://maven.google.com/io/opencensus/opencensus-api/0.24.0/opencensus-api-0.24.0.jar" + ], + "downloaded_file_path": "io/opencensus/opencensus-api/0.24.0/opencensus-api-0.24.0.jar" + } + }, + "rules_jvm_external_deps": { + "bzlFile": "@@rules_jvm_external~//:coursier.bzl", + "ruleClassName": "pinned_coursier_fetch", + "attributes": { + "repositories": [ + "{ \"repo_url\": \"https://repo1.maven.org/maven2\" }" + ], + "artifacts": [ + "{ \"group\": \"com.google.auth\", \"artifact\": \"google-auth-library-credentials\", \"version\": \"0.22.0\" }", + "{ \"group\": \"com.google.auth\", \"artifact\": \"google-auth-library-oauth2-http\", \"version\": \"0.22.0\" }", + "{ \"group\": \"com.google.cloud\", \"artifact\": \"google-cloud-core\", \"version\": \"1.93.10\" }", + "{ \"group\": \"com.google.cloud\", \"artifact\": \"google-cloud-storage\", \"version\": \"1.113.4\" }", + "{ \"group\": \"com.google.code.gson\", \"artifact\": \"gson\", \"version\": \"2.9.0\" }", + "{ \"group\": \"com.google.googlejavaformat\", \"artifact\": \"google-java-format\", \"version\": \"1.15.0\" }", + "{ \"group\": \"com.google.guava\", \"artifact\": \"guava\", \"version\": \"31.1-jre\" }", + "{ \"group\": \"org.apache.maven\", \"artifact\": \"maven-artifact\", \"version\": \"3.8.6\" }", + "{ \"group\": \"software.amazon.awssdk\", \"artifact\": \"s3\", \"version\": \"2.17.183\" }" + ], + "fetch_sources": true, + "fetch_javadoc": false, + "generate_compat_repositories": false, + "maven_install_json": "@@rules_jvm_external~//:rules_jvm_external_deps_install.json", + "override_targets": {}, + "strict_visibility": false, + "strict_visibility_value": [ + "@@//visibility:private" + ], + "jetify": false, + "jetify_include_list": [ + "*" + ], + "additional_netrc_lines": [], + "fail_if_repin_required": false, + "use_starlark_android_rules": false, + "aar_import_bzl_label": "@build_bazel_rules_android//android:rules.bzl", + "duplicate_version_warning": "warn" + } + }, + "org_threeten_threetenbp_1_5_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "dcf9c0f940739f2a825cd8626ff27113459a2f6eb18797c7152f93fff69c264f", + "urls": [ + "https://repo1.maven.org/maven2/org/threeten/threetenbp/1.5.0/threetenbp-1.5.0.jar", + "https://maven.google.com/org/threeten/threetenbp/1.5.0/threetenbp-1.5.0.jar" + ], + "downloaded_file_path": "org/threeten/threetenbp/1.5.0/threetenbp-1.5.0.jar" + } + }, + "software_amazon_awssdk_http_client_spi_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "fe7120f175df9e47ebcc5d946d7f40110faf2ba0a30364f3b935d5b8a5a6c3c6", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/http-client-spi/2.17.183/http-client-spi-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/http-client-spi/2.17.183/http-client-spi-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/http-client-spi/2.17.183/http-client-spi-2.17.183.jar" + } + }, + "software_amazon_awssdk_third_party_jackson_core_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "1bc27c9960993c20e1ab058012dd1ae04c875eec9f0f08f2b2ca41e578dee9a4", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/third-party-jackson-core/2.17.183/third-party-jackson-core-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/third-party-jackson-core/2.17.183/third-party-jackson-core-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/third-party-jackson-core/2.17.183/third-party-jackson-core-2.17.183.jar" + } + }, + "software_amazon_eventstream_eventstream_1_0_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "0c37d8e696117f02c302191b8110b0d0eb20fa412fce34c3a269ec73c16ce822", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/eventstream/eventstream/1.0.1/eventstream-1.0.1.jar", + "https://maven.google.com/software/amazon/eventstream/eventstream/1.0.1/eventstream-1.0.1.jar" + ], + "downloaded_file_path": "software/amazon/eventstream/eventstream/1.0.1/eventstream-1.0.1.jar" + } + }, + "com_google_oauth_client_google_oauth_client_1_31_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "4ed4e2948251dbda66ce251bd7f3b32cd8570055e5cdb165a3c7aea8f43da0ff", + "urls": [ + "https://repo1.maven.org/maven2/com/google/oauth-client/google-oauth-client/1.31.1/google-oauth-client-1.31.1.jar", + "https://maven.google.com/com/google/oauth-client/google-oauth-client/1.31.1/google-oauth-client-1.31.1.jar" + ], + "downloaded_file_path": "com/google/oauth-client/google-oauth-client/1.31.1/google-oauth-client-1.31.1.jar" + } + }, + "software_amazon_awssdk_aws_xml_protocol_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "566bba05d49256fa6994efd68fa625ae05a62ea45ee74bb9130d20ea20988363", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/aws-xml-protocol/2.17.183/aws-xml-protocol-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/aws-xml-protocol/2.17.183/aws-xml-protocol-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/aws-xml-protocol/2.17.183/aws-xml-protocol-2.17.183.jar" + } + }, + "software_amazon_awssdk_annotations_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "8e4d72361ca805a0bd8bbd9017cd7ff77c8d170f2dd469c7d52d5653330bb3fd", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/annotations/2.17.183/annotations-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/annotations/2.17.183/annotations-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/annotations/2.17.183/annotations-2.17.183.jar" + } + }, + "software_amazon_awssdk_netty_nio_client_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "a6d356f364c56d7b90006b0b7e503b8630010993a5587ce42e74b10b8dca2238", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/netty-nio-client/2.17.183/netty-nio-client-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/netty-nio-client/2.17.183/netty-nio-client-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/netty-nio-client/2.17.183/netty-nio-client-2.17.183.jar" + } + }, + "com_google_guava_guava_31_1_jre": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "a42edc9cab792e39fe39bb94f3fca655ed157ff87a8af78e1d6ba5b07c4a00ab", + "urls": [ + "https://repo1.maven.org/maven2/com/google/guava/guava/31.1-jre/guava-31.1-jre.jar", + "https://maven.google.com/com/google/guava/guava/31.1-jre/guava-31.1-jre.jar" + ], + "downloaded_file_path": "com/google/guava/guava/31.1-jre/guava-31.1-jre.jar" + } + }, + "com_google_auto_value_auto_value_annotations_1_7_4": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "fedd59b0b4986c342f6ab2d182f2a4ee9fceb2c7e2d5bdc4dc764c92394a23d3", + "urls": [ + "https://repo1.maven.org/maven2/com/google/auto/value/auto-value-annotations/1.7.4/auto-value-annotations-1.7.4.jar", + "https://maven.google.com/com/google/auto/value/auto-value-annotations/1.7.4/auto-value-annotations-1.7.4.jar" + ], + "downloaded_file_path": "com/google/auto/value/auto-value-annotations/1.7.4/auto-value-annotations-1.7.4.jar" + } + }, + "io_netty_netty_transport_native_unix_common_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "6f8f1cc29b5a234eeee9439a63eb3f03a5994aa540ff555cb0b2c88cefaf6877", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-transport-native-unix-common/4.1.72.Final/netty-transport-native-unix-common-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-transport-native-unix-common/4.1.72.Final/netty-transport-native-unix-common-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-transport-native-unix-common/4.1.72.Final/netty-transport-native-unix-common-4.1.72.Final.jar" + } + }, + "io_opencensus_opencensus_contrib_http_util_0_24_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "7155273bbb1ed3d477ea33cf19d7bbc0b285ff395f43b29ae576722cf247000f", + "urls": [ + "https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-http-util/0.24.0/opencensus-contrib-http-util-0.24.0.jar", + "https://maven.google.com/io/opencensus/opencensus-contrib-http-util/0.24.0/opencensus-contrib-http-util-0.24.0.jar" + ], + "downloaded_file_path": "io/opencensus/opencensus-contrib-http-util/0.24.0/opencensus-contrib-http-util-0.24.0.jar" + } + }, + "com_fasterxml_jackson_core_jackson_core_2_11_3": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "78cd0a6b936232e06dd3e38da8a0345348a09cd1ff9c4d844c6ee72c75cfc402", + "urls": [ + "https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar", + "https://maven.google.com/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar" + ], + "downloaded_file_path": "com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar" + } + }, + "com_google_cloud_google_cloud_core_1_93_10": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "832d74eca66f4601e162a8460d6f59f50d1d23f93c18b02654423b6b0d67c6ea", + "urls": [ + "https://repo1.maven.org/maven2/com/google/cloud/google-cloud-core/1.93.10/google-cloud-core-1.93.10.jar", + "https://maven.google.com/com/google/cloud/google-cloud-core/1.93.10/google-cloud-core-1.93.10.jar" + ], + "downloaded_file_path": "com/google/cloud/google-cloud-core/1.93.10/google-cloud-core-1.93.10.jar" + } + }, + "com_google_auth_google_auth_library_credentials_0_22_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "42c76031276de5b520909e9faf88c5b3c9a722d69ee9cfdafedb1c52c355dfc5", + "urls": [ + "https://repo1.maven.org/maven2/com/google/auth/google-auth-library-credentials/0.22.0/google-auth-library-credentials-0.22.0.jar", + "https://maven.google.com/com/google/auth/google-auth-library-credentials/0.22.0/google-auth-library-credentials-0.22.0.jar" + ], + "downloaded_file_path": "com/google/auth/google-auth-library-credentials/0.22.0/google-auth-library-credentials-0.22.0.jar" + } + }, + "software_amazon_awssdk_profiles_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "78833b32fde3f1c5320373b9ea955c1bbc28f2c904010791c4784e610193ee56", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/profiles/2.17.183/profiles-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/profiles/2.17.183/profiles-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/profiles/2.17.183/profiles-2.17.183.jar" + } + }, + "org_apache_httpcomponents_httpcore_4_4_13": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e06e89d40943245fcfa39ec537cdbfce3762aecde8f9c597780d2b00c2b43424", + "urls": [ + "https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar", + "https://maven.google.com/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar" + ], + "downloaded_file_path": "org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar" + } + }, + "io_netty_netty_common_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "8adb4c291260ceb2859a68c49f0adeed36bf49587608e2b81ecff6aaf06025e9", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar" + } + }, + "io_netty_netty_transport_classes_epoll_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e1528a9751c1285aa7beaf3a1eb0597151716426ce38598ac9bc0891209b9e68", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-transport-classes-epoll/4.1.72.Final/netty-transport-classes-epoll-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-transport-classes-epoll/4.1.72.Final/netty-transport-classes-epoll-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-transport-classes-epoll/4.1.72.Final/netty-transport-classes-epoll-4.1.72.Final.jar" + } + }, + "org_checkerframework_checker_qual_3_12_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "ff10785ac2a357ec5de9c293cb982a2cbb605c0309ea4cc1cb9b9bc6dbe7f3cb", + "urls": [ + "https://repo1.maven.org/maven2/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar", + "https://maven.google.com/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar" + ], + "downloaded_file_path": "org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar" + } + }, + "com_google_cloud_google_cloud_core_http_1_93_10": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "81ac67c14c7c4244d2b7db2607ad352416aca8d3bb2adf338964e8fea25b1b3c", + "urls": [ + "https://repo1.maven.org/maven2/com/google/cloud/google-cloud-core-http/1.93.10/google-cloud-core-http-1.93.10.jar", + "https://maven.google.com/com/google/cloud/google-cloud-core-http/1.93.10/google-cloud-core-http-1.93.10.jar" + ], + "downloaded_file_path": "com/google/cloud/google-cloud-core-http/1.93.10/google-cloud-core-http-1.93.10.jar" + } + }, + "software_amazon_awssdk_utils_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "7bd849bb5aa71bfdf6b849643736ecab3a7b3f204795804eefe5754104231ec6", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/utils/2.17.183/utils-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/utils/2.17.183/utils-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/utils/2.17.183/utils-2.17.183.jar" + } + }, + "org_apache_commons_commons_lang3_3_8_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "dac807f65b07698ff39b1b07bfef3d87ae3fd46d91bbf8a2bc02b2a831616f68", + "urls": [ + "https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar", + "https://maven.google.com/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar" + ], + "downloaded_file_path": "org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar" + } + }, + "software_amazon_awssdk_aws_core_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "bccbdbea689a665a702ff19828662d87fb7fe81529df13f02ef1e4c474ea9f93", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/aws-core/2.17.183/aws-core-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/aws-core/2.17.183/aws-core-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/aws-core/2.17.183/aws-core-2.17.183.jar" + } + }, + "com_google_api_gax_httpjson_0_77_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "fd4dae47fa016d3b26e8d90b67ddc6c23c4c06e8bcdf085c70310ab7ef324bd6", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/gax-httpjson/0.77.0/gax-httpjson-0.77.0.jar", + "https://maven.google.com/com/google/api/gax-httpjson/0.77.0/gax-httpjson-0.77.0.jar" + ], + "downloaded_file_path": "com/google/api/gax-httpjson/0.77.0/gax-httpjson-0.77.0.jar" + } + }, + "unpinned_rules_jvm_external_deps": { + "bzlFile": "@@rules_jvm_external~//:coursier.bzl", + "ruleClassName": "coursier_fetch", + "attributes": { + "repositories": [ + "{ \"repo_url\": \"https://repo1.maven.org/maven2\" }" + ], + "artifacts": [ + "{ \"group\": \"com.google.auth\", \"artifact\": \"google-auth-library-credentials\", \"version\": \"0.22.0\" }", + "{ \"group\": \"com.google.auth\", \"artifact\": \"google-auth-library-oauth2-http\", \"version\": \"0.22.0\" }", + "{ \"group\": \"com.google.cloud\", \"artifact\": \"google-cloud-core\", \"version\": \"1.93.10\" }", + "{ \"group\": \"com.google.cloud\", \"artifact\": \"google-cloud-storage\", \"version\": \"1.113.4\" }", + "{ \"group\": \"com.google.code.gson\", \"artifact\": \"gson\", \"version\": \"2.9.0\" }", + "{ \"group\": \"com.google.googlejavaformat\", \"artifact\": \"google-java-format\", \"version\": \"1.15.0\" }", + "{ \"group\": \"com.google.guava\", \"artifact\": \"guava\", \"version\": \"31.1-jre\" }", + "{ \"group\": \"org.apache.maven\", \"artifact\": \"maven-artifact\", \"version\": \"3.8.6\" }", + "{ \"group\": \"software.amazon.awssdk\", \"artifact\": \"s3\", \"version\": \"2.17.183\" }" + ], + "fail_on_missing_checksum": true, + "fetch_sources": true, + "fetch_javadoc": false, + "excluded_artifacts": [], + "generate_compat_repositories": false, + "version_conflict_policy": "default", + "override_targets": {}, + "strict_visibility": false, + "strict_visibility_value": [ + "@@//visibility:private" + ], + "maven_install_json": "@@rules_jvm_external~//:rules_jvm_external_deps_install.json", + "resolve_timeout": 600, + "jetify": false, + "jetify_include_list": [ + "*" + ], + "use_starlark_android_rules": false, + "aar_import_bzl_label": "@build_bazel_rules_android//android:rules.bzl", + "duplicate_version_warning": "warn" + } + }, + "com_google_errorprone_error_prone_annotations_2_11_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "721cb91842b46fa056847d104d5225c8b8e1e8b62263b993051e1e5a0137b7ec", + "urls": [ + "https://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotations/2.11.0/error_prone_annotations-2.11.0.jar", + "https://maven.google.com/com/google/errorprone/error_prone_annotations/2.11.0/error_prone_annotations-2.11.0.jar" + ], + "downloaded_file_path": "com/google/errorprone/error_prone_annotations/2.11.0/error_prone_annotations-2.11.0.jar" + } + }, + "software_amazon_awssdk_regions_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "d3079395f3ffc07d04ffcce16fca29fb5968197f6e9ea3dbff6be297102b40a5", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/regions/2.17.183/regions-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/regions/2.17.183/regions-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/regions/2.17.183/regions-2.17.183.jar" + } + }, + "io_netty_netty_handler_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "9cb6012af7e06361d738ac4e3bdc49a158f8cf87d9dee0f2744056b7d99c28d5", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-handler/4.1.72.Final/netty-handler-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-handler/4.1.72.Final/netty-handler-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-handler/4.1.72.Final/netty-handler-4.1.72.Final.jar" + } + }, + "software_amazon_awssdk_aws_query_protocol_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "4dace03c76f80f3dec920cb3dedb2a95984c4366ef4fda728660cb90bed74848", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/aws-query-protocol/2.17.183/aws-query-protocol-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/aws-query-protocol/2.17.183/aws-query-protocol-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/aws-query-protocol/2.17.183/aws-query-protocol-2.17.183.jar" + } + }, + "io_netty_netty_codec_http_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "fa6fec88010bfaf6a7415b5364671b6b18ffb6b35a986ab97b423fd8c3a0174b", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-codec-http/4.1.72.Final/netty-codec-http-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-codec-http/4.1.72.Final/netty-codec-http-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-codec-http/4.1.72.Final/netty-codec-http-4.1.72.Final.jar" + } + }, + "io_netty_netty_resolver_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "6474598aab7cc9d8d6cfa06c05bd1b19adbf7f8451dbdd73070b33a6c60b1b90", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-resolver/4.1.72.Final/netty-resolver-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-resolver/4.1.72.Final/netty-resolver-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-resolver/4.1.72.Final/netty-resolver-4.1.72.Final.jar" + } + }, + "software_amazon_awssdk_protocol_core_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "10e7c4faa1f05e2d73055d0390dbd0bb6450e2e6cb85beda051b1e4693c826ce", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/protocol-core/2.17.183/protocol-core-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/protocol-core/2.17.183/protocol-core-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/protocol-core/2.17.183/protocol-core-2.17.183.jar" + } + }, + "org_checkerframework_checker_compat_qual_2_5_5": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "11d134b245e9cacc474514d2d66b5b8618f8039a1465cdc55bbc0b34e0008b7a", + "urls": [ + "https://repo1.maven.org/maven2/org/checkerframework/checker-compat-qual/2.5.5/checker-compat-qual-2.5.5.jar", + "https://maven.google.com/org/checkerframework/checker-compat-qual/2.5.5/checker-compat-qual-2.5.5.jar" + ], + "downloaded_file_path": "org/checkerframework/checker-compat-qual/2.5.5/checker-compat-qual-2.5.5.jar" + } + }, + "com_google_apis_google_api_services_storage_v1_rev20200927_1_30_10": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "52d26a9d105f8d8a0850807285f307a76cea8f3e0cdb2be4d3b15b1adfa77351", + "urls": [ + "https://repo1.maven.org/maven2/com/google/apis/google-api-services-storage/v1-rev20200927-1.30.10/google-api-services-storage-v1-rev20200927-1.30.10.jar", + "https://maven.google.com/com/google/apis/google-api-services-storage/v1-rev20200927-1.30.10/google-api-services-storage-v1-rev20200927-1.30.10.jar" + ], + "downloaded_file_path": "com/google/apis/google-api-services-storage/v1-rev20200927-1.30.10/google-api-services-storage-v1-rev20200927-1.30.10.jar" + } + }, + "com_google_api_client_google_api_client_1_30_11": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "ee6f97865cc7de6c7c80955c3f37372cf3887bd75e4fc06f1058a6b4cd9bf4da", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api-client/google-api-client/1.30.11/google-api-client-1.30.11.jar", + "https://maven.google.com/com/google/api-client/google-api-client/1.30.11/google-api-client-1.30.11.jar" + ], + "downloaded_file_path": "com/google/api-client/google-api-client/1.30.11/google-api-client-1.30.11.jar" + } + }, + "software_amazon_awssdk_s3_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "ab073b91107a9e4ed9f030314077d137fe627e055ad895fabb036980a050e360", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/s3/2.17.183/s3-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/s3/2.17.183/s3-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/s3/2.17.183/s3-2.17.183.jar" + } + }, + "org_apache_maven_maven_artifact_3_8_6": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "de22a4c6f54fe31276a823b1bbd3adfd6823529e732f431b5eff0852c2b9252b", + "urls": [ + "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/3.8.6/maven-artifact-3.8.6.jar", + "https://maven.google.com/org/apache/maven/maven-artifact/3.8.6/maven-artifact-3.8.6.jar" + ], + "downloaded_file_path": "org/apache/maven/maven-artifact/3.8.6/maven-artifact-3.8.6.jar" + } + }, + "com_google_googlejavaformat_google_java_format_1_15_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "4f546cfe159547ac3b9547daa9649e728f6abc254979c975f1cb9971793692c3", + "urls": [ + "https://repo1.maven.org/maven2/com/google/googlejavaformat/google-java-format/1.15.0/google-java-format-1.15.0.jar", + "https://maven.google.com/com/google/googlejavaformat/google-java-format/1.15.0/google-java-format-1.15.0.jar" + ], + "downloaded_file_path": "com/google/googlejavaformat/google-java-format/1.15.0/google-java-format-1.15.0.jar" + } + }, + "org_apache_httpcomponents_httpclient_4_5_13": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "6fe9026a566c6a5001608cf3fc32196641f6c1e5e1986d1037ccdbd5f31ef743", + "urls": [ + "https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar", + "https://maven.google.com/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar" + ], + "downloaded_file_path": "org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar" + } + }, + "com_google_guava_listenablefuture_9999_0_empty_to_avoid_conflict_with_guava": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "b372a037d4230aa57fbeffdef30fd6123f9c0c2db85d0aced00c91b974f33f99", + "urls": [ + "https://repo1.maven.org/maven2/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar", + "https://maven.google.com/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar" + ], + "downloaded_file_path": "com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar" + } + }, + "com_google_http_client_google_http_client_1_38_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "411f4a42519b6b78bdc0fcfdf74c9edcef0ee97afa4a667abe04045a508d6302", + "urls": [ + "https://repo1.maven.org/maven2/com/google/http-client/google-http-client/1.38.0/google-http-client-1.38.0.jar", + "https://maven.google.com/com/google/http-client/google-http-client/1.38.0/google-http-client-1.38.0.jar" + ], + "downloaded_file_path": "com/google/http-client/google-http-client/1.38.0/google-http-client-1.38.0.jar" + } + }, + "software_amazon_awssdk_apache_client_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "78ceae502fce6a97bbe5ff8f6a010a52ab7ea3ae66cb1a4122e18185fce45022", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/apache-client/2.17.183/apache-client-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/apache-client/2.17.183/apache-client-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/apache-client/2.17.183/apache-client-2.17.183.jar" + } + }, + "software_amazon_awssdk_arns_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "659a185e191d66c71de81209490e66abeaccae208ea7b2831a738670823447aa", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/arns/2.17.183/arns-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/arns/2.17.183/arns-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/arns/2.17.183/arns-2.17.183.jar" + } + }, + "com_google_code_gson_gson_2_9_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "c96d60551331a196dac54b745aa642cd078ef89b6f267146b705f2c2cbef052d", + "urls": [ + "https://repo1.maven.org/maven2/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar", + "https://maven.google.com/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar" + ], + "downloaded_file_path": "com/google/code/gson/gson/2.9.0/gson-2.9.0.jar" + } + }, + "io_netty_netty_buffer_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "568ff7cd9d8e2284ec980730c88924f686642929f8f219a74518b4e64755f3a1", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-buffer/4.1.72.Final/netty-buffer-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-buffer/4.1.72.Final/netty-buffer-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-buffer/4.1.72.Final/netty-buffer-4.1.72.Final.jar" + } + }, + "com_google_code_findbugs_jsr305_3_0_2": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "766ad2a0783f2687962c8ad74ceecc38a28b9f72a2d085ee438b7813e928d0c7", + "urls": [ + "https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar", + "https://maven.google.com/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar" + ], + "downloaded_file_path": "com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar" + } + }, + "commons_codec_commons_codec_1_11": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e599d5318e97aa48f42136a2927e6dfa4e8881dff0e6c8e3109ddbbff51d7b7d", + "urls": [ + "https://repo1.maven.org/maven2/commons-codec/commons-codec/1.11/commons-codec-1.11.jar", + "https://maven.google.com/commons-codec/commons-codec/1.11/commons-codec-1.11.jar" + ], + "downloaded_file_path": "commons-codec/commons-codec/1.11/commons-codec-1.11.jar" + } + }, + "software_amazon_awssdk_auth_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "8820c6636e5c14efc29399fb5565ce50212b0c1f4ed720a025a2c402d54e0978", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/auth/2.17.183/auth-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/auth/2.17.183/auth-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/auth/2.17.183/auth-2.17.183.jar" + } + }, + "software_amazon_awssdk_json_utils_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "51ab7f550adc06afcb49f5270cdf690f1bfaaee243abaa5d978095e2a1e4e1a5", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/json-utils/2.17.183/json-utils-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/json-utils/2.17.183/json-utils-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/json-utils/2.17.183/json-utils-2.17.183.jar" + } + }, + "org_codehaus_plexus_plexus_utils_3_3_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "4b570fcdbe5a894f249d2eb9b929358a9c88c3e548d227a80010461930222f2a", + "urls": [ + "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/3.3.1/plexus-utils-3.3.1.jar", + "https://maven.google.com/org/codehaus/plexus/plexus-utils/3.3.1/plexus-utils-3.3.1.jar" + ], + "downloaded_file_path": "org/codehaus/plexus/plexus-utils/3.3.1/plexus-utils-3.3.1.jar" + } + }, + "com_google_protobuf_protobuf_java_util_3_13_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "d9de66b8c9445905dfa7064f6d5213d47ce88a20d34e21d83c4a94a229e14e62", + "urls": [ + "https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java-util/3.13.0/protobuf-java-util-3.13.0.jar", + "https://maven.google.com/com/google/protobuf/protobuf-java-util/3.13.0/protobuf-java-util-3.13.0.jar" + ], + "downloaded_file_path": "com/google/protobuf/protobuf-java-util/3.13.0/protobuf-java-util-3.13.0.jar" + } + }, + "io_netty_netty_codec_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "5d8591ca271a1e9c224e8de3873aa9936acb581ee0db514e7dc18523df36d16c", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-codec/4.1.72.Final/netty-codec-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-codec/4.1.72.Final/netty-codec-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-codec/4.1.72.Final/netty-codec-4.1.72.Final.jar" + } + }, + "com_google_protobuf_protobuf_java_3_13_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "97d5b2758408690c0dc276238707492a0b6a4d71206311b6c442cdc26c5973ff", + "urls": [ + "https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.13.0/protobuf-java-3.13.0.jar", + "https://maven.google.com/com/google/protobuf/protobuf-java/3.13.0/protobuf-java-3.13.0.jar" + ], + "downloaded_file_path": "com/google/protobuf/protobuf-java/3.13.0/protobuf-java-3.13.0.jar" + } + }, + "io_netty_netty_tcnative_classes_2_0_46_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "d3ec888dcc4ac7915bf88b417c5e04fd354f4311032a748a6882df09347eed9a", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-tcnative-classes/2.0.46.Final/netty-tcnative-classes-2.0.46.Final.jar", + "https://maven.google.com/io/netty/netty-tcnative-classes/2.0.46.Final/netty-tcnative-classes-2.0.46.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-tcnative-classes/2.0.46.Final/netty-tcnative-classes-2.0.46.Final.jar" + } + }, + "software_amazon_awssdk_sdk_core_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "677e9cc90fdd82c1f40f97b99cb115b13ad6c3f58beeeab1c061af6954d64c77", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/sdk-core/2.17.183/sdk-core-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/sdk-core/2.17.183/sdk-core-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/sdk-core/2.17.183/sdk-core-2.17.183.jar" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_jvm_external~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_jvm_external~", + "rules_jvm_external", + "rules_jvm_external~" + ] + ] + } + }, + "@@rules_jvm_external~//:non-module-deps.bzl%non_module_deps": { + "general": { + "bzlTransitiveDigest": "l6SlNloqPvd60dcuPdWiJNi3g3jfK76fcZc0i/Yr0dQ=", + "usagesDigest": "pX61d12AFioOtqChQDmxvlNGDYT69e5MrKT2E/S6TeQ=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "io_bazel_rules_kotlin": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "946747acdbeae799b085d12b240ec346f775ac65236dfcf18aa0cd7300f6de78", + "urls": [ + "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.7.0-RC-2/rules_kotlin_release.tgz" + ] + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_jvm_external~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@rules_python~//python/extensions:python.bzl%python": { + "general": { + "bzlTransitiveDigest": "GnREFVYskmF5MZu1H3nyqMWFZ2U/bty7gcbHX+l45kY=", + "usagesDigest": "7vjNHuEgQORYN9+9/77Q4zw1kawobM2oCQb9p0uhL68=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "pythons_hub": { + "bzlFile": "@@rules_python~//python/extensions/private:interpreter_hub.bzl", + "ruleClassName": "hub_repo", + "attributes": { + "toolchains": [] + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_python~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_python~", + "rules_python", + "rules_python~" + ] + ] + } + }, + "@@rules_python~//python/extensions/private:internal_deps.bzl%internal_deps": { + "general": { + "bzlTransitiveDigest": "PiT9IOA5dSBSmnfZRUrvgo71zttPpvs3cNPbxftlChs=", + "usagesDigest": "b+nMDqtqPCBxiMBewNNde3aNjzKqZyvJuN5/49xB62s=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "pypi__coverage_cp39_aarch64-apple-darwin": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "95203854f974e07af96358c0b261f1048d8e1083f2de9b1c565e1be4a3a48cfc", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/63/e9/f23e8664ec4032d7802a1cf920853196bcbdce7b56408e3efe1b2da08f3c/coverage-6.5.0-cp39-cp39-macosx_11_0_arm64.whl" + ] + } + }, + "pypi__coverage_cp38_aarch64-unknown-linux-gnu": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "6c4459b3de97b75e3bd6b7d4b7f0db13f17f504f3d13e2a7c623786289dd670e", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/40/3b/cd68cb278c4966df00158811ec1e357b9a7d132790c240fc65da57e10013/coverage-6.5.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + ] + } + }, + "pypi__pip_tools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/5e/e8/f6d7d1847c7351048da870417724ace5c4506e816b38db02f4d7c675c189/pip_tools-6.12.1-py3-none-any.whl", + "sha256": "f0c0c0ec57b58250afce458e2e6058b1f30a4263db895b7d72fd6311bf1dc6f7", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__coverage_cp310_x86_64-unknown-linux-gnu": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "af4fffaffc4067232253715065e30c5a7ec6faac36f8fc8d6f64263b15f74db0", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/3c/7d/d5211ea782b193ab8064b06dc0cc042cf1a4ca9c93a530071459172c550f/coverage-6.5.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + ] + } + }, + "pypi__coverage_cp311_x86_64-apple-darwin": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "4a5375e28c5191ac38cca59b38edd33ef4cc914732c916f2929029b4bfb50795", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/50/cf/455930004231fa87efe8be06d13512f34e070ddfee8b8bf5a050cdc47ab3/coverage-6.5.0-cp311-cp311-macosx_10_9_x86_64.whl" + ] + } + }, + "pypi__coverage_cp310_aarch64-unknown-linux-gnu": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "b4a5be1748d538a710f87542f22c2cad22f80545a847ad91ce45e77417293eb4", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/15/b0/3639d84ee8a900da0cf6450ab46e22517e4688b6cec0ba8ab6f8166103a2/coverage-6.5.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + ] + } + }, + "pypi__coverage_cp39_aarch64-unknown-linux-gnu": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "b9023e237f4c02ff739581ef35969c3739445fb059b060ca51771e69101efffe", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/18/95/27f80dcd8273171b781a19d109aeaed7f13d78ef6d1e2f7134a5826fd1b4/coverage-6.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + ] + } + }, + "pypi__coverage_cp310_aarch64-apple-darwin": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "784f53ebc9f3fd0e2a3f6a78b2be1bd1f5575d7863e10c6e12504f240fd06660", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/89/a2/cbf599e50bb4be416e0408c4cf523c354c51d7da39935461a9687e039481/coverage-6.5.0-cp310-cp310-macosx_11_0_arm64.whl" + ] + } + }, + "pypi__pip": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/09/bd/2410905c76ee14c62baf69e3f4aa780226c1bbfc9485731ad018e35b0cb5/pip-22.3.1-py3-none-any.whl", + "sha256": "908c78e6bc29b676ede1c4d57981d490cb892eb45cd8c214ab6298125119e077", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__coverage_cp38_x86_64-apple-darwin": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "d900bb429fdfd7f511f868cedd03a6bbb142f3f9118c09b99ef8dc9bf9643c3c", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/05/63/a789b462075395d34f8152229dccf92b25ca73eac05b3f6cd75fa5017095/coverage-6.5.0-cp38-cp38-macosx_10_9_x86_64.whl" + ] + } + }, + "pypi__coverage_cp311_x86_64-unknown-linux-gnu": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "a8fb6cf131ac4070c9c5a3e21de0f7dc5a0fbe8bc77c9456ced896c12fcdad91", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/6a/63/8e82513b7e4a1b8d887b4e85c1c2b6c9b754a581b187c0b084f3330ac479/coverage-6.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + ] + } + }, + "pypi__tomli": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl", + "sha256": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__coverage_cp39_x86_64-apple-darwin": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "633713d70ad6bfc49b34ead4060531658dc6dfc9b3eb7d8a716d5873377ab745", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/ea/52/c08080405329326a7ff16c0dfdb4feefaa8edd7446413df67386fe1bbfe0/coverage-6.5.0-cp39-cp39-macosx_10_9_x86_64.whl" + ] + } + }, + "pypi__wheel": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/bd/7c/d38a0b30ce22fc26ed7dbc087c6d00851fb3395e9d0dac40bec1f905030c/wheel-0.38.4-py3-none-any.whl", + "sha256": "b60533f3f5d530e971d6737ca6d58681ee434818fab630c83a734bb10c083ce8", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__coverage_cp311_aarch64-unknown-linux-gnu": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "c4ed2820d919351f4167e52425e096af41bfabacb1857186c1ea32ff9983ed75", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/36/f3/5cbd79cf4cd059c80b59104aca33b8d05af4ad5bf5b1547645ecee716378/coverage-6.5.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + ] + } + }, + "pypi__click": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/76/0a/b6c5f311e32aeb3b406e03c079ade51e905ea630fc19d1262a46249c1c86/click-8.0.1-py3-none-any.whl", + "sha256": "fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__coverage_cp39_x86_64-unknown-linux-gnu": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "8f830ed581b45b82451a40faabb89c84e1a998124ee4212d440e9c6cf70083e5", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/6b/f2/919f0fdc93d3991ca074894402074d847be8ac1e1d78e7e9e1c371b69a6f/coverage-6.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + ] + } + }, + "pypi__importlib_metadata": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl", + "sha256": "bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__pep517": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/ee/2f/ef63e64e9429111e73d3d6cbee80591672d16f2725e648ebc52096f3d323/pep517-0.13.0-py3-none-any.whl", + "sha256": "4ba4446d80aed5b5eac6509ade100bff3e7943a8489de249654a5ae9b33ee35b", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__coverage_cp38_x86_64-unknown-linux-gnu": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "6b07130585d54fe8dff3d97b93b0e20290de974dc8177c320aeaf23459219c0b", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/bd/a0/e263b115808226fdb2658f1887808c06ac3f1b579ef5dda02309e0d54459/coverage-6.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + ] + } + }, + "pypi__coverage_cp38_aarch64-apple-darwin": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "2198ea6fc548de52adc826f62cb18554caedfb1d26548c1b7c88d8f7faa8f6ba", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/07/82/79fa21ceca9a9b091eb3c67e27eb648dade27b2c9e1eb23af47232a2a365/coverage-6.5.0-cp38-cp38-macosx_11_0_arm64.whl" + ] + } + }, + "pypi__packaging": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/8f/7b/42582927d281d7cb035609cd3a543ffac89b74f3f4ee8e1c50914bcb57eb/packaging-22.0-py3-none-any.whl", + "sha256": "957e2148ba0e1a3b282772e791ef1d8083648bc131c8ab0c1feba110ce1146c3", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__setuptools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/7c/5b/3d92b9f0f7ca1645cba48c080b54fe7d8b1033a4e5720091d1631c4266db/setuptools-60.10.0-py3-none-any.whl", + "sha256": "782ef48d58982ddb49920c11a0c5c9c0b02e7d7d1c2ad0aa44e1a1e133051c96", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__zipp": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl", + "sha256": "8dda78f06bd1674bd8720df8a50bb47b6e1233c503a4eed8e7810686bde37656", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__colorama": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", + "sha256": "4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__build": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/03/97/f58c723ff036a8d8b4d3115377c0a37ed05c1f68dd9a0d66dab5e82c5c1c/build-0.9.0-py3-none-any.whl", + "sha256": "38a7a2b7a0bdc61a42a0a67509d88c71ecfc37b393baba770fae34e20929ff69", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__coverage_cp310_x86_64-apple-darwin": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nfilegroup(\n name = \"coverage\",\n srcs = [\"coverage/__main__.py\"],\n data = glob([\"coverage/*.py\", \"coverage/**/*.py\", \"coverage/*.so\"]),\n visibility = [\"//visibility:public\"],\n)\n ", + "patch_args": [ + "-p1" + ], + "patches": [ + "@@rules_python~//python/private:coverage.patch" + ], + "sha256": "ef8674b0ee8cc11e2d574e3e2998aea5df5ab242e012286824ea3c6970580e53", + "type": "zip", + "urls": [ + "https://files.pythonhosted.org/packages/c4/8d/5ec7d08f4601d2d792563fe31db5e9322c306848fec1e65ec8885927f739/coverage-6.5.0-cp310-cp310-macosx_10_9_x86_64.whl" + ] + } + }, + "pypi__installer": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/e5/ca/1172b6638d52f2d6caa2dd262ec4c811ba59eee96d54a7701930726bce18/installer-0.7.0-py3-none-any.whl", + "sha256": "05d1933f0a5ba7d8d6296bb6d5018e7c94fa473ceb10cf198a92ccea19c27b53", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__more_itertools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/bd/3f/c4b3dbd315e248f84c388bd4a72b131a29f123ecacc37ffb2b3834546e42/more_itertools-8.13.0-py3-none-any.whl", + "sha256": "c5122bffc5f104d37c1626b8615b511f3427aa5389b94d61e5ef8236bfbc3ddb", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_python~", + "bazel_skylib", + "bazel_skylib~" + ], + [ + "rules_python~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_python~", + "rules_python", + "rules_python~" + ] + ] } } } diff --git a/WORKSPACE b/WORKSPACE deleted file mode 100644 index 9562aef48..000000000 --- a/WORKSPACE +++ /dev/null @@ -1,29 +0,0 @@ -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -http_archive( - name = "build_bazel_rules_nodejs", - sha256 = "e79c08a488cc5ac40981987d862c7320cee8741122a2649e9b08e850b6f20442", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/3.8.0/rules_nodejs-3.8.0.tar.gz"], -) - -load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install") - -node_repositories( - node_repositories = { - "24.13.0-darwin_amd64": ("node-v24.13.0-darwin-x64.tar.xz", "node-v24.13.0-darwin-x64", "4ca0a48233f091a2a69ec28dd58e59f394a1b2d4f052b6c6b10f760377fe266f"), - "24.13.0-darwin_arm64": ("node-v24.13.0-darwin-arm64.tar.xz", "node-v24.13.0-darwin-arm64", "c59a517e9147f25c6167426875a571432f1478c1d7ee7ecc10baa46b0d0e8545"), - "24.13.0-linux_amd64": ("node-v24.13.0-linux-x64.tar.xz", "node-v24.13.0-linux-x64", "e798599612f4bb71333a3397ab0d095fd62214e115aea45aa858a145fc72d67e"), - "24.13.0-linux_arm64": ("node-v24.13.0-linux-arm64.tar.xz", "node-v24.13.0-linux-arm64", "e798599612f4bb71333a3397ab0d095fd62214e115aea45aa858a145fc72d67e"), - "24.13.0-windows_amd64": ("node-v24.13.0-win-x64.zip", "node-v24.13.0-win-x64", "ca2742695be8de44027d71b3f53a4bdb36009b95575fe1ae6f7f0b5ce091cb88"), - }, - node_version = "24.13.0", - package_json = ["//:package.json"], - yarn_version = "1.13.0", -) - -yarn_install( - name = "npm", - package_json = "//:package.json", - symlink_node_modules = False, - yarn_lock = "//:yarn.lock", -) diff --git a/cli/BUILD b/cli/BUILD index 002fc3b19..8be7ae994 100644 --- a/cli/BUILD +++ b/cli/BUILD @@ -1,6 +1,5 @@ -load("//tools:ts_library.bzl", "ts_library") load("//testing:index.bzl", "ts_test_suite") -load("//tools:node_modules.bzl", "node_modules") +load("//tools:ts_library.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) @@ -31,29 +30,22 @@ ts_library( "yargswrapper.ts", ], deps = [ + "//:node_modules/@types/glob", + "//:node_modules/@types/long", + "//:node_modules/@types/node", + "//:node_modules/@types/readline-sync", + "//:node_modules/@types/yargs", + "//:node_modules/chokidar", + "//:node_modules/glob", + "//:node_modules/parse-duration", + "//:node_modules/readline-sync", + "//:node_modules/untildify", + "//:node_modules/yargs", "//cli/api", "//cli/vm", "//core", "//protos:ts", "//sqlx:format", - "@npm//@types/glob", - "@npm//@types/long", - "@npm//@types/node", - "@npm//@types/readline-sync", - "@npm//@types/yargs", - "@npm//chokidar", - "@npm//glob", - "@npm//parse-duration", - "@npm//readline-sync", - "@npm//untildify", - "@npm//yargs", - ], -) - -node_modules( - name = "node_modules", - deps = [ - "//packages/@dataform/cli:package_tar", ], ) @@ -61,51 +53,52 @@ ts_library( name = "index_test_base", srcs = ["index_test_base.ts"], deps = [ + "//:node_modules/@types/fs-extra", + "//:node_modules/@types/js-yaml", + "//:node_modules/@types/node", + "//:node_modules/fs-extra", + "//:node_modules/js-yaml", "//cli", "//core", "//protos:ts", "//testing", - "@npm//@types/fs-extra", - "@npm//@types/js-yaml", - "@npm//@types/node", - "@npm//fs-extra", - "@npm//js-yaml", ], ) ts_test_suite( name = "tests", srcs = [ + "index_compile_test.ts", "index_help_test.ts", "index_init_test.ts", "index_project_test.ts", - "index_compile_test.ts", - "util_test.ts", "tests/jit/jit_build_test.ts", "tests/jit/jit_run_test.ts", + "util_test.ts", ], data = [ - ":node_modules", + "//packages/@dataform/cli:bundle", + "//packages/@dataform/cli:json", + "//packages/@dataform/cli:worker_bundle", "//packages/@dataform/core:package_tar", - "@nodejs//:node", - "@nodejs//:npm", ], + include_npm = True, deps = [ ":index_test_base", + "//:node_modules/@types/chai", + "//:node_modules/@types/fs-extra", + "//:node_modules/@types/js-yaml", + "//:node_modules/@types/long", + "//:node_modules/@types/node", + "//:node_modules/chai", + "//:node_modules/fs-extra", + "//:node_modules/js-yaml", + "//:node_modules/ts-mockito", "//cli", "//cli/api", "//core", "//protos:ts", "//testing", - "@npm//@types/chai", - "@npm//@types/fs-extra", - "@npm//@types/js-yaml", - "@npm//@types/long", - "@npm//@types/node", - "@npm//chai", - "@npm//fs-extra", - "@npm//js-yaml", - "@npm//ts-mockito", ], ) @@ -113,34 +106,36 @@ ts_test_suite( name = "integration_tests", srcs = [ "index_run_e2e_test.ts", - "tests/jit/index_jit_main_test.ts", "tests/jit/index_jit_advanced_test.ts", "tests/jit/index_jit_dependency_test.ts", - "tests/jit/index_jit_runtime_test.ts" + "tests/jit/index_jit_main_test.ts", + "tests/jit/index_jit_runtime_test.ts", ], data = [ - ":node_modules", + "//packages/@dataform/cli:bundle", + "//packages/@dataform/cli:json", + "//packages/@dataform/cli:worker_bundle", "//packages/@dataform/core:package_tar", "//test_credentials:bigquery.json", - "@nodejs//:node", - "@nodejs//:npm", ], + # index_test_base runs `npm` directly, and the CLI runs `npm i` when dataformCoreVersion is set. + include_npm = True, tags = ["integration"], deps = [ ":index_test_base", + "//:node_modules/@types/chai", + "//:node_modules/@types/fs-extra", + "//:node_modules/@types/js-yaml", + "//:node_modules/@types/long", + "//:node_modules/@types/node", + "//:node_modules/chai", + "//:node_modules/fs-extra", + "//:node_modules/js-yaml", + "//:node_modules/ts-mockito", "//cli", "//cli/api", "//core", "//protos:ts", "//testing", - "@npm//@types/chai", - "@npm//@types/fs-extra", - "@npm//@types/js-yaml", - "@npm//@types/long", - "@npm//@types/node", - "@npm//chai", - "@npm//fs-extra", - "@npm//js-yaml", - "@npm//ts-mockito", ], ) diff --git a/cli/api/BUILD b/cli/api/BUILD index 9b817c962..7f7b7c7ec 100644 --- a/cli/api/BUILD +++ b/cli/api/BUILD @@ -1,5 +1,4 @@ load("//testing:index.bzl", "ts_test_suite") -load("//tools:node_modules.bzl", "node_modules") load("//tools:ts_library.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) @@ -14,7 +13,29 @@ ts_library( "**/*_test.ts", ], ), + # Worker entry point forked by BaseWorker in dev and tests (not imported). + data = ["//cli/vm:worker_loader"], deps = [ + "//:node_modules/@google-cloud/bigquery", + "//:node_modules/@google-cloud/lineage", + "//:node_modules/@types/fs-extra", + "//:node_modules/@types/glob", + "//:node_modules/@types/js-beautify", + "//:node_modules/@types/js-yaml", + "//:node_modules/@types/long", + "//:node_modules/@types/node", + "//:node_modules/@types/semver", + "//:node_modules/@types/tmp", + "//:node_modules/deepmerge", + "//:node_modules/fs-extra", + "//:node_modules/glob", + "//:node_modules/google-sql-syntax-ts", + "//:node_modules/js-beautify", + "//:node_modules/js-yaml", + "//:node_modules/promise-pool-executor", + "//:node_modules/protobufjs", + "//:node_modules/semver", + "//:node_modules/tmp", "//cli/api/utils", "//common/errors", "//common/flags", @@ -24,36 +45,7 @@ ts_library( "//core", "//core/compilation_sql", "//protos:ts", - "//cli/vm:compile_loader", "//sqlx:lexer", - "//cli/vm:vm", - "@npm//@google-cloud/bigquery", - "@npm//@google-cloud/lineage", - "@npm//@types/fs-extra", - "@npm//@types/glob", - "@npm//@types/js-beautify", - "@npm//@types/js-yaml", - "@npm//@types/long", - "@npm//@types/node", - "@npm//@types/semver", - "@npm//@types/tmp", - "@npm//deepmerge", - "@npm//fs-extra", - "@npm//glob", - "@npm//google-sql-syntax-ts", - "@npm//js-beautify", - "@npm//js-yaml", - "@npm//promise-pool-executor", - "@npm//protobufjs", - "@npm//semver", - "@npm//tmp", - ], -) - -node_modules( - name = "node_modules", - deps = [ - "//packages/@dataform/core:package_tar", ], ) @@ -67,29 +59,24 @@ ts_test_suite( "dbadapters/bigquery_test.ts", "execution_sql_test.ts", ] + glob(["lineage/*_test.ts"]), - data = [ - ":node_modules", - "//packages/@dataform/core:package_tar", - "@nodejs//:node", - "@nodejs//:npm", - ] + glob(["goldens/**"]), + data = glob(["goldens/**"]), deps = [ ":api", "//cli/api/lineage/testing", "//core", "//protos:ts", "//testing", - "@npm//@google-cloud/bigquery", - "@npm//@google-cloud/lineage", - "@npm//@types/chai", - "@npm//@types/fs-extra", - "@npm//@types/js-yaml", - "@npm//@types/long", - "@npm//@types/node", - "@npm//chai", - "@npm//fs-extra", - "@npm//js-yaml", - "@npm//long", - "@npm//ts-mockito", + "//:node_modules/@google-cloud/bigquery", + "//:node_modules/@google-cloud/lineage", + "//:node_modules/@types/chai", + "//:node_modules/@types/fs-extra", + "//:node_modules/@types/js-yaml", + "//:node_modules/@types/long", + "//:node_modules/@types/node", + "//:node_modules/chai", + "//:node_modules/fs-extra", + "//:node_modules/js-yaml", + "//:node_modules/long", + "//:node_modules/ts-mockito", ], ) diff --git a/cli/api/commands/base_worker.ts b/cli/api/commands/base_worker.ts index 97d54d3c2..941fdae9f 100644 --- a/cli/api/commands/base_worker.ts +++ b/cli/api/commands/base_worker.ts @@ -1,8 +1,11 @@ import { ChildProcess, fork } from "child_process"; +import * as path from "path"; -export abstract class BaseWorker { - protected constructor(private readonly loaderPath: string) {} +// Worker entry point used when there is no worker_bundle.js next to the running code, i.e. in +// dev (`bazel run`) and tests. It runs the same cli/vm/worker.ts as the bundle. +const DEV_WORKER_LOADER_PATH = path.resolve(__dirname, "../../vm/worker_loader"); +export abstract class BaseWorker { protected async runWorker( timeoutMillis: number, onBoot: (child: ChildProcess) => void, @@ -82,7 +85,7 @@ export abstract class BaseWorker { } private resolveScript() { - const pathsToTry = ["./worker_bundle.js", this.loaderPath]; + const pathsToTry = ["./worker_bundle.js", DEV_WORKER_LOADER_PATH]; for (const p of pathsToTry) { try { return require.resolve(p); diff --git a/cli/api/commands/compile.ts b/cli/api/commands/compile.ts index 8ef7c78c8..5cace57af 100644 --- a/cli/api/commands/compile.ts +++ b/cli/api/commands/compile.ts @@ -103,10 +103,6 @@ export async function compile( } export class CompileChildProcess extends BaseWorker { - constructor() { - super(path.resolve(__dirname, "../../vm/compile_loader")); - } - public async compile(compileConfig: dataform.ICompileConfig) { const timeoutValue = compileConfig.timeoutMillis || DEFAULT_COMPILATION_TIMEOUT_MILLIS; diff --git a/cli/api/commands/jit/compiler.ts b/cli/api/commands/jit/compiler.ts index 94b877d65..8eebdfb32 100644 --- a/cli/api/commands/jit/compiler.ts +++ b/cli/api/commands/jit/compiler.ts @@ -1,5 +1,4 @@ import { ChildProcess } from "child_process"; -import * as path from "path"; import { BaseWorker } from "df/cli/api/commands/base_worker"; import { handleDbRequest } from "df/cli/api/commands/jit/rpc"; @@ -41,10 +40,6 @@ export class JitCompileChildProcess extends BaseWorker< ); } - constructor() { - super(path.resolve(__dirname, "../../../vm/jit_loader")); - } - private async run( request: dataform.IJitCompilationRequest, projectDir: string, diff --git a/cli/api/lineage/testing/BUILD b/cli/api/lineage/testing/BUILD index ebec5c884..fd1260cc4 100644 --- a/cli/api/lineage/testing/BUILD +++ b/cli/api/lineage/testing/BUILD @@ -6,7 +6,7 @@ ts_library( name = "testing", srcs = glob(["**/*.ts"]), deps = [ - "@npm//@google-cloud/lineage", - "@npm//@types/node", + "//:node_modules/@google-cloud/lineage", + "//:node_modules/@types/node", ], ) diff --git a/cli/api/utils/BUILD b/cli/api/utils/BUILD index 42393bcdf..e01c4ae19 100644 --- a/cli/api/utils/BUILD +++ b/cli/api/utils/BUILD @@ -1,16 +1,16 @@ -package(default_visibility = ["//visibility:public"]) - load("//tools:ts_library.bzl", "ts_library") +package(default_visibility = ["//visibility:public"]) + ts_library( name = "utils", srcs = glob(["**/*.ts"]), deps = [ + "//:node_modules/@types/node", + "//:node_modules/object-sizeof", "//common/protos", "//common/strings", "//core", "//protos:ts", - "@npm//@types/node", - "@npm//object-sizeof", ], ) diff --git a/cli/commands/compile_command.ts b/cli/commands/compile_command.ts index f17e07267..8bc6f9c6c 100644 --- a/cli/commands/compile_command.ts +++ b/cli/commands/compile_command.ts @@ -128,7 +128,7 @@ export const compileCommand: ICommand = { process.exit(1); }); while (watching) { - await new Promise((resolve, reject) => setTimeout(() => resolve(), 100)); + await new Promise((resolve, reject) => setTimeout(() => resolve(), 100)); } return 0; }, diff --git a/cli/index_test_base.ts b/cli/index_test_base.ts index 866672735..9b36bd9b9 100644 --- a/cli/index_test_base.ts +++ b/cli/index_test_base.ts @@ -18,17 +18,7 @@ import { TmpDirFixture } from "df/testing/fixtures"; const DEFAULT_PROJECT = "dataform-open-source"; const DEFAULT_LOCATION = "US"; -const runfilesDir = process.env.RUNFILES; -let workspaceName = "df"; -if (!fs.existsSync(path.resolve(runfilesDir, "df"))) { - workspaceName = "_main"; -} - -export const CREDENTIALS_PATH = path.resolve( - runfilesDir, - workspaceName, - "test_credentials/bigquery.json", -); +export const CREDENTIALS_PATH = path.resolve("test_credentials/bigquery.json"); const logger = new Logger(true); @@ -66,7 +56,7 @@ export const INTEGRATION_TEST_PROJECT = getCredentialsProjectId(); export const INTEGRATION_TEST_LOCATION = getCredentialsLocation(); export const INTEGRATION_TEST_RESERVATION = `projects/${INTEGRATION_TEST_PROJECT}/locations/${INTEGRATION_TEST_LOCATION.toLowerCase()}/reservations/dataform-test`; -export const cliEntryPointPath = "cli/node_modules/@dataform/cli/bundle.js"; +export const cliEntryPointPath = path.resolve("packages/@dataform/cli/bundle.js"); export async function setupProject( tmpDirFixture: TmpDirFixture, diff --git a/cli/vm/BUILD b/cli/vm/BUILD index 4adc5f391..e59be4220 100644 --- a/cli/vm/BUILD +++ b/cli/vm/BUILD @@ -1,69 +1,37 @@ -package(default_visibility = ["//visibility:public"]) - +load("@aspect_rules_js//js:defs.bzl", "js_library") load("//tools:ts_library.bzl", "ts_library") +package(default_visibility = ["//visibility:public"]) + ts_library( name = "vm", srcs = [ "compile.ts", "jit_worker.ts", + "worker.ts", ], deps = [ + "//:node_modules/@types/glob", + "//:node_modules/@types/node", + "//:node_modules/@types/semver", + "//:node_modules/glob", + "//:node_modules/semver", + "//:node_modules/vm2", "//common/protos", "//core", "//protos:ts", - "@npm//@types/glob", - "@npm//@types/node", - "@npm//@types/semver", - "@npm//glob", - "@npm//semver", - "@npm//vm2", ], ) -ts_library( - name = "compile_loader", - srcs = [], - data = [ - ":compile_loader.js", - ":jit_loader.js", - ], +# When compiling a project, the CLI forks a worker process running worker.ts. The published +# CLI forks worker_bundle.js; in dev and tests there is no bundle, so the worker is started +# through this loader, which installs the "df/..." resolver patch before loading worker.js. +# //cli/api depends on this target, so anything that runs the CLI API gets a working loader. +js_library( + name = "worker_loader", + srcs = ["worker_loader.js"], deps = [ ":vm", - "@npm//source-map-support", - ], -) - -load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") - -# This is a bit nuts. As we fork a process when compiling projects, we -# start a new node instance but within bazel, modules will fail to load in the -# forked process as we don't have a loader script available. -# To fix this, we use the binary rules to generate the bazel loader scripts -# and then execute these scripts instead, so module resulution works. - -nodejs_binary( - name = "compile", - data = [ - ":vm", - "@npm//source-map-support", - ], - entry_point = ":compile.ts", - templated_args = [ - "--node_options=--require=source-map-support/register", - "--bazel_patch_module_resolver", - ], -) - -nodejs_binary( - name = "jit_worker_bin", - data = [ - ":vm", - "@npm//source-map-support", - ], - entry_point = ":jit_worker.ts", - templated_args = [ - "--node_options=--require=source-map-support/register", - "--bazel_patch_module_resolver", + "//testing:resolver-patch", ], ) diff --git a/cli/vm/compile.ts b/cli/vm/compile.ts index 6626fbac1..4ee1587cb 100644 --- a/cli/vm/compile.ts +++ b/cli/vm/compile.ts @@ -144,8 +144,9 @@ export function compile(compileConfig: dataform.ICompileConfig) { export function listenForCompileRequest() { process.on("message", (compileConfig: dataform.ICompileConfig & { type?: string }) => { - // JiT messages are handled by handleJitRequest in worker.ts; skip them here. - if ((compileConfig as { type?: string })?.type === "jit_compile") { + // Compile requests are bare CompileConfig objects. Typed messages (jit_compile, rpc_response) + // belong to the JiT handlers in jit_worker.ts, which share this process; skip them here. + if (compileConfig?.type) { return; } try { @@ -161,13 +162,6 @@ export function listenForCompileRequest() { }); } -if (require.main === module) { - if (process.send) { - process.send({ type: "worker_booted" }); - } - listenForCompileRequest(); -} - // Reads the CLI's own version from the package.json baked next to the bundle // by pkg_json(version = DF_VERSION). Returns "0.0.0" when unreadable. function readCliVersion(): string { diff --git a/cli/vm/jit_loader.js b/cli/vm/jit_loader.js deleted file mode 100644 index 56dd2906a..000000000 --- a/cli/vm/jit_loader.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -if (require.main === module) { - try { - // jit_loader.js acts as the entrypoint loader for JIT development, loading jit_worker.js - // directly. The static compiler listener (listenForCompileRequest) is omitted here since - // static compilation in development is loaded via its own loader (compile_loader.js). - var jitWorker = require('./jit_worker'); - jitWorker.registerRpcResponseHandler(); - jitWorker.registerJitCompileHandler(); - if (process.send) { - process.send({ type: 'worker_booted' }); - } - } catch (e) { - console.error(e.stack || e); - process.exit(1); - } -} diff --git a/cli/vm/worker.ts b/cli/vm/worker.ts new file mode 100644 index 000000000..dd10eea0b --- /dev/null +++ b/cli/vm/worker.ts @@ -0,0 +1,15 @@ +// Entry point of the compilation worker process forked by BaseWorker +// (cli/api/commands/base_worker.ts). It serves both static and JiT compilation: +// - production: the entry point of worker_bundle.js (packages/@dataform/cli/BUILD); +// - dev and tests: loaded by worker_loader.js. +// Importing this module registers the message handlers, so import it exactly once per process. +import { listenForCompileRequest } from "df/cli/vm/compile"; +import { registerJitCompileHandler, registerRpcResponseHandler } from "df/cli/vm/jit_worker"; + +registerRpcResponseHandler(); +registerJitCompileHandler(); +listenForCompileRequest(); + +if (process.send) { + process.send({ type: "worker_booted" }); +} diff --git a/cli/vm/worker_loader.js b/cli/vm/worker_loader.js new file mode 100644 index 000000000..9631afb65 --- /dev/null +++ b/cli/vm/worker_loader.js @@ -0,0 +1,8 @@ +// Dev/test entry point for the compilation worker forked by BaseWorker +// (cli/api/commands/base_worker.ts). The published CLI forks worker_bundle.js instead; +// both run cli/vm/worker.ts. +"use strict"; + +require("../../testing/resolver-patch.js"); + +require("./worker"); diff --git a/common/errors/BUILD b/common/errors/BUILD index b806837f0..45144e51b 100644 --- a/common/errors/BUILD +++ b/common/errors/BUILD @@ -9,26 +9,16 @@ ts_library( ["*.ts"], exclude = ["*.spec.ts"], ), - deps = [ - "//:modules-fix", - ], ) ts_test_suite( name = "tests", srcs = glob(["*.spec.ts"]), - data = [ - "@npm//source-map-support", - ], - templated_args = [ - "--node_options=--require=source-map-support/register", - "--bazel_patch_module_resolver", - ], deps = [ ":errors", + "//:node_modules/@types/chai", + "//:node_modules/@types/node", + "//:node_modules/chai", "@df//testing", - "@npm//@types/chai", - "@npm//@types/node", - "@npm//chai", ], ) diff --git a/common/flags/BUILD b/common/flags/BUILD index 778c0acc3..0508e3dcb 100644 --- a/common/flags/BUILD +++ b/common/flags/BUILD @@ -1,8 +1,9 @@ -package(default_visibility = ["//visibility:public"]) - +load("//testing:build_test.bzl", "build_test") load("//tools:ts_library.bzl", "ts_library") load("@df//testing:index.bzl", "ts_test_suite") +package(default_visibility = ["//visibility:public"]) + ts_library( name = "flags", srcs = glob( @@ -10,34 +11,24 @@ ts_library( exclude = ["*_test.ts", "*.spec.ts"], ), deps = [ - "//:modules-fix", - "@npm//@types/long", - "@npm//@types/node", - "@npm//long", + "//:node_modules/@types/long", + "//:node_modules/@types/node", + "//:node_modules/long", ], ) ts_test_suite( name = "tests", srcs = glob(["*_test.ts"]), - data = [ - "@npm//source-map-support", - ], - templated_args = [ - "--node_options=--require=source-map-support/register", - "--bazel_patch_module_resolver", - ], deps = [ ":flags", + "//:node_modules/@types/chai", + "//:node_modules/@types/node", + "//:node_modules/chai", "@df//testing", - "@npm//@types/chai", - "@npm//@types/node", - "@npm//chai", ], ) -load("//testing:build_test.bzl", "build_test") - build_test( name = "build_test", deps = [":flags"], diff --git a/common/flags/testing/BUILD b/common/flags/testing/BUILD index 32de5ba60..2660535f9 100644 --- a/common/flags/testing/BUILD +++ b/common/flags/testing/BUILD @@ -1,7 +1,7 @@ -package(default_visibility = ["//visibility:public"]) - load("//tools:ts_library.bzl", "ts_library") +package(default_visibility = ["//visibility:public"]) + ts_library( name = "testing", testonly = 1, @@ -9,7 +9,6 @@ ts_library( ["*.ts"], ), deps = [ - "//:modules-fix", "//common/flags", "//testing", ], diff --git a/common/promises/BUILD b/common/promises/BUILD index d34deba15..ef060b934 100644 --- a/common/promises/BUILD +++ b/common/promises/BUILD @@ -1,5 +1,5 @@ -load("@df//tools:ts_library.bzl", "ts_library") load("@df//testing:index.bzl", "ts_test_suite") +load("@df//tools:ts_library.bzl", "ts_library") package(default_visibility = ["//visibility:public"]) @@ -10,26 +10,18 @@ ts_library( exclude = ["*.spec.ts"], ), deps = [ - "//:modules-fix", - "@npm//@types/node", + "//:node_modules/@types/node", ], ) ts_test_suite( name = "tests", srcs = glob(["*.spec.ts"]), - data = [ - "@npm//source-map-support", - ], - templated_args = [ - "--node_options=--require=source-map-support/register", - "--bazel_patch_module_resolver", - ], deps = [ ":promises", + "//:node_modules/@types/chai", + "//:node_modules/@types/node", + "//:node_modules/chai", "@df//testing", - "@npm//@types/chai", - "@npm//@types/node", - "@npm//chai", ], ) diff --git a/common/promises/index.ts b/common/promises/index.ts index 55380d3e8..6f0a01908 100644 --- a/common/promises/index.ts +++ b/common/promises/index.ts @@ -27,7 +27,7 @@ export async function runWithTimeout( } export async function sleep(sleepMillis: number) { - await new Promise((resolve) => setTimeout(() => resolve(), sleepMillis)); + await new Promise((resolve) => setTimeout(() => resolve(), sleepMillis)); } export async function sleepUntil( @@ -40,7 +40,7 @@ export async function sleepUntil( } export async function sleepImmediate() { - await new Promise((resolve) => setImmediate(resolve)); + await new Promise((resolve) => setImmediate(resolve)); } export async function retry( diff --git a/common/protos/BUILD b/common/protos/BUILD index 86ceeab02..06dd47407 100644 --- a/common/protos/BUILD +++ b/common/protos/BUILD @@ -1,45 +1,39 @@ -package(default_visibility = ["//visibility:public"]) - -load("//tools:ts_library.bzl", "ts_library") load("@df//testing:index.bzl", "ts_test_suite") +load("//testing:build_test.bzl", "build_test") +load("//tools:ts_library.bzl", "ts_library") + +package(default_visibility = ["//visibility:public"]) ts_library( name = "protos", srcs = glob( ["*.ts"], - exclude = ["*_test.ts", "*.spec.ts"], + exclude = [ + "*_test.ts", + "*.spec.ts", + ], ), deps = [ - "//:modules-fix", + "//:node_modules/@types/node", + "//:node_modules/protobufjs", "//common/strings", "//protos:ts", - "@npm//@types/node", - "@npm//protobufjs", ], ) ts_test_suite( name = "tests", srcs = glob(["*_test.ts"]), - data = [ - "@npm//source-map-support", - ], - templated_args = [ - "--node_options=--require=source-map-support/register", - "--bazel_patch_module_resolver", - ], deps = [ ":protos", + "//:node_modules/@types/chai", + "//:node_modules/@types/node", + "//:node_modules/chai", "//protos:ts", "@df//testing", - "@npm//@types/chai", - "@npm//@types/node", - "@npm//chai", ], ) -load("//testing:build_test.bzl", "build_test") - build_test( name = "build_test", deps = [":protos"], diff --git a/common/strings/BUILD b/common/strings/BUILD index 6e171d1b0..40318fc49 100644 --- a/common/strings/BUILD +++ b/common/strings/BUILD @@ -10,28 +10,20 @@ ts_library( exclude = ["*.spec.ts"], ), deps = [ - "//:modules-fix", - "@npm//@types/long", - "@npm//long", + "//:node_modules/@types/long", + "//:node_modules/long", ], ) ts_test_suite( name = "tests", srcs = glob(["*.spec.ts"]), - data = [ - "@npm//source-map-support", - ], - templated_args = [ - "--node_options=--require=source-map-support/register", - "--bazel_patch_module_resolver", - ], deps = [ ":strings", + "//:node_modules/@types/chai", + "//:node_modules/@types/long", + "//:node_modules/@types/node", + "//:node_modules/chai", "@df//testing", - "@npm//@types/chai", - "@npm//@types/long", - "@npm//@types/node", - "@npm//chai", ], ) diff --git a/contributing.md b/contributing.md index 96096a514..96047b8a6 100644 --- a/contributing.md +++ b/contributing.md @@ -90,8 +90,6 @@ All .ts files are expected to be formatted using prettier. You can format all fi Alternatively, you may want to configure prettier to run on save or as a pre-commit hook. -Note that some files may predate the enforcement of this standard and not be properly formatted yet. If you modify such files, you will have to format the entire file before submitting, even for a small change. - ### Building Building the CLI will build most of the required components. @@ -104,14 +102,18 @@ The projects folder here is not built as it requires an environment file, which ### Add New NPM Dependencies -Global yarn installations will throw errors when installing packages, instead you should use: +Global pnpm installations will throw errors when installing packages, instead you should use: ```bash -$ bazel run @nodejs//:yarn add ... +$ bazel run -- @pnpm --dir "$PWD" add ... ``` +Replace "$PWD" with path to the project directory if running from outside it. The --dir option is necessary, otherwise pnpm will install in Bazel's ephemeral output directory tree. + +pnpm will use the registry specified in ~/.npmrc by default. When building in the Cloud, this will be set to a trusted internal registry. In local development, feel free to use a public registry like https://registry.npmjs.org/. Before committing, make sure pnpm-lock.yaml does not contain tarball: fields (pnpm only adds them when a registry serves packages from non-standard URLs, for example some mirrors or proxies, so you shouldn't normally see them with the public npm registry). + Additionally, installed NPM dependencies need to be added to the `deps` of `ts_library` rules by -prefixing them with `@npm//...`. +prefixing them with `//:node_modules/...`. ## The Contribution Process diff --git a/core/BUILD b/core/BUILD index 4a9b78459..10c88a9a1 100644 --- a/core/BUILD +++ b/core/BUILD @@ -45,21 +45,21 @@ ts_library( ":version.ts", ], deps = [ + "//:node_modules/@types/fs-extra", + "//:node_modules/@types/js-yaml", + "//:node_modules/@types/node", + "//:node_modules/@types/semver", + "//:node_modules/fs-extra", + "//:node_modules/js-yaml", + "//:node_modules/protobufjs", + "//:node_modules/semver", + "//:node_modules/tarjan-graph", "//common/errors", "//common/protos", "//common/strings", "//core/compilation_sql", "//protos:ts", "//sqlx:lexer", - "@npm//@types/fs-extra", - "@npm//@types/js-yaml", - "@npm//@types/node", - "@npm//@types/semver", - "@npm//fs-extra", - "@npm//js-yaml", - "@npm//protobufjs", - "@npm//semver", - "@npm//tarjan-graph", ], ) @@ -102,19 +102,19 @@ ts_test_suite( ], deps = [ ":core", + "//:node_modules/@types/chai", + "//:node_modules/@types/fs-extra", + "//:node_modules/@types/js-yaml", + "//:node_modules/@types/long", + "//:node_modules/@types/node", + "//:node_modules/chai", + "//:node_modules/fs-extra", + "//:node_modules/js-yaml", + "//:node_modules/long", "//common/protos", "//protos:ts", "//testing", "//testing:run_core", - "@npm//@types/chai", - "@npm//@types/fs-extra", - "@npm//@types/js-yaml", - "@npm//@types/long", - "@npm//@types/node", - "@npm//chai", - "@npm//fs-extra", - "@npm//js-yaml", - "@npm//long", ], ) diff --git a/core/compilation_sql/BUILD b/core/compilation_sql/BUILD index 8562e708a..8bc796022 100644 --- a/core/compilation_sql/BUILD +++ b/core/compilation_sql/BUILD @@ -9,5 +9,5 @@ ts_library( ], deps = [ "//protos:ts", - ] + ], ) diff --git a/examples/BUILD b/examples/BUILD index 114137428..aa66104c1 100644 --- a/examples/BUILD +++ b/examples/BUILD @@ -22,28 +22,27 @@ ts_test_suite( data = [ ":all_projects", ":node_modules", - "//packages/@dataform/core:package_tar", - "@nodejs//:node", + "//packages/@dataform/cli:bundle", + "//packages/@dataform/cli:json", + "//packages/@dataform/cli:worker_bundle", ], deps = [ + "//:node_modules/@types/chai", + "//:node_modules/@types/fs-extra", + "//:node_modules/@types/node", + "//:node_modules/chai", + "//:node_modules/fs-extra", + "//cli:index_test_base", "//cli/api", "//common/protos", "//protos:ts", "//testing", - "@npm//@types/chai", - "@npm//@types/fs-extra", - "@npm//@types/node", - "@npm//chai", - "@npm//fs-extra", ], ) node_modules( name = "node_modules", deps = [ - # The CLI bundle remains at this directory level's node_modules, whereas the core package - # is copied into each example project's node_modules during testing. - "//packages/@dataform/cli:package_tar", "//packages/@dataform/core:package_tar", ], ) diff --git a/examples/examples_test.ts b/examples/examples_test.ts index 429146b32..9e16ac1b7 100644 --- a/examples/examples_test.ts +++ b/examples/examples_test.ts @@ -2,13 +2,12 @@ import { expect } from "chai"; import { execFile } from "child_process"; import * as fs from "fs-extra"; +import { cliEntryPointPath } from "df/cli/index_test_base"; import { verifyObjectMatchesProto } from "df/common/protos"; import { dataform } from "df/protos/ts"; import { getProcessResult, nodePath, suite, test } from "df/testing"; suite("examples", { parallel: true }, () => { - const cliEntryPointPath = "examples/node_modules/@dataform/cli/bundle.js"; - ["stackoverflow_reporter", "extreme_weather_programming"].forEach((exampleProject) => { test(`${exampleProject} runs`, async () => { // compile() calls realpath on projectDir, which would jump out of bazel's diff --git a/package.json b/package.json index 869776618..eabfbee60 100644 --- a/package.json +++ b/package.json @@ -33,12 +33,8 @@ "yargs": "^16.2.0" }, "devDependencies": { - "@bazel/hide-bazel-files": "1.0.0", - "@bazel/ibazel": "^0.9.1", - "@bazel/labs": "^0.42.3", - "@bazel/rollup": "^3.0.0", - "@bazel/typescript": "^3.0.0", - "@rollup/plugin-node-resolve": "^7.1.3", + "@rollup/plugin-commonjs": "^28.0.9", + "@rollup/plugin-node-resolve": "^16.0.3", "@types/chai": "^4.1.7", "@types/diff": "^4.0.2", "@types/es6-shim": "^0.31.37", @@ -59,11 +55,7 @@ "chai": "^4.2.0", "chalk": "^4.0.0", "diff": "^8.0.3", - "escodegen": "^1.13.0", "eslint": "10.9.1", - "espree": "^7.0.0", - "estraverse": "^5.1.0", - "jsdoc": "^4.0.5", "json-stable-stringify": "^1.0.1", "minimist": "^1.2.6", "prettier": "3.9.4", @@ -73,37 +65,32 @@ "source-map-support": "^0.5.21", "ts-mockito": "^2.6.1", "typescript": "^3.8.3", - "uglify-es": "^3.3.9", - "uglify-js": "^3.7.7", "webpack": "5.104.1", "webpack-cli": "4.10.0" }, - "resolutions": { - "**/object-path": "^0.11.5", - "**/http-proxy": "^1.18.1", - "**/serialize-javascript": "^7.1.1", - "**/ssri": "^7.1.1", - "**/glob-parent": "^5.1.2", - "**/node-forge": "^1.0.0", - "**/json-bigint": "^1.0.0", - "**/y18n": "^5.0.5", - "**/underscore": "^1.12.1", - "**/protobufjs": "^7.0.0", - "**/ansi-regex": "^3.0.1", - "**/json-schema": "^0.4.0", - "**/nth-check": "^2.0.1", - "**/node-fetch": "^2.6.7", - "**/markdown-it": "14.3.1", - "**/mdurl": "2.0.0", - "**/wrap-ansi": "7.0.0", - "**/string-width": "4.1.0", - "**/@eslint-community/eslint-utils": "4.9.1", - "**/@ungap/structured-clone": "1.3.1", - "**/brace-expansion": "5.0.9", - "**/linkify-it": "^5.0.2", - "**/braces": "^3.0.3", - "**/@eslint/plugin-kit": "0.7.2", - "@google-cloud/storage/**/uuid": "14.0.2", - "**/fast-uri": "3.1.7" + "pnpm": { + "overrides": { + "serialize-javascript": "^7.1.1", + "glob-parent": "^5.1.2", + "json-bigint": "^1.0.0", + "y18n": "^5.0.5", + "underscore": "^1.12.1", + "protobufjs": "^7.6.5", + "ansi-regex": "^3.0.1", + "node-fetch": "^2.6.7", + "markdown-it": "14.3.1", + "mdurl": "2.0.0", + "wrap-ansi": "7.0.0", + "string-width": "4.1.0", + "@eslint-community/eslint-utils": "4.9.1", + "brace-expansion": "5.0.9", + "linkify-it": "^5.0.2", + "braces": "^3.0.3", + "@eslint/plugin-kit": "0.7.2", + "@google-cloud/storage@7.19.0>uuid": "14.0.2", + "gaxios@6.7.1>uuid": "14.0.2", + "teeny-request@9.0.0>uuid": "14.0.2", + "fast-uri": "3.1.7" + } } } diff --git a/packages/@dataform/cli/BUILD b/packages/@dataform/cli/BUILD index 72c1f0556..d2f27cad2 100644 --- a/packages/@dataform/cli/BUILD +++ b/packages/@dataform/cli/BUILD @@ -1,8 +1,8 @@ +load("@aspect_rules_js//js:defs.bzl", "js_binary") +load("//:version.bzl", "DF_VERSION") +load("//packages:index.bzl", "add_license_header_to_file", "pkg_bundle", "pkg_json", "pkg_npm_tar") load("//tools:ts_library.bzl", "ts_library") load("//tools/common:copy.bzl", "copy_file") -load("//:version.bzl", "DF_VERSION") -load("//packages:index.bzl", "LICENSE_HEADER", "add_license_header_to_file", "pkg_bundle", "pkg_json", "pkg_npm_tar") -load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") package(default_visibility = ["//visibility:public"]) @@ -12,23 +12,20 @@ ts_library( deps = [ "//cli", "//cli/api", - "//cli/vm", - "//cli/vm:compile_loader", "//protos:ts", ], ) -nodejs_binary( +js_binary( name = "bin", + # Only used for local dev; testonly prevents prod targets from depending on it + testonly = True, + chdir = "$$BUILD_WORKING_DIRECTORY", data = [ ":cli", - "@npm//source-map-support", - ], - entry_point = ":index.ts", - templated_args = [ - "--node_options=--require=source-map-support/register", - "--bazel_patch_module_resolver", + "//testing:resolver-patch", ], + entry_point = "bin_loader.js", ) externals = [ @@ -71,24 +68,31 @@ pkg_json( ) pkg_bundle( - name = "bundle", + name = "bundle_no_license", allow_node_builtins = True, - args = ["--banner='#!/usr/bin/env node\n" + LICENSE_HEADER + "'"], - entry_point = "index.ts", + entry_point = "index.js", externals = externals, deps = [ ":cli", ], ) +add_license_header_to_file( + name = "bundle", + from_file = ":bundle_no_license", + to_file = "bundle.js", + use_shebang = True, +) + pkg_bundle( - name = "worker_bundle", + name = "worker_bundle_no_license", allow_node_builtins = True, - args = ["--banner='#!/usr/bin/env node\n" + LICENSE_HEADER + "'"], - entry_point = "worker.ts", + # Compiled cli/vm/worker.ts, the single worker entry point (also used in dev/tests via + # cli/vm/worker_loader.js). + entry_point = "//cli/vm:worker.js", externals = externals, deps = [ - ":cli", + "//cli/vm", ], ) @@ -98,6 +102,13 @@ copy_file( out = "README.md", ) +add_license_header_to_file( + name = "worker_bundle", + from_file = ":worker_bundle_no_license", + to_file = "worker_bundle.js", + use_shebang = True, +) + pkg_npm_tar( name = "package", deps = [ diff --git a/packages/@dataform/cli/bin_loader.js b/packages/@dataform/cli/bin_loader.js new file mode 100644 index 000000000..10d9342ad --- /dev/null +++ b/packages/@dataform/cli/bin_loader.js @@ -0,0 +1,4 @@ +// Dev entry point for `bazel run //packages/@dataform/cli:bin`: install the "df/..." resolver +// patch (js_binary sets no node_options here), then start the CLI. +require("../../../testing/resolver-patch.js"); +require("./index.js"); diff --git a/packages/@dataform/cli/worker.ts b/packages/@dataform/cli/worker.ts deleted file mode 100644 index b8ea2e601..000000000 --- a/packages/@dataform/cli/worker.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { listenForCompileRequest } from "df/cli/vm/compile"; -import { registerJitCompileHandler, registerRpcResponseHandler } from "df/cli/vm/jit_worker"; - -registerRpcResponseHandler(); -registerJitCompileHandler(); -listenForCompileRequest(); - -if (process.send) { - process.send({ type: "worker_booted" }); -} diff --git a/packages/@dataform/core/BUILD b/packages/@dataform/core/BUILD index 15edc71ce..d44514b73 100644 --- a/packages/@dataform/core/BUILD +++ b/packages/@dataform/core/BUILD @@ -1,9 +1,7 @@ -load("@build_bazel_rules_nodejs//:index.bzl", "npm_package_bin") -load("@npm//webpack:index.bzl", "webpack") +load("@aspect_rules_webpack//webpack:defs.bzl", "webpack_bundle") load("//:version.bzl", "DF_VERSION") -load("//packages:index.bzl", "add_license_header_to_file", "pkg_bundle", "pkg_bundle_dts", "pkg_json", "pkg_npm_tar") +load("//packages:index.bzl", "add_license_header_to_file", "pkg_bundle_dts", "pkg_json", "pkg_npm_tar") load("//tools:ts_library.bzl", "ts_library") -load("//tools/common:copy.bzl", "copy_file") package(default_visibility = ["//visibility:public"]) @@ -15,31 +13,21 @@ ts_library( ], ) -webpack( - name = "bundler", - data = [ - ":core", - ":webpack.config.js", - "@npm//webpack-cli", - ], -) - -# RULEDIR explanation: https://bazel.build/reference/be/make-variables#predefined_genrule_variables -npm_package_bin( - name = "bundle", - outs = [ - "bundle_no_license.js", - ], +webpack_bundle( + name = "bundle_no_license", args = [ - "--config=$(location webpack.config.js)", - "--output-path=$(RULEDIR)", - "--output-filename=bundle_no_license.js", "--mode=production", ], data = [ ":webpack.config.js", + "//:node_modules/webpack-cli", + ], + entry_point = "index.js", + node_modules = "//:node_modules", + webpack_config = ":webpack.config.js", + deps = [ + ":core", ], - tool = ":bundler", ) pkg_json( @@ -87,13 +75,12 @@ add_license_header_to_file( add_license_header_to_file( name = "bundle_with_license", - from_file = "bundle", + from_file = ":bundle_no_license", to_file = "bundle.js", ) pkg_bundle_dts( name = "bundle.d", - entry_point = "index.ts", externals = [ "protobufjs", "tarjan-graph", @@ -114,9 +101,8 @@ pkg_npm_tar( ":configs_proto_with_license", ":core_proto_with_license", ":db_adapter_proto_with_license", - ":jit_proto_with_license", ":extension_proto_with_license", + ":jit_proto_with_license", ":package.json", - "//:version.bzl", ], ) diff --git a/packages/@dataform/core/webpack.config.js b/packages/@dataform/core/webpack.config.js index 5c2328c4d..9c6ecb0f7 100644 --- a/packages/@dataform/core/webpack.config.js +++ b/packages/@dataform/core/webpack.config.js @@ -1,38 +1,34 @@ -const path = require("path"); const webpack = require("webpack"); -const fs = require("fs"); - module.exports = (env, argv) => { - const runfilesDir = process.env.RUNFILES; - let workspaceName = "df"; - if (!fs.existsSync(path.resolve(runfilesDir, "df"))) { - workspaceName = "_main"; + if (!process.env.BAZEL_BINDIR) { + throw new Error("BAZEL_BINDIR must be set"); } const config = { mode: argv.mode || "development", - target: 'node', - entry: [path.resolve(runfilesDir, workspaceName, "packages/@dataform/core/index")], + target: "node", + devtool: false, output: { libraryTarget: "commonjs-module", }, optimization: { - minimize: true + minimize: true, + moduleIds: "deterministic", }, stats: { - warnings: true + warnings: true, }, resolve: { - extensions: [".ts", ".js", ".json"], + extensions: [".js", ".json"], alias: { - df: path.resolve(runfilesDir, workspaceName) - } + df: process.cwd(), + }, }, plugins: [ new webpack.optimize.LimitChunkCountPlugin({ - maxChunks: 1 - }) + maxChunks: 1, + }), ], }; return config; diff --git a/packages/BUILD b/packages/BUILD index 97e326b6f..20ddccd69 100644 --- a/packages/BUILD +++ b/packages/BUILD @@ -1,32 +1,33 @@ +load("@aspect_bazel_lib//lib:copy_to_bin.bzl", "copy_to_bin") +load("@aspect_rules_js//js:defs.bzl", "js_binary") load("//tools:ts_library.bzl", "ts_library") -load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") package(default_visibility = ["//visibility:public"]) -exports_files([ - "rollup.config.js", - "rollup_dts.config.js", -]) +copy_to_bin( + name = "rollup_config", + srcs = ["rollup.config.js"], +) + +copy_to_bin( + name = "rollup_dts_config", + srcs = ["rollup_dts.config.js"], +) ts_library( name = "gen-package-json", srcs = ["gen_package_json.ts"], deps = [ - "@npm//@types/node", - "@npm//@types/yargs", - "@npm//yargs", + "//:node_modules/@types/node", + "//:node_modules/@types/yargs", + "//:node_modules/yargs", ], ) -nodejs_binary( +js_binary( name = "gen-package-json-bin", - templated_args = [ - "--node_options=--require=source-map-support/register", - "--bazel_patch_module_resolver", - ], data = [ ":gen-package-json", - "@npm//source-map-support", ], - entry_point = ":gen_package_json.ts", + entry_point = "gen_package_json.js", ) diff --git a/packages/index.bzl b/packages/index.bzl index 8e5d5a748..79a881f56 100644 --- a/packages/index.bzl +++ b/packages/index.bzl @@ -1,6 +1,21 @@ -load("@npm//@bazel/rollup:index.bzl", "rollup_bundle") -load(":rollup_bundle_dts.bzl", "rollup_bundle_dts") -load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm") +load("@aspect_rules_js//npm:defs.bzl", "npm_package") +load("@aspect_rules_rollup//rollup:defs.bzl", "rollup") +load("@npm//:rollup/package_json.bzl", rollup_bin = "bin") + +LICENSE_HEADER = """// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +""" def pkg_json(name, package_name, description, version, external_deps = [], layers = [], main = "", types = ""): native.genrule( @@ -8,7 +23,7 @@ def pkg_json(name, package_name, description, version, external_deps = [], layer srcs = layers, tools = ["//packages:gen-package-json-bin"], outs = ["package.json"], - cmd = """$(location //packages:gen-package-json-bin) \\ + cmd = """BAZEL_BINDIR=. $(location //packages:gen-package-json-bin) \\ --name {name} \\ --description '{description}' \\ --package-version {version} \\ @@ -27,38 +42,57 @@ def pkg_json(name, package_name, description, version, external_deps = [], layer ), ) -def pkg_bundle(deps, externals, allow_node_builtins = False, args = [], **kwargs): +def pkg_bundle(name, deps, externals, entry_point = "index.js", allow_node_builtins = False, args = [], **kwargs): base_args = ["--external={}".format(",".join(externals))] if allow_node_builtins: base_args.append("--environment=ALLOW_NODE_BUILTINS") - rollup_bundle( - config_file = "//packages:rollup.config.js", + + rollup( + name = name, + config_file = "//packages:rollup_config", args = base_args + args, format = "cjs", sourcemap = "false", - deps = [ - "@npm//@rollup/plugin-node-resolve", - ] + deps, + entry_point = entry_point, + node_modules = "//:node_modules", + deps = deps + [ + "//:node_modules/@rollup/plugin-commonjs", + "//:node_modules/@rollup/plugin-node-resolve", + ], **kwargs ) -def pkg_bundle_dts(deps, externals, args = [], **kwargs): - rollup_bundle_dts( - config_file = "//packages:rollup_dts.config.js", - args = ["--external={}".format(",".join(externals))] + args, - format = "cjs", - sourcemap = "false", - deps = [ - "@npm//rollup-plugin-dts", - ] + deps, +def pkg_bundle_dts(name, deps, externals, entry_point = ":index.d.ts", out = "bundle.d.ts", **kwargs): + rollup_bin.rollup( + name = name, + srcs = deps + [ + entry_point, + "//:node_modules/rollup-plugin-dts", + "//packages:rollup_dts_config", + ], + include_sources = False, + include_transitive_sources = False, + include_types = True, + include_transitive_types = True, + outs = [out], + args = [ + "--config", + "$(rootpath //packages:rollup_dts_config)", + "--input", + "$(rootpath {})".format(entry_point), + "--file", + "$(rootpath {})".format(out), + "--external", + ",".join(externals), + ], **kwargs ) def pkg_npm_tar(name, srcs = [], deps = []): - pkg_npm( + npm_package( name = name, - srcs = srcs, - deps = deps, + srcs = srcs + deps, + visibility = ["//visibility:public"], ) native.genrule( name = name + "_tar", @@ -66,35 +100,18 @@ def pkg_npm_tar(name, srcs = [], deps = []): outs = [name + ".tar.gz"], cmd = "tar -cvzf $(location {name}.tar.gz) -C $(location :{name})/.. --dereference {name}" .format(name = name), + visibility = ["//visibility:public"], ) -LICENSE_HEADER = """// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -""" - -def add_license_header_to_file(name, from_file, to_file): - """ - Adds the Apache 2.0 license header to a file. This is not done in-place because Bazel requires - separate output and input files. - """ +def add_license_header_to_file(name, from_file, to_file, use_shebang = False, **kwargs): + header = LICENSE_HEADER + if use_shebang: + header = "#!/usr/bin/env node\n" + header native.genrule( - name=name, - srcs=[from_file], - outs=[to_file], - cmd=( - ( - "echo '{license_header}' | cat - $(location {from_file}) > $(location {to_file})" - ).format(from_file=from_file, to_file=to_file, license_header=LICENSE_HEADER) - ), + name = name, + srcs = [from_file], + outs = [to_file], + cmd = "printf '%s\\n' '{header}' | cat - $(location {from_file}) > $(location {to_file})" + .format(from_file = from_file, to_file = to_file, header = header), + **kwargs ) diff --git a/packages/rollup.config.js b/packages/rollup.config.js index 3ac33cdec..b650b9fbf 100644 --- a/packages/rollup.config.js +++ b/packages/rollup.config.js @@ -1,4 +1,6 @@ -import resolve from "@rollup/plugin-node-resolve"; +import commonjs from "@rollup/plugin-commonjs"; +import { nodeResolve } from "@rollup/plugin-node-resolve"; +import * as path from "path"; function convertToRegex(pattern) { if (pattern instanceof RegExp) { @@ -20,14 +22,13 @@ const knownNodeBuiltins = [ "events", "long", "https", - "net" -].map(moduleName => convertToRegex(moduleName)); + "net", +].map((moduleName) => convertToRegex(moduleName)); -const importsToBundle = ["df", /df\/.*$/, /^bazel\-.*$/]; - -const checkImports = imports => { - const allowedImports = [...imports].map(pattern => convertToRegex(pattern)); +const importsToBundle = ["df", /^df\/.*$/]; +const checkImports = (imports) => { + const allowedImports = [...imports].map((pattern) => convertToRegex(pattern)); // We're going to read these from the arguments. let externals = () => false; let allowNodeBuiltins = process.env.ALLOW_NODE_BUILTINS; @@ -36,24 +37,46 @@ const checkImports = imports => { buildStart(options) { externals = options.external || (() => false); }, - resolveId(source) { - // Either this is an internal import, or explicitly listed in externals or we fail. + resolveId(source, importer, options) { + if (!importer || path.isAbsolute(source) || source.startsWith(".")) { + return null; + } + if (source.startsWith("df/")) { + // Forward `options` so that @rollup/plugin-commonjs's metadata (e.g. whether this is a + // require() call) reaches node-resolve. + return this.resolve(path.resolve(source.slice(3)), importer, { + ...options, + skipSelf: true, + }); + } + if (allowedImports.some((pattern) => pattern.test(source))) { + return null; + } if ( - allowedImports.some(pattern => pattern.test(source)) || externals(source) || externals(source.split("/")[0]) || - (allowNodeBuiltins && knownNodeBuiltins.some(pattern => pattern.test(source))) + externals(source) || + externals(source.split("/")[0]) || + (allowNodeBuiltins && knownNodeBuiltins.some((pattern) => pattern.test(source))) ) { - return null; + return false; } throw new Error("Must explicitly list import as an external: " + source); - } + }, }; }; export default { + output: { + exports: "auto", + }, plugins: [ checkImports(importsToBundle), - resolve({ - resolveOnly: importsToBundle - }) - ] + nodeResolve(), + commonjs({ + strictRequires: true, + // Leave these require() calls untouched, so they resolve at runtime. cli/vm/jit_worker.ts + // requires the project's (or a JiT-installed) @dataform/core, which isn't a CLI dependency, + // so it must not be listed in `externals` (that would add it to the package.json). + ignore: ["@dataform/core"], + }), + ], }; diff --git a/packages/rollup_bundle_dts.bzl b/packages/rollup_bundle_dts.bzl deleted file mode 100644 index f1501783c..000000000 --- a/packages/rollup_bundle_dts.bzl +++ /dev/null @@ -1,376 +0,0 @@ -load("@build_bazel_rules_nodejs//:providers.bzl", "DeclarationInfo", "JSEcmaScriptModuleInfo", "NodeContextInfo", "NpmPackageInfo", "node_modules_aspect", "run_node") -load("@build_bazel_rules_nodejs//internal/linker:link_node_modules.bzl", "module_mappings_aspect") - -# This is a fork of https://github.com/bazelbuild/rules_nodejs/blob/master/packages/rollup/src/rollup_bundle.bzl -# with a few small changes to support bundling .d.ts files. Instead of collecting es6 sources, it collects -# typescript declarations. It also changes the logic for resolving js inputs to support resolving .d.ts files instead. -# TODO: Move this upstream into rules_nodejs. - -_DOC = """Runs the Rollup.js CLI under Bazel. -See https://rollupjs.org/guide/en/#command-line-reference -Typical example: -```python -load("@npm_bazel_rollup//:index.bzl", "rollup_bundle") -rollup_bundle( - name = "bundle", - srcs = ["dependency.js"], - entry_point = "input.js", - config_file = "rollup.config.js", -) -``` -Note that the command-line options set by Bazel override what appears in the rollup config file. -This means that typically a single `rollup.config.js` can contain settings for your whole repo, -and multiple `rollup_bundle` rules can share the configuration. -Thus, setting options that Bazel controls will have no effect, e.g. -```javascript -module.exports = { - output: { file: 'this_is_ignored.js' }, -} -``` -You must determine ahead of time whether Rollup needs to produce a directory output. -This is the case if you have dynamic imports which cause code-splitting, or if you -provide multiple entry points. Use the `output_dir` attribute to specify that you want a -directory output. -Rollup's CLI has the same behavior, forcing you to pick `--output.file` or `--output.dir`. -To get multiple output formats, wrap the rule with a macro or list comprehension, e.g. -```python -[ - rollup_bundle( - name = "bundle.%s" % format, - entry_point = "foo.js", - format = format, - ) - for format in [ - "cjs", - "umd", - ] -] -``` -This will produce one output per requested format. -""" - -_ROLLUP_ATTRS = { - "srcs": attr.label_list( - doc = """Non-entry point JavaScript source files from the workspace. -You must not repeat file(s) passed to entry_point/entry_points. -""", - # Don't try to constrain the filenames, could be json, svg, whatever - allow_files = True, - ), - "args": attr.string_list( - doc = """Command line arguments to pass to rollup. Can be used to override config file settings. -These argument passed on the command line before all arguments that are always added by the -rule such as `--output.dir` or `--output.file`, `--format`, `--config` and `--preserveSymlinks` and -also those that are optionally added by the rule such as `--sourcemap`. -See rollup CLI docs https://rollupjs.org/guide/en/#command-line-flags for complete list of supported arguments.""", - default = [], - ), - "config_file": attr.label( - doc = """A rollup.config.js file -Passed to the --config -See https://rollupjs.org/guide/en/#configuration-files -If not set, a default basic Rollup config is used. -""", - allow_single_file = True, - default = "@npm_bazel_rollup//:rollup.config.js", - ), - "entry_point": attr.label( - doc = """The bundle's entry point (e.g. your main.js or app.js or index.js). -This is just a shortcut for the `entry_points` attribute with a single output chunk named the same as the rule. -For example, these are equivalent: -```python -rollup_bundle( - name = "bundle", - entry_point = "index.js", -) -``` -```python -rollup_bundle( - name = "bundle", - entry_points = { - "index.js": "bundle" - } -) -``` -If `rollup_bundle` is used on a `ts_library`, the `rollup_bundle` rule handles selecting the correct outputs from `ts_library`. -In this case, `entry_point` can be specified as the `.ts` file and `rollup_bundle` will handle the mapping to the `.mjs` output file. -For example: -```python -ts_library( - name = "foo", - srcs = [ - "foo.ts", - "index.ts", - ], -) -rollup_bundle( - name = "bundle", - deps = [ "foo" ], - entry_point = "index.ts", -) -``` -""", - allow_single_file = True, - ), - "entry_points": attr.label_keyed_string_dict( - doc = """The bundle's entry points (e.g. your main.js or app.js or index.js). -Passed to the [`--input` option](https://github.com/rollup/rollup/blob/master/docs/999-big-list-of-options.md#input) in Rollup. -Keys in this dictionary are labels pointing to .js entry point files. -Values are the name to be given to the corresponding output chunk. -Either this attribute or `entry_point` must be specified, but not both. -""", - allow_files = True, - ), - "format": attr.string( - doc = """"Specifies the format of the generated bundle. One of the following: -- `amd`: Asynchronous Module Definition, used with module loaders like RequireJS -- `cjs`: CommonJS, suitable for Node and other bundlers -- `esm`: Keep the bundle as an ES module file, suitable for other bundlers and inclusion as a ` in serialized function bodies, serialize-javascript >= 7.1.1, < 7.1.2). Resolves Dependabot alert #383. --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 800cadf21..c06c872f0 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "pnpm": { "onlyBuiltDependencies": ["protobufjs", "fsevents"], "overrides": { - "serialize-javascript": "^7.1.1", + "serialize-javascript": "^7.1.2", "glob-parent": "^5.1.2", "json-bigint": "^1.0.0", "y18n": "^5.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 52b8ab805..e6a513d2b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: - serialize-javascript: ^7.1.1 + serialize-javascript: ^7.1.2 glob-parent: ^5.1.2 json-bigint: ^1.0.0 y18n: ^5.0.5 @@ -1777,8 +1777,8 @@ packages: engines: {node: '>=10'} hasBin: true - serialize-javascript@7.1.1: - resolution: {integrity: sha512-k3CMsaIvvdSwm8oLB4MXSl0wH2/cwlH7xGcnRd2DaeRmBkbzYmyT8j0tsX60DwD1eRwHTpNpH8ljKu9oUT1MeQ==} + serialize-javascript@7.1.2: + resolution: {integrity: sha512-GL2BWwVa6JydKO6l/ljVgjAZF4QJ3S7dWDWi53s5GZT8PJzD2fNxi67HANQGKAqPrwEpL5ba7gUBGi0Ls/sEoQ==} engines: {node: '>=20.0.0'} shallow-clone@3.0.1: @@ -3761,7 +3761,7 @@ snapshots: semver@7.8.5: {} - serialize-javascript@7.1.1: {} + serialize-javascript@7.1.2: {} shallow-clone@3.0.1: dependencies: @@ -3864,7 +3864,7 @@ snapshots: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 4.3.3 - serialize-javascript: 7.1.1 + serialize-javascript: 7.1.2 terser: 5.39.0 webpack: 5.104.1(webpack-cli@4.10.0) From 64fde0c9e8a9a0b0d13cdc6886131cc77c578c79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=C5=82odarczyk?= <121974187+Ford544@users.noreply.github.com> Date: Thu, 15 Oct 2026 11:04:46 +0200 Subject: [PATCH 24/27] Remove outdated line (#2381) --- contributing.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/contributing.md b/contributing.md index 0fae0b8ef..6c7933233 100644 --- a/contributing.md +++ b/contributing.md @@ -98,8 +98,6 @@ Building the CLI will build most of the required components. bazel build cli ``` -The projects folder here is not built as it requires an environment file, which can be provided from the team. - ### Add New NPM Dependencies Global pnpm installations will throw errors when installing packages, instead you should use: From 0d7cd0224735a7f58c91c41099fdd69ebc546846 Mon Sep 17 00:00:00 2001 From: Artur Piotr Izaak Laskowski Date: Thu, 15 Oct 2026 11:05:02 +0200 Subject: [PATCH 25/27] Bump brace-expansion override to 5.0.12 (#2378) Fixes GHSA-6j4f-fj2g-mc7p, GHSA-qhr7-859c-m2p7 and GHSA-q2hr-2g5m-vwhr (DoS via recursion / quadratic expansion in brace-expansion < 5.0.12). Resolves Dependabot alerts #379, #380, #381. --- package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index c06c872f0..98c9943b0 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "wrap-ansi": "7.0.0", "string-width": "4.1.0", "@eslint-community/eslint-utils": "4.9.1", - "brace-expansion": "5.0.9", + "brace-expansion": "5.0.12", "linkify-it": "^5.0.2", "@eslint/plugin-kit": "0.7.2", "@google-cloud/storage@7.19.0>uuid": "14.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e6a513d2b..dad736e31 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ overrides: wrap-ansi: 7.0.0 string-width: 4.1.0 '@eslint-community/eslint-utils': 4.9.1 - brace-expansion: 5.0.9 + brace-expansion: 5.0.12 linkify-it: ^5.0.2 '@eslint/plugin-kit': 0.7.2 '@google-cloud/storage@7.19.0>uuid': 14.0.2 @@ -787,8 +787,8 @@ packages: bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} - brace-expansion@5.0.9: - resolution: {integrity: sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==} + brace-expansion@5.0.12: + resolution: {integrity: sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==} engines: {node: 20 || >=22} browserslist@4.29.0: @@ -2714,7 +2714,7 @@ snapshots: bluebird@3.7.2: {} - brace-expansion@5.0.9: + brace-expansion@5.0.12: dependencies: balanced-match: 4.0.4 @@ -3494,15 +3494,15 @@ snapshots: minimatch@10.2.6: dependencies: - brace-expansion: 5.0.9 + brace-expansion: 5.0.12 minimatch@5.1.9: dependencies: - brace-expansion: 5.0.9 + brace-expansion: 5.0.12 minimatch@9.0.9: dependencies: - brace-expansion: 5.0.9 + brace-expansion: 5.0.12 minimist@1.2.7: {} From 78180046bc1093d85e362f18697759bab6245469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=C5=82odarczyk?= <121974187+Ford544@users.noreply.github.com> Date: Thu, 15 Oct 2026 13:44:52 +0200 Subject: [PATCH 26/27] Fix npm publish (#2380) --- packages/@dataform/cli/BUILD | 1 + packages/@dataform/core/BUILD | 1 + packages/index.bzl | 4 +++- scripts/publish | 5 ++--- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/@dataform/cli/BUILD b/packages/@dataform/cli/BUILD index b861fdc56..7b79c30ca 100644 --- a/packages/@dataform/cli/BUILD +++ b/packages/@dataform/cli/BUILD @@ -116,4 +116,5 @@ pkg_npm_tar( ":readme", ":worker_bundle", ], + publishable = True, ) diff --git a/packages/@dataform/core/BUILD b/packages/@dataform/core/BUILD index d44514b73..1108a181d 100644 --- a/packages/@dataform/core/BUILD +++ b/packages/@dataform/core/BUILD @@ -105,4 +105,5 @@ pkg_npm_tar( ":jit_proto_with_license", ":package.json", ], + publishable = True, ) diff --git a/packages/index.bzl b/packages/index.bzl index 79a881f56..9a9b71bda 100644 --- a/packages/index.bzl +++ b/packages/index.bzl @@ -88,10 +88,12 @@ def pkg_bundle_dts(name, deps, externals, entry_point = ":index.d.ts", out = "bu **kwargs ) -def pkg_npm_tar(name, srcs = [], deps = []): +def pkg_npm_tar(name, srcs = [], deps = [], publishable = False): npm_package( name = name, srcs = srcs + deps, + # When True, generates a `.publish` target that runs `npm publish` on the package. + publishable = publishable, visibility = ["//visibility:public"], ) native.genrule( diff --git a/scripts/publish b/scripts/publish index 67a3f6b20..47f11f1f3 100755 --- a/scripts/publish +++ b/scripts/publish @@ -35,6 +35,5 @@ echo "Publishing as '$TAG' based on version: $VERSION" PUBLISH_REGISTRY=https://registry.npmjs.org/ -bazel build //packages/@dataform/cli:package //packages/@dataform/core:package -bazel run @nodejs//:npm -- publish "$PWD/bazel-bin/packages/@dataform/cli/package" --tag=$TAG --registry=$PUBLISH_REGISTRY -bazel run @nodejs//:npm -- publish "$PWD/bazel-bin/packages/@dataform/core/package" --tag=$TAG --registry=$PUBLISH_REGISTRY +bazel run //packages/@dataform/cli:package.publish -- --tag=$TAG --registry=$PUBLISH_REGISTRY +bazel run //packages/@dataform/core:package.publish -- --tag=$TAG --registry=$PUBLISH_REGISTRY From 5cc970f119b29b89425d19104ed73a368ab27b8d Mon Sep 17 00:00:00 2001 From: rafal-hawrylak <33635872+rafal-hawrylak@users.noreply.github.com> Date: Thu, 15 Oct 2026 12:13:10 +0000 Subject: [PATCH 27/27] test(core): cover lineage settings in workflow_settings.yaml, including an empty lineage block (#2382) --- core/main_workflow_settings_test.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/core/main_workflow_settings_test.ts b/core/main_workflow_settings_test.ts index 3bc3fce85..a32650bac 100644 --- a/core/main_workflow_settings_test.ts +++ b/core/main_workflow_settings_test.ts @@ -152,6 +152,34 @@ defaultProject: project`, ); }); + suite("lineage settings", () => { + function compiledLineageEnabled(lineageYaml: string): boolean | null | undefined { + const projectDir = tmpDirFixture.createNewTmpDir(); + writeWorkflowSettingsFile( + projectDir, + ` +dataformCoreVersion: ${version} +defaultProject: project +${lineageYaml}`, + ); + const result = runMainInVm(coreExecutionRequestFromPath(projectDir)); + expect(result.compile.compiledGraph.graphErrors.compilationErrors).deep.equals([]); + return result.compile.compiledGraph.projectConfig.lineageEnabled; + } + + test(`lineage.enabled: false compiles to lineageEnabled false`, () => { + expect(compiledLineageEnabled("lineage:\n enabled: false")).equals(false); + }); + + test(`lineage.enabled: true compiles to lineageEnabled true`, () => { + expect(compiledLineageEnabled("lineage:\n enabled: true")).equals(true); + }); + + test(`an empty lineage block leaves lineageEnabled unset`, () => { + expect(compiledLineageEnabled("lineage: {}")).equals(null); + }); + }); + test(`workflow settings and project config overrides are merged and applied within SQLX files`, () => { const projectDir = tmpDirFixture.createNewTmpDir(); writeWorkflowSettingsFile(