Commit Graph
637 Commits
Author SHA1 Message Date
fisker Cheung 62ede8b710 Build: Remove unnecessary aliases (#11868) 2021-11-29 12:52:43 +08:00
fisker Cheung 1bdd1d115c Update execa to v6 (#11826) 2021-11-29 10:07:11 +08:00
dependabot[bot]andfisker Cheung 2c9adaed39 Build(deps): Bump lines-and-columns from 1.1.6 to 2.0.3 (#11861)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-11-29 10:06:40 +08:00
fisker Cheung 569111e708 Update build script (#11858) 2021-11-27 18:47:02 +08:00
fisker Cheung 44c8508e02 Merge branch 'main' into next
# Conflicts:
#	yarn.lock
2021-11-22 11:24:52 +08:00
fisker Cheung b70cef161b Drop support for Node.js 10 (#11830) 2021-11-22 09:48:28 +08:00
fisker Cheung ca97e4b4d2 Update execa to v6 for release script (#11829) 2021-11-19 20:50:30 +08:00
fisker Cheung 3001154f8d Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/build/bundler.mjs
#	scripts/build/config.mjs
#	yarn.lock
2021-11-18 10:40:53 +08:00
dependabot[bot] dc8a4ad0af Build(deps): Bump node-fetch from 3.0.0 to 3.1.0 in /scripts/release (#11810) 2021-11-15 16:16:35 +00:00
fisker Cheung 70aa861bc1 Fix internal ESLint plugin (#11780) 2021-11-08 18:17:15 +08:00
dependabot[bot] def909e718 Build(deps-dev): Bump @jest/globals in /scripts/release (#11713) 2021-10-24 13:11:53 +00:00
dependabot[bot] 15f8d5ce3e Build(deps-dev): Bump jest from 27.2.5 to 27.3.1 in /scripts/release (#11714) 2021-10-24 10:48:10 +00:00
fisker Cheung 4d5f865373 Improve parser-postcss.js minify config (backport #11674) (#11677)
* Improve `parser-postcss.js` minify config (backport #11674)

* Add `string-replace-loader`

* Linting
2021-10-15 14:35:09 +09:00
sosukesuzuki fa5963730a Merge branch 'main' into next 2021-10-13 14:04:02 +09: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
dependabot[bot] 692c444088 Build(deps-dev): Bump jest from 27.2.4 to 27.2.5 in /scripts/release (#11657) 2021-10-12 08:33:30 +00:00
dependabot[bot] f1b9ec167f Build(deps-dev): Bump @jest/globals in /scripts/release (#11658) 2021-10-11 16:20:06 +00:00
sosukesuzuki 7446e06d47 Merge branch 'main' into next 2021-10-10 14:58:57 +09:00
dependabot[bot] 2b8c8c73b0 Build(deps-dev): Bump jest from 27.2.0 to 27.2.4 in /scripts/release (#11626) 2021-10-03 11:25:26 +00:00
dependabot[bot] 3e99b5e683 Build(deps-dev): Bump @jest/globals in /scripts/release (#11624) 2021-10-03 04:41:36 +00:00
fisker Cheung e96dc509ec Update eslint config (#11595) 2021-09-28 11:16:39 +08:00
dependabot[bot] 346da35b1d Build(deps-dev): Bump @jest/globals in /scripts/release (#11591) 2021-09-27 08:47:38 +00: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
dependabot[bot] b586141e84 Build(deps-dev): Bump jest from 27.1.1 to 27.2.0 in /scripts/release (#11549) 2021-09-19 08:49:48 +00:00
dependabot[bot] b4e1db6bdc Build(deps): Bump string-width from 5.0.0 to 5.0.1 in /scripts/release (#11550) 2021-09-19 07:33:54 +00:00
dependabot[bot] b5d94c275d Build(deps-dev): Bump @jest/globals in /scripts/release (#11551) 2021-09-19 05:13:03 +00:00
Sosuke Suzuki 30f82c0356 Remove sentence for copying from CHANGELOG (#11530) 2021-09-17 20:29:18 +09:00
fisker Cheung 04391a0f32 Minify parser-postcss.js (#11489) 2021-09-12 23:26:29 +08:00
Sosuke Suzukiandfisker Cheung 96795dc2b3 Adds more info for release URL (#11492)
* Add getReleaseUrl function

* Implement

* Add emoji

* tmp

* Update jest

* Test works

* Add comment

* Empty lines to tigger netlify build

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-09-11 16:20:26 +09: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 0cc8e96c37 Refactor installPrettier (#11476) 2021-09-09 18:53:31 +08: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 f46e68052a Merge branch 'main' into next
# Conflicts:
#	src/language-css/utils.js
#	yarn.lock
2021-09-08 13:41:12 +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
Sosuke Suzuki bf2a24fdd1 Add tests for release script (#11454)
* Install jest

* Configure jest script

* Fix eslintrc

* Add @types/jest

* Add test for validate-new-version

* Fix eslintrc

* Add workflow file

* Add node version

* cd to script/release

* Fix workflow file

* Fix version

* Ignore from root

* Update yarn.lock

* Set defaults.run.working-directory
2021-09-07 14:53:45 +09:00
dependabot[bot] 104c9fd58b Build(deps): Bump node-fetch from 2.6.1 to 3.0.0 in /scripts/release (#11451)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.0.0.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.0.0)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-06 13:15:06 +09:00
Sosuke Suzuki affc17392d Fix blog draft script (#11453) 2021-09-05 22:51:23 +09:00
Sosuke Suzuki af19dd18d6 Improve generate changelog script (#11427)
* Output file path

* Address review
2021-08-31 10:55:16 +09:00
fisker Cheung 051e20591a Lint dist files with eslint-plugin-compat (#11245) 2021-08-16 15:08:19 +08:00
fisker Cheung 48b406164d Merge branch 'main' into next
# Conflicts:
#	yarn.lock
2021-08-13 11:52:19 +08:00
Sosuke Suzuki 83e5ebe891 Add a script to generate unreleased changelog (#10988)
* Add script to generate changelog

* Fix by prettier

* Use CHANGELOG_CATEGORIES from utils

* Fix filename

* Fix typo

* Add comments

* Replace codeblock

* Fix typo

* Avoid to use top-level await

* Use enquirer

* Address review

* Use meriyah for mjs

* Add comment

* Update usase comment

* Update CONTRIBUTING.md
2021-08-13 12:47:18 +09: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
dependabot[bot] 91e5a0cb73 Build(deps): Bump chalk from 4.1.1 to 4.1.2 in /scripts/release (#11297)
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: chalk
  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>
2021-08-01 17:51:36 +09:00
fisker Cheung 4f1e554566 Fix a rollup warning (#11270) 2021-07-26 15:04:38 +08:00