Commit Graph
59 Commits
Author SHA1 Message Date
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
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
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 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
dependabot[bot] 531c008527 Build(deps): Bump execa from 5.0.0 to 5.1.1 in /scripts/release (#11030)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-06 11:59:25 +08: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
dependabot[bot] 8280260f8c Build(deps): Bump semver from 7.3.4 to 7.3.5 in /scripts/release (#10745)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.4 to 7.3.5.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.4...v7.3.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 18:25:35 +08:00
dependabot[bot] 0e833ac886 Build(deps): Bump chalk from 4.1.0 to 4.1.1 in /scripts/release (#10743)
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.0...v4.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 18:25:22 +08: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 ce26805e84 Enable unicorn/prefer-spread (#10129) 2021-01-26 09:46:14 +08: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
dependabot[bot] eaf4677a4b Build(deps): Bump node-fetch from 2.1.2 to 2.6.1 in /scripts/release (#9186)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.1.2 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.1.2...v2.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 18:11:35 +08: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
Georgii Dolzhykov dd017539ca tweak the release script to show what it's doing after ENTER is pressed
Otherwise, it's not clear that the key press has been accepted.
2020-04-06 00:14:52 +03:00
dependabot[bot] 76f6c6c831 Bump minimist from 1.2.2 to 1.2.3 in /scripts/release (#7952)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.2...1.2.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-04 20:04:04 +03:00
Georgii Dolzhykov fac9ce07fe mention npx in install docs 2020-03-23 14:40:41 +02:00
Georgii Dolzhykov ed54300087 fix message in release script 2020-03-22 01:10:11 +02:00
Georgii Dolzhykov 9dad95b35f Bump Prettier dependency to 2.0.0 2020-03-21 22:09:54 +02:00
Georgii Dolzhykov 6d0607cebf Update release script 2020-03-21 21:02:18 +02:00
Georgii Dolzhykov b3008f2caf Merge remote-tracking branch 'remotes/upstream/master' into next 2020-03-21 00:56:36 +02:00
dependabot[bot] 29b9f6b9e9 Bump minimist from 1.2.0 to 1.2.2 in /scripts/release (#7776)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-18 00:41:12 +02:00
fisker Cheung afd3e5d101 Fix some String#repeat (#7335) 2020-01-19 00:48:04 +02:00
Georgii Dolzhykov 7e3c0c73b3 Merge branch 'master' into next 2020-01-14 20:36:21 +02:00
fisker Cheung beeaa98cb9 Fix quote style, enable quote rule (#7304) 2020-01-14 13:58:20 +03:00
fisker Cheung eac6fba2c3 Fix new usage for builtin objects (#6968) 2019-11-17 11:36:21 +01:00
Simon Lydell b091fd3b59 Remove out-of-date comment 2019-11-09 12:12:31 +01:00
Simon Lydell 4eb3e2650a Blog post, changelog and docs for 1.19 (#6787) 2019-11-09 01:23:57 +01:00
fisker Cheung d05be09406 Fix unpkg links in docs (#6872) 2019-11-08 17:33:28 +01:00
Georgii Dolzhykov 69b481758c set up cspell (#6684)
* set up cspell

* fix actual misspellings

* add cspell.json to .prettierignore

* rebase and fix issues in CHANGELOG.unreleased.md
2019-10-25 00:07:17 +03:00
Lucas Duailibe 277b92a883 [release script] Update changelog script 2019-06-07 09:46:19 -03:00
Lucas Duailibe 4cc99242a8 Bump Prettier dependency to 1.18.0 2019-06-06 18:48:11 -03:00