126 Commits

Author SHA1 Message Date
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
Dylan Piercey
49ef9801b5
chore: upgrade htmljs-parser (#1811) 2022-06-20 14:17:10 -07:00
Dylan Piercey
04adc2d24e
fix: attr method shorthand source map position (#1806) 2022-06-04 21:15:16 -07:00
Michael Rawlings
c352de67ec
fix: update deps, inline babel helper removed from latest version (#1800)
* fix: update deps, inline babel helper removed from latest version
2022-05-17 13:55:50 -04:00
Dylan Piercey
123b9a8c7a
New parser (#1786)
* feat: integrate new parser
2022-04-26 13:46:27 -07:00
Michael Rawlings
cd496964c1 fix: type for BabelFile.markoConfig now reflects defaulted values 2022-04-26 11:40:37 -04:00
Michael Rawlings
d3278640db fix: set cache entry before analysis to prevent infinite recursion 2022-04-26 00:41:52 -04:00
Dylan Piercey
28aa2e84c1
fix(translator-default): string literals in dynamic tags incorrectly doing component lookup 2022-04-14 15:17:29 -07:00
Michael Rawlings
5eda8f388a fix: autoloading translators 2022-04-11 15:00:55 -04:00
Dylan Piercey
258b7bf0ed
Bundler improvements (#1782)
* refactor: native taglibs us js format instead of json

* fix: avoid using webpacks enhanced resolve as the default fs
2022-03-24 13:20:48 -07:00
Dylan Piercey
981f7f39f9
feat: support analyze field in marko.json (#1769) 2022-01-28 12:48:19 -07:00
Dylan Piercey
9d86540a37
fix: issue with dynamic tag names not tracking references 2022-01-13 20:06:06 -07:00
Dylan Piercey
32f382bb0d
fix: hoisted variable scopes clean up 2021-11-17 09:38:54 -07:00
Dylan Piercey
91b3c58559
fix: upgrade babel deps & fix builder regression 2021-10-30 11:55:23 -07:00
Dylan Piercey
a8d85d7771
fix: regression with identical tag name & taglib deduping
(cherry picked from commit 3da701c0f101ae064c943faf0a908b674992b845)
2021-10-22 11:51:00 -07:00
Dylan Piercey
86310e6039 fix: normalize file opts similar to babel 2021-09-29 15:08:11 -07:00
Dylan Piercey
20e3cf42aa
fix: attribute shorthand method source locations 2021-09-05 13:07:58 -07:00
Dylan Piercey
ff07eadde2
fix: consistent file.opts during parse & other stages 2021-09-05 12:50:07 -07:00