Commit Graph
47 Commits
Author SHA1 Message Date
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
Yuku Kotaniandfisker 549090a5ba Add ESM distributions for browser (#8983)
Co-authored-by: fisker <lionkay@gmail.com>
2020-09-17 00:08:44 +08:00
fisker Cheung 5a62566cee Build: parser-flow.js use strict mode (#8311) 2020-08-21 09:15:35 +08:00
fisker Cheung cb231e12bd Build: remove extra global objects exposed by UMD bundles (#8989) 2020-08-18 21:52:56 +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 f8e6c215ce Refactor: Move parsers to language index (#8765) 2020-07-17 09:06:00 +08: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
fisker Cheung ee46379ce9 Minify standalone.js (#8270) 2020-05-11 18:00:22 +08:00
fisker Cheung c768be4dd3 Switch dedent to outdent (#8240) 2020-05-11 09:05:06 +08:00
fisker Cheung 207d5245c5 Build: exclude index.js from bin-prettier (#8119) 2020-05-06 18:43:04 +08:00
Georgii Dolzhykov c9225caac2 Tweak build script to not corrupt import-fresh 2020-03-22 00:46:01 +02:00
Georgii Dolzhykov 9dad95b35f Bump Prettier dependency to 2.0.0 2020-03-21 22:09:54 +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 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 9b2c7f342f Fix prefer-object-spread in /scripts (#7336) 2020-01-20 13:49:52 +03:00
Georgii Dolzhykov 7e3c0c73b3 Merge branch 'master' into next 2020-01-14 20:36:21 +02:00
fisker Cheung c68d6e3c2b Move doc directory to document (#7272) 2020-01-14 13:58:42 +03:00
fisker CheungandGeorgii Dolzhykov ea23fc5d92 Update cosmiconfig to v6 (#6850)
* Update `cosmiconfig` to v6

* fix changes required

* style

* replace parentModule logic

* fix build script

* fix import-fresh

* fix rebase consequences

* remove babel-plugin-transform-async-to-promises

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-01-10 03:21:44 +02:00
fisker Cheung 56b4ce349f Enable replace-array-includes-with-indexof for all bundles (#6982) 2019-11-17 12:05:19 +01:00
Lipis 93c63fde18 Merge branch 'master' into next 2019-11-15 15:50:01 +01:00
fisker Cheung e44c360c62 Update build scripts to target Node.js 10 (#6908) 2019-11-13 18:08:40 +01:00
Nick McCurdyandJed Fox 37846a70b1 Remove typescript-etw from build (#6919)
Co-authored-by: Jed Fox <git@twopointzero.us>
2019-11-12 17:46:28 +01:00
fisker Cheung b5a201b0ae Prevent webpack generate .LICENSE file when minify (#6737)
* check build result

* list dist file

* Update build script

* restore ci script [skip ci]
2019-10-30 14:33:52 +02:00
fisker Cheung d52021ecbf Minor tweaks for build configs (#6663)
* Minor tweaks for build configs

* fix `@angular/compiler` path
2019-10-16 07:08:30 +02:00
fisker Cheung b5cc13a5df Remove usage of require.extensions in parser-glimmer.js (#6658)
* Fix usage of `require.extensions`

* try cjs build

* update comment
2019-10-15 18:00:32 +02:00
fisker Cheung c949f5ba20 Use babel plugin replace includes (#6659) 2019-10-15 13:48:56 +02:00
fisker Cheung 3f13d2ec1b Support typescript 3.6 (#6519) 2019-10-03 15:24:03 +03:00
fisker Cheung a0eddb1c8c Update rollup related deps (#6484) 2019-09-16 08:33:40 -03:00
fisker Cheung 71d9a08488 Minify postcss parser (#6395)
* Update webpack to v4

* add todo

* add link

* Minify postcss parser

* update yarn.lock

* chore: update yarn.lock
2019-09-16 12:13:32 +03:00
Lucas Duailibe 3805034bdf Improve Rollup setup 2019-06-07 18:20:40 -03:00
fisker Cheung 99d4b86c18 Rollup update (#6200) 2019-06-07 16:58:05 -03:00
Lucas Duailibe bb1fd59e00 Remove eval() call from the bundle (#6129) 2019-05-17 10:15:45 -03:00
Alex Rattray 850493e424 Add doc build (#6009) 2019-03-25 09:44:22 -07:00
James Henry 1143619600 chore: update typescript-estree to new package name (#5799) 2019-01-28 19:46:51 -05:00
James Henry ef6386015d fix: update typescript and typescript-estree to latest (#5728) 2019-01-12 11:10:52 +08:00
Wei-Wei Wu c28dc2f19c Updating cosmiconfig to not cache .js config files when told not to (#5558) 2018-11-29 09:49:33 +08:00
Ika 5e8a4a115a feat: support HTML/Vue/Angular (#5259) 2018-11-04 23:03:07 +08:00
Ika 13147facc5 feat(html): switch to htmlparser2 (#5127)
- switch to [`htmlparser2`](https://github.com/fb55/htmlparser2)
  - no need to fork
  - won't generate pseudo nodes ([`parse5` will](https://github.com/prettier/prettier/issues/5098#issuecomment-423055181))
  - should be [faster](https://github.com/fb55/htmlparser2#performance)
- support custom self-closing tags
- support HTML entities
- remove extra trailing newline for `<template>`
- distinguish empty/empty-string attributes (`<tag x>`/`<tag x="">`)
- rename `--parser parse5` with `--parser html`
- enable `html` since 1.15, which means it's enabled by default if you install the dev version from GitHub after this PR merged.
2018-09-22 21:53:38 +08:00
Ika 79f4251e26 chore: enable html on preview playground (#5105) 2018-09-19 09:19:18 +08:00
Brian Ng 1597578b05 Bump babel-parser (#4910) 2018-08-02 22:19:21 -05:00
Ika 1915cc3c46 chore: enable glimmer parser on preview playground (#4915) 2018-08-01 15:44:37 +08:00
Ika 440ab4f60b refactor: upgrade to cosmiconfig@5 (#4899)
* refactor: upgrade to cosmiconfig@5

* fix: use custom require
2018-07-29 16:57:36 +08:00
Ika dcf44ffbdc feat: support YAML (#4563)
* feat: support YAML

* fix: do not indent sequence in mappingValue

* docs: add yaml to index.md

* fix: reduce `SyntaxError: Node#parse consumed no characters`

* chore: remove old-build and new-worker.js

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* fix: no space after `<<`

* fix: add yaml to standalone test

* test: add tests

* fix: next empty line in flow collection

* fix: tabs are not allowed
http://yaml.org/spec/1.2/spec.html#space/indentation/

* fix: update parser

* feat: rewrite the mappingItem logic
* feat: indent sequence in mapping
* feat(doc): add ifBreak#groupId and group#id

* chore: fix node 4

* chore: add tools_yaml.svg

* chore: remove resolved TODO

* refactor: remove unnecessary workaround

* chore(worker): importScriptOnce

* chore(build): rename with babelPlugins

* make it rollup compatible

* feat: support singleQuote

* refactor
2018-06-21 10:29:42 +08:00
Lucas Duailibe 8a67378f97 Nicer logging on build script (#4590) 2018-05-29 14:59:57 -03:00