fisker Cheung
21895286a7
Simplify loadPlugin ( #15820 )
2023-12-18 09:39:14 +08:00
fisker Cheung
8c7ea9c7ed
Reduce size of bundled js-yaml ( #15819 )
2023-12-18 08:19:26 +08:00
fisker Cheung
0ff9efd015
Reduce size of bundled json5 ( #15818 )
2023-12-18 07:40:07 +08:00
fisker
3b3eba8c45
Revert "Update build script"
...
This reverts commit 442a5ce256 .
2023-12-18 07:16:48 +08:00
fisker Cheung
442a5ce256
Update build script
2023-12-18 07:13:03 +08:00
Klaus Hott Vidal
02c80dce7f
group not needed if we know there's a hardline or a breakParent inside ( #15795 )
2023-12-18 03:38:25 +08:00
Alexander Kachkaev
1ea2fd059a
Add eslint-plugin-simple-import-sort ( #15817 )
2023-12-18 03:34:12 +08:00
SUZUKI Sosuke and fisker
863368e1ba
Add --next flag to release script ( #15816 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2023-12-17 22:51:37 +09:00
fisker Cheung
6a6b699a42
Add isUnionType and isIntersectionType utilities ( #15814 )
2023-12-17 21:29:10 +08:00
fisker Cheung
176ff487b1
Improve shouldHugType ( #15813 )
2023-12-17 20:39:39 +08:00
Kevin Gibbons
cb6fea81fb
Avoid introducing linebreaks in template interpolations ( #15209 )
2023-12-17 18:10:20 +08:00
fisker Cheung
d541f0d699
Remove useless {stripTrailingHardline: true} ( #15809 )
2023-12-16 21:53:48 +08:00
fisker Cheung
65e72a2ba7
Simplify module attributes print ( #15812 )
2023-12-16 21:05:27 +08:00
renovate[bot]
d09e26b3d7
chore(deps): update dependency esbuild to v0.19.9 ( #15808 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 21:31:36 +08:00
fisker Cheung
03f05fa3b5
Upgrade to yarn 4 ( #15548 )
2023-12-15 21:09:05 +08:00
fisker Cheung
2ee0016ffc
Build: Fix html report ( #15807 )
2023-12-15 19:28:42 +08:00
renovate[bot] and fisker Cheung
aaef1bc31d
chore(deps): update dependency flow-parser to v0.224.0 ( #15804 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-12-15 07:53:56 +08:00
renovate[bot]
ad5eeaa7b7
chore(deps): update dependency @babel/parser to v7.23.6 ( #15802 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 07:33:12 +08:00
renovate[bot]
4d4b2191d7
chore(deps): update dependency esbuild-visualizer to v0.5.0 ( #15803 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 07:32:18 +08:00
renovate[bot] and fisker Cheung
d761a9ab94
chore(deps): update babel to v7.23.6 ( #15801 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-12-15 07:12:20 +08:00
renovate[bot] and fisker Cheung
130070214c
chore(deps): update actions/upload-artifact and actions/download-artifact action to v4 ( #15798 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-12-15 06:58:23 +08:00
renovate[bot]
449eda6f5a
chore(deps): update babel to v7.23.6 ( #15800 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 06:54:30 +08:00
renovate[bot]
7799bfa7f6
chore(deps): update github/codeql-action action to v3 ( #15799 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 06:52:59 +08:00
fisker
7ffc3cc676
Switch wcwidth to wcwidth.js
2023-12-15 06:08:05 +08:00
SUZUKI Sosuke and fisker
153ffd5104
Support formatting for Angular ICU expression ( #15777 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2023-12-14 13:01:54 +09:00
Mark Amery
23b3ca2f52
Fix formatDiagnostic in tests/dts/unit/run.js ( #15790 )
2023-12-13 22:55:39 +02:00
Max Gurela and fisker
2c689f3e30
fix(printer-glimmer): preserve path literal segments ( #15605 )
...
* fix(glimmer): preserve path literal segments
This change fixes scenarios where an input handlebars file containing literal segments would be
reformatted to unwrap the literal segments, causing syntax errors in the resulting output. An
example of this is below:
```
<!-- wrong: input.funky<api!response -->
{{input.[funky<api!response]}}
<!-- wrong: input.this one has spaces -->
{{input.[this one has spaces]}}
```
This also handles a scenario where the input contained deprecated '/' delimited paths, ensuring
that those paths are not wrapped with brackets. This exists to prevent breaking an existing test
`sub-expressions.hbs`. Handling it this way does lead to some minor ambiguity since glimmer does
not support these paths, but the ambiguity is probably better than breaking them entirely.
fixes #14207 , preventing removal of brackets where necessary
---------
Co-authored-by: fisker <lionkay@gmail.com >
2023-12-13 16:18:24 +08:00
fisker Cheung
44949eb5dc
Support absolute path in config file ( #15666 )
2023-12-13 16:16:15 +08:00
fisker Cheung
ddf223a3ff
Fix formatting of ternary ( #15679 )
2023-12-13 16:14:44 +08:00
renovate[bot]
3728294246
chore(deps): update typescript-eslint to v6.14.0 ( #15695 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 16:14:03 +08:00
fisker Cheung
8227c0a69e
Fix formatting of prettier-ignored unclosed elements ( #15748 )
2023-12-13 16:13:26 +08:00
Seiya and fisker Cheung
224f70fb09
Stabilize member chain with empty line ( #15522 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-12-13 16:12:03 +08:00
Mark Amery
be2fe89b43
Add a bunch more cursor position test cases ( #15787 )
2023-12-13 13:18:20 +08:00
e04f0b023b
Update contributing.md to mention options philosophy ( #15648 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2023-12-12 23:34:27 +09:00
renovate[bot]
c1ebae2e83
chore(deps): update dependency typescript to v5.3.3 ( #15701 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-10 18:51:11 +08:00
Sosuke Suzuki
711e7b5759
Fix yarn.lock
2023-12-10 17:38:15 +09:00
Sosuke Suzuki
1de9db5c88
Git blame ignore 3.1.1
2023-12-10 17:37:52 +09:00
Sosuke Suzuki
1178b4dff2
Bump Prettier dependency to 3.1.1
2023-12-10 17:37:52 +09:00
Sosuke Suzuki
ea4c9aff19
Update dependents count
2023-12-10 17:37:31 +09:00
Sosuke Suzuki
b86701dd1d
Release 3.1.1
2023-12-10 17:33:43 +09:00
fisker Cheung and SUZUKI Sosuke
c97480c9a9
Use attributes instead of deprecated assertions ( #15758 )
...
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com >
2023-12-10 17:13:03 +09:00
0d1ffb3a91
Consistently use tabs in ternaries when useTabs is true ( #15662 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com >
2023-12-10 17:10:57 +09:00
Klaus Hott Vidal
5f7aedc1cf
fix example to fit the actual experimentalTernaries behaviour ( #15747 )
2023-12-08 16:35:35 +02:00
Mark Amery
1e30f66f39
Remove claim, untrue since over 5 years ago, that cursorOffset is incompatible with rangeStart/rangeEnd ( #15750 )
2023-12-08 16:35:02 +02:00
Georgii Dolzhykov
39e4e7bf40
Add cursorOffset to Playground ( #15751 )
2023-12-08 16:34:26 +02:00
Sander Maijers and fisker
8e816ade2e
Allow skipping symlink patterns, to avoid raising a fault ( #15533 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2023-12-08 01:54:18 +09:00
Georgii Dolzhykov
2ca5d757b7
Fix expect call in dts test ( #15766 )
2023-12-06 00:10:45 +02:00
renovate[bot]
15c742844f
chore(deps): update dependency flow-parser to v0.223.3 ( #15760 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-05 19:36:55 +08:00
renovate[bot]
d3b3d4f5e3
chore(deps): update dependency hermes-parser to v0.18.0 ( #15761 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-05 18:27:18 +08:00
fisker Cheung
389225527c
Remove outdated code ( #15759 )
2023-12-05 18:18:56 +08:00