silverwind

Results 1292 comments of silverwind

Parsers, none of them seems convincing: - https://github.com/microsoft/node-jsonc-parser - https://github.com/fabiospampinato/jsonc-simple-parser - https://github.com/onury/jsonc

Yes, I think ultimately the bug is in win32 `GetCurrentDirectoryW` and if we attempt a fix, it should probably be done as close to the source as possible, e.g. in...

> Forcing process.cwd() to always return a realpath will probably break a lot of users It should probably be a semver-major change to be safe but I think it's the...

vite also would have a [use case](https://github.com/vitejs/vite/issues/9470#issuecomment-1518032298) for VM modules, if they were made stable.

> Shouldn't that be working? > > Does this suit your needs? > > ```ts > import { describe, expect, test } from 'bun:test'; > > const askGPT = async...

How about a code config file? `bun.config.ts` / `bun.config.js`. Very flexible but it could present a chicken-and-egg problem 😆.

Another benefit of TS/JS config is that it enables easily shareable configs via npm package.

Let me also give a concrete example why `bun.config.ts` is needed: In Vitest, I like to configure the snapshot directory path via [resolveSnapshotPath](https://vitest.dev/config/#resolvesnapshotpath) function. While bun does not have this...

> Renamed keyboard layout from German No Deadkeys to Deutsch – Keine Deadkeys With this rename, it does no longer show up in the "German" Category in System Preferences on...

Updated syntax suggestion in OP slightly to allow multiple images to be built.