Commit Graph
6852 Commits
Author SHA1 Message Date
Adrian Leonhard 97cbdc3d1d Add prettier-plugin-glsl to community plugins (#12777)
* Add prettier-plugin-glsl to community plugins

* add glsl to cspell.json
2022-05-02 21:48:58 +09:00
053022f5ed Infer Stylus parser in Vue SFC (#12707)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-05-01 23:01:24 +08:00
fisker Cheung 4c42129d96 Simplify pref test scripts (#12699) 2022-05-01 22:29:45 +08:00
Sosuke Suzuki fe6820e815 Try to fix pnpm error on Dev Package Tests (#12774)
* Remove `-y` from `pnpm init`

* Change
2022-05-01 11:49:15 +09:00
Sosuke Suzuki 9348049311 Refactor: Use optional chaining in src/language-js/comments.js (#12747)
* Use optional chaining in `src/language-js/comments.js`

* Using sets

* Address review
2022-04-30 21:16:43 +09:00
Sosuke Suzuki 504d751036 Preserve blank line between export specifiers (#12746)
* Preserve blank line between export specifiers

* Add changelog

* rename
2022-04-29 17:42:42 +09:00
fisker Cheung e23b89b8c7 Target dependabot to next branch (#12712) 2022-04-28 11:25:33 +08:00
fisker Cheung fc74af1d94 Set loglevel to debug automatically when performance flags found (#12698) 2022-04-28 11:24:59 +08:00
fisker Cheung a1dee86841 Refactor CSS utils (#12680) 2022-04-28 11:24:33 +08:00
HosokawaRandfisker Cheung 9fbdcda5b1 Print as instead of : for babel-ts parser (#12706)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-27 17:56:38 +08:00
fisker Cheung d1332b4c63 Set printBasicPrototype: false in snapshots (#12702) 2022-04-27 17:56:05 +08:00
dependabot[bot]andfisker Cheung 586a4b2a87 Build(deps): Bump css-units-list from 0.0.5 to 1.1.0 (#12684)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-25 14:02:59 +08:00
fisker Cheung 85e6e4f73f CLI: Skip print code or write file when performance flags found (#12682) 2022-04-25 08:44:22 +08:00
dependabot[bot] 2ef33f143d Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12694) 2022-04-24 18:08:57 +00:00
dependabot[bot] 5024adb9d7 Build(deps-dev): Bump babel-loader from 8.2.4 to 8.2.5 in /website (#12690)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 18:00:46 +08:00
dependabot[bot] 757aaf0ec8 Build(deps): Bump flow-parser from 0.176.2 to 0.176.3 (#12691) 2022-04-24 10:00:07 +00:00
dependabot[bot] c46b3ea033 Build(deps-dev): Bump esbuild from 0.14.36 to 0.14.38 (#12692)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 17:57:58 +08:00
dependabot[bot] 728b7a0b62 Build(deps-dev): Bump core-js from 3.22.0 to 3.22.2 (#12693)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 17:56:38 +08:00
dependabot[bot] 3b8655b11b Build(deps-dev): Bump eslint-plugin-jest from 26.1.4 to 26.1.5 (#12686)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 17:54:19 +08:00
dependabot[bot] f7c0a02ddc Build(deps-dev): Bump eslint from 8.13.0 to 8.14.0 (#12687)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 17:53:55 +08:00
fisker Cheung a9de2a128c Minor refactor (#12681) 2022-04-24 10:28:20 +08:00
dependabot[bot] 59200a78ab Build(deps-dev): Bump eslint-plugin-regexp from 1.6.0 to 1.7.0 (#12689)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 10:25:56 +08:00
dependabot[bot] b77555bf6a Build(deps): Bump codecov/codecov-action from 3.0.0 to 3.1.0 (#12685)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 10:25:25 +08:00
fisker Cheung 66585d9f25 Refactor JS utils (#12623) 2022-04-22 20:51:41 +08:00
29c4a3e559 bugfix(graphql): Fix single line and empty description formatting (#12608)
Co-authored-by: Harry Hopkinson <63599884+Harry-Hopkinson@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-22 20:38:44 +08:00
fisker Cheung 56b3c6c7e4 Run tests on Node.js v18 (#12674) 2022-04-22 18:49:27 +08:00
dependabot[bot] 5b043a2432 Build(deps): Bump @typescript-eslint/typescript-estree from 5.18.0 to 5.20.0 (#12671)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 21:23:44 +08:00
dependabot[bot] e6334a3607 Build(deps): Bump semver from 7.3.6 to 7.3.7 (#12660)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.6 to 7.3.7.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.6...v7.3.7)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 08:02:54 +08:00
dependabot[bot] c5ccff6aa3 Build(deps-dev): Bump @glimmer/reference from 0.84.1 to 0.84.2 (#12666) 2022-04-17 07:03:25 +00:00
dependabot[bot] 3f151deed4 Build(deps-dev): Bump esbuild from 0.14.34 to 0.14.36 (#12663) 2022-04-17 06:54:00 +00:00
dependabot[bot] 10277ecf2f Build(deps): Bump semver from 7.3.5 to 7.3.7 in /scripts/release (#12667) 2022-04-17 06:32:06 +00:00
Sosuke Suzuki a4cba80dc0 Allow formatting for Vue template expression written in TypeScript (#12584)
* Support TS expression in vue SFC

* Add changelog

* Add `__ts_expression`

* Add `__vue_ts_expression`

* Add tests

* Do not use `ast.walk`

* Address review

* Add `__vue_ts_event_binding`

* Fix
2022-04-17 13:12:19 +09:00
dependabot[bot] b3fae6736b Build(deps-dev): Bump core-js from 3.21.1 to 3.22.0 (#12665) 2022-04-17 03:27:50 +00:00
dependabot[bot] fd4dc4592e Build(deps): Bump @glimmer/syntax from 0.84.1 to 0.84.2 (#12664) 2022-04-17 03:26:26 +00:00
dependabot[bot] 01ac16b180 Build(deps): Bump flow-parser from 0.175.1 to 0.176.2 (#12662) 2022-04-17 03:01:41 +00:00
dependabot[bot] e167d450e8 Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12661) 2022-04-17 03:01:14 +00:00
dependabot[bot] 8f7ca01e68 Build(deps-dev): Bump rollup-plugin-license from 2.6.1 to 2.7.0 (#12658) 2022-04-17 02:31:13 +00:00
c50f2bbe30 Please describe what prettier ignores by default (#12626)
Co-authored-by: Szymon Dzialowski <sdzialowski@godaddy.com>
Co-authored-by: Szymon Dzialowski <sdzialowski@gmail.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-12 17:47:07 +08:00
dependabot[bot] ae72b47477 Build(deps-dev): Bump webpack from 5.71.0 to 5.72.0 in /website (#12637)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 19:51:20 +08:00
dependabot[bot] 3771cead82 Build(deps-dev): Bump cspell from 5.19.5 to 5.19.7 (#12635)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.19.5 to 5.19.7.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.19.5...v5.19.7)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 00:51:46 +08:00
dependabot[bot] 8ac16a1af5 Build(deps): Bump actions/download-artifact from 2 to 3 (#12632)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 00:51:16 +08:00
dependabot[bot] 7673b16093 Build(deps): Bump codecov/codecov-action from 2.1.0 to 3.0.0 (#12633)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.0.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-10 19:28:35 +08:00
dependabot[bot] 9942a16d68 Build(deps): Bump actions/upload-artifact from 2 to 3 (#12634)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-10 19:26:54 +08:00
dependabot[bot] e2d6986946 Build(deps-dev): Bump eslint-plugin-jest from 26.1.3 to 26.1.4 (#12636)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.1.3 to 26.1.4.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.1.3...v26.1.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-10 19:24:45 +08:00
dependabot[bot] 45354643db Build(deps-dev): Bump eslint from 8.12.0 to 8.13.0 (#12638)
Bumps [eslint](https://github.com/eslint/eslint) from 8.12.0 to 8.13.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.12.0...v8.13.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-10 19:23:44 +08:00
Ansgar Prause 3390aa12b8 Fix groupBy usage in playground sidebar (#12642)
The groupBy function added in fa3b95c2e1
does not support the property name shorthand from lodash.
2022-04-10 19:20:33 +08:00
Sosuke Suzukiandfisker Cheung fa3b95c2e1 Remove lodash (#12628)
* Replace `groupBy`

* Replace `partition`

* Replace `pick`

* Move `partition`

* Replace `uniqBy`

* Replace `fromPairs`

* Remove usage from website

* Reuse `partition`

* Remove from package.json

* Fix

* Use `ignore.default`

* Add `resolveConfig` to `FileInfoOptions`

* Explicit tuple types

* Make `cache` optional

* Fix cosmiconfig type

* Use `@ts-expect-error` for private property access

* Add type annotation for validate

* Fix type errors for `OptionInfo`

* Add `@ts-expect-error`

* Fix type of `normalizeOptions`

* Fix `OptionInfo` type

* Add `@ts-expect-error` for `option-normalizer`

* Avoid type error

* Fix typo

* Add types for lodash fns

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-10 15:26:07 +09:00
fisker Cheung 991708420a Simplify HTML Node class (#12622) 2022-04-09 17:34:34 +08:00
dependabot[bot] 5c2f3f3bf3 Build(deps): Bump @babel/parser from 7.17.8 to 7.17.9 (#12614)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-09 10:50:52 +08:00
dependabot[bot] ce6fafc92a Build(deps-dev): Bump eslint-plugin-import from 2.25.4 to 2.26.0 (#12619)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.4 to 2.26.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.4...v2.26.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-09 00:06:12 +09:00