143 Commits

Author SHA1 Message Date
dpiercey
d82b21e8f5 fix: improve compile error output 2024-01-19 09:37:07 -07:00
dpiercey
2976dfac56 fix: issue removing exports in stripTypes mode 2024-01-11 14:25:56 -07:00
dpiercey
69b3ff57c8 chore: reformat files 2024-01-09 14:31:31 -07:00
dpiercey
987854f33d chore: update all package deps 2024-01-09 14:31:31 -07:00
dpiercey
977d690784 fix: pritning variable declarations 2023-12-13 15:08:04 -07:00
Luke LaValva
5e294103f7
fix(sourcemaps): TagTypeArgs and TagTypeParams (#2064) 2023-11-22 10:01:17 -08:00
LuLaValva
76840808c7 feat(compiler): add "exports" to marko.json 2023-11-17 08:12:31 -07:00
LuLaValva
ad176646e1 fix(babel): use correct types for params and args 2023-11-14 10:49:11 -07:00
dpiercey
648a94928f chore: expose compiler metadata about which templates were analyzed 2023-11-14 10:46:48 -07:00
dpiercey
1c5eccadf8 fix: correct exports for @marko/babel-utils 2023-11-10 11:59:59 -07:00
LuLaValva
c113eda7d9 feat(generator): add ts params and args 2023-11-10 10:18:50 -07:00
LuLaValva
a53092ba58 feat(ast): add type args and params 2023-11-10 10:18:50 -07:00
Dylan Piercey
4471046325 fix: support async babel config files (eg mjs) 2023-10-16 18:02:05 -07:00
Dylan Piercey
71a227a5ff fix: long hand nested attribute target property 2023-09-19 12:07:52 -07:00
Dylan Piercey
6a4e947b5a fix: ensure .marko files resolved for renderer config 2023-08-14 10:55:01 -07:00
Dylan Piercey
6ba268c841 feat: support taglib register with just module id 2023-08-09 13:37:16 -07:00
Dylan Piercey
9aede281f9 feat: add hydrateInit compiler option 2023-08-09 13:37:16 -07:00
Michael Rawlings
067db9883f chore: sort imports 2023-07-24 11:55:08 -04:00
Michael Rawlings
dacbaa72e1 chore: update prettier package & config, reformat 2023-07-24 11:55:08 -04:00
Dylan Piercey
2afa3f6e61 fix: @marko/register source maps 2023-07-12 10:24:23 -07:00
Dylan Piercey
d930378434 feat: move <macro> tag validation to translate stage 2023-07-06 15:41:10 -07:00
Dylan Piercey
1bc9930123 fix: deleting error properties regression 2023-07-05 13:36:54 -07:00
Dylan Piercey
a54a237948 fix: improve error stack output for nodejs 2023-06-30 12:24:53 -07:00
Dylan Piercey
8bf5cb1f09 fix: improve taglib merging with undefined 2023-06-29 10:54:39 -07:00
Dylan Piercey
c6e2d06554 feat: allow migrator as a tag entry file 2023-06-28 16:38:04 -07:00
Dylan Piercey
9d3b34eefa feat: fixable parse errors 2023-06-27 15:16:42 -07:00
Dylan Piercey
931a5d24bb fix: avoid loading babel config when compiler output is source or migrate 2023-06-23 16:20:17 -07:00
Dylan Piercey
7555a46a19 fix: improve emitted error meta data 2023-06-16 09:17:23 -07:00
Dylan Piercey
42f7b46e25 fix: run migration fixes synchronously 2023-06-15 15:49:49 -07:00
Dylan Piercey
897b8bebad fix: error messages not showing if no source location 2023-06-13 10:28:28 -07:00
Dylan Piercey
7ee65aaf7d feat: improve code frame errors 2023-06-05 11:24:51 -07:00
Dylan Piercey
70922e68e0 feat: add support for reporting compiler diagnostics 2023-06-05 11:24:51 -07:00
Dylan Piercey
ca9bfa2a2b
fix: type definition for MarkoTagBody AST (#1955) 2023-05-16 09:33:19 -07:00
Dylan Piercey
04d6fad6d5 fix: strip types from inline component class 2023-04-20 11:01:56 -07:00
Dylan Piercey
c41cda53c8 refactor: avoid config deduping via global (it has not been working since Marko 4 anyway and is probably bad) 2023-03-24 09:07:13 -07:00
Dylan Piercey
7d5dab41c3 feat: support declared ts class members, remove extra export in stripTypes mode 2023-03-21 12:58:29 -07:00
Dylan Piercey
cceab7d206 fix: loosen babel parse errors 2023-03-21 11:00:29 -07:00
Michael Rawlings
ac1d5062a7
fix: modify/remove some inefficient regexes (#1916)
* fix: modify/remove some inefficient regexes
2023-03-17 13:34:06 -04:00
Dylan Piercey
4fc38e8001 feat: expose ability to intercept taglib errors 2023-02-28 16:16:14 -07:00
Dylan Piercey
d110b0b5f6 chore: improve typescript support 2023-02-17 16:10:23 -07:00
Dylan Piercey
f1efd707aa
feat: add taglib extensions and type definitions for typescript support (#1885)
* feat: add taglib extensions and type definitions for typescript support

* [ci] format

---------

Co-authored-by: DylanPiercey <DylanPiercey@users.noreply.github.com>
2023-02-10 15:58:52 -07:00
Dylan Piercey
797e904893
feat: rename default attr (#1865) 2022-11-02 10:11:58 -07:00
Dylan Piercey
e648094582
Improve tag scanning perf (#1860)
* fix: improve tag dir scanning cache (#1859)

(cherry picked from commit 412e2eb77a57772dfd619756b40d962425332748)

* chore: update htmljs-parser
2022-10-12 11:31:35 -07:00
Dylan Piercey
7608246596
fix: auto enable hmr mode when using browser-refresh client and @marko/compiler/register (#1855) 2022-09-27 21:11:34 -07:00
Dylan Piercey
76771598e8
fix: improve support for @lasso/marko-taglib and @marko/compiler/register (#1853) 2022-09-27 16:15:31 -07:00
Dylan Piercey
63161abed5
fix: source map for shorthand attr methods (#1837) 2022-07-30 14:39:34 -07:00
Dylan Piercey
efd6da2358
fix: tag variable type definitons (#1830) 2022-07-26 11:18:35 -07:00
Dylan Piercey
e285cbbd10
feat: support removing typescript types (#1826) 2022-07-26 08:19:57 -07:00
Dylan Piercey
2f6459d2c4
fix: issue with return statement inside attr method shorthand (#1824) 2022-07-18 15:59:20 -07:00
Dylan Piercey
b11f9d076f
chore: upgrade htmljs-parser (#1814) 2022-06-22 10:02:13 -07:00