Compare commits
4 Commits
73d4625420
...
v0.4.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
769b95d05b | ||
|
|
2a25cfb91a | ||
|
|
2a9bd09aa4 | ||
|
|
4b7ebb1536 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -22,4 +22,6 @@ node_modules/
|
||||
|
||||
.env
|
||||
!tests/.env
|
||||
!tests/**/.env
|
||||
!examples/.env
|
||||
!examples/**/.env
|
||||
|
||||
3
.gitleaksignore
Normal file
3
.gitleaksignore
Normal file
@@ -0,0 +1,3 @@
|
||||
tests/binary_test/.env:environment-file:1
|
||||
tests/script_test/.env:environment-file:1
|
||||
tests/binary_test/env_parent/.env:environment-file:1
|
||||
@@ -1,6 +1,6 @@
|
||||
module(
|
||||
name = "rules_bun",
|
||||
version = "0.2.2",
|
||||
version = "0.4.0",
|
||||
)
|
||||
|
||||
# Core ruleset dependencies.
|
||||
|
||||
4
MODULE.bazel.lock
generated
4
MODULE.bazel.lock
generated
@@ -193,7 +193,7 @@
|
||||
"//bun:extensions.bzl%bun": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "lzOUyaXDbkH922ruNkkwEF2cnI4m0XpzrOti0qypwtA=",
|
||||
"usagesDigest": "/0BcCMA6AOzLhQaRK6DquxrCfpPHJUjSUaFz4zmQrsM=",
|
||||
"usagesDigest": "3e3c2oTwajnFd8qnwby/r5XJjkCbXcs0Y4hgl0tOBes=",
|
||||
"recordedInputs": [
|
||||
"REPO_MAPPING:,bazel_tools bazel_tools"
|
||||
],
|
||||
@@ -284,7 +284,7 @@
|
||||
"//bun:extensions.bzl%bun_install": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "lzOUyaXDbkH922ruNkkwEF2cnI4m0XpzrOti0qypwtA=",
|
||||
"usagesDigest": "f9pNm3AOxJDZmpHhL2vrrCo23IW33im/l/VYCTW2BWM=",
|
||||
"usagesDigest": "Rpb8CFAx+vMvmPf6ZPeHR/gweyP8QXMGdOfSou7lKNg=",
|
||||
"recordedInputs": [
|
||||
"REPO_MAPPING:,bazel_tools bazel_tools"
|
||||
],
|
||||
|
||||
@@ -60,7 +60,7 @@ Release announcements should provide a copy-pasteable module snippet in the
|
||||
standard ruleset form:
|
||||
|
||||
```starlark
|
||||
bazel_dep(name = "rules_bun", version = "0.2.2")
|
||||
bazel_dep(name = "rules_bun", version = "0.4.0")
|
||||
```
|
||||
|
||||
Then add the Bun repositories and register the toolchains in `MODULE.bazel`:
|
||||
|
||||
@@ -75,6 +75,11 @@
|
||||
' "$README" > "$TMP" && mv "$TMP" "$README"
|
||||
'';
|
||||
}
|
||||
{
|
||||
run.script = ''
|
||||
bazel cquery //tests/... >/dev/null
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
postVersion = ''
|
||||
|
||||
1
tests/binary_test/.env
Normal file
1
tests/binary_test/.env
Normal file
@@ -0,0 +1 @@
|
||||
BUN_ENV_CWD_TEST=from-dotenv
|
||||
1
tests/binary_test/env_parent/.env
Normal file
1
tests/binary_test/env_parent/.env
Normal file
@@ -0,0 +1 @@
|
||||
BUN_ENV_PARENT_TEST=from-parent-dotenv
|
||||
1
tests/script_test/.env
Normal file
1
tests/script_test/.env
Normal file
@@ -0,0 +1 @@
|
||||
BUN_SCRIPT_ENV_TEST=from-dotenv
|
||||
Reference in New Issue
Block a user