Lucas Duailibe
277b92a883
[release script] Update changelog script
2019-06-07 09:46:19 -03:00
Lucas Duailibe
4cc99242a8
Bump Prettier dependency to 1.18.0
2019-06-06 18:48:11 -03:00
Lucas Duailibe
bb1fd59e00
Remove eval() call from the bundle ( #6129 )
2019-05-17 10:15:45 -03:00
Lucas Duailibe
bd8e22497d
Stop handling 'global' in the Node-specific bundles ( #6124 )
2019-05-15 12:57:04 -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
Ika
3d7970a673
chore(scripts): add update-stable-docs to release script ( #5772 )
...
Ref: https://github.com/prettier/prettier/pull/5676#issuecomment-449624247
2019-01-20 11:43:26 +08:00
James Henry
ef6386015d
fix: update typescript and typescript-estree to latest ( #5728 )
2019-01-12 11:10:52 +08:00
Jimmy Gaussen
282597c1e5
docs: fix Windows build ( #5742 ) ( #5743 )
2019-01-10 18:33:43 -05:00
Ika
f744a84858
feat(website): enable docs versioning ( #5676 )
2018-12-25 08:20:35 +08:00
Jed Fox
b74f94d6dd
Remove the dynamic `require()` call in the standalone bundle ( #5612 )
...
* Remove the dynamic `require()` call in the standalone bundle
* Liiiint
* Just use `replaceStrings`
* Reword error message
2018-12-11 05:59:59 -05: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
bd3834010c
chore(build): es5 compatibility for browser ( #5560 )
2018-11-28 12:52:05 +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
835f4c05b0
chore: copy LICENSE to dist ( #5114 )
2018-09-19 20:43:26 +08:00
Ika
79f4251e26
chore: enable html on preview playground ( #5105 )
2018-09-19 09:19:18 +08:00
Ika
91206891cd
fix(markdown): do not add whitespaces between Latin and Hangul ( #5040 )
...
Based on https://github.com/prettier/prettier/issues/5028#issuecomment-417825085 , it seems Korean text uses conventional space so we're not going to add whitespaces between Latin and Hangul.
2018-09-02 16:20:22 +08:00
Ika
db2bc3636d
fix(yaml): update parsers ( #5027 )
...
- upgrade to `yaml@1.0.0-rc.8` and `yaml-unist-parser@1.0.0-rc.4`
- refactor some logic since the AST has slightly changed (ikatyang/yaml-unist-parser#82 )
- unmatched aliases are now errors since it may introduce invalid AST from `yaml`
- rewrite the document separator (`...`/`---`) logic, this fixes some cases where it can use `---` but we printed `...`
- removed some unnecessary duplicate trailing newline
- trailing comments on `document` (`... #comment`) and `documentHead` (`--- #comment`) are preserved (i.e. they won't be moved somewhere)
2018-09-01 20:04:37 +08:00
Ika
8973caf4bb
chore: improve release scripts ( #4933 )
...
- use the latest git tag as the previous version
- restore/bump the version on master in `bump-prettier.js`
- use `stdio: "inherit"` for `npm publish` so that we could input the OTP
- do not use `--runInBand` for local `test:dist`
- remove `Updating integration snapshots`
- remove `Attach all files in dist/ folder`
2018-08-08 23:49:22 +08:00
Ika
308863e061
fix(typescript): no invalid output for ImportType in TypeReference ( #4939 )
2018-08-07 18:53:11 +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
f0f45a2621
chore(scripts): fix checkSchema command
2018-07-29 15:04:33 +08:00
Jed Fox
60f1e1d37b
Remove code removing a key I removed from package.json ( #4859 )
2018-07-17 16:11:48 -04:00
Jed Fox
dc362c212d
Report test summaries to CircleCI ( #4704 )
...
* Report test summaries to CircleCI
* Don’t run jest-junit on Node <6
(it uses default function parameters)
* Address @lydell’s comment
* Use @duailibe’s suggestion
* 🔥 `jest-junit` key in production package.json
* Move config to jest.config.js
2018-07-07 12:11:04 -04:00
Lucas Duailibe
3f91d6427d
Correctly replace 'process.env.NODE_ENV' ( #4787 )
2018-07-01 11:22:40 -03:00
Lucas Duailibe
576e570711
Fix custom require's ( #4766 )
2018-06-28 15:56:25 -03:00
Ika
5cfaba6a1c
chore(ISSUE_TEMPLATE): add template for integration issue ( #4722 )
...
Ref: https://blog.github.com/2018-05-02-issue-template-improvements/
![image](https://user-images.githubusercontent.com/8341033/41692826-e7b98d06-7534-11e8-9b51-54a04c097681.png )
So that people would know what kind of info we need to know to understand issues like #4720 .
2018-06-22 12:37:52 +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
9ec1da1ad1
[internal] Cache build results ( #4693 )
2018-06-18 15:16:40 -03:00
Lucas Duailibe
0780adbb0d
Fix build output in CircleCi
2018-06-14 11:15:04 -03:00
Lucas Duailibe
78ac229956
Transpile webpack generated bundles ( #4689 )
2018-06-13 17:23:33 -03:00
Lucas Duailibe
f0907a049d
chore(rollup): Refactor native shims plugin
2018-06-13 12:49:35 -03:00
Lucas Duailibe
889b7dab79
Run tests using the standalone build in an empty context ( #4668 )
...
Validate that our build is stripping all the "native" dependencies (native modules and env vars).
2018-06-12 15:05:40 -03:00
Ika
3666411bd5
chore(scripts): add missing `execa` import
...
See 4dde525996
2018-06-09 22:09:51 +08:00
Lucas Duailibe
4dde525996
[release script] Run Prettier on CHANGELOG.md before committing
2018-06-08 15:14:35 -03:00
Lucas Duailibe
70604f1fd1
[Release script] Use `execa`
2018-06-05 19:10:27 -03:00
Lucas Duailibe
54b1f8562d
Introduce Release script ( #4631 )
2018-06-05 16:37:52 -03:00
Ika
26b13b6274
chore(scripts): update ISSUE_TEMPLATE and exclude tarball ( #4620 )
2018-06-01 10:58:16 -03:00
Lucas Duailibe
8a67378f97
Nicer logging on build script ( #4590 )
2018-05-29 14:59:57 -03:00
Suchipi Izumi
89c84e5ee0
Fix some build script issues
...
* Copy README to dist
* Fix strings in prepublishOnly
2018-05-29 00:22:59 -06:00
Lucas Duailibe
2505926533
Fix PR playground
2018-05-27 21:52:06 -03:00
Lucas Duailibe
412b064df8
Format docs with Prettier 1.13
2018-05-27 15:38:31 -03:00
Lucas Duailibe
1a4dda73a9
Fix playground
2018-05-27 15:31:52 -03:00
Lucas Duailibe
0d57f22098
Use new worker on playground
2018-05-27 15:24:50 -03:00
Lucas Duailibe
9da80415f4
Bump own prettier dependency
2018-05-27 15:22:34 -03:00
Lucas Duailibe
68e24cef79
Build docs script
2018-05-27 15:19:01 -03:00
Lucas Duailibe
174a7736c1
[build] Always transpile everything ( #4548 )
2018-05-25 12:47:01 -03:00