Commit Graph
6777 Commits
Author SHA1 Message Date
fisker Cheung 4792bbc1c8 Fix build target 2022-03-14 10:54:46 +08:00
fisker Cheung d123f7f481 Add TODO 2022-03-14 10:53:07 +08:00
fisker Cheung bf2219c3e2 Minor tweak to umd output 2022-03-14 10:50:11 +08:00
fisker Cheung 4e1eda7bc8 Linting 2022-03-14 10:45:07 +08:00
fisker Cheung 6d4280ab25 Add TODO 2022-03-14 10:39:49 +08:00
fisker Cheung f2caec27f0 Fix umd plugin 2022-03-14 10:38:40 +08:00
fisker Cheung 5ee4511c0c Fix conflicts 2022-03-14 10:34:19 +08:00
fisker Cheung bf98018486 Merge branch 'main' into next
# Conflicts:
#	.eslintrc.cjs
#	.github/workflows/validate-vendors.yml
#	bin/prettier.js
#	package.json
#	scripts/build/bundler.mjs
#	scripts/build/config.mjs
#	scripts/build/esbuild-plugins/replace-module.mjs
#	scripts/build/esbuild-plugins/umd.mjs
#	scripts/bundle-eslint-config.cjs
#	scripts/vendors/README.md
#	scripts/vendors/bundle-vendors.mjs
#	scripts/vendors/utils.mjs
#	scripts/vendors/vendor-meta.json
#	src/cli/index.js
#	tests/integration/__tests__/early-exit.js
#	yarn.lock
2022-03-14 10:31:40 +08:00
fisker Cheung 92f2c29235 Build: Unset target on esbuild first run (#12445) 2022-03-14 00:31:03 +08:00
fisker Cheung bd73f85332 Build: Use globalThis instead of new Function() (#12444) 2022-03-13 23:17:17 +08:00
fisker Cheung 5a50a0d909 Bundle bin and cli separately (#12306) 2022-03-13 22:47:02 +08:00
fisker Cheung 9f6c005b28 Build: Improve umd bundle output (#12442) 2022-03-13 20:09:21 +08:00
fisker Cheung 273d825f12 Build: Improve replaceModule plugin (#12423) 2022-03-13 17:04:22 +08:00
fisker Cheung 058401d6ce build: Fix evaluate plugin (#12429) 2022-03-13 17:04:06 +08:00
fisker Cheung 1b4b2c9205 Simplify vendors validate (#12421) 2022-03-13 16:55:02 +08:00
Ananta Krsna dasa db1f4e473f Mention Handlebars in the docs (#12391)
According to https://prettier.io/blog/2021/05/09/2.3.0.html#ember--handlebars, Handlebars support has been officially released, whereas it is not vividly mentioned on the main docs page.
2022-03-13 17:10:58 +09:00
dependabot[bot] ddff1cde6a Build(deps): Bump node-fetch from 3.2.1 to 3.2.3 in /scripts/release (#12439) 2022-03-13 04:42:13 +00:00
dependabot[bot] 448c90565c Build(deps): Bump codemirror-graphql from 1.2.12 to 1.2.13 in /website (#12436) 2022-03-13 03:40:32 +00:00
dependabot[bot] 48635cc4cb Build(deps-dev): Bump cspell from 5.18.5 to 5.19.0 (#12438) 2022-03-13 03:39:56 +00:00
dependabot[bot] 9d342a29ae Build(deps-dev): Bump node-fetch from 3.2.2 to 3.2.3 (#12437)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: node-fetch
  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-03-13 11:38:39 +08:00
dependabot[bot] 076faa057b Build(deps-dev): Bump eslint from 8.10.0 to 8.11.0 (#12435)
Bumps [eslint](https://github.com/eslint/eslint) from 8.10.0 to 8.11.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.10.0...v8.11.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-03-13 11:38:04 +08:00
fisker Cheung fced1ce167 Fix 2022-03-10 11:34:15 +08:00
fisker Cheung 8118299c67 Merge branch 'main' into next
# Conflicts:
#	.github/workflows/validate-vendor-versions.yml
#	package.json
#	src/language-css/printer-postcss.js
#	src/language-js/print/assignment.js
2022-03-10 11:30:31 +08:00
fisker Cheung 4364ea2cc9 CI: Use node-version instead of deprecated version (#12422) 2022-03-10 08:04:57 +08:00
dependabot[bot] c228f7f6b5 Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12419) 2022-03-09 05:18:28 +00:00
dependabot[bot] 77396c4c91 Build(deps): Bump @typescript-eslint/typescript-estree (#12416)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 5.13.0 to 5.14.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.14.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-03-09 12:46:59 +08:00
02c17f131b Allow lang attribute of <template> to be empty (#12394)
Co-authored-by: niklasvatn <niklas@vatn.se>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-03-09 06:37:16 +08:00
Niklas VatnHallvardMM no-replyfisker Cheung
737dd536c7 Fix lowercasing postcss values (#12393)
Co-authored-by: HallvardMM no-reply
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-03-09 06:36:14 +08:00
Georgii Dolzhykov 20cc23ba35 Fix idempotence issues caused by eol comments after = in assignments (#12349) 2022-03-08 01:08:35 +08:00
dependabot[bot] 097dba9516 Build(deps-dev): Bump node-fetch from 3.2.1 to 3.2.2 (#12411)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.1...v3.2.2)

---
updated-dependencies:
- dependency-name: node-fetch
  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-03-08 00:49:48 +08:00
dependabot[bot] 2ce43dc71a Build(deps): Bump actions/checkout from 2.4.0 to 3 (#12396) 2022-03-07 13:55:37 +00:00
dependabot[bot] 1f9973e691 Build(deps): Bump flow-parser from 0.172.0 to 0.173.0 (#12402) 2022-03-07 13:55:18 +00:00
dependabot[bot] e8b7c5c68f Build(deps): Bump typescript from 4.5.5 to 4.6.2 (#12400)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.5...v4.6.2)

---
updated-dependencies:
- dependency-name: typescript
  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-03-07 22:54:58 +09:00
dependabot[bot] 97566ddde3 Build(deps): Bump @typescript-eslint/typescript-estree (#12403)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 5.12.1 to 5.13.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.13.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-03-07 22:54:43 +09:00
fisker Cheung d039a98a08 Remove useless file 2022-03-07 13:53:59 +08:00
dependabot[bot] 3f37b7f341 Build(deps): Bump string-width from 5.1.0 to 5.1.2 in /scripts/release (#12405) 2022-03-07 03:57:43 +00:00
fisker Cheung b11044e58c Merge branch 'main' into next
# Conflicts:
#	scripts/vendors/vendor-meta.json
#	src/cli/options/get-options-for-file.js
#	src/cli/options/parse-cli-arguments.js
#	src/language-js/print/class.js
#	src/language-js/print/type-annotation.js
#	src/language-js/printer-estree.js
#	src/main/options-normalizer.js
#	vendors/tempy.js
2022-03-07 11:18:46 +08:00
dependabot[bot] e2357ef2ab Build(deps-dev): Bump webpack from 5.69.1 to 5.70.0 in /website (#12398)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 10:58:38 +08:00
dependabot[bot] fa380feb95 Build(deps): Bump node-fetch from 3.2.0 to 3.2.1 in /scripts/release (#12407)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 10:55:49 +08:00
dependabot[bot] c78050fdcd Build(deps-dev): Bump esbuild from 0.14.23 to 0.14.25 (#12397) 2022-03-06 13:07:48 +00:00
fisker Cheung 02c4e642a3 Build: Update mainFields (#12372) 2022-03-06 19:10:49 +08:00
dependabot[bot] 38913183c9 Build(deps): Bump preactjs/compressed-size-action from 2.4.0 to 2.5.0 (#12395)
Bumps [preactjs/compressed-size-action](https://github.com/preactjs/compressed-size-action) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/preactjs/compressed-size-action/releases)
- [Commits](https://github.com/preactjs/compressed-size-action/compare/2.4.0...2.5.0)

---
updated-dependencies:
- dependency-name: preactjs/compressed-size-action
  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-03-06 19:08:56 +08:00
dependabot[bot] cb20684030 Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12404) 2022-03-06 11:08:06 +00:00
dependabot[bot] ba1cf72c5b Build(deps-dev): Bump eslint-config-prettier from 8.4.0 to 8.5.0 (#12401)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.4.0...v8.5.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  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-03-06 19:06:43 +08:00
dependabot[bot] 072b1491ee Build(deps-dev): Bump eslint-plugin-react from 7.29.2 to 7.29.3 (#12406)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.29.2 to 7.29.3.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.29.2...v7.29.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  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-03-06 19:06:17 +08:00
dependabot[bot] 9828c0c09a Build(deps-dev): Bump node-fetch from 3.1.1 to 3.2.1 (#12399)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.1.1 to 3.2.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.1)

---
updated-dependencies:
- dependency-name: node-fetch
  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-03-06 19:05:59 +08:00
Sosuke Suzuki 828b7a30ea Print trailing comma for rest elements in tuple types (#12390)
* Remove `hasRest` condition for printing tuple types

* Update snapshots

* Fix test file name

* Add changelog
2022-03-05 15:40:11 +09:00
Niklas Vatn 9ceeb0cb8a Fix typo in blog about paying maintainers (#12381) 2022-03-04 21:49:28 +08:00
Georgii Dolzhykov 542549c372 Refactor printing definite assignment assertions (#12351)
* Refactor printing definite assignment assertions

* Add changelog

* Fix unexpected ! in var initializers
2022-03-04 09:28:48 +09:00
fisker Cheung 9b599ccaad Regenerate vendors (#12386) 2022-03-02 22:00:41 +08:00