fisker Cheung
|
0fe554c2b0
|
Add one more step
|
2022-06-14 14:23:34 +08:00 |
|
fisker Cheung
|
3771e9c53d
|
Skip steps
|
2022-06-14 14:21:26 +08:00 |
|
fisker Cheung
|
00ee6fb6f8
|
Skip depenedencies install
|
2022-06-14 13:04:05 +08:00 |
|
 Sosuke SuzukiandSimon Lydell
|
fdccc0f48e
|
Add --cache CLI option (#12800)
* Install `file-entry-cache` and types
* Implement `FormatResultsCache`
* Add `--cache` and `--cache-location` option
* Implement `--cache` and `--cache-location`
* Add tests for `--cache`
* Add tests for `--cache-location`
* Avoid spellcheck error
* Update snapshots for new options
* Add `groupBy` for website
* Use `fs.promises` instead of `fs/promises`
* Use `rimraf` instead of `fs.rm`
* Fix properties order of `options`
* Install `find-cache-dir` and types
* Change default cache file location to `node_modules/.cache/prettier`
* Fix tests following to change default cache file location
* Update snapshots for changing default cache file location
* Set `os.tmpdir()` as a fallback for default cache dir
* Add docs for `--cache` and `--cache-location`
* Use `sdbm` instead of `node:crypto`
* Add changelog
* Fix `getHashOfOptions`
* Remove `cache-location`
* `prettiercache` -> `prettier-cache`
* Remove cache file when run Prettier without `--cache` option
* Implement `--cache-strategy`
* Add tests for invalid cache strategy
* Fix lint problems
* Tweaks tests
* Add tests for timestamp
* Add tests for `--cache-strategy`
* Add docs for cache-strategy
* Address review
* Fix `findCacheFile`
* Use Set.prototype.has
* Throw error with --stdin-filepath
* Update snapshots
* Fix error for cache and stdin
* Use string constructor instead of toString
* Update changelog
* Use flag validation
* Fix `cache-strategy` definition
* Update docs
* Mark highlihgt
* Throw error for `--cache-strategy` without `--cache`
* Update docs
* Fix typo
* Updates snapshots
* Update docs/cli.md
Co-authored-by: Simon Lydell <simon.lydell@gmail.com>
* Fix error message
* Remove `:::` syntax
* Defaults `content`
* Update docs
* Fix by Prettier
Co-authored-by: Simon Lydell <simon.lydell@gmail.com>
|
2022-06-11 23:32:32 +09:00 |
|
dependabot[bot]
|
aa1d536e29
|
Build(deps): Bump tmpl from 1.0.4 to 1.0.5 in /scripts/release (#12984)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2022-06-08 00:24:11 +08:00 |
|
 renovate[bot]andRenovate Bot
|
b6266a8be3
|
Update dependency node-fetch to v3.2.5 (#12970)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
|
2022-06-07 09:08:35 +08:00 |
|
fisker Cheung
|
c22ea97e00
|
Merge branch 'main' into next
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# scripts/build/config.mjs
# src/language-html/print/tag.js
# src/main/load-parser.js
# src/main/parser.js
# yarn.lock
|
2022-06-06 22:00:41 +08:00 |
|
 renovate[bot]andRenovate Bot
|
971b4036d0
|
Update dependency webpack to v5.73.0 (#12977)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
|
2022-06-06 20:21:53 +08:00 |
|
fisker Cheung
|
83ec3c36e3
|
Build: stricter warning check (#12956)
|
2022-06-01 19:23:13 +08:00 |
|
fisker Cheung
|
feb6b519ee
|
Update release script (#12591)
|
2022-05-30 13:44:54 +08:00 |
|
 renovate[bot]andRenovate Bot
|
19cad885c3
|
Update dependency webpack to v5.72.1 (#12872)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
|
2022-05-16 10:27:35 +08:00 |
|
fisker Cheung
|
567e4d9e79
|
Test: Use worker to run CLI test (#12705)
|
2022-05-10 15:42:11 +08:00 |
|
 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 |
|