Commit Graph
9008 Commits
Author SHA1 Message Date
renovate[bot]andfisker 6d784f318c chore(deps): update dependency eslint-plugin-unicorn to v50 (#15855)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-01-03 10:49:57 +08:00
fisker Cheung 84c169ecc2 Fix prettier-ignored angular control flow (#15827) 2024-01-02 13:48:34 +08:00
renovate[bot] 369400db01 chore(deps): update dependency acorn to v8.11.3 (#15852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 13:30:15 +08:00
renovate[bot] 84a9301981 chore(deps): update babel to v7.23.7 (#15851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 11:01:17 +08:00
fisker Cheung 1dc924f2f2 Add jsonc parser (#15831) 2024-01-02 10:59:34 +08:00
SUZUKI Sosuke 66a23c9331 Run fix:eslint (#15847) 2023-12-28 23:53:44 +09:00
Seiyaandfisker Cheung 82db5fcd0d Somewhat improve conditional type alias (#15811)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-12-28 23:46:34 +09:00
fisker Cheung b9d0c993b9 Use Array#findLast() (#15805) 2023-12-28 23:44:13 +09:00
Mark Amery 2c3e42ba9a Re-enable tests/dts/unit/cases/parsers.ts - take 2 (#15789)
Re-enable tests/dts/unit/cases/parsers.ts
2023-12-28 23:42:57 +09:00
renovate[bot] f3fff2ef13 chore(deps): update glimmer to v0.87.1 (#15842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-25 11:18:16 +08:00
renovate[bot] 1fbba57931 chore(deps): update dependency flow-parser to v0.225.0 (#15839)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-21 01:29:07 +08:00
fisker Cheung 8d464ffa67 Update esbuild-visualizer to v0.5.1 (#15838) 2023-12-21 01:28:29 +08:00
fisker Cheung 39fd805775 Remove xhtmlEntities from typescript plugin (#15823) 2023-12-18 18:30:29 +08:00
fisker Cheung 4c3cf0c1d4 Refactor config search (#15822) 2023-12-18 14:50:36 +08:00
fisker Cheung bc0be70cf9 Improve loadEditorconfig (#15821) 2023-12-18 10:44:29 +08:00
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 Sosukeandfisker 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]andfisker 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]andfisker 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]andfisker 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 Sosukeandfisker 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 Gurelaandfisker 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
Seiyaandfisker 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