Commit Graph
247 Commits
Author SHA1 Message Date
fisker Cheung c7390d33b7 Refactor: Use locStart and locEnd directly from language-js/loc.js (#9576) 2020-11-04 08:52:02 +08:00
Sosuke Suzukiandfisker f7554c62a2 Revert breaking changes related to adding pure css parser for minor releasing (#9500)
* revert without tests

* Downgrade postcss-scss and postcss-less

* Fix tests

* Revert "Make `isSCSS*` function stricter (#9093)"

This reverts commit 01f986bea9.

* Revert "Remove `css` parser from `isLessParser` check (#9092)"

This reverts commit c0bca1805d.

* Revert "Add pure css parser (#7933)"

This reverts commit 589ebf670b.

* Disable `parser-postcss.js` minify

* Try to fix build script

* Update fs.mjs

* Update fs.mjs

* Style

Co-authored-by: fisker <lionkay@gmail.com>
2020-10-31 22:22:35 +09:00
fisker CheungandGeorgii Dolzhykov fbee029497 Add index to FastPath#each() callback (#9499)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-10-30 12:27:20 +08:00
fisker Cheung fb07399ac5 Playground: only build needed files (#9480) 2020-10-26 09:44:09 +08:00
fisker Cheung e32cd5d284 Fix missing esm files in dist/package.json (#9491) 2020-10-26 09:07:44 +08:00
fisker Cheung 771a09dfee Refactor needs-parens.js (#9485) 2020-10-26 09:05:21 +08:00
dependabot[bot]andfisker 7f9444eb21 Build(deps): Bump postcss from 8.1.1 to 8.1.2 (#9443)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-10-23 20:44:04 +08:00
dependabot[bot]andfisker 5af5fa7a66 Build(deps-dev): Bump webpack from 4.44.2 to 5.1.0 (#9373)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-10-22 13:32:50 +08:00
fisker Cheung b7be0b5dbb Add .git-blame-ignore-revs (#9415) 2020-10-18 09:05:28 +08:00
fisker CheungandChris Brody 73e3976c34 Add espree parser (#9000)
Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
2020-10-13 09:14:02 +08:00
dependabot[bot]andfisker 0f595eae07 Build(deps): Bump @glimmer/syntax from 0.61.2 to 0.62.0 (#9240)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-27 08:52:51 +08:00
dependabot[bot]andfisker b084a84df0 Build(deps-dev): Bump @rollup/plugin-commonjs from 14.0.0 to 15.1.0 (#9253)
* Build(deps-dev): Bump @rollup/plugin-commonjs from 14.0.0 to 15.1.0

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 14.0.0 to 15.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v14.0.0...commonjs-v15.1.0)

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

* Try `requireReturnsDefault: "preferred"`

* Size check `.mjs`

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-22 13:05:31 +03:00
Yuku Kotaniandfisker 549090a5ba Add ESM distributions for browser (#8983)
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-17 00:08:44 +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
Georgii Dolzhykov 488e08d70b Remove the need to add full GitHub links in changelog entry titles (#9104) 2020-09-01 08:51:32 +08:00
fisker Cheung e8b299d164 Rename native shims to .mjs (#9079) 2020-08-28 10:03:36 +08:00
Sosuke Suzuki 5a12f52bbe Replace changelog versions in ./scripts/draft-blog-post.js (#9058) 2020-08-26 11:19:10 +08:00
fisker Cheung 5223b78dcd Build: Quick fix for #8639 (#9035)
* Quick fix for #8639

* style

* style (prettier)
2020-08-24 19:19:13 +09:00
fisker Cheung 5a62566cee Build: parser-flow.js use strict mode (#8311) 2020-08-21 09:15:35 +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 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]andfisker 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]andfisker 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