Commit Graph
217 Commits
Author SHA1 Message Date
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
Georgii Dolzhykov 670e069519 clean up website readme, remove old deploy script (#8040) 2020-04-14 19:27:25 +03:00
fisker CheungandGeorgii 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 CheungandGeorgii 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 DolzhykovandJed 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
fisker Cheung 23079c461e Update babel target (#7418) 2020-01-29 09:03:36 +09:00
fisker Cheunganddependabot-preview[bot] d0f0bac976 Bump @glimmer/syntax from 0.41.0 to 0.47.0 (#7443)
* Bump @glimmer/syntax from 0.41.0 to 0.47.0

Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.41.0 to 0.47.0.
- [Release notes](https://github.com/glimmerjs/glimmer-vm/releases)
- [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.41.0...v0.47.0)

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

* fix build script

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-01-28 21:53:29 +02:00
fisker Cheung c0517441b2 Enable unicorn/prefer-string-slice (#7251) 2020-01-23 15:15:28 +03:00
fisker CheungandGeorgii Dolzhykov 0e17ba0fe1 Update chalk to v3 (#7259)
* Update `chalk` to v3

* Shim `tty`

* add tty to EXTERNALS in bundler.js

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-01-22 15:36:07 +02:00
Georgii Dolzhykov 37a7e9cd42 Merge branch 'master' into next 2020-01-22 14:55:22 +02:00
Masashi Hirano bc31b13b9c Upgrade Node.js version and drop mkdirp (#7302) 2020-01-21 13:00:37 +03:00
fisker Cheung 9b2c7f342f Fix prefer-object-spread in /scripts (#7336) 2020-01-20 13:49:52 +03:00
fisker Cheung 20be335c52 Switch rollup-plugin-node-resolve to @rollup/plugin-node-resolve (#7248) 2020-01-19 01:35:56 +02:00
fisker Cheung afd3e5d101 Fix some String#repeat (#7335) 2020-01-19 00:48:04 +02:00
Sosuke Suzuki ac72cd3e94 Merge branch 'master' into next 2020-01-18 06:49:52 +09:00
fisker Cheung da8d082ce0 Add changelog lint script (#7320)
* Add changelog lint script

* Refactor lint script

* spell

* Fix indent

* fix templateComment

* add H4 check

* Add category in title check

* use array destructuring

* Add space check
2020-01-15 19:25:55 +02:00