Commit Graph
72 Commits
Author SHA1 Message Date
Sosuke Suzuki 54ff009ec7 Fix 2023-07-05 21:52:17 +09:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
fisker Cheung 44979b0a37 Remove test step from release script (#15011) 2023-07-04 16:15:54 +08:00
fisker Cheung 186a177017 Rename .mjs files to .js (#14605) 2023-03-28 16:18:53 +08:00
renovate[bot]andfisker 6959f30a81 Update dependency eslint-plugin-unicorn to v45 (#13876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2022-11-21 23:41:27 +08:00
fisker Cheung 9eafbf6854 Enable unicorn/prefer-string-replace-all rule (#13788) 2022-11-06 19:55:24 +08:00
fisker Cheung 76d0890142 Refactor/Fix release script (#13619) 2022-10-14 17:17:47 +08:00
fisker Cheung a79b774ec6 Refactor release script (#13611) 2022-10-12 12:45:37 +08:00
fisker Cheung b0d9387b95 Fix unpkg link (#13484) 2022-09-17 20:32:03 +08:00
Sosuke Suzuki fde0b49d78 Run prettier 2022-06-18 21:49:24 +09:00
fisker Cheung 877ae8ec16 Add repo to another git push command 2022-06-16 13:56:57 +08:00
fisker Cheung b21772baaa Allow skip depencies install & set repo 2022-06-16 13:17:54 +08:00
fisker Cheung 0fe554c2b0 Add one more step 2022-06-14 14:23:34 +08:00
fisker Cheung feb6b519ee Update release script (#12591) 2022-05-30 13:44:54 +08:00
Sosuke Suzuki 250847c2cc Install dependencies for website (#12566) 2022-03-31 22:50:48 +09: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 ac348c1dbb Build: Add --compare-size flag (#12187) 2022-02-07 12:00:43 +08:00
fisker Cheung 8886e6310a Build: Add --clean (#12186) 2022-02-02 11:23:51 +09:00
fisker Cheung 53da86c34d Fix some lgtm alerts (#12084) 2022-01-17 09:19:50 +08:00
fisker Cheung cc6856ae20 Build: Switch to esbuild (backport #12052 and #10006) (#12055) 2022-01-14 15:58:13 +08:00
fisker Cheung 294a02b979 Enable regexp/no-useless-lazy rule (#11014) 2021-12-07 14:15:03 +08:00
fisker Cheung 569111e708 Update build script (#11858) 2021-11-27 18:47:02 +08:00
fisker Cheung ca97e4b4d2 Update execa to v6 for release script (#11829) 2021-11-19 20:50:30 +08:00
Sosuke Suzuki 30f82c0356 Remove sentence for copying from CHANGELOG (#11530) 2021-09-17 20:29:18 +09: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
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 84abd0ec22 Migrate release script to ESM (#11229) 2021-07-26 09:24:44 +08:00
fisker Cheung 894f841fbd Style: Enforce extensions (#11227) 2021-07-21 09:10:34 +08:00
Sosuke Suzukiandfisker Cheung 4d8871c106 Migrate generate-schema script to ESM (#11226)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-07-20 19:25:54 +08:00
Sosuke Suzuki 2faf01b8b4 Add changelog-for-patch script (#11052)
- Add ./scripts/changelog-for-patch.mjs
- Extract common functions to ./scripts/utils/changelog
- Use changelog-for-patch.mjs from release script
2021-06-26 16:29:30 +09:00
fisker Cheung 57616ad865 Enable no-return-await and require-await rule, fix clean-cspell script (#11079) 2021-06-16 22:20:47 +08:00
Sosuke Suzukiandfisker Cheung 321f736183 Retry "npm publish" when to enter OTP is faeild (#11031)
* Retry "npm publish" when to enter OTP is faeild

* Fix else

* Break

* Use async function

* Update cspell.json

* Address review

* Update scripts/release/steps/publish-to-npm.js

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

* Update scripts/release/steps/publish-to-npm.js

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

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-06-07 13:07:22 +09:00
sosukesuzuki d426741013 Fix bump script 2021-06-05 19:36:33 +09:00
sosukesuzuki a34b4a711e Bump Prettier dependency to 2.3.1 2021-06-05 19:36:05 +09:00
Georgii Dolzhykov 06409b8bbf Fix release script 2021-05-10 00:14:45 +03:00
Georgii Dolzhykov 3d8dc612b5 Bump Prettier dependency to 2.3.0 2021-05-10 00:07:47 +03:00
fisker CheungandSosuke Suzuki 916693c066 Update release script (#9418)
* Update release dependencies

* Remove `version` field

* Run install before any require

* Update scripts/release/utils.js

Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>

* Fix update schedule

* Update deps

* Fix

Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2021-04-21 17:15:12 +03:00
fisker Cheung 12bddae20c Switch default branch to main (#10115) 2021-01-23 19:14:13 +02:00
fisker Cheung f0f18d3090 Enable unicorn/prefer-number-properties (#9935) 2020-12-21 17:09:20 +08:00
fisker Cheung 74ec6a25f3 Remove changelog filename pr- prefix (#9667) 2020-11-20 13:54:14 +08:00
fisker Cheung b7be0b5dbb Add .git-blame-ignore-revs (#9415) 2020-10-18 09:05:28 +08:00
Sosuke Suzuki 10a8eff02b Release script: Commit and push after updating dependents count (#9183)
* Modify to commit and push to remote after updating dependendts count

* Fix typo
2020-09-12 03:49:44 +09:00
Sosuke Suzuki 5a12f52bbe Replace changelog versions in ./scripts/draft-blog-post.js (#9058) 2020-08-26 11:19:10 +08:00
Sosuke Suzukiandfisker Cheung 29d6b22eae Add script to replace Prettier stable/Prettier master with the actual versions (#8984)
* Add a script replaces 'Prettier stable' => 'Prettier x.x'

* Fix by prettier

* Implement replaceVersionInBlogPost in release steps

* Update scripts/release/steps/update-changelog.js

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

* Fix from review

* Format version

* Update scripts/release/steps/update-changelog.js

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

* `ver` -> `version`

* `Version` -> `Versions`

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2020-08-19 20:18:16 +09:00
fisker Cheung 8d94976bed Fix update-dependents-count script (#8875) 2020-07-31 19:36:12 +08:00
fisker Cheung 0c2b918078 ESLint: enable import/order (#8635) 2020-06-26 20:30:21 +08:00
fisker Cheung 7c8dc8988f Release script: Update dependents count on release (#8315) 2020-05-20 17:51:08 +08:00
fisker Cheung c768be4dd3 Switch dedent to outdent (#8240) 2020-05-11 09:05:06 +08:00
fisker Cheung f0207e6850 Enable unicorn/better-regex (#7991)
* Enable `unicorn/better-regex`

* Spellcheck ignore regex
2020-04-10 21:20:40 +08:00