# HG changeset patch # User June Park # Date 1760017550 25200 # Node ID b212647e86543c9d239221bd801d33cc499535f7 # Parent a58a663dae6859295a78ff154fa893b801fe6e78 [Bun] Adding OS specific files that I used for testing as to be ignored. diff -r a58a663dae68 -r b212647e8654 .hgignore --- a/.hgignore Thu Oct 09 06:41:49 2025 -0700 +++ b/.hgignore Thu Oct 09 06:45:50 2025 -0700 @@ -1,6 +1,6 @@ syntax: glob -# 1) Bazel’s output base directories (e.g. bazel-/) +# Bazel specifics bazel-*/ *.runfiles/ *.runfiles_manifest @@ -8,7 +8,13 @@ bazel-*/external/ .bazelcache/ +# Folder for unpacking standalone bazel target. projects/* +# Git backup on private github... probably remove and just upload to my s3 bucket directly or something. .git/* .gitignore + +# Bun specific this is os dependent so should be ignored. +.third_party/bun/bun +.third_party/bun/node_modules diff -r a58a663dae68 -r b212647e8654 playground/BUILD --- a/playground/BUILD Thu Oct 09 06:41:49 2025 -0700 +++ b/playground/BUILD Thu Oct 09 06:45:50 2025 -0700 @@ -30,6 +30,9 @@ name = "hello", src = "main.ts", src_folder = "playground", - data = ["//third_party/bun:node_modules", ":all_ts_files"], + data = [ + "//third_party/bun:bun_files", + ":all_ts_files", + ], visibility = ["//visibility:public"], ) diff -r a58a663dae68 -r b212647e8654 third_party/bun/BUILD --- a/third_party/bun/BUILD Thu Oct 09 06:41:49 2025 -0700 +++ b/third_party/bun/BUILD Thu Oct 09 06:45:50 2025 -0700 @@ -42,15 +42,9 @@ ) filegroup( - name = "node_modules", + name = "bun_files", srcs = [ "package.json", "tsconfig.json", "bun.lock", ] + glob(["node_modules/**"]), visibility = ["//visibility:public"], ) - -filegroup( - name = "bun_dir", - srcs = glob(["**"], exclude = ["BUILD", "bun"],), - visibility = ["//visibility:public"], -)