Commit Graph
100 Commits
Author SHA1 Message Date
Ika dd7715ae85 Bump Prettier dependency to 1.16.4 2019-02-03 20:35:04 +08:00
Ika 154435bb36 Bump Prettier dependency to 1.16.3 2019-01-31 12:23:34 +08:00
Ika cb8d300ca0 Bump Prettier dependency to 1.16.2 2019-01-30 16:24:57 +08:00
Ika 3c56b9ad18 Release 1.16.2 2019-01-30 16:23:45 +08:00
Ika 847a78e8e9 fix(html): do not format non-normal whitespaces as normal whitespaces (#5797) 2019-01-30 14:30:10 +08:00
Ika 7faa2608c1 Bump Prettier dependency to 1.16.1 2019-01-22 21:54:32 +08:00
Ika 0274f9ca42 Release 1.16.1 2019-01-22 21:53:04 +08:00
Ika 153d2d0570 fix(typescript): stable parens for function type in arrow return type (#5790) 2019-01-22 21:07:10 +08:00
Ika 1061be0702 fix(mdx): correctly recognize inline JSX (#5783) 2019-01-22 12:02:30 +08:00
Ika 2002ce0453 fix(javascript): add necessary parentheses for decorators (#5785) 2019-01-22 00:54:41 +08:00
Ika 106fc36c81 docs: add CHANGELOG.unreleased.md (#5775)
Ref: https://github.com/prettier/prettier/issues/5735#issuecomment-452784056
2019-01-21 08:33:07 +08:00
Ika 1dc3c6dc2d docs(blog): 1.16 release (#5752) 2019-01-20 16:01:53 +08:00
Ika 32f7e03906 Bump Prettier dependency to 1.16.0 2019-01-20 16:01:28 +08:00
Ika 3a5fc6571a Release 1.16.0 2019-01-20 15:59:39 +08:00
Ika a9fd8e2cf4 fix(api): do not report the same deprecation warning more than once (#5774)
A quick fix for suppressing duplicate deprecation warnings.
2019-01-20 15:38:19 +08:00
Ika 3d7970a673 chore(scripts): add update-stable-docs to release script (#5772)
Ref: https://github.com/prettier/prettier/pull/5676#issuecomment-449624247
2019-01-20 11:43:26 +08:00
Ika 42f7b6025e fix(javascript): remove unnecessary linebreaks from html templates (#5771) 2019-01-20 11:15:18 +08:00
Ika 72d9732f1d chore(azure): node v4 compatible yarn (#5766)
Workaround for yarnpkg/yarn#6900
2019-01-18 21:40:35 +08:00
Ika 9d81ff1193 chore(website): upgrade react-dom to 16.3.3 (#5720) 2019-01-06 00:12:25 +08:00
Ika 63999c74eb fix(mdx): handle inline html correctly (#5704) 2019-01-03 10:46:11 +08:00
Ika 3de36e3a2b fix(ng,vue): add parens to avoid unexpected }} in interpolations (#5657) 2018-12-30 23:03:42 +08:00
Ika 7c4cebeaa5 feat: add babel-flow (#5685) 2018-12-29 21:35:47 +08:00
Ika 284764f030 fix(playground): backward compatibility for --parser babylon (#5690) 2018-12-28 14:56:58 +08:00
Ika 3a6c126f86 fix(playground): code sample for --parser babylon 2018-12-28 14:27:27 +08:00
Ika 86a5c40bc3 fix(playground): backward compatibility for --parser babylon (#5688) 2018-12-28 14:15:22 +08:00
Ika f744a84858 feat(website): enable docs versioning (#5676) 2018-12-25 08:20:35 +08:00
Ika 65a9d3b8cc fix(flow,ts): format /* HTML */ templates (#5658) 2018-12-19 23:00:18 +08:00
Ika f94f63b040 chore: update azure pipelines (#5611)
- upload coverage report (codecov) from azure pipelines
- only build `dist` once (`dist` is now shared between production jobs)
- run production tests on macOS (not sure why but it's faster than others)
- extract shareable steps
- remove travis/circle
2018-12-18 08:16:32 +08:00
Ika cbf06bf388 feat(html): format script with "application/ld+json" (#5642) 2018-12-16 16:21:10 +08:00
Ika ffc8482458 fix(vue): tag names are case-sensitive (#5606) 2018-12-13 10:31:48 +08:00
Ika 419559e964 fix(javascript): correct indentation for expression in root template (#5607) 2018-12-12 09:52:23 +08:00
Ika 5e89969a9e test: update snapshots 2018-12-11 16:18:29 +08:00
Ika d97fe0a1e0 feat(html): preserve surrounding linebreaks (#5596) 2018-12-11 12:43:53 +08:00
Ika 952bc0cc03 fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
Ika cd28c22dbe feat(html): smart quote for attributes (#5590) 2018-12-05 11:15:09 +08:00
Ika 525c076be8 Bump Prettier dependency to 1.15.3 2018-11-30 10:30:52 +08:00
Ika a5ccfa1ecb Release 1.15.3 2018-11-30 10:29:15 +08:00
Ika 3cd1d003c0 fix(typescript): do not throw errors on bigint keyword (#5577)
- fix `Error: unknown type: "TSBigIntKeyword"`
- bump typescript to stable version
2018-11-30 10:12:32 +08:00
Ika 2247ce1aab feat(angular): support interpolation in attributes (#5573) 2018-11-30 09:28:54 +08:00
Ika 3fcf69a7d5 fix(api): normalize file path for getFileInfo (#5570) 2018-11-29 11:04:44 +08:00
Ika 28b938da97 feat(html): update angular-html-parser (#5565)
- support [`htm`](https://github.com/developit/htm) (`<${Component}>content<//>`, `<div />`)
- preserve [bogus comments](https://www.w3.org/TR/html5/syntax.html#bogus-comment-state) (`<! ... >`, `<? ... >`)
2018-11-29 11:03:22 +08:00
Ika d124bbaacb test: update snapshots 2018-11-29 10:38:37 +08:00
Ika 1ecd2228b4 fix(vue): group slot-scope correctly (#5563) 2018-11-29 10:09:38 +08:00
Ika 0534735c2f fix(vue): tweak semicolon for single expression in event bindings (#5519) 2018-11-29 09:28:35 +08:00
Ika bd3834010c chore(build): es5 compatibility for browser (#5560) 2018-11-28 12:52:05 +08:00
Ika 4dd7c79bbf fix(html): correct column for error code frame (#5553)
- before
  ```html
  [error] test.html: SyntaxError: Unexpected character "/" (1:26)
  [error] > 1 | <div>footer content here<//>
  [error]     |                          ^
  ```
- after
  ```html
  [error] test.html: SyntaxError: Unexpected character "/" (1:27)
  [error] > 1 | <div>footer content here<//>
  [error]     |                           ^
  ```
2018-11-27 17:45:17 +08:00
Ika 05ad885c3c feat(typescript): support BigInt (#5546) 2018-11-27 16:53:34 +08:00
Ika 3a5bbf5fd2 fix(typescript): do not change module into namespace and break/hug their body correctly (#5551) 2018-11-26 13:34:35 +08:00
Ika 99a3efaa7a fix: update editorconfig-to-prettier (#5550) 2018-11-26 13:08:52 +08:00
Ika a7528ebea4 fix(ng,vue): do not normalize attribute names (#5549) 2018-11-26 12:09:19 +08:00
Ika 4af3dd4b07 test: improve snapshots (#5521)
- before
  ```
  ${input}${"~".repeat(printWidth)}
  ${output}
  ```
- after
  ```
  ===options===
  ${options}
  ${" ".repeat(printWidth)}| printWidth
  ====input====
  ${input}
  ===output====
  ${output}
  =============
  ```
2018-11-25 16:21:14 +08:00
Ika 66ada24961 feat(angular): do not print colon for ngIf (#5542) 2018-11-25 15:43:40 +08:00
Ika b6a04ab8ba fix(html-in-js): do not add quotes for interpolation-only attributes (#5544) 2018-11-25 15:04:02 +08:00
Ika c788842fea fix(javascript): add missing parens for binary in optionalMember (#5543) 2018-11-25 11:42:06 +08:00
Ika ab7f46bf40 feat(yaml): preserve the first document head end marker (#5502) 2018-11-25 10:30:25 +08:00
Ika a50a8e258c fix(javascript): upgrade @babel/parser to 7.1.6 (#5530) 2018-11-24 21:47:47 +08:00
Ika 7da4ed76ad fix(html): do not touch comments (#5525) 2018-11-23 21:25:58 +08:00
Ika 228a8b0782 fix(html): do not add extra indent for js template in script (#5527) 2018-11-23 15:20:30 +08:00
Ika cdac9552ef fix(vue,ng): do not normalize tag names (#5526) 2018-11-23 13:12:43 +08:00
Ika b2eadd234b fix(vue): preserve custom block (#5458) 2018-11-23 12:33:48 +08:00
Ika 6ee2f464ac feat(javascript): enable logical assignment (#5489) 2018-11-18 16:38:35 +08:00
Ika 85eb8cb0ea chore: tweak azure-pipelines.yml (#5498) 2018-11-17 12:38:47 +08:00
Ika 043a937de6 fix(markdown): do not trim content in inline-math (#5485) 2018-11-16 00:17:20 +08:00
Ika 668e049a5e feat(html): support ie conditional start/end comment (#5470) 2018-11-15 12:35:28 +08:00
Ika 4f63be05e8 fix(html): leading space for leading interpolation in textarea is sensitive (#5468) 2018-11-15 10:34:42 +08:00
Ika c00dcb97b0 fix(html): preserve content for element in <pre> correctly (#5473) 2018-11-15 10:34:27 +08:00
Ika 5c479cc55f fix(typescript): do not add invalid semi for construct in interface with prettier-ignore (#5469) 2018-11-14 21:35:37 +08:00
Ika 57b057cfa2 fix(typescript): inline method decorators should stay inlined (#5444) 2018-11-14 10:13:35 +08:00
Ika 5726df774e Bump Prettier dependency to 1.15.2 2018-11-11 01:10:29 +08:00
Ika 4b2d8c1b5f Release 1.15.2 2018-11-11 01:08:51 +08:00
Ika 7e72889ac1 fix(javascript): fix locEnd for VariableDeclaration caused by --no-semi (#5434) 2018-11-11 00:26:11 +08:00
Ika 1ce76290c0 fix(vue): do not add invalid semicolon for event attr (#5418) 2018-11-11 00:25:11 +08:00
Ika 2bb95d8924 fix(markdown): handle CRLF correctly (#5414) 2018-11-11 00:24:37 +08:00
Ika 6cedf7d5d9 fix(flow,ts): consistent interface and remove unnecessary indent for extends (#5432) 2018-11-11 00:15:18 +08:00
Ika e0f74cb94d fix(javascript): do not attach to block if it's not behind right func paren (#5435) 2018-11-11 00:10:19 +08:00
Ika 182a92eb28 fix(html): preserve incomplete ie conditional comment (#5429) 2018-11-10 16:44:44 +08:00
Ika 8b1260a770 fix(javascript): inline property decorator should stay inline (part 2) (#5423) 2018-11-10 16:44:33 +08:00
Ika cc6899e5c5 fix(css-in-js): do not duplicate comments (#5416) 2018-11-10 16:43:59 +08:00
Ika d4c248bb0b test: update snapshots 2018-11-10 10:52:08 +08:00
Ika 6fafd0a48d fix(angular): correctly print unary expression with + (#5405) 2018-11-10 01:01:18 +08:00
Ika 4e7fca5047 fix(markdown): identify CJK correctly (#5402) 2018-11-10 01:00:58 +08:00
Ika 1bce579f8d fix(ng|vue): whitespaces between interpolation and text are sensitive (#5396) 2018-11-10 01:00:26 +08:00
Ika b0b5460e8f feat(cli): allow overriding (#5390) 2018-11-10 00:59:59 +08:00
Ika de11f69889 fix(html): preserve unterminated ie conditional comments (#5424) 2018-11-09 23:26:59 +08:00
Ika 6f6b634948 fix(html): preserve content for <template> with unknown lang (#5388) 2018-11-09 19:19:03 +08:00
Ika 12a8fa3a24 fix(html): treat CRLF as LF (#5393) 2018-11-09 09:56:46 +08:00
Ika 423ddf9abd fix(angular): add missing parens for pipe in ternary (#5397) 2018-11-09 09:51:54 +08:00
Ika 9acb02997a feat(html): treat capital element as custom element (#5395)
Custom element: keep it on its own line if both leading/trailing line breaks exist
2018-11-09 09:51:31 +08:00
Ika 0228863a92 feat(html): handle pre with interpolation (#5400) 2018-11-09 09:50:57 +08:00
Ika 32ea48d499 fix(scss): do not throw if node.source undefined (#5394) 2018-11-09 09:48:16 +08:00
Ika 469a831619 fix(mdx): treat jsx codeblock same as in markdown (#5391) 2018-11-09 09:47:05 +08:00
Ika 7f472d72ae fix(angular): handle parens in ng expression correctly (#5387) 2018-11-09 00:06:16 +08:00
Ika fd8ec95e0a fix(javascript): do not apply test call formatting to arrow without body (#5366) 2018-11-08 14:00:42 +08:00
Ika 4b51907b87 fix(javascript): inline property decorator should stay inline (#5364)
Fixes the `@action` part in #5360
2018-11-07 17:21:03 +08:00
Ika 5e8ab7a104 chore: update changelog and lock 2018-11-07 10:23:10 +08:00
Ika 306cce5b10 Bump Prettier dependency to 1.15.1 2018-11-07 10:21:18 +08:00
Ika b11391d238 Release 1.15.1 2018-11-07 10:19:27 +08:00
Ika 8cedb9d25e fix(markdown): do not keep increasing backslashes for dollar sign (#5358) 2018-11-07 10:06:57 +08:00
Ika 514b6d3741 Bump Prettier dependency to 1.15.0 2018-11-07 09:12:25 +08:00
Ika fa40f2ddd3 docs(blog): 1.15 release (#5296) 2018-11-07 09:09:04 +08:00