Yunfei He
Yunfei He
Since we settle down the final package name `rolldown`, now we could set up a process for automatically nightly release. Should wait for #543 being solved.
For reference: https://github.com/rolldown/rolldown/discussions/592. Let's have a CLI for start and keep improving it. Some requirements: - The CLI should be written in JS with JSDoc. We want to avoid extra...
Does `cargo shear` support exit with 1 if found any unused deps. Might want to add it in CI. _Originally posted by @hyf0 in https://github.com/rolldown/rolldown/issues/729#issuecomment-2033746207_
https://github.com/rolldown/rolldown/blob/c304a0dcde43234654626f8695cd745f37de4d33/crates/rolldown_binding/src/options/binding_input_options/binding_resolve_options.rs#L8-L11 ## Possible solutions ### Use `Option>` The problem is that NAPI-RS so far doesn't support tuples ### Define a temporary struct like ```rust pub struct AliasItem { pub name:...
See https://rolldown.rs/contrib-guide/testing first. Currently we have a json shcema file `_test.schema.json` in https://github.com/rolldown/rolldown/blob/main/crates/rolldown_testing/_test.scheme.json. It's generated by run `cargo run --bin gen_test_config_schema` manually. The executable code is defined in https://github.com/rolldown-rs/rolldown/blob/ee3739d65dfed173dbc582270f7cc89017dc285a/crates/rolldown_testing/bin/gen_test_config_schema.rs. So...
To support writing test config in json format we add `Deserialize, JsonSchema` on `BundlerOptions`. So they are only for rust testing. Users of rolldown doesn't rely on these features. https://github.com/rolldown/rolldown/blob/e39ddd845ac5ade81cdf1a2b8e0588c3eaf70f9b/crates/rolldown_common/src/inner_bundler_options/mod.rs#L14-L16...
We want to migrate esbuild's tests defined in https://github.com/evanw/esbuild/blob/main/internal/bundler_tests/bundler_packagejson_test.go to this repo. ## Guidance Take the first test [`TestPackageJsonMain`](https://github.com/evanw/esbuild/blob/44e746965d783646f97daf3d0617ff816727e7fb/internal/bundler_tests/bundler_packagejson_test.go#L13-L37) as an example. 1. All you do is creating corresponding files...
for https://github.com/felixfbecker/iterare/blob/master/src/iterate.ts now: ```ts filter(predicate: (element: T) => boolean): IteratorWithOperators filter(predicate: (element: T) => element is R): IteratorWithOperators filter(predicate: (element: T) => boolean): IteratorWithOperators { return new IteratorWithOperators(new FilterIterator(this.source, predicate))...
Partially solves #2071. Doesn't include support for `impl` and `constructors`.
We want to reuse the same napi struct holding threadsafe functions both in main thread and worker environments. However, threadsafe functions seems can't not be `WEAK` in worker threads. We...