Commit Graph
6832 Commits
Author SHA1 Message Date
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
Sosuke Suzukiandfisker Cheung f8ce0e303b Fix HTML AST JSON serializer for debugging (#12611)
* Add `JSON.stringify` replacer

* Fix serializer for playground

* Use `opt.parser`

* Consitent style

* lwc

* Revert "lwc"

This reverts commit 799bf357e8b30765944b29639a45b3c326bce615.

Revert "Use `opt.parser`"

This reverts commit 3046f52798ce740ea0ed267bf46c3221606b1fbc.

Revert "Add `JSON.stringify` replacer"

This reverts commit 54266cde61ea8f7cc4b3b0c9714559c93b456923.

* Rewrite `Node` class

* Revert changes in playground

* Revert wrong changes

* Update clean.js

* Set `configurable: true`

* Fix missing `return`

* Fix: "children" and "attrs" are enumerable

* Type check

* Revert unnessary change

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-08 23:36:23 +09:00
dependabot[bot] cb997ca7ab Build(deps): Bump @typescript-eslint/typescript-estree (#12621)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 5.17.0 to 5.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.18.0/packages/typescript-estree)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/typescript-estree"
  dependency-type: direct:production
  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-08 17:15:29 +08:00
dependabot[bot] f1ae6db2c4 Build(deps-dev): Bump esbuild from 0.14.30 to 0.14.34 (#12618) 2022-04-08 06:40:52 +00:00
dependabot[bot] f422433493 Build(deps): Bump semver from 7.3.5 to 7.3.6 (#12620) 2022-04-08 06:27:00 +00:00
dependabot[bot] 9558c93201 Build(deps): Bump flow-parser from 0.175.0 to 0.175.1 (#12616) 2022-04-08 02:57:34 +00:00
dependabot[bot] e7233d4e06 Build(deps-dev): Bump @babel/core from 7.17.8 to 7.17.9 (#12617) 2022-04-08 02:56:25 +00:00
dependabot[bot] b419ea2cb8 Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12615) 2022-04-08 02:51:18 +00:00
Simen Bekkhus 033ac94f25 chore: disable string escaping in snapshots (#12612) 2022-04-08 09:59:17 +09:00
Harry Hopkinsonandfisker Cheung f98c197b66 Print the number of files that need formatting. (#12561)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-07 09:47:13 +08:00
fisker Cheung 3fd64b4f30 Format .importmap file with json-stringify parser (#12603) 2022-04-07 09:37:30 +08:00
fisker Cheung c36d89712a Ignore .yarn in all packages 2022-04-06 15:19:46 +08:00
fisker Cheung 86b64183f1 Enable unicorn/no-unreadable-iife and unicorn/prefer-native-coercion-functions rule (#12594) 2022-04-06 10:08:49 +08:00
dependabot[bot] 5a6897fe32 Build(deps): Bump codemirror-graphql from 1.2.14 to 1.2.15 in /website (#12589) 2022-04-04 05:02:21 +00:00
dependabot[bot] f62e37ba06 Build(deps-dev): Bump concurrently from 7.0.0 to 7.1.0 in /website (#12588) 2022-04-03 20:20:22 +00:00
dependabot[bot] 52e860392e Build(deps-dev): Bump pretty-bytes from 5.6.0 to 6.0.0 (#12315) 2022-04-03 20:01:46 +00:00
dependabot[bot] fdfa56d6af Build(deps-dev): Bump webpack from 5.70.0 to 5.71.0 in /website (#12587) 2022-04-03 19:30:42 +00:00
Sosuke Suzuki 41ebbb0a0d Update vendors (#12585) 2022-04-03 10:27:05 +09:00
fisker Cheung 719f264ebc Run size check on every PR (#12583) 2022-04-03 01:42:41 +08:00
fisker Cheung 687ca4b95d Drop Node.js 12 support for development "build" (#12557) 2022-04-03 01:42:20 +08:00
fisker Cheung caba818940 Bundle vendors from the source package (#12582) 2022-04-03 01:06:32 +08:00