fisker Cheung
5a62566cee
Build: parser-flow.js use strict mode ( #8311 )
2020-08-21 09:15:35 +08:00
Sosuke Suzuki and fisker 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
cb231e12bd
Build: remove extra global objects exposed by UMD bundles ( #8989 )
2020-08-18 21:52:56 +08:00
fisker Cheung
038d1642b2
Build: remove --max-old-space-size ( #8994 )
2020-08-18 21:52:02 +08:00
fisker Cheung
c6b3ed6e1c
Enforce .json extensions ( #8908 )
2020-08-06 00:37:16 +08:00
fisker Cheung
8d94976bed
Fix update-dependents-count script ( #8875 )
2020-07-31 19:36:12 +08:00
fisker Cheung
b8a3f84c19
Build: Avoid PREFER_NAMED_EXPORTS warning ( #8814 )
2020-07-24 13:01:43 +08:00
fisker Cheung
8c00ad44df
Build: Simplify transform-custom-require plugin ( #8735 )
2020-07-20 18:35:28 +08:00
dependabot[bot] and fisker
446bc53e29
Build(deps): Bump typescript from 3.9.6 to 3.9.7 ( #8779 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2020-07-17 23:56:36 +08:00
fisker Cheung
f5c40bf977
Auto generate parsers for playground ( #8771 )
2020-07-17 09:07:26 +08:00
fisker Cheung
f8e6c215ce
Refactor: Move parsers to language index ( #8765 )
2020-07-17 09:06:00 +08:00
fisker Cheung
0c2b918078
ESLint: enable import/order ( #8635 )
2020-06-26 20:30:21 +08:00
fisker Cheung
e8be12a6eb
Build: Auto set parsers as external ( #8639 )
...
* Auto set parsers as external
* Update bundler.js
2020-06-25 00:01:17 +03:00
b3ea679958
Fix encoding in postcss-parser build ( #8534 )
...
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
Co-authored-by: fisker <lionkay@gmail.com >
2020-06-12 09:12:42 +08:00
fisker Cheung
786eb2afb3
Build: Fix @rollup/plugin-commonjs warning ( #8406 )
...
* Fix `@rollup/plugin-commonjs` warning
* Fix comment
2020-05-26 16:18:59 +08:00
dependabot-preview[bot] and fisker
9c2e9d5eb3
Bump @rollup/plugin-node-resolve from 7.1.3 to 8.0.0 ( #8370 )
...
* Bump @rollup/plugin-node-resolve from 7.1.3 to 8.0.0
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins ) from 7.1.3 to 8.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v7.1.3...node-resolve-v8.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Fix import
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
2020-05-21 14:01:51 +03:00
fisker Cheung
7c8dc8988f
Release script: Update dependents count on release ( #8315 )
2020-05-20 17:51:08 +08:00
fisker Cheung
23567c4e43
Switch rollup-plugin-babel to @rollup/plugin-babel ( #8282 )
...
* Switch `rollup-plugin-babel` to `@rollup/plugin-babel`
* Add `babelHelpers: "bundled"`
* Update cache version
* Remove `babelHelpers` for webpack
* Move `babelHelpers` to rollup only
2020-05-11 21:27:54 +03:00
fisker Cheung
ee46379ce9
Minify standalone.js ( #8270 )
2020-05-11 18:00:22 +08:00
fisker Cheung
c521d20c85
Build: Remove working directory from parser-typescript.js ( #8269 )
2020-05-11 09:23:13 +08:00
fisker Cheung
9686475c80
Test: Remove graceful-fs hack ( #8245 )
2020-05-11 09:05:48 +08:00
fisker Cheung
c768be4dd3
Switch dedent to outdent ( #8240 )
2020-05-11 09:05:06 +08:00
fisker Cheung
b622578896
Categorize tests part 3 (js) ( #8249 )
...
* Categorize tests(js)
2020-05-08 00:55:46 +08:00
fisker Cheung
01c2015f72
Update CI cache key ( #8236 )
...
* Update CI cache key
* Update build script, expect missing cache
2020-05-07 03:51:25 +08:00
fisker Cheung
207d5245c5
Build: exclude index.js from bin-prettier ( #8119 )
2020-05-06 18:43:04 +08:00
fisker Cheung
c0dab6bb7c
Remove outdated script ( #8163 )
2020-04-29 14:42:23 +08:00
fisker Cheung
ea2169a97f
Build: Fix cache logic ( #8128 )
2020-04-24 11:00:06 +08:00
fisker Cheung
ab1ea713d6
Missing files on lint ( #8127 )
2020-04-23 19:33:40 +08:00
fisker Cheung
305fea8a59
Codebase install test ( #6373 )
2020-04-23 10:37:09 +08:00
fisker Cheung
118b79f0c9
Refactor production tests ( #8073 )
2020-04-18 01:24:22 +08:00
Georgii Dolzhykov
5d438e3f25
chore: check "JS:" in title in lint-changelog.js
2020-04-17 03:38:53 +03:00
Georgii Dolzhykov
670e069519
clean up website readme, remove old deploy script ( #8040 )
2020-04-14 19:27:25 +03:00
fisker Cheung and Georgii Dolzhykov
f475a5bd43
Update spellcheck config and scripts ( #8012 )
...
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-04-12 01:19:00 +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
fisker Cheung
939a660850
Adjust maxWorkers for jest ( #7989 )
2020-04-09 14:33:37 +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
fisker Cheung and Georgii Dolzhykov
54f907dba3
Followup work on setup github actions ( #7431 )
...
* Followup work on setup github actions
* Coverage report & split `prod_lint`
* Add env
* Remove coverage report on azure pipelines
* Remove build step on lint
* remove coverage report on prod_test
* Use `ci-info` instead of `is-ci`
* Always enable `ENABLE_TEST_RESULTS` and `AST_COMPARE` on CI
* Standalone test and remove some env
* coverage report
* reduce matrix
* standalone test
* `ci-info`
* Remove token
* Disable `coverage` on azure pipelines
* use master version of codecov-action
* Link to master status
* fix prod lint
* Use boolean env
* Remove locv report
* Try lcov report
* pin `codecov-action` version, enable `verbose`
* azure coverage
* Name
* Trigger CI
* Use `basename`
* Trigger CI
* Try `runInBand`
* try `maxWorkers`
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-03-23 03:36:44 +02:00
Georgii Dolzhykov
ed54300087
fix message in release script
2020-03-22 01:10:11 +02:00
Georgii Dolzhykov
c9225caac2
Tweak build script to not corrupt import-fresh
2020-03-22 00:46:01 +02:00
Georgii Dolzhykov and Jed Fox
8334610aa2
Blog post for 2.0 ( #7417 )
...
* add a script that concatenates changelog_unreleased into a blog post draft
* syntax highlighting issues
* generate post draft
* Copy edit, remove error stacks
* Update 2020-00-00-2.0.0.md
* Update changelog source files
* edit entries, regenerate the post
* add lost file in versioned_docs
Co-authored-by: Jed Fox <git@twopointzero.us >
2020-03-21 22:24:23 +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
b3f0102a87
Remove babylon parser ( #7533 )
...
* Remove `babylon`
* Add changelog
* Fix website files
2020-02-24 18:19:03 +02:00
fisker Cheung
e2e534df30
Remove normalize-path package ( #7465 )
...
* Remove `normalize-path` module
* Try run all tests on `standalone`
* Restore test
* Add `no-parser-tests`
* Fix issue with shim
* DRY
* Rename tests
* Use `endsWith`
2020-02-03 01:33:19 +02:00
fisker Cheung
0370f47cb3
Refactor some Object.assign ( #7437 )
2020-01-31 09:13:37 +09:00
fisker Cheung
e4e1b3ec5b
Always set parser bundle target to universal ( #7455 )
...
* Always set parser bundle target to `universal`
* Allow override
2020-01-29 12:45:57 +03:00