Dylan Conway
8d6f19516f
root lifecycle scripts inherit stdin ( #11647 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-06 05:10:43 -07:00
Dylan Conway
f3118d0f22
fix(install): git dependencies without package.json or a name ( #11644 )
2024-06-06 04:38:47 -07:00
Dylan Conway
af95bfc7b1
Write registry hash and length before data in manifest cache ( #11632 )
2024-06-05 22:14:41 -07:00
Dylan Conway
c614d5b1da
fix(install): aliased workspace without version in package.json ( #11630 )
2024-06-05 22:04:57 -07:00
Dylan Conway
3e4c0918a4
fix(install): invalidate manifest cache on registry change ( #11606 )
2024-06-05 18:44:36 -07:00
Dylan Conway
347dc264ac
fix(install): bun update keeps pinned versions ( #11575 )
2024-06-03 20:13:25 -07:00
Jarred Sumner
16d08564e1
Fix speculative race in fetch ( #11579 )
2024-06-03 19:15:31 -07:00
Dylan Conway
f56e6c7d54
fix(install): semver mistaking . as the beginning of pre/build tags ( #11577 )
2024-06-03 16:50:21 -07:00
Dylan Conway
c2eef9eded
fix(install): manifest package name mismatch ( #11549 )
2024-06-02 22:56:57 -07:00
Ciro Spaciari
1d89c5988e
refactor OOM errors ( #11540 )
2024-06-02 22:56:26 -07:00
Dylan Conway
c65a911a57
fix(install): lockfile printing bugfix ( #11545 )
2024-06-02 18:49:07 -07:00
Dylan Conway
8f5fbd50cd
fix(install): bun update with unresolved package ( #11547 )
2024-06-02 18:16:59 -07:00
Georgijs
d9f7d053d5
fix peer hoisting ( #11473 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-31 17:12:33 -07:00
Dylan Conway
774d6a1efb
fix potential integer overflow ( #11491 )
2024-05-31 00:03:57 -07:00
Dylan Conway
4b8f89cb73
Allow bun update to edit package.json ( #11340 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-30 02:14:01 -07:00
Jarred Sumner
45d0c1432b
rewrite timers for setTimeout, setInterval, setImmediate ( #11419 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-30 02:11:12 -07:00
Dylan Conway
922f9191b0
fix(install): re-link workspaces if necessary ( #11457 )
2024-05-30 01:40:28 -07:00
Dylan Conway
470e523c52
fix(install): semver tag parsing bugfix ( #11387 )
2024-05-27 02:17:43 -07:00
Jarred Sumner
5102a94430
Fixes #11297 ( #11331 )
2024-05-24 14:44:14 -07:00
Dylan Conway
df83028546
fix(install): npm lockfile migration bugfix ( #11311 )
2024-05-24 00:19:56 -07:00
Dylan Conway
d3fdb17321
add jest.setTimeout to bun test ( #10687 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-05-23 20:24:54 -07:00
Jarred Sumner
0b821c6e25
Save to package manifest cache async, only check disk once ( #11304 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-05-23 19:54:18 -07:00
Georgijs
2528caa598
fix out of bounds error for bun install ( #11308 )
...
Co-authored-by: Georgijs Vilums <=>
2024-05-23 17:54:12 -07:00
Jarred Sumner
260366f1a6
~2x faster uncached bun install on Windows ( #11293 )
2024-05-23 15:02:12 -07:00
Dylan Conway
cc0bce62e3
fix(install): adding packages in subdirectories of workspaces ( #11254 )
2024-05-21 22:46:26 -07:00
Dylan Conway
bb13798d98
fix(install): workspace version added to package.json ( #11241 )
2024-05-21 17:25:40 -07:00
Meghan Denny
ecb6c810c8
replace [bun.MAX_PATH_BYTES]u8 with bun.PathBuffer ( #11162 )
2024-05-21 15:55:49 -07:00
Georgijs
4df387d59f
happy eyeballs ( #11206 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-20 22:12:14 -07:00
Jarred Sumner
cabfca4039
Fix adding packages in workspaces ( #11177 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-05-20 21:24:37 -07:00
Jarred Sumner
b15d47dfe8
Introduce bun.dns.prefetch API ( #11176 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Eric L. Goldstein <3359116+mangs@users.noreply.github.com >
2024-05-19 18:08:16 -07:00
Dylan Conway
f2cfa15e4e
fix(install): make sure each has_install_script value is updated ( #11051 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-13 21:10:33 -07:00
Dylan Conway
88468a2c2c
Snapshot lockfiles in some tests ( #10994 )
2024-05-12 17:27:48 -07:00
Dylan Conway
e2aa36f8a6
fix(install): bug with dist-tags and workspaces with versions ( #10959 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-09 17:22:25 -07:00
Dylan Conway
159e8bc2a3
fix(install): workspaces without versions ( #10913 )
2024-05-09 03:55:15 -07:00
Zack Radisic
656925ec97
Fix workspace packages not being found when they are moved ( #10899 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-08 14:46:05 -07:00
Jarred Sumner
3cb5b2ff1a
Add assertion that count() was called before allocate() in lockfile stringbuilder ( #10901 )
2024-05-07 19:06:11 -07:00
Dylan Conway
44e09bb7f4
fix(install): catch more errors for bun add/update/remove ( #10758 )
2024-05-01 21:42:06 -07:00
Meghan Denny
e45cd749e5
chore(zig): add a new lint for using bun.FD.cwd() ( #10683 )
2024-05-01 16:12:09 -07:00
Zack Radisic
303f86af41
Glob support for workspace names in bun install ( #10462 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
2024-05-01 11:01:55 -07:00
Dylan Conway
3b1311a84f
fix 10556 ( #10572 )
2024-04-27 02:03:03 -07:00
Jarred Sumner
c34428d47f
Fix Linux spawn issue ( #10503 )
...
Co-authored-by: Zack Radisic <zack@theradisic.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-25 16:05:19 -07:00
Dylan Conway
196cc2a4cd
fix windows install tests ( #10497 )
2024-04-25 14:27:18 -07:00
Jarred Sumner
49fa21f6dc
Don't error on comments & trailing commas in package.json ( #10287 )
...
* Don't error on comments & trailing commas in package.json
* Fix windows tests
* Fixup
* Update lockfile.zig
* Woopsie
* Woopsie
* Fix workspace path stuff on Windows
* Always decode
* Always decode
* Revert some things
* Update lockfile.zig
2024-04-25 03:16:00 -07:00
Dylan Conway
ebeae0ff1c
Revert "Fix issue #10376 ( #10421 )"
...
This reverts commit 7bc8456edf .
2024-04-24 19:33:23 -07:00
Uzini
7bc8456edf
Fix issue #10376 ( #10421 )
...
* add: prevent script install to be spawned if bun install is invoked
* add: test for infinite install loop
* add: error message
* fix: error message, exit code, test
---------
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-04-24 19:12:13 -07:00
Dylan Conway
fdff887c0a
file protocol and abs path ( #10493 )
2024-04-24 18:55:13 -07:00
Jarred Sumner
1191bf0c15
Delete dead test code ( #10405 )
...
* Delete dead test code
* Apply formatting changes
---------
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-20 21:25:10 -07:00
dave caruso
c99d7ed331
feat: overhaul the crash handler ( #10203 )
...
* some work
* linux things
* linux things
* feat: tracestrings on Windows
* bwaa
* more work on the crash handler
* okay
* adgadsgbcxcv
* ya
* dsafds
* a
* wuh
* a
* bru h
* ok
* yay
* window
* alright
* oops
* yeah
* a
* a
* OOM handling
* fix on window
2024-04-17 15:32:25 -07:00
Meghan Denny
2ae48f3314
lint: ban comparing against undefined in Zig ( #10288 )
2024-04-16 14:37:09 -07:00
Dylan Conway
5a81dc8e33
fix(install): fix dependency install order ( #10240 )
...
* packages wait for parent trees before install
* use `directoryExistsAt`
* missing increment
* fix faccessat
* swap destination and target
* update
* force
* only create destination dir before installing package
* fix windows symlink/junction
* increment, false on extracting
* done
2024-04-15 18:29:34 -07:00