fisker Cheung
8a01dee53e
Refactor build script ( #11475 )
2021-09-10 10:20:43 +08:00
Sosuke Suzuki and fisker 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
62a2629743
Build: Support build single file ( #11469 )
2021-09-09 12:23:53 +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
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
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
fisker Cheung
84abd0ec22
Migrate release script to ESM ( #11229 )
2021-07-26 09:24:44 +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
b001969b94
Remove require-json-extensions rule ( #11233 )
2021-07-22 09:32:21 +08:00
fisker Cheung
894f841fbd
Style: Enforce extensions ( #11227 )
2021-07-21 09:10:34 +08:00
Sosuke Suzuki and fisker 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
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
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 Suzuki
3332a28aaf
Update generate-schema script ( #11043 )
...
* Support custom parser and use anyOf
* Update snapshots
2021-06-11 14:04:51 +09:00
Adaline Valentina Simonian and fisker Cheung
4c64fbdec9
Fix lint:deps script ( #11038 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-06-08 06:10:36 +08:00
Sosuke Suzuki and fisker 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
Adaline Valentina Simonian
cedaec3c2d
Fix docs urls for internal lint rules ( #11011 )
...
scripts/eslint-plugin-prettier-internal-rules →
scripts/tools/eslint-plugin-prettier-internal-rules
2021-06-04 14:50:53 +08:00
fisker Cheung
81a1c46311
Minor tweak to js printer ( #10954 )
2021-05-27 18:00:31 +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
9b7ba8a42c
Style: Use dotAll regexp ( #10864 )
2021-05-18 02:44:21 +08: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
ba1a833378
Add 2.3 blog post ( #10659 )
...
* Start 2.3 blog post
* Apply suggestions from code review
Co-authored-by: Alex Rattray <rattray.alex@gmail.com >
* Regenerate the post
* Regenerate blog post
* Regenerate post
* Edit changelog entries
* Regenerate blog post
Co-authored-by: Alex Rattray <rattray.alex@gmail.com >
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-05-10 00:15:27 +03: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 Cheung
28e67a25ac
Add no-conflicting-comment-check-flags rule ( #10775 )
2021-04-27 11:25:31 +08: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 Cheung and Sosuke 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
230428f34b
Add consistent-negative-index-access rule ( #10569 )
2021-03-20 14:06:12 +02:00
Cyrille David and Georgii Dolzhykov
f6b63e8807
Move Handlebars support out of alpha to release ( #10290 )
...
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2021-03-16 11:25:06 +02:00
fisker Cheung
863eb079dc
Forbid AstPath.call without name ( #10541 )
2021-03-15 17:20:27 +08:00
fisker Cheung
521b63bb27
Update no-identifier-n rule ( #10540 )
2021-03-15 11:04:12 +08:00
fisker Cheung
d3a0699148
Rename n to node ( #10504 )
2021-03-10 22:14:08 +02:00