Commit Graph
551 Commits
Author SHA1 Message Date
fisker Cheung 3cbee742a7 Add please-upgrade-node back to CLI (#12448) 2022-04-03 00:04:45 +08:00
fisker Cheung 65ce63b4dc Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/vendors/bundle-vendors.mjs
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/language-handlebars/utils.js
#	src/language-html/utils/html-elements-attributes.js
#	vendors/tempy.js
2022-04-01 10:37:35 +08:00
dependabot[bot]andfisker Cheung 141bd80c02 Build(deps): Bump html-element-attributes from 2.3.0 to 3.0.0 (#10617)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-01 09:39:29 +08:00
dependabot[bot]andfisker Cheung 1be154650b Build(deps): Bump html-void-elements from 1.0.5 to 2.0.0 (#10623)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-03-31 22:21:37 +08:00
Sosuke Suzuki 250847c2cc Install dependencies for website (#12566) 2022-03-31 22:50:48 +09:00
fisker Cheung 717edf520f Inline require() parsers (#12527) 2022-03-28 09:41:08 +08:00
dependabot[bot]andSosuke Suzuki 529312e9ac Build(deps): Bump micromatch from 4.0.4 to 4.0.5 (#12550)
* Build(deps): Bump micromatch from 4.0.4 to 4.0.5

Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.4...4.0.5)

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

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

* Build(deps): Bump micromatch from 4.0.4 to 4.0.5

Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.4...4.0.5)

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

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

* Update vendors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-03-28 02:18:16 +09:00
dependabot[bot] 464694f07b Build(deps): Bump minimist from 1.2.5 to 1.2.6 in /scripts/release (#12551)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  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-03-27 21:52:37 +08:00
fisker Cheung 92d1f89c98 Merge branch 'main' into next
# Conflicts:
#	scripts/vendors/bundle-vendors.mjs
2022-03-25 16:45:08 +08:00
fisker Cheung 21c68e36ae Build: migrate scripts/shims/* to ESM (#12371) 2022-03-25 16:37:34 +08:00
fisker Cheung 6128c5c4e4 Build: Fix esbuildPluginReplaceModule (#12530) 2022-03-25 12:35:08 +08:00
fisker Cheung 11649270f6 Enable unicorn/text-encoding-identifier-case rule (#12526) 2022-03-25 09:35:28 +08:00
Sosuke Suzuki 0e6c1d58d8 Enter OTP via enquirer (#12528) 2022-03-24 23:47:29 +09:00
fisker Cheung 30dc7b4145 Fix running build script with --no-minify 2022-03-24 21:22:41 +08:00
fisker Cheung ad566ad2f4 Linting 2022-03-24 16:50:23 +08:00
fisker Cheung 916cae5a1d Fix build script 2022-03-24 15:17:26 +08:00
fisker Cheung 42f6a4a690 Fix 2022-03-24 15:07:08 +08:00
fisker Cheung a21dfbfa21 Merge branch 'main' into next-rebase
# Conflicts:
#	.eslintrc.cjs
#	package.json
#	scripts/build/bundler.mjs
#	scripts/build/config.mjs
#	scripts/build/esbuild-plugins/replace-module.mjs
#	src/cli/file-info.js
#	src/cli/find-config-path.js
#	src/cli/index.js
2022-03-24 15:02:29 +08:00
fisker Cheung 6664253b9e Fix error when bundle prettier with webpack (#12511) 2022-03-24 11:20:55 +08:00
fisker Cheung 4250812682 Remove require from UMD bundles (#12485) 2022-03-23 10:21:02 +08:00
fisker Cheung e67aa193ef Build: Dedupe semver package (#12468) 2022-03-21 10:37:57 +08:00
fisker Cheung 0d668bcc0d Reduce size of parser-postcss.js (#12488) 2022-03-20 21:56:09 +08:00
fisker Cheung 7544c32c53 Build: Combine replace-module and replace-text plugin (#12489) 2022-03-20 14:04:30 +08:00
fisker Cheung ef3fe51380 Fix pluginSearchDirs schema (#12474)
* Fix `pluginSearchDirs` schema

* `anyOf` -> `oneOf`

* Fix test
2022-03-20 14:50:27 +09:00
fisker Cheung c96f148ccf Merge branch 'main' into next
# Conflicts:
#	tests/config/install-prettier.js
#	tests/format/js/cursor/jsfmt.spec.js
#	tests/integration/__tests__/doc-trim.js
#	tests/integration/__tests__/format.js
#	tests/integration/__tests__/line-suffix-boundary.js
#	tests/integration/__tests__/load-toml.js
#	tests/integration/__tests__/stdin-filepath.js
#	tests/integration/__tests__/with-parser-inference.js
2022-03-17 21:32:14 +08:00
fisker Cheung 9b2dc0e4e6 Build: Fix build script for next branch (#12483) 2022-03-17 21:22:52 +08:00
fisker Cheung e97316ac5d Fix build script 2022-03-17 20:35:49 +08:00
fisker Cheung ae080df3e7 Enable unicorn/template-indent rule (#12469) 2022-03-17 20:13:28 +08:00
fisker Cheung 4c1c3642da Fix build script 2022-03-17 19:56:48 +08:00
fisker Cheung aef290519d Fix esbuildPluginInteropDefault 2022-03-17 19:37:05 +08:00
fisker Cheung a22e3a9ac1 Fix 2022-03-17 09:54:48 +08:00
fisker Cheung c95c899b6f Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	scripts/build/config.mjs
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/format.js
#	src/cli/logger.js
#	src/cli/options/get-options-for-file.js
#	src/cli/options/parse-cli-arguments.js
#	src/main/core.js
#	tests/config/install-prettier.js
#	vendors/execa.js
#	vendors/mem.js
#	vendors/string-width.js
#	vendors/tempy.js
#	yarn.lock
2022-03-17 09:44:08 +08:00
Sosuke Suzuki 0d34974a07 Run prettier after release (#12472) 2022-03-16 18:38:31 +08:00
eb671dd983 2.6 blog post (#12412)
* Generate

* Generate

* Add TS4.6 changelog

* Regenerate

* Add changelog to switch to esbuild

* Add category

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Address review

* Regenerate

* Highlight TS 4.6

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Regenerate

* Update changelog_unreleased/typescript/12390.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Add thanks message for sponsors

* Address review!

* Update cspell.json

* Fix link of Ubie

* Generate

* Add `Thanks to our sponsors!`

* Update cspell

* Address review

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>

* Regenerate

* Add `--print-truncate` option

* Address review

* Generate

Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-03-16 13:25:48 +09:00
Sosuke Suzuki 2f45d9bcc3 Fix release script 2022-03-16 13:25:18 +09:00
Sosuke Suzuki f7c4423733 Bump Prettier dependency to 2.6.0 2022-03-16 13:24:48 +09:00
fisker Cheung 4cae7e15a7 Build: Remove an extra new line in UMD bundle (#12467) 2022-03-16 10:36:32 +08:00
fisker Cheung 9a070503a3 Build: Remove mainFields override (#12466) 2022-03-16 10:36:20 +08:00
fisker Cheung 6cdf21af08 Fix comment (#12464) 2022-03-16 10:24:22 +08:00
fisker Cheung 34dcd96922 Build: Add a plugin to throw unexpected warnings (#12463) 2022-03-15 22:07:36 +08:00
fisker CheungandSosuke Suzuki cae195187f Fix diff package import (#12462)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-03-15 12:36:13 +08:00
fisker Cheung 4b7a39c936 Update chalk to v5 (#12446) 2022-03-15 09:40:25 +08:00
fisker Cheung 541eec5b9c Replace parent-module (#12455) 2022-03-15 08:57:54 +08:00
fisker Cheung 6064a88fed Add esbuildPluginReplaceText (#12451) 2022-03-14 20:02:02 +08:00
fisker Cheung 74b0362f40 Build: Remove isEsm mark (#12450) 2022-03-14 16:30:12 +08:00
fisker Cheung 658e985d49 Build: Fix require() package.json file (#12449) 2022-03-14 16:14:58 +08:00
fisker Cheung 18cdd4a398 Fix build script 2022-03-14 11:09:32 +08:00
fisker Cheung 31d9f9fcb6 Disable rules 2022-03-14 11:06:16 +08:00
fisker Cheung 4792bbc1c8 Fix build target 2022-03-14 10:54:46 +08:00
fisker Cheung bf2219c3e2 Minor tweak to umd output 2022-03-14 10:50:11 +08:00