Commit Graph
100 Commits
Author SHA1 Message Date
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
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
fisker Cheung 9400c893a3 Refactor: Add a wrapped normalizeCliOptions version for CLI usage (#12573) 2022-04-03 00:32:34 +09:00
fisker Cheung e2eac0cb8a Move some bundle test code into tests/ (#12577) 2022-04-03 00:32:33 +09:00
fisker Cheung ef1bde6e1d Refactor format test to async (#12559) 2022-04-03 00:32:33 +09:00
fisker Cheung 56b49d0949 Refactor: Simplify printSequence() (#12535) 2022-04-03 00:32:30 +09:00
fisker Cheung f75a7b957f Fix .prettierrc (#12558) 2022-04-03 00:32:00 +09:00
fisker Cheung 857014036c Fix less/scss format error (#12536) 2022-04-03 00:32:00 +09:00
fisker CheungandAlexander Kachkaev 1e119adf29 Minor tweak to the website (#12522)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-04-03 00:32:00 +09:00
fisker Cheung 4d1b9e9716 Refactor: Add a wrapped normalizeCliOptions version for CLI usage (#12573) 2022-04-02 19:01:07 +08:00
fisker Cheung afd0220dea Move some bundle test code into tests/ (#12577) 2022-04-02 16:14:32 +08:00
fisker Cheung 4b73b7e8ab Refactor format test to async (#12559) 2022-04-01 10:21:44 +08:00
fisker Cheung b40a5d03d6 Refactor: Simplify printSequence() (#12535) 2022-03-31 21:04:12 +08:00
fisker Cheung 0dcb0a1a30 Fix .prettierrc (#12558) 2022-03-30 15:54:01 +08:00
fisker Cheung b429cee273 Fix less/scss format error (#12536) 2022-03-29 20:44:28 +08:00
fisker CheungandAlexander Kachkaev c9be8d1e0e Minor tweak to the website (#12522)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-03-27 21:52:17 +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
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 5ef82125a9 CLI: Don't use logger to print information (#12477) 2022-03-21 10:38:48 +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 CheungandSosuke Suzuki 9e70d6cab6 Minor tweak to the blog post (#12473)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-03-20 14:49:02 +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 ae080df3e7 Enable unicorn/template-indent rule (#12469) 2022-03-17 20:13:28 +08:00
fisker Cheung 361dc14f06 Update Vercel logo & link (#12456) 2022-03-17 20:11:50 +08: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 935d76780a Prevent plugin search on format test (#12322) 2022-03-15 09:44:37 +08:00
fisker Cheung f3917a3a46 Add levenshteinDistance option check (#12447) 2022-03-15 09:40:45 +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 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 1b4b2c9205 Simplify vendors validate (#12421) 2022-03-13 16:55:02 +08:00
fisker Cheung 4364ea2cc9 CI: Use node-version instead of deprecated version (#12422) 2022-03-10 08:04:57 +08:00
fisker Cheung 9b599ccaad Regenerate vendors (#12386) 2022-03-02 22:00:41 +08:00
fisker Cheung c7b232c8f6 Remove leven from standalone.js (#12382) 2022-03-02 13:40:59 +08:00
fisker Cheung e949a54e59 Build: Add platform: "node" (#12375) 2022-02-28 18:38:33 +08:00
fisker Cheung 888db50d9f Build: Fix --compare-size (#12323) 2022-02-18 17:12:18 +08:00
fisker CheungandAlexander Kachkaev 3ba48bb266 Add --no-plugin-search (#10274)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
2022-02-18 16:36:53 +08:00
fisker Cheung 7efc67a7ef Style: Minor refactor (#12308) 2022-02-16 08:34:55 +08:00
fisker Cheung da7eb9aa60 Remove duplicated location info in error message from meriyah parser (#12307) 2022-02-16 08:24:53 +08:00
fisker Cheung badff2d1d6 Update esm-utils to v3 (#12274) 2022-02-11 18:02:04 +08:00
fisker Cheung 1ec2fd8a8b Clean installed Prettier after test (#12273) 2022-02-11 17:25:51 +08:00
fisker Cheung d962466a82 Style: Enforce kebab-case filename (#12265) 2022-02-10 10:12:31 +08:00
fisker Cheung ed951b3167 Update test:dist-lint script (#12262) 2022-02-09 08:30:36 +08:00
fisker Cheung f5b41bf133 Remove babel-loader (#12263) 2022-02-08 23:36:48 +08:00
fisker Cheung 6d02cd9650 Add parens to ClassExpression with decorators (#12260) 2022-02-08 15:06:31 +08:00
fisker Cheung b1e59dd70a Save vendor licenses for build script (#12258) 2022-02-08 10:33:09 +08:00
fisker Cheung 3712028053 Skip validate-vendor-versions on push (#12256) 2022-02-07 13:52:11 +08:00
fisker Cheung 0b7eee3536 Regenerate yarn.lock (#12254) 2022-02-07 12:31:36 +08:00
fisker Cheung ac348c1dbb Build: Add --compare-size flag (#12187) 2022-02-07 12:00:43 +08:00
fisker Cheung 717e6d8cb7 Follow up work for flow-parser@0.171.0 (#12252) 2022-02-07 11:24:32 +08:00
fisker Cheung 86a9e222d9 Update banner image url (#12188) 2022-02-05 22:55:41 +08:00
fisker Cheung 4ff9461a29 Improve build script (#12190) 2022-02-05 22:51:17 +08:00
fisker Cheung 8886e6310a Build: Add --clean (#12186) 2022-02-02 11:23:51 +09:00
fisker Cheung e3efd11401 Drop color support for standalone build (#12182) 2022-01-28 18:27:27 +08:00
fisker Cheung 08da4e55b0 Build: Remove define on second run (#12183) 2022-01-28 16:31:48 +08:00
fisker Cheung 9691e7bc37 Add acorn parser (#12172) 2022-01-28 15:25:30 +08:00
fisker Cheung a407f9b5af Exclude getInterpreter from 'standalone.js' (#12180) 2022-01-28 10:57:15 +08:00
fisker Cheung 350c05330e Build: Minor tweak to the umd plugin (#12179) 2022-01-28 10:34:59 +08:00
fisker Cheung 02052fd6ce Build: Verbose text report (#12178) 2022-01-28 10:11:35 +08:00
fisker CheungandSosuke Suzuki 2fd1406f5f Remove chalk from standalone.js (#12162)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-01-28 09:24:48 +08:00
fisker Cheung 9106e7ea13 Remove esm/doc.mjs (#12166) 2022-01-27 21:14:31 +08:00
fisker Cheung e73ee65d97 Reduce size of inherits module in parser-markdown.js (#12175) 2022-01-27 21:14:05 +08:00
fisker Cheung c9543b9fef Build: More reporter format (#12165) 2022-01-27 16:53:07 +08:00
fisker Cheung 950196fb88 Replace tslib entry when bundling parser-yaml.js (#12169) 2022-01-27 16:52:43 +08:00
fisker Cheung 7d7f7e928a Reduce bundled size of diff package (#12160) 2022-01-27 15:04:07 +08:00
fisker Cheung 7e73f1cf0d Update cSpell config (#12154) 2022-01-27 15:03:49 +08:00
fisker Cheung 54e9feb2d3 Build: Add --report flag (#12159) 2022-01-27 11:16:50 +08:00
fisker Cheung b08b79cc87 Update build script (#12157) 2022-01-27 09:37:55 +08:00
fisker Cheung f2ab2f9306 Remove useless TypeScriptServices from parser-typescript.js (#12155) 2022-01-26 22:27:10 +08:00
fisker Cheung f265e584df Build: Add --no-babel flag (#12153) 2022-01-26 20:33:15 +08:00
fisker Cheung 93af7641c9 Remove ts.sys in parser-typescript.js (#12151) 2022-01-26 19:38:03 +08:00
fisker Cheung d5bf36060f Exclude process shim (#12149) 2022-01-26 19:08:55 +08:00
fisker Cheung 7fbd4fcab3 Replace esbuild-plugin-browserslist with browserslist-to-esbuild (#12150) 2022-01-26 17:55:45 +08:00
fisker Cheung 2c5839b4ac Exclude assert shim (#12147) 2022-01-26 08:56:44 +08:00
fisker Cheung 27e7376229 Fix hangs on invalid v-for (#12113) 2022-01-19 20:53:17 +08:00
fisker Cheung 53da86c34d Fix some lgtm alerts (#12084) 2022-01-17 09:19:50 +08:00
fisker Cheung 16aa669141 Update rollup-plugin-license (#12081) 2022-01-16 10:21:29 +08:00
fisker Cheung cc6856ae20 Build: Switch to esbuild (backport #12052 and #10006) (#12055) 2022-01-14 15:58:13 +08:00
fisker Cheung 52ec456ab2 Add final new line to cspell.json file (#12049) 2022-01-08 12:14:07 +08:00
fisker Cheung 624c51101c Enable unicorn/prefer-json-parse-buffer and unicorn/no-useless-promise-resolve-reject rule (#12043) 2022-01-04 13:56:10 +08:00
fisker Cheung 3a1de5cb4f Simplify clean-cspell script (#12015) 2022-01-03 22:17:14 +08:00
fisker CheungandSosuke Suzuki 5f453482bc Add internal ESLint rule await-cli-tests (#12013)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-01-03 22:16:25 +08:00
fisker Cheung cf4bf1adc0 Simplify cli options stack (#11994) 2021-12-24 19:34:18 +08:00
fisker Cheung 07f7ad8c79 Improve shorthand specifier detection (#11941) 2021-12-18 11:16:18 +08:00