8 Commits

Author SHA1 Message Date
Eric
8dbddb635d chore(release): v0.0.3
Some checks failed
Copilot Setup Steps / copilot-setup-steps (push) Failing after 34s
2026-03-04 10:00:44 +01:00
Eric
485ccdac7c feat: release script 2026-03-04 10:00:36 +01:00
Eric
5cb20b96c7 Merge pull request 'copilot/add-tests-bun-workspaces' (#3) from copilot/add-tests-bun-workspaces into main
Reviewed-on: #3
2026-03-04 08:53:35 +00:00
Eric
f31c88adab Merge pull request 'copilot/add-bun-rules-package' (#2) from copilot/add-bun-rules-package into main
Reviewed-on: #2
2026-03-04 08:47:28 +00:00
Eric
76a3f2f442 fix: bazel is green 2026-03-04 09:47:09 +01:00
Eric
4d1be5ada2 feat: cache nix packages in ci 2026-03-04 09:44:37 +01:00
Eric
cf18ebeb79 chore(release): v0.0.2
Some checks failed
Copilot Setup Steps / copilot-setup-steps (push) Failing after 33s
2026-03-04 09:37:10 +01:00
Eric
9b2420c9b9 chore: update flake 2026-03-04 09:37:01 +01:00
6 changed files with 28 additions and 10 deletions

View File

@@ -35,5 +35,11 @@ jobs:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Restore and save Nix store cache
uses: nix-community/cache-nix-action@v7
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
- name: Install flake dependencies
run: nix develop --accept-flake-config -c true

View File

@@ -1,6 +1,6 @@
module(
name = "rules_bun",
version = "0.1.0",
version = "0.0.3",
)
bazel_dep(name = "platforms", version = "1.0.0")

3
VERSION Normal file
View File

@@ -0,0 +1,3 @@
0.0.3
stable
0

12
flake.lock generated
View File

@@ -9,16 +9,16 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1772610504,
"narHash": "sha256-uoMnjsab5IpZRZ/1mn5oVy4fRnAYn6b58E3FNa+jyQY=",
"ref": "v1.0.4",
"rev": "86a0792b6e54104e8cb33983cabc175aea8da464",
"revCount": 33,
"lastModified": 1772613315,
"narHash": "sha256-RlPTOsyfVwuwEzvaMpwS+giOqQa6KQXMuSHyh1bctjk=",
"ref": "v1.0.5",
"rev": "e445e49baf8b44b385108cd4f26a14d8ccf9fd35",
"revCount": 35,
"type": "git",
"url": "https://git.dgren.dev/eric/nix-flake-lib"
},
"original": {
"ref": "v1.0.4",
"ref": "v1.0.5",
"type": "git",
"url": "https://git.dgren.dev/eric/nix-flake-lib"
}

View File

@@ -3,12 +3,13 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
devshell-lib.url = "git+https://git.dgren.dev/eric/nix-flake-lib?ref=v1.0.4";
devshell-lib.url = "git+https://git.dgren.dev/eric/nix-flake-lib?ref=v1.0.5";
devshell-lib.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
{
self,
nixpkgs,
devshell-lib,
...
@@ -41,6 +42,7 @@
bun
bazel9
bazel-buildtools
self.packages.${system}.release
];
features = {
@@ -86,7 +88,7 @@
name = "Bazel";
bin = "${bazel9}/bin/bazel";
versionCmd = "--version";
color = "BLUE";
color = "GREEN";
}
];
@@ -128,7 +130,13 @@
release = devshell-lib.lib.mkRelease {
inherit system;
release = [ ];
release = [
{
run = ''
sed -E -i 's#^([[:space:]]*version[[:space:]]*=[[:space:]]*")[^"]*(",)$#\1'"$FULL_VERSION"'\2#' "$ROOT_DIR/MODULE.bazel"
'';
}
];
postVersion = ''
echo "Released $FULL_TAG"

1
result Symbolic link
View File

@@ -0,0 +1 @@
/nix/store/742k6q4hns9h1wj61y90glqwfmn2y7pa-release