Boshen
128406a8ab
Rust v1.74.0 ( #1357 )
2023-11-16 15:21:45 +00:00
Shannon Rothe
abd5924ce9
feat(playground): add prettier IR output ( #1350 )
...
<img width="1549" alt="image"
src="https://github.com/oxc-project/oxc/assets/803013/08046826-9141-48ce-985d-6dd22642bfd6 ">
- Close : #1338
2023-11-16 20:42:02 +08:00
Shannon Rothe
735beb7fab
feat(playground): add prettier formatting + IR ( #1349 )
...
- [x] add Prettier format button which takes source text and updates
view with formatted source text
- [ ] add button to show Prettier IR
2023-11-16 09:33:37 +00:00
Boshen
9780621925
chore: run fmt
2023-11-16 13:36:42 +08:00
Boshen
73d6d40778
rust: do not compile libs and bins that do not have tests ( #1342 )
2023-11-16 13:35:24 +08:00
Boshen
eca98cf2ed
s/web-infra-dev/oxc-project
2023-11-10 14:30:18 +08:00
Dunqing
8c624abf9c
feat(transformer/react-jsx): throw the pragma and pragmaFrag cannot be set when runtime is automatic error ( #1196 )
...
close : #1194
Here's a rough implementation of my idea of throwing an error.
2023-11-10 12:50:54 +08:00
dependabot[bot]
167dedcca7
chore(deps): bump the dependencies group with 6 updates ( #1165 )
2023-11-06 15:11:02 +08:00
Boshen
69150d812c
refactor(transformer): move Semantic into Transformer ( #1130 )
2023-11-02 13:10:15 +08:00
dependabot[bot]
bf1e3b5440
chore(deps): bump the dependencies group with 4 updates ( #1100 )
2023-10-30 15:09:28 +08:00
Boshen
46a5c42c75
refactor(transformer): add TransformerCtx struct for easier access to symbols and scopes
2023-10-19 16:19:27 +08:00
Boshen
1b3b100475
feat(transformer_conformance): read plugins options from babel options.json ( #1006 )
...
This PR correctly handles babel `options.json` such as
https://github.com/babel/babel/blob/main/packages/babel-plugin-transform-nullish-coalescing-operator/test/fixtures/assumption-noDocumentAll/options.json
2023-10-17 14:52:51 +08:00
Boshen
678db1d955
feat(transformer): ES2020 Nullish Coalescing Operator ( #1004 )
...
The test runner needs an update for reading options.jon, which I'll work
on in the up coming PR.
2023-10-16 21:45:58 +08:00
Boshen
eaeb63072f
refactor(clippy): allow struct_excessive_bools
2023-10-16 15:18:07 +08:00
Boshen
0f72066f2e
feat(transformer): finish 2016 exponentiation operator ( #996 )
2023-10-16 09:30:04 +08:00
Boshen
2e2b7587ac
feat(playground): add transform and minify ( #993 )
2023-10-14 19:49:58 +08:00
Boshen
8c12dff8a3
perf: speed tasks run by using a global allocator
2023-10-11 20:30:30 +08:00
Boshen
eaa0c58e24
feat(linter): eslint-plugin-unicorn(filename-case) ( #978 )
2023-10-11 15:23:17 +08:00
Boshen
817f8c295e
ci: turn off doc tests because they are slow to compile and run ( #961 )
2023-10-07 17:01:23 +08:00
Boshen
fbbc1fe6bd
chore(wasm,playground): remove hir
2023-09-29 22:39:31 +13:00
IWANABETHATGUY
ea90128b9f
chore(playground): 🐛 hide hir and minify since they are not available ( #939 )
...
1. hide hir and minify since they are not available
2. These two buttons would confuse user since they don't have any effect
for now.
2023-09-29 21:57:47 +13:00
Boshen
46d2623c1f
feat(transform_conformance): add jsx and ts tests
2023-09-18 15:35:02 +08:00
Boshen
ceeee5909b
Remove HIR ( #917 )
...
closes #273
closes #814
HIR is removed from this PR, with the minifier being commented out.
HIR is a wonderful idea for compiling to lower languages, but after
sitting on it for a few months I found that it only adds confusion and
uncertainties to both myself and future contributors.
It also adds too much burden to maintainers if we plan to support more
downstream tools.
1 AST is the only way.
2023-09-15 23:48:32 +08:00
dependabot[bot]
e174c2f555
chore(deps): bump the dependencies group with 5 updates ( #908 )
2023-09-14 16:15:50 +08:00
Boshen
53b094e46c
chore: clean up deps ( #840 )
2023-09-02 21:34:24 +08:00
Boshen
2f0ff28f47
Rust 1.72.0 ( #784 )
2023-08-24 23:02:19 +08:00
阿良仔
5a73f0e1b5
feat(formatter): add EndOfLine ( #747 )
2023-08-17 19:04:23 +08:00
u9g
99a4816ce7
feat(website): add query playground ( #698 )
2023-08-11 10:53:21 +08:00
Boshen
2f48bdf26f
fix(parser,semantic): make semantic own Trivias ( #711 )
...
closes #708
Making the parser return Rc<Trivias> is not a good API, and ideally
`Semantic` should just own `Trivias` so it can process or mutate it.
2023-08-10 15:30:32 +08:00
Boshen
d587065436
chore(rust): update crate info, add minimal rust-version, add categories
2023-07-27 13:33:18 +08:00
Boshen
cdaff8b7f1
refactor(linter): expose LintContext as the API for Linter::run
2023-07-07 22:16:03 +08:00
Boshen
e25f6e2dd4
chore(rust): rust cargo fmt and fix clippy warnings
2023-07-04 15:41:30 +08:00
u9g
7c4e1d401a
feat(playground): Add IR view to playground ( #467 )
2023-06-21 22:35:55 +08:00
Ben
67a86063e9
Update to latest Ezno checker and more ( #463 )
2023-06-21 08:09:41 +08:00
Boshen
d30735677b
refactor(semantic): merge semantic2 crate into semantic crate ( #460 )
2023-06-19 20:20:59 +08:00
Boshen
ab25bdebe4
deps: bump deps
2023-06-14 22:37:27 +08:00
Boshen
a79480b078
feat(minifier): separate mangler pass ( #439 )
2023-06-14 10:46:13 +08:00
Boshen
79188d70d0
refactor(wasm): clean up options passing ( #418 )
2023-06-09 21:29:28 +08:00
Boshen
2bebbb5a77
feat(website): add linter / minifier / formatter to the playground ( #407 )
2023-06-04 15:30:55 +08:00
Boshen
e88fd86b17
feat(website): integrate oxc wasm into the playground ( #404 )
2023-06-03 10:20:50 +08:00
Boshen
6ef839b781
chore(rust): bump deps
2023-05-31 16:34:28 +08:00
Boshen
14720e7c69
refactor: move SourceType from oxc_ast to oxc_span ( #351 )
...
related #350
2023-05-12 23:16:14 +08:00
Boshen
ec092eab01
deps(rust): bump dependencies
2023-05-12 11:23:41 +08:00
Boshen
7f93e58f10
chore: remove all #[must_use]
2023-05-11 21:08:00 +08:00
Boshen
48e524ddcf
feat(ast_lower): scope tree ( #344 )
2023-05-10 22:38:34 +08:00
Boshen
6924e59c5c
chore: remove unused dependencies found by cargo-machete
2023-05-10 19:22:22 +08:00
Boshen
8161ac2800
refactor: clean up Cargo.toml (put features table on top)
2023-05-09 21:53:47 +08:00
Boshen
ddf4ac9cc2
refactor(formatter): remove whitespace minification from formatter ( #337 )
2023-05-07 17:58:57 +08:00
Boshen
c2428d8abd
chore: rename oxc_printer to oxc_formatter ( #336 )
2023-05-07 17:47:13 +08:00
Boshen
86c01c7fb8
feat(minifier): use hir ( #335 )
2023-05-07 17:23:00 +08:00