Commit graph

997 commits

Author SHA1 Message Date
Boshen
ca96ff84a6
chore(resolver): add more data to benchmark (#586) 2023-07-23 10:55:33 +08:00
Boshen
378505f244
perf(resolver): improve cache hit for package.json (#585)
perf(resolver): implement proper file system caching
2023-07-23 01:06:40 +08:00
Boshen
2bb8edb13c
perf(resolver): cache canonicalized path (#584) 2023-07-22 21:13:59 +08:00
Boshen
585e48fe9b
feat(resolver): implement symlinks (#582) 2023-07-21 19:10:59 +08:00
Boshen
3c5333c828
perf(resolver): use fs::symlink_metadata, which doesn't traverse symlinks (#581) 2023-07-21 17:54:55 +08:00
Boshen
a27b60cfb4
chore: add resolver to README and ci labeler 2023-07-21 12:13:44 +08:00
Boshen
133c81ba1a
ci: use the benchmark cache for ecosystem-test
because it is using --release
2023-07-21 11:49:59 +08:00
Boshen
2330099a34
deps(rust): bump dependencies 2023-07-21 11:38:12 +08:00
Boshen
06aac508f8
fix(linter): change no-var-requires to severity warning 2023-07-21 11:08:33 +08:00
Leonard Yeung
73338cb377
CI: Added ecosystem check (#574)
Co-authored-by: Leonard Yeung <leonard_yeung@tuta.io>
2023-07-21 11:03:27 +08:00
阿良仔
3c76cef11c
feat(minifier): fold NaN comparison (#580) 2023-07-21 11:00:21 +08:00
Makoto Tateno
52c3c37b2b
feat(linter): implement no-var-requires (#575) 2023-07-21 10:58:25 +08:00
阿良仔
836d430a10
feat(linter): implement adjacent-overload-signature (#578) 2023-07-21 10:56:41 +08:00
Boshen
fa20844802
feat(resolver): complete query and fragment parsing (#579) 2023-07-20 17:48:51 +08:00
Boshen
30b9731843
feat(resolver): add preferRelative and preferAbsolute (#577) 2023-07-20 15:41:06 +08:00
Boshen
beb0ae9d8e
feat(resolver): implement roots (#576) 2023-07-20 14:23:25 +08:00
Boshen
6089898bf0
fix(linter): change severity of no-this-alias from error to warning 2023-07-20 11:23:47 +08:00
Boshen
3875ebc6cb
refactor(resolver): check against Result for better assertion message (#573) 2023-07-20 11:10:56 +08:00
Boshen
3f07306be0
feat(resolver): implement fallback (#572) 2023-07-19 14:42:43 +08:00
Boshen
05b77a5a15
Release @oxidation-compiler/napi v0.1.0 2023-07-19 13:15:04 +08:00
Boshen
3f84a7fc25
feat(napi): export a pure parse function for benchmark purposes (#571) 2023-07-19 12:55:26 +08:00
Boshen
e1dec30bc0
perf(resolver): cache all package.json queries (#569) 2023-07-18 18:37:35 +08:00
Boshen
6bb46ca20a
perf(resolver): use rustc_hash::FxHasher for DashMap (#568) 2023-07-18 16:54:05 +08:00
Boshen
e8b974564e
feat(resolver): implement enforceExtension (#567) 2023-07-18 16:20:03 +08:00
Boshen
c32dd32bad
feat(resolver): implement enforceExtension (#566) 2023-07-18 15:05:02 +08:00
Boshen
e5de977279
feat(resolver): implement descriptionFiles option (#565) 2023-07-18 14:11:43 +08:00
Boshen
0c17f4f783
feat(resolver): implement the basics of path alias (#564) 2023-07-18 13:30:14 +08:00
阿良仔
3cbec3459a
test: add tests for boolean related comparison (#563) 2023-07-17 20:55:42 +08:00
Boshen
d410d1a2d7
feat(resolver): accept different file system implementations (#562) 2023-07-17 18:29:41 +08:00
Boshen
cac4e73461
feat(resolver): implement browser field (#561) 2023-07-17 15:16:08 +08:00
Boshen
8774956e66
chore: add CODE_OF_CONDUCT.md 2023-07-17 10:12:23 +08:00
Wenzhe Wang
2f8b3f8d83
refactor(linter): run eq_eq_eq fix in some condition (#545)
* fix(linter): eq_eq_eq fix in some condition

* refactor(linter): support more config

* chore(linter): lint codes

* fix(linter): change pick null

* refactor(linter): change file position
2023-07-16 10:18:13 -04:00
Boshen
b2152ec050
feat(resolver): implement scoped packages (#558) 2023-07-16 20:36:47 +08:00
Boshen
e0a17ace8f
feat(resolver): port incorrect description file test (#557) 2023-07-16 17:13:32 +08:00
Boshen
c4de3675f1
ci: pull repo for auto-labeler 2023-07-16 16:40:20 +08:00
Boshen
05c9b5dfd8
feat(resolver): implement extension_alias (#556) 2023-07-16 16:39:51 +08:00
Boshen
2375bc8ccc
feat(resolver): port resolve tests (#555) 2023-07-16 15:09:09 +08:00
Don Isaac
2591194dba
feat(minifier): drop console statements and exprs (#552) 2023-07-16 14:41:51 +08:00
阿良仔
707e717f0d
ci: automatically labelling PRs (#553) 2023-07-16 14:37:42 +08:00
Boshen
a99a3d7669
chore: bump nightly 2023-07-16 11:30:31 +08:00
阿良仔
e18c6bd115
chore(benchmark): update benchmark result for 5800H (#551) 2023-07-15 08:50:07 +08:00
Boshen
d02c7dc0b3
chore(resolver): add example 2023-07-14 23:36:20 +08:00
Boshen
fda6d83712
feat(resolver): resolve extensions (#549) 2023-07-14 23:25:47 +08:00
阿良仔
c09678a48f
test: add tests for null comparison (#548) 2023-07-14 23:25:25 +08:00
阿良仔
1f37adf6c9
chore(benchmark): update 5800H results (#550) 2023-07-14 23:22:04 +08:00
Boshen
789626e01c
perf(resolver): add file system cache (#547) 2023-07-14 16:02:13 +08:00
Boshen
4132b294ca
refactor(resolver): add our own path util for normalization 2023-07-14 14:34:48 +08:00
Boshen
d92c834956
fix(resolver): fix resolver benchmark 2023-07-14 12:38:10 +08:00
Boshen
21452162bc
ci: add resolver benchmark (#546) 2023-07-14 12:25:22 +08:00
Boshen
ca4d2fa248
feat(resolver): resolve as module (#544) 2023-07-14 11:59:22 +08:00