Michael H
9c420c9eff
fix production build for vscode extention ( #25274 )
2025-12-01 12:59:27 -08:00
Marko Vejnovic
48617563b5
ENG-21534: Satisfy aikido ( #24880 )
...
### What does this PR do?
- Bumps some packages
- Does some _best practices_ in certain areas to minimize Aikido noise.
### How did you verify your code works?
CI.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-24 20:16:03 -08:00
Michael H
db2f768bd9
vscode: remove old test runner codelens stuff ( #23003 )
...
### What does this PR do?
fix #23001 by removing references to old codelens from before the native
integration which should have its own (better and) native way of
starting
### How did you verify your code works?
2025-09-28 07:45:32 -07:00
Michael H
f4116bfa7d
followup for vscode test runner ( #21024 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-21 23:21:05 -07:00
Jarred Sumner
f380458bae
Add remoteRoot/localRoot mapping for VSCode ( #19884 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: robobun <robobun@oven.sh >
2025-07-18 04:19:15 -07:00
Michael H
8898c4c455
Vscode test runner support ( #20645 )
2025-07-13 21:57:44 -07:00
Jarred Sumner
55a9cccac0
bun.sh -> bun.com ( #20909 )
2025-07-10 00:10:43 -07:00
Jarred Sumner
3f360b0682
chore: format packages/scripts folder ( #19611 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-05-12 17:12:17 -07:00
Michael H
df5f95b19e
vscode: allow trailing comma in bun.lock ( #15747 )
2024-12-17 18:05:30 -08:00
Michael H
56ad4cc4a6
simplify vscode extension title ( #15519 )
2024-12-02 06:29:07 -08:00
Jarred Sumner
c3d9e8c7af
Fix crash in Bun v1.1.36 caused by VSCode extension update
2024-11-25 19:09:34 -08:00
Ashcon Partovi
b19f13f5c4
bun-vscode: Bump version [no ci]
2024-11-25 15:19:56 -08:00
Alistair Smith
4117af6e46
feat(vscode-extension) error reporting, qol ( #15261 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Electroid <Electroid@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-11-22 02:55:21 -08:00
Jarred Sumner
1e932ff38b
[VSCode extension] Add [eval with bun] code lens on untitled, unsaved scratch JavaScript files ( #14983 )
2024-11-07 12:30:38 -08:00
Ashcon Partovi
7d94c59545
Publish VSCode extension
2024-09-23 16:05:12 -07:00
snwy
722e3fa481
fix for windows debug support ( #14048 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-21 00:20:33 -07:00
JeremyFunk
c6b25adeea
Implement VSCode tasks for bun ( #5529 )
...
* Fix VSCode extension configuration documentation
* Fix config descriptions
* Fix typo
* Implement bun.lockb highlighter
* Update style
* Improve styling
* Revert bunlock change
* Implement bun tasks
* Revert change
* Package json codelens
* Fixes
* Refactor
2023-09-17 08:59:01 -07:00
JeremyFunk
8eabb4d1d5
Improve rending of lockfiles in VSCode extension ( #4652 )
...
* Fix VSCode extension configuration documentation
* Fix config descriptions
* Fix typo
* Implement bun.lockb highlighter
* Update style
* Improve styling
* Revert bunlock change
2023-09-15 13:25:44 -07:00
Colin McDonnell
4920f458bc
bun-vscode 0.0.8
2023-09-01 22:16:54 -07:00
Colin McDonnell
48cf9dddcb
Update commands
2023-09-01 21:35:34 -07:00
Ashcon Partovi
f0f91a2a31
Fix debug console from appears on start
2023-09-01 19:34:57 -07:00
Ashcon Partovi
94a4cda713
Add configuration options to extension
2023-09-01 18:56:25 -07:00
Ashcon Partovi
27de8bbf7b
Fix background color
2023-09-01 13:55:19 -07:00
Ashcon Partovi
6bdf24c8ef
Allow older versions of VSCode
2023-09-01 13:49:52 -07:00
Ashcon Partovi
57caea5ae7
Fix README for extension
2023-09-01 13:40:48 -07:00
Ashcon Partovi
fe3be666bc
Update VSCode extension
2023-09-01 13:34:29 -07:00
Ashcon Partovi
2b421be06f
Fix breakpoint on entry for extension
2023-09-01 10:19:14 -07:00
Ashcon Partovi
f2553d2454
More support for DAP ( #4380 )
...
* Fix reconnect with --watch
* Support setVariable
* Support setExpression
* Support watch variables
* Conditional and hit breakpoints
* Support exceptionInfo
* Support goto and gotoTargets
* Support completions
* Support both a URL and UNIX inspector at the same time
* Fix url
* WIP, add timeouts to figure out issue
* Fix messages being dropped from debugger.ts
* Progress
* Fix breakpoints and ref-event-loop
* More fixes
* Fix exit
* Make hovers better
* Fix --hot
2023-08-29 23:44:39 -07:00
Jarred Sumner
ed5dc5bbf9
@electroid's dap changes ( #4367 )
...
* Rework terminal, launch is still WIP
* Use the proper Terminal profile API
* More changes
* progress
---------
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2023-08-27 09:03:15 -07:00
Ashcon Partovi
2a9e967fd1
More improvements to debugger support ( #4345 )
...
* More fixes for dap
* More changes
* More changes 2
* More fixes
* Fix debugger.ts
* Bun Terminal
2023-08-26 02:34:25 -07:00
Ashcon Partovi
1480889205
Improved support for debug-adapter-protocol ( #4186 )
...
* Improve support for \`debug-adapter-protocol\`
* More improvements, fix formatting in debug console
* Fix attaching
* Prepare for source maps
* Start of source map support, breakpoints work
* Source map support
* add some package.jsons
* wip
* Update package.json
* More fixes
* Make source maps safer if exception occurs
* Check bun version if it fails
* Fix console.log formatting
* Fix source maps partly
* More source map fixes
* Prepare for extension
* watch mode with dap
* Improve preview code
* Prepare for extension 2
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-24 22:53:34 -07:00
Jarred Sumner
0486cea35a
bun --inspect (#4158 )
...
* Let the debugger to pause/resume the event loop
* Add initial support for Debug Adapter Protocol
* Add progress
* Update Worker.cpp
* Fix require("console") #3820 (#4073 )
* Fix #3820
* Add Module (#4074 )
* Set exports to {} in user-constructed CommonJSModuleRecords (#4076 )
* feat(bun/test): Implement "toSatisfy" & "toIncludeRepeated" (fwup) (#3651 )
* Fix merge issues
* oop
* make codegen
* Fix build issues
---------
Co-authored-by: dave caruso <me@paperdave.net >
* worker tests (#4058 )
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* feat(bun:test) add support for test.each() and describe.each() (#4047 )
* rename callback to func
* update testscope to handle function arguments
* works
* big cleanup
* works in debug, not release
* fix memory issue & update tests
* catch & str test
* write types for each() & switch tests to ts
* rm & typo
* move some code around & support describe
* review changes
* Fix one of the astro segfaults, also fix bun init version (#4079 )
* 4->16
* add assertions
* fix version stuff
* Remove unintentional logs from #4043
* Run prettier
* Update main-worker-file.js
* Update SIMDUTF (#4078 )
* Fix constructing buffer from a UTF16 string with the Latin1 encoding. (#4086 )
Close : #3914
* Add support for `bun --revision` (#4027 )
Co-authored-by: Yash Sharma <yashsharma@Yashs-MacBook-Air.local >
* Updates
* Update __global.zig
* remove non-node node-fallbacks (#4082 )
* remove non-node node-fallbacks.
* organize the imports
* Fix test
* Sync bun-polyfills branch (#4081 )
* bun-polyfills: initial impl. & baseline refactor
* move @types/ws dep from root to /test/
* bun-types: remove ReadableStream.forEach method
(this does not exist, probably added by mistake)
* bun-polyfills: remove extraneous stream utils
* bun-polyfills: add types syncing file
* bun-polyfills: re-arrange global polyfills
* bun-polyfills: fix FileBlob streams types again
* bun-polyfills: sync all of @types/node
* bun-polyfills: typeguard all current polyfills
* bun-polyfills: fix import paths
* bun-polyfills: switch to wasm impl. of farmhash
* bun-polyfills: support default import of bun obj
* bun-polyfills: transpiler placeholder file
* bun-polyfills: loaderless import.meta polyfill
* bun-polyfills: refactor import.meta polyfill
* bun-polyfills: repl entrypoint & todo list index
* bun-types: Add null to return type of Bun.which
* bun-types: match Bun.sha with Bun.hash.SHA512_256
* bun-polyfills: new "repl" package.json script
* bun-polyfills: full refactor of toplevel hashes
* bun-polyfills: these are fixed
* bun-types: NODE_ENV is optional
* bun-polyfills: fix Bun.env types
* bun-types+polyfills: fix HeapSnapshot.version type
* bun-polyfills: fix some web streams type conflicts
* bun-polyfills: update internal FileBlob.slice
* bun-polyfills: fix subproc stdin conversions
* bun-polyfills: better internal fileblob types
* bun-polyfills: try to sync global performance type
* bun-polyfills: working zig wasm polyfills setup
* bun-polyfills: update scripts
* bun-polyfills: fix wasm file location resolution
* bun-polyfills: goodbye farmhash (replaced by zig)
* bun-polyfills: move all Bun.hash polyfills to zig
* bun-polyfills: reimpl. seeding of seeded hashes
* bun-polyfills: impl. undocumented murmur32v2
* bun-polyfills: switch zighash from jsdoc to .d.ts
* bun-types: partial fix of Hash types
* bun-polyfills: documented Hash.murmur32v2
* bun-polyfills: misc updates
* bun-polyfills: enable sourcemaps
* bun-polyfills: handle empty inputs to hash funcs
* bun-types: narrow down hash func types
* bun-polyfills: remove unnecessary bigint casts
* bun-polyfills: impl. Bun.isMainThread
* bun-polyfills: impl. Bun.sleep and fix sleepSync
* bun-polyfills: impl. indexOfLine
* bun-polyfills: impl. Bun.peek.status
* bun-types: fix hashing test
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* Add remix guide
* Fix title
* add util.formatWithOptions (#4090 )
* Add formatWithOptions
* tests and tweaks
* adjust
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* bun test: format description of test.each (#4092 )
* bun test: format description
* add tests for tests
* only
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* Fixes #4062 (#4106 )
* Fixes #4062
* Update encoding.zig
* Use faster C++ impl
* Update wtf-bindings.cpp
* undo
* Fixup
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
* zig fmt
* Update remix guide
* fs.zig: create temp files with 0o700, not 0o007 (#4107 )
* Handle thundering herd of setInterval (#4109 )
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
* Fix memory leak in base64url (#4111 )
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
* run files without extensions (#4113 )
* run script without extension
* process stdio write fix
* don't check for trailing slash, var stream
* More lazily initialize these static strings
* Remove assertion
* wip
* Add --inspect flag
* Deprecate loading `node_modules.bun`
* realpath
* regenerate schema
* More
* more
* Update cli.zig
* Debugger JS loads
* have fun
* Most of the code
* Its starting to work.
* more progress
* win some, lose some
* Update dap.ts
* Async Context Tracking
* untested websocket
* Emit Console messages
* Error handling
* errors
* Make profiling work better
* [clap] CLI arguments with optional values ignore positional params
In `bun --inspect foo.js`, `foo.js` should not be the value of `--inspect`. It is a positional parameter. `--inspect=foo`
* Support multiple simultaneous clients, automatically unpause on disconnect
* regenerate
* Update Makefile
* Update WebKit
* Update cli.zig
* Update InternalModuleRegistry+createInternalModuleById.h
* BaseURL
* Update WebKit
* Add web-inspector-bun
* Update build.ts
* formatting, mostly
* Update debugger.ts
* Update InternalModuleRegistryConstants.h
* wrap
* Update test
* Update test
---------
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: dave caruso <me@paperdave.net >
Co-authored-by: Tiramify (A.K. Daniel) <94789999+TiranexDev@users.noreply.github.com >
Co-authored-by: Jacques <25390037+jecquas@users.noreply.github.com >
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Ai Hoshino <ambiguous404@gmail.com >
Co-authored-by: Yash Sharma <yashosharma@gmail.com >
Co-authored-by: Yash Sharma <yashsharma@Yashs-MacBook-Air.local >
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
Co-authored-by: jhmaster <32803471+jhmaster2000@users.noreply.github.com >
Co-authored-by: Adhityaa Chandrasekar <github@adtac.in >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2023-08-16 19:40:20 -07:00