Commit Graph
114 Commits
Author SHA1 Message Date
fisker Cheung 20be335c52 Switch rollup-plugin-node-resolve to @rollup/plugin-node-resolve (#7248) 2020-01-19 01:35:56 +02:00
fisker Cheung c68d6e3c2b Move doc directory to document (#7272) 2020-01-14 13:58:42 +03:00
fisker Cheung beeaa98cb9 Fix quote style, enable quote rule (#7304) 2020-01-14 13:58:20 +03:00
fisker Cheung eec0bca937 Switch rollup-plugin-commonjs to @rollup/plugin-commonjs (#7247) 2020-01-13 16:31:38 +02:00
fisker Cheung a1423e05b4 Switch rollup-plugin-json to @rollup/plugin-json (#6987) 2019-11-17 17:29:11 +01:00
fisker Cheung ce9f4a4a2c Fix babel includes plugin (#6985) 2019-11-17 15:01:17 +01:00
fisker Cheung 56b4ce349f Enable replace-array-includes-with-indexof for all bundles (#6982) 2019-11-17 12:05:19 +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 1d1a90144f Fix bin permissions (#6902) 2019-11-09 17:42:52 +01:00
dependabot-preview[bot] 5458fb5f17 Bump @typescript-eslint/typescript-estree from 2.6.0 to 2.6.1 (#6805)
* Bump @typescript-eslint/typescript-estree from 2.6.0 to 2.6.1

Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.6.1/packages/typescript-estree)

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

* add shim for path.extname
2019-11-06 20:45:09 +01:00
fisker Cheung d789126c69 Switch rollup-plugin-alias to @rollup/plugin-alias (#6764)
* Switch `rollup-plugin-alias` to `@rollup/plugin-alias

* fix build script
2019-10-31 14:16:58 +02:00
fisker Cheung 417b92c636 Switch rollup-plugin-replace to @rollup/plugin-replace (#6750) 2019-10-30 15:07:01 +02: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 f86a5bfae3 Update webpack to v4.41.0 (#6560)
* Update `webpack` to v4.41.0

* update cache version
2019-09-28 15:40:28 +02: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
fisker Cheung 370e827217 Update webpack to v4 (#6366)
* Update webpack to v4

* add todo

* add link
2019-09-14 00:55:30 +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
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
James Henry ef6386015d fix: update typescript and typescript-estree to latest (#5728) 2019-01-12 11:10:52 +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
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
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 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