Commit Graph
224 Commits
Author SHA1 Message Date
fisker Cheung b70cef161b Drop support for Node.js 10 (#11830) 2021-11-22 09:48:28 +08:00
fisker Cheung 71d8af4159 Fix bundled parser-postcss.js for next branch (#11674)
* Fix bundled `parser-postcss.js`

* Remove `terserOptions`

* Update comment
2021-10-13 13:54:47 +09:00
sosukesuzuki 7446e06d47 Merge branch 'main' into next 2021-10-10 14:58:57 +09:00
fisker Cheung e96dc509ec Update eslint config (#11595) 2021-09-28 11:16:39 +08:00
dependabot[bot]andfisker Cheung 737d436a95 Build(deps-dev): Bump @rollup/plugin-commonjs from 18.1.0 to 20.0.0 (#11288)
* Build(deps-dev): Bump @rollup/plugin-commonjs from 18.1.0 to 20.0.0

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 18.1.0 to 20.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v20.0.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* Hack

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-09-24 06:22:57 +09:00
fisker Cheung 04391a0f32 Minify parser-postcss.js (#11489) 2021-09-12 23:26:29 +08:00
fisker Cheung 5ce28ddd7f Refactor website build script (#11488) 2021-09-11 09:55:46 +08:00
fisker Cheung 567676c639 Linting 2021-09-10 13:55:24 +08:00
fisker Cheung 3d1469969b Merge branch 'main' into next
# Conflicts:
#	scripts/build/bundler.mjs
#	scripts/build/rollup-plugins/replace-module.mjs
#	scripts/build/shims/fs.mjs
2021-09-10 13:53:22 +08:00
fisker Cheung 8a01dee53e Refactor build script (#11475) 2021-09-10 10:20:43 +08:00
Sosuke Suzukiandfisker Cheung 2664fcb2ba Enable import/no-anonymous-default-export (#11478)
* Enable import/no-anonymous-default-export

* Add names to default exported

* More

* Ignore shims

* Update scripts/build/config.mjs

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* lint  for shims

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-09-10 11:17:09 +09:00
fisker Cheung a3cfb5a81c Merge branch 'main' into next 2021-09-09 16:15:34 +08:00
fisker Cheung 339e0c6db7 Fix build script (#11468) 2021-09-09 16:14:09 +08:00
fisker Cheung 62a2629743 Build: Support build single file (#11469) 2021-09-09 12:23:53 +08:00
fisker Cheung beba6fa88c Merge branch 'next' of github.com:prettier/prettier into next
# Conflicts:
#	package.json
#	yarn.lock
2021-09-08 12:54:17 +08:00
fisker Cheung 051e20591a Lint dist files with eslint-plugin-compat (#11245) 2021-08-16 15:08:19 +08:00
fisker Cheung a998e3c34d Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	src/language-css/loc.js
#	yarn.lock
2021-08-13 11:45:05 +08:00
fisker Cheung 4f1e554566 Fix a rollup warning (#11270) 2021-07-26 15:04:38 +08:00
fisker Cheung c9e6ada108 Build: Fix unexpected require()s in parser-typescript.js (#11130) 2021-07-26 09:17:34 +08:00
fisker Cheung 894f841fbd Style: Enforce extensions (#11227) 2021-07-21 09:10:34 +08:00
fisker Cheung 14a952aafb Move js parsers to a separate directory (#11195) 2021-07-15 09:53:34 +08:00
fisker Cheung e1afe1adc2 Remove parser getters from universal bundles (#11137) 2021-07-13 15:16:31 +08:00
fisker Cheung ff1870ab77 Remove useless package info from standalone build (#11138) 2021-07-12 14:33:52 +08:00
Sosuke Suzuki 392c72b3cd Fix replace-module plugin name (#11192) 2021-07-12 07:45:33 +08:00
fisker ec04b39bc9 Disable parser-postcss.js minify temporarily 2021-06-14 01:49:56 +08:00
fisker 77f8f0ddb5 Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	yarn.lock
2021-06-14 00:31:55 +08:00
fisker Cheung d3b777dd7d Update build script (#10946) 2021-05-27 08:54:42 +08:00
fisker Cheung c286d847d9 Remove more Array#reduce() (#10907) 2021-05-24 01:26:00 +03:00
fisker Cheung f4a6232848 Switch some scripts to ESM (#10867) 2021-05-15 20:09:52 +08:00
fisker Cheung 2eb2df6ed2 Update babel config (#10855) 2021-05-12 08:11:43 +08:00
fisker Cheung 98abb990cc Use Object.fromEntries(), Array#flat() and Array#flatMap() (#10853) 2021-05-12 01:05:29 +08:00
fisker Cheung b7983971ce Drop Node.js 10 support for development "build" (#10842) 2021-05-11 08:52:38 +08:00
fisker Cheung 7e37aa7ce8 Merge branch 'main' into next 2021-03-09 10:39:21 +08:00
fisker Cheung 94775e88ef Build: Fix rollup warning (#10487) 2021-03-08 17:08:47 +02:00
fisker Cheung d3c58df606 Merge branch 'main' into next
# Conflicts:
#	package.json
#	src/language-css/utils.js
#	yarn.lock
2021-03-08 17:38:10 +08:00
fisker Cheung 64a3906571 Enable unicorn/prefer-optional-catch-binding (#9464) 2021-02-25 18:28:55 +08:00
fisker Cheung a1ba8fb812 Build: Add rollup-plugin-polyfill-node (#10249) 2021-02-08 09:50:43 +08:00
fisker Cheung ce26805e84 Enable unicorn/prefer-spread (#10129) 2021-01-26 09:46:14 +08:00
Sosuke Suzuki fbb3c421e5 Remove workaround for rollup/plugin-node-resolve 11 (#10075) 2021-01-18 16:51:00 +09:00
fisker 5926ebc38b Fix bundle 2021-01-11 16:24:07 +08:00
fisker 5849043cb3 Fix build script 2021-01-11 15:10:22 +08:00
fisker 119e3f8a91 Fix eslint issue 2021-01-11 14:46:49 +08:00
fisker fdfb6ff312 Merge branch 'master' into next
# Conflicts:
#	docs/options.md
#	package.json
#	scripts/build/bundler.js
#	src/language-css/printer-postcss.js
#	yarn.lock
2021-01-11 14:26:20 +08:00
Sosuke Suzuki 671fa5ddaf Move checkCache to Cache class (#10029)
* Move checkCache to Cache class

* Address reviews
2021-01-11 13:25:34 +09:00
Sosuke Suzukiandfisker Cheung e70ad5b7fb Check cache only when purge-cache is off (#10031)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-01-11 10:24:24 +08:00
Sosuke Suzuki e2c84527e7 Use fs.promises in build script (#10025) 2021-01-09 02:09:40 +09:00
Sosuke Suzuki de882505f0 Fix params mistaking at #9900 (#9912) 2020-12-16 18:46:56 +09:00
Sosuke Suzuki cb6a977733 Prints bundle sizes in build script log (#9900)
* Prints bundle size with flags

* Add "gzipped" to cspell.json

* Print esm bundle size

* Remove gzipped size from log
2020-12-16 08:45:29 +09:00
dependabot[bot]andfisker bce3500b5e Build(deps-dev): Bump @rollup/plugin-node-resolve from 10.0.0 to 11.0.0 (#9804)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-12-02 16:57:15 +08:00
Sosuke Suzuki 083b501663 Refactor: Make Cache modern in build scripts (#9809)
* Make cache class

* equal -> strictEqual

* Use strict mode assert module
2020-12-02 15:03:32 +09:00