Commit Graph
575 Commits
Author SHA1 Message Date
renovate[bot]andRenovate Bot eb6f9fdfa8 Update dependency jest to v28.1.0 (#12826)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 18:13:17 +08:00
renovate[bot]andRenovate Bot ad473af6dc Update dependency webpack to v5.72.0 (#12828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 17:59:35 +08:00
fisker Cheung ff98159873 Use named export in doc.js (#12789) 2022-05-07 01:37:40 +08:00
fisker Cheung fcc8c484c3 Use yarn 3 (#12599) 2022-05-06 20:27:33 +08:00
fisker Cheung cabc9e13b5 Fix some esbuild warnings (#12798) 2022-05-06 18:52:40 +08:00
fisker Cheung c1f6d021e5 Use named export instead of default export (#12740) 2022-05-05 15:03:08 +08:00
fisker Cheung eb7b504c06 Use import.meta.jest (#12776) 2022-05-04 11:08:51 +08:00
dependabot[bot] a8f5408fbf Build(deps-dev): Bump jest from 27.5.1 to 28.0.3 in /scripts/release (#12773)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 10:30:07 +08:00
dependabot[bot] dd6684fd06 Build(deps): Bump node-fetch from 3.2.3 to 3.2.4 in /scripts/release (#12770)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: node-fetch
  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-05-02 10:07:38 +08:00
fisker Cheung 2bcee631a2 Refactor: Import document/*.js directly (#12739) 2022-04-29 14:04:17 +08:00
fisker Cheung fccf19503c Change plugin export style to named export (#12741) 2022-04-29 12:54:33 +08:00
fisker Cheung a85f38f096 Merge branch 'main' into next
# Conflicts:
#	.github/workflows/dev-test.yml
#	jest.config.mjs
#	package.json
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/format.js
#	src/cli/options/create-minimist-options.js
#	src/cli/options/parse-cli-arguments.js
#	src/cli/usage.js
#	src/cli/utils.js
#	src/common/create-ignorer.js
#	src/common/load-plugins.js
#	src/config/resolve-config.js
#	src/index.js
#	src/language-css/utils/css-units.evaluate.js
#	src/language-html/ast.js
#	src/language-html/print-preprocess.js
#	src/language-html/utils/index.js
#	src/main/multiparser.js
#	tests/format/markdown/auto-link/jsfmt.spec.js
#	tests/integration/__tests__/__snapshots__/config-resolution.js.snap
#	tests/integration/__tests__/__snapshots__/with-config-precedence.js.snap
#	tests/integration/__tests__/file-info.js
#	yarn.lock
2022-04-25 14:28:27 +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
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
fisker Cheung 3a852871a3 Fix createSandBox 2022-04-06 16:05:22 +08:00
fisker Cheung 6016404f59 Merge branch 'main' into next
# Conflicts:
#	.eslintrc.cjs
#	.github/workflows/prod-test.yml
#	.github/workflows/validate-vendors.yml
#	scripts/build/bundler.mjs
#	scripts/vendors/bundle-vendors.mjs
#	scripts/vendors/utils.mjs
#	scripts/vendors/vendor-meta.json
#	scripts/vendors/vendors.mjs
#	src/cli/logger.js
#	src/cli/options/get-options-for-file.js
#	src/cli/options/parse-cli-arguments.js
#	src/common/util.js
#	src/language-html/utils/html-tag-names.js
#	tests/integration/__tests__/bundle.js
#	tests/integration/__tests__/loglevel.js
#	tests/integration/run-prettier.js
#	vendors/string-width.js
2022-04-06 15:41:50 +08:00
Sosuke Suzuki 41ebbb0a0d Update vendors (#12585) 2022-04-03 10:27:05 +09: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
fisker Cheung 3cbee742a7 Add please-upgrade-node back to CLI (#12448) 2022-04-03 00:04:45 +08:00
dependabot[bot] c23e24ee11 Build(deps): Bump leven from 3.1.0 to 4.0.0 (#11349) 2022-04-02 11:47:46 +00:00
dependabot[bot] f4d4dc1177 Build(deps): Bump strip-ansi from 6.0.0 to 7.0.0 (#10731) 2022-04-02 11:24:18 +00:00
dependabot[bot]andfisker Cheung 237e681936 Build(deps): Bump escape-string-regexp from 4.0.0 to 5.0.0 (#10725)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-02 18:34:21 +08:00
fisker Cheung afd0220dea Move some bundle test code into tests/ (#12577) 2022-04-02 16:14:32 +08:00
dependabot[bot]andfisker Cheung bf148376fa Build(deps): Bump html-tag-names from 1.1.5 to 2.0.0 (#10612)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-02 14:02:39 +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