4657 Commits

Author SHA1 Message Date
Dylan Piercey
74d5f104b8 feat: cached compilations, nested tag analysis 2020-11-11 11:40:00 -07:00
Ryan Carniato
f35324962c
Hoist Static VDOM Node Creation (#1598)
* perf: vdom-node hoisting

* fix: remove keyScope hoisting

* fix: better attribute detection for hoisting

* fix: broken runtime tests

* perf: reduce evals and remove empty class attr

* refactor: expose isLoopTag and prevent while hoisting

* fix: inconsistencies from rebase

* chore: run formatting

* perf: hoist visitor in static optimization
2020-11-09 16:02:00 -08:00
Ryan Carniato
51bd454ea1
feat: add typescript types for babel-types (#1623)
* feat: add typescript types for babel-types

* feat: add Marko specific traverse types

* chore: refactor script and outputs

* chore: remove extraneous files entry
2020-11-05 14:44:37 -08:00
Michael Rawlings
769078b26e
Refactor types (#1622)
* refactor: isolate babel-types patching
2020-11-04 15:21:53 -08:00
Dylan Piercey
a8746841cc
chore: publish v5.0.0-next.50 2020-10-12 12:26:44 -07:00
Dylan Piercey
22e9322a7e
fix: no longer use fragments for preserved native els
(cherry picked from commit c167cfa1ab0d9d6db3aecc264fd830d804456f25)
2020-10-12 12:26:05 -07:00
Dylan Piercey
7ee0cd1f0a
fix: regression serializing empty component data with custom runtimeid
(cherry picked from commit d5897375e4b95d587c307612050f8e0d8144e996)
2020-10-12 10:48:47 -07:00
Dylan Piercey
bae4a3d388 fix: dynamic tag html attr normalize 2020-10-12 10:47:40 -07:00
Dylan Piercey
aa1ef05f96 fix(translator-default): body only if being preserved incorrectly 2020-10-12 10:33:32 -07:00
Dylan Piercey
50b4e9746b fix(translator-default): owner component missing for text nodes 2020-10-12 10:33:32 -07:00
Dylan Piercey
e20c68f856
chore: publish v5.0.0-next.49 2020-09-28 15:02:02 -07:00
Dylan Piercey
bf393c85ad
perf: misc optimizations (#1610)
(cherry picked from commit a389d6f42047a9d620901040346643c101fdd37d)
2020-09-28 15:01:04 -07:00
achou11
06899ec10c
docs: fix a couple of typos in the guides
(cherry picked from commit 680ea0b8ac114d5eb075e7d0791ea31fe1be21aa)
2020-09-28 14:59:04 -07:00
Dylan Piercey
db4793df11
fix(marko): output esm for module-code 2020-09-28 14:57:11 -07:00
Dylan Piercey
ffb7431790 refactor: move helpers into @marko/babel-utils 2020-09-22 13:55:59 -07:00
Dylan Piercey
d2c3d17dd5
chore: publish v5.0.0-next.48 2020-09-18 09:54:55 -07:00
Dylan Piercey
d11174853f
fix(compiler): improve hash template id performance and consistency 2020-09-18 09:51:53 -07:00
Dylan Piercey
4b679de133
chore: publish v5.0.0-next.47 2020-09-18 08:35:11 -07:00
Dylan Piercey
daf2b1af37
fix(compiler): normalize windows paths when creating relative requires 2020-09-18 08:34:46 -07:00
Dylan Piercey
d8d4c32004
chore: publish v5.0.0-next.46 2020-09-17 14:22:09 -07:00
Dylan Piercey
e1b39e18c4 fix: only include template path with meta option enabled 2020-09-17 14:20:38 -07:00
Dylan Piercey
585d6be9c2
perf: prevent bundlers from pulling in setImmediate shim
(cherry picked from commit 970a788259c74b39eb65d2f9a8d2610bb285125f)
2020-09-17 13:06:49 -07:00
Dylan Piercey
33ae635fec
perf: remove unecessary function for template load api
(cherry picked from commit 697e13b234cc9aac97a9d5fc9027380c7fc8bf45)
2020-09-17 13:05:53 -07:00
ckeenan23
4a66da9aff
updated error emitted to keep the init error obj (#1600)
(cherry picked from commit c0ab18fe0e53d6e6e2695118cd46ef76130b28e0)
2020-09-17 13:04:49 -07:00
Dylan Piercey
1647f709af
chore: publish v5.0.0-next.45 2020-08-26 09:16:21 -07:00
Dylan Piercey
ec6e670dbc
fix: regression with manual component init with custom runtimeid
(cherry picked from commit f08a60a3f64ab53fa387575a7658990c145c0fdd)
2020-08-26 09:16:08 -07:00
Dylan Piercey
1af5d84f7b
chore: publish v5.0.0-next.44 2020-08-26 08:22:21 -07:00
Dylan Piercey
f499634679
fix: typo with aria-describedby autocomplete
(cherry picked from commit cd12a3a68873c9ce72a3d94d861fe2f48b6a2228)
2020-08-26 08:22:03 -07:00
Dylan Piercey
b254da509a
chore: publish v5.0.0-next.43 2020-08-20 11:54:58 -07:00
Dylan Piercey
c975b878cc
fix: issue with hydrating body-only content
(cherry picked from commit 7837185073b3ccd203267d5e853e03d2b8d72e7a)
2020-08-20 11:52:08 -07:00
Dylan Piercey
60d1177ddd
chore: publish v5.0.0-next.42 2020-08-18 14:40:26 -07:00
Dylan Piercey
2e7e3dd986
fix: pass through xlink:href 2020-08-18 14:39:37 -07:00
Dylan Piercey
eb0cfb7134
fix: escape filename regexps for multi file components 2020-08-18 14:17:25 -07:00
Dylan Piercey
7ea20a69dd
chore: publish v5.0.0-next.41 2020-08-18 13:39:35 -07:00
Dylan Piercey
8d736f25ba
Marko 5: Add modules option (#1595)
* feat: add option to output commonjs

* chore: move all snapshots inside separate folder
2020-08-18 13:38:45 -07:00
Dylan Piercey
a74a412f90
chore: publish v5.0.0-next.40 2020-08-12 15:18:36 -07:00
Dylan Piercey
7b7a4f9637
fix: component type use relative path in dev mode 2020-08-12 15:18:05 -07:00
Dylan Piercey
da2eb18707
fix(translator-default): component meta not set on tag params 2020-08-12 15:15:29 -07:00
Dylan Piercey
e942e0ee3f
chore: publish v5.0.0-next.39 2020-08-10 16:10:27 -07:00
Dylan Piercey
47a98341a2
fix: invalid missing closing svg tags 2020-08-10 16:09:04 -07:00
Dylan Piercey
13a2e092b6
chore: publish v5.0.0-next.38 2020-08-10 09:05:16 -07:00
Dylan Piercey
00a0a5527d
fix: set default value for textarea when created (#1593)
(cherry picked from commit 1efae18402df3a236410794fc3d4f6a2076d1d64)
2020-08-10 09:03:47 -07:00
Dylan Piercey
36c501ce44
fix: add support for nested tag long hand properties (#1592)
(cherry picked from commit 8f595fd493d4462f8cc2b103d8ea77e04616edea)
2020-08-10 09:02:07 -07:00
Dylan Piercey
49a73a18c7
chore: publish v5.0.0-next.37 2020-08-05 14:20:57 -07:00
Dylan Piercey
ee16e96580
feat: only enable optimization stage for production mode 2020-08-05 14:19:51 -07:00
Dylan Piercey
82a7fdb068
chore: publish v5.0.0-next.36 2020-08-05 13:43:19 -07:00
Dylan Piercey
f14e46a1f3
feat: expose watch file meta data (#1591) 2020-08-05 13:40:51 -07:00
Dylan Piercey
006d41f05d
chore: publish v5.0.0-next.35 2020-08-04 11:54:36 -07:00
Dylan Piercey
212dda9c00
feat: add custom fileSystem config option (#1590) 2020-08-04 11:54:09 -07:00
Dylan Piercey
c11c0e080b
fix: lint script 2020-08-04 11:45:55 -07:00