@ape-egg/vibe-compiler 3.0.5 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ape-egg/vibe-compiler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Optional Rust compiler for Vibe — pre-renders, inlines components, and optimizes iterations. The runtime never needs it.",
|
|
6
6
|
"homepage": "https://vibe.korte.kim",
|
package/src/Cargo.lock
CHANGED
package/src/Cargo.toml
CHANGED
package/src/compiler/compile.rs
CHANGED
|
@@ -2485,6 +2485,7 @@ impl Compiler {
|
|
|
2485
2485
|
|
|
2486
2486
|
// 2. Copy lockfile if it exists (needed for reproducible installs)
|
|
2487
2487
|
let lockfile_name = match pkg_manager.as_str() {
|
|
2488
|
+
"bun" if self.config.working_dir.join("bun.lock").exists() => "bun.lock",
|
|
2488
2489
|
"bun" => "bun.lockb",
|
|
2489
2490
|
"pnpm" => "pnpm-lock.yaml",
|
|
2490
2491
|
"yarn" => "yarn.lock",
|
|
@@ -2520,7 +2521,7 @@ impl Compiler {
|
|
|
2520
2521
|
|
|
2521
2522
|
/// Detect package manager from lockfiles
|
|
2522
2523
|
fn detect_package_manager(dir: &Path) -> Result<String, CompileError> {
|
|
2523
|
-
if dir.join("bun.lockb").exists() {
|
|
2524
|
+
if dir.join("bun.lockb").exists() || dir.join("bun.lock").exists() {
|
|
2524
2525
|
return Ok("bun".to_string());
|
|
2525
2526
|
}
|
|
2526
2527
|
if dir.join("pnpm-lock.yaml").exists() {
|