lukeed/tidyPublic

chore: build the JS printer's modules

js/mod.rs merges bun's lib.rs and js/mod.rs, and declares the
printer's modules. Import sorting, JSDoc formatting and the embedded
languages of templates stand in as no-ops until they are ported onto
tidy: the printer then prints what Prettier prints with
embeddedLanguageFormatting off. The js feature is off by default until
the printer builds.
LELuke Edwards authored
0b3c0aaPatch
Parentc21d7fe
9 files changed+161-134
StackedSplit
crates/tidy/Cargo.toml+1 โˆ’1
crates/tidy/src/js/bun_lib.rs+0 โˆ’97
crates/tidy/src/js/bun_mod.rs+0 โˆ’36
crates/tidy/src/js/detached/embed.rs+49 โˆ’0
crates/tidy/src/js/detached/jsdoc.rs+8 โˆ’0
crates/tidy/src/js/detached/sort_imports.rs+18 โˆ’0
crates/tidy/src/js/embed/mod.rs+4 โˆ’0
crates/tidy/src/js/mod.rs+79 โˆ’0
crates/tidy/src/js/template/mod.rs+2 โˆ’0