chore: address phase 7 review feedback
This commit is contained in:
committed by
copilot-swe-agent[bot]
parent
d271e4bde6
commit
76fad7e9c8
@@ -57,7 +57,7 @@ bun = module_extension(
|
|||||||
|
|
||||||
_install = tag_class(
|
_install = tag_class(
|
||||||
attrs = {
|
attrs = {
|
||||||
"name": attr.string(default = "node_modules"),
|
"name": attr.string(mandatory = True),
|
||||||
"package_json": attr.string(mandatory = True),
|
"package_json": attr.string(mandatory = True),
|
||||||
"bun_lockfile": attr.string(mandatory = True),
|
"bun_lockfile": attr.string(mandatory = True),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ set -euo pipefail
|
|||||||
|
|
||||||
extension_file="$1"
|
extension_file="$1"
|
||||||
|
|
||||||
grep -q 'bun_install = module_extension(' "${extension_file}"
|
grep -Eq 'bun_install[[:space:]]*=[[:space:]]*module_extension\(' "${extension_file}"
|
||||||
grep -q 'tag_classes = {"install": _install}' "${extension_file}"
|
grep -Eq 'tag_classes[[:space:]]*=[[:space:]]*\{"install":[[:space:]]*_install\}' "${extension_file}"
|
||||||
grep -q '"package_json": attr.string(mandatory = True)' "${extension_file}"
|
grep -Eq '"name":[[:space:]]*attr\.string\(mandatory[[:space:]]*=[[:space:]]*True\)' "${extension_file}"
|
||||||
grep -q '"bun_lockfile": attr.string(mandatory = True)' "${extension_file}"
|
grep -Eq '"package_json":[[:space:]]*attr\.string\(mandatory[[:space:]]*=[[:space:]]*True\)' "${extension_file}"
|
||||||
|
grep -Eq '"bun_lockfile":[[:space:]]*attr\.string\(mandatory[[:space:]]*=[[:space:]]*True\)' "${extension_file}"
|
||||||
|
|||||||
Reference in New Issue
Block a user