Dylan Conway
aad4d800ff
add "configVersion" to bun.lock(b) ( #24236 )
...
### What does this PR do?
Adds `"configVersion"` to bun.lock(b). The version will be used to keep
default settings the same if they would be breaking across bun versions.
fixes ENG-21389
fixes ENG-21388
### How did you verify your code works?
TODO:
- [ ] new project
- [ ] existing project without configVersion
- [ ] existing project with configVersion
- [ ] same as above but with bun.lockb
- [ ] configVersion@0 defaults to hoisted linker
- [ ] new projects use isolated linker
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-11-03 22:20:07 -08:00
Dylan Conway
8d28289407
fix(install): make negative workspace patterns work ( #23229 )
...
### What does this PR do?
It's common for monorepos to exclude portions of a large glob
```json
"workspaces": [
"packages/**",
"!packages/**/test/**",
"!packages/**/template/**"
],
```
closes #4621 (note: patterns like `"packages/!(*-standalone)"` will need
to be written `"!packages/*-standalone"`)
### How did you verify your code works?
Manually tested https://github.com/opentiny/tiny-engine , and added a new
workspace test.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-04 00:31:47 -07:00
Dylan Conway
2bc75a87f4
fix(install): fix resolving duplicate dependencies ( #21059 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-16 01:01:10 -07:00
Jarred Sumner
2e02d9de28
Use ReadableStream.prototype.* in tests instead of new Response(...).* ( #20937 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Alistair Smith <hi@alistair.sh >
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-14 00:47:53 -07:00
Jarred Sumner
6ebad50543
Introduce ahead of time bundling for HTML imports with bun build ( #20265 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: dylan-conway <35280289+dylan-conway@users.noreply.github.com >
2025-06-10 21:26:00 -07:00
Jacob
b642e36da2
Add Support for LinkWorkspacePackages in Bunfig ( #20226 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-06-09 17:01:15 -07:00
Jarred Sumner
14b439a115
Fix formatters not running in CI + delete unnecessary files ( #19433 )
2025-05-08 23:22:16 -07:00
Dylan Conway
febf6593a6
fix(install): loading bun.lock with workspace overrides ( #17779 )
2025-02-27 17:17:20 -08:00
Dylan Conway
0a7cc1f1c2
Make bun.lock the default for new projects ( #16540 )
2025-01-20 23:17:52 -08:00
Dylan Conway
79aa5d16df
skip root scripts if root is filtered out with --filter ( #16152 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-04 01:22:24 -08:00
Dylan Conway
2043613a62
support bun install --filter <pattern> ( #16093 )
2025-01-03 18:39:41 -08:00
Dylan Conway
c130df6c58
start verdaccio in multiple test files ( #16118 )
2025-01-03 08:21:00 -08:00
Meghan Denny
82cb82d828
pm: add some missing npm_ env vars ( #14786 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-11-22 15:13:32 -08:00
Meghan Denny
25083a4252
pm: print command name to stdout ( #14266 )
2024-10-02 02:24:37 -07:00
Dylan Conway
9d23ce16ec
fix(install): relative paths to tarballs in workspaces ( #14121 )
2024-09-23 22:44:24 -07:00
Jarred Sumner
cd6785771e
run prettier and add back format action ( #13722 )
2024-09-03 21:32:52 -07:00
Dylan Conway
58483426cd
fix(install): call GetFinalPathNameByHandle on cwd for postinstall scripts ( #12497 )
2024-07-10 21:09:14 -07:00
Dylan Conway
5f7b96b58f
fix(install): optional peer dependency bugfix ( #12485 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-07-10 20:04:32 -07:00
Dylan Conway
e9d1e7ac5e
fix(install): return non-zero exit code when tarballs fail to download ( #11828 )
2024-06-14 01:15:53 -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
d43922d3e1
follow up for #11387 ( #11393 )
2024-05-27 03:57:39 -07:00
Dylan Conway
bb13798d98
fix(install): workspace version added to package.json ( #11241 )
2024-05-21 17:25:40 -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
Meghan Denny
86bcc49bef
node:http: allow setting response.statusCode and statusMessage [v2] ( #11082 )
2024-05-15 00:27:55 -07:00
Meghan Denny
4efe026b5f
test: unify how all files create a temp directory ( #11057 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-14 20:19:35 -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