50 Commits

Author SHA1 Message Date
Luke LaValva
441bdcbfa8
feat: tag var shadowing, same scope (#2272) 2024-08-15 09:25:40 -07:00
dpiercey
07072eb4e2 chore: upgrade deps and eslint config 2024-08-08 14:12:51 -07:00
Dylan Piercey
a3378e265f
Tags API: New HTML writer implementation (#2268)
* feat: new tags api writer
2024-08-05 18:42:08 -04:00
dpiercey
b53e8487fd chore: update sizes script to print assets to disk 2024-05-25 15:35:47 -07:00
dpiercey
8207723e52 fix: ensure renderers are registered in ssr 2024-05-25 15:35:47 -07:00
dpiercey
37cbfe06e5 chore: remove gzip from size check 2024-03-06 16:02:23 -07:00
Dylan Piercey
105c26bd4f
fix: package.json override script (#2138) 2024-03-04 10:45:55 -07:00
dpiercey
12bc714871 chore: improve src/dist swapping 2024-02-05 11:27:46 -07:00
dpiercey
54575cf53a chore: upgrade husky, remove dot-json helper 2024-01-27 14:56:40 -07:00
dpiercey
0b04f06f47 chore: update deps 2024-01-27 14:56:40 -07:00
dpiercey
b3a97d5a0f chore: update references to renamed packages 2024-01-17 09:41:26 -07:00
Michael Rawlings
d7ff0e1cfe Merge branch 'main' into merge-x 2024-01-09 17:50:14 -05:00
dpiercey
69b3ff57c8 chore: reformat files 2024-01-09 14:31:31 -07:00
Michael Rawlings
a39fc3ec12 Merge remote-tracking branch 'x/interop-translator' 2023-07-24 12:06:16 -04:00
Michael Rawlings
2b17b66f51 chore: support typescript packages 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
Michael Rawlings
b0720ff7c0 refactor: package scripts 2023-07-24 11:55:08 -04:00
Michael Rawlings
22c8b4688c chore: tsx to babel, move bundle scripts into pkgs 2023-07-12 13:25:33 -04:00
Dylan Piercey
70922e68e0 feat: add support for reporting compiler diagnostics 2023-06-05 11:24:51 -07:00
Dylan Piercey
45207b39a4
chore: upgrade deps, avoid unnecessary dynamic import for build script 2023-06-05 09:01:35 -07:00
Dylan Piercey
e67799356f chore: optimize tsconfig build setup and other build scripts 2023-05-17 10:37:22 -07:00
Dylan Piercey
6291b46b00 chore: remove lint scripts (prefer format), build sizes script now always writes new output 2023-05-17 10:37:22 -07:00
Dylan Piercey
2fb8aa55a0
chore: misc tooling, build and config upgrades 2023-05-16 15:04:36 -07:00
Dylan Piercey
2956962fd5
chore: inline codegen scripts from babel (#1877) 2023-01-08 14:57:03 -07:00
Michael Rawlings
cd496964c1 fix: type for BabelFile.markoConfig now reflects defaulted values 2022-04-26 11:40:37 -04:00
Dylan Piercey
08014bd5e8
chore: improve some ts types 2022-04-25 15:48:42 -07:00
Michael Rawlings
086533ead4 fix: remove empty const/let/var declarations caused by removal of MARKO_DEBUG expressions 2021-09-29 15:08:44 -07:00
Michael Rawlings
5f950c8066
fix: typescript types (#1684) 2021-04-07 11:39:07 -07:00
Dylan Piercey
76f1cd95a7
fix: babel-types type definiton build script 2021-03-18 10:48:58 -07:00
Dylan Piercey
7efc2abb1b
feat(babel-utils): add api for analyzing template by import path 2021-03-10 12:31:02 -07:00
Dylan Piercey
5369a63e0c fix: move @marko/babel-types into compiler 2021-02-26 12:44:31 -07:00
Dylan Piercey
1d6ccb983d
feat(babel-utils): expose taglib types 2020-11-17 11:57:55 -08:00
Dylan Piercey
6c270eeab3
chore: improve types 2020-11-12 13:13: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
02670c8693
feat: import compiler from marko-js/x
Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
Co-authored-by: Dylan Piercey <dpiercey@ebay.com>
Co-authored-by: Andrew Gliga <agliga@ebay.com>
2020-02-24 21:15:05 -08:00
Michael Rawlings
f7ef29cc2e
chore: remove editorconfig and run prettier 2020-02-24 16:48:25 -08:00
Michael Rawlings
2d5a2232f4
move files under packages/marko 2020-02-24 16:28:58 -08:00
Andrew Gliga
94418617ef Deprecated all tests that will be deprecated in v5 (#1430) 2019-10-24 12:01:36 -07:00
Dylan Piercey
f789907c7e
Add migration for legacy widget with getInitialState and no getTemplateData (#1385)
* Add migration for data = state
2019-07-15 13:30:26 -07:00
Michael Rawlings
101c5c6bb8
refactor to better separate compiler/taglib/core-tags/runtime (#1319)
* refactor out taglib loader/finder/lookup

* add comments for taglib apis that we need to deprecate

* move components into runtime/core-tags
2019-04-16 13:34:26 -07:00
Dylan Piercey
24753a7674
Upgrade <await> tag to use tag parameters and attribute tags. Add migration from old syntax. (#1244) 2019-02-07 11:50:49 -08:00
Dylan Piercey
4d2242d9d7
Add migrator for w-config (#1214)
* Add mgirator for w-config
2018-12-28 13:55:45 -07:00
Michael Rawlings
0f5e639775 Format + lint (#1016)
* add prettierignore

* switch to eslint:recommended + eslint-config-prettier

* fix eslint violations

* remove more .jshintrc files

* better conditional structure

* add prettier and update prettier ignore

* add precommit hook to run prettier

* add lint check to precommit and format check to ci

* format all the things

* add generated files

* let npm do it's thing with package.json
2018-03-09 10:02:11 -08:00
Dylan Piercey
29e8ab9ae3 Debug mode (#916)
* first pass at adding debug support
* Fixes #871. Switch to using a string literal for debug mode checks.
2017-11-07 08:55:02 -08:00
Patrick Steele-Idem
2be98636ea Fixes #817 - Support dynamic root elements
[Optimizations] Simplified bookkeeping for component tree
A component stack is no longer used

Small API improvements

Improved how component boundaries are managed

Assign keys to all HTML elements and custom tags for better diffing

Checking in progress

Just build the src when calculating size
2017-09-08 12:32:17 -06:00
Patrick Steele-Idem
6598f3b98b Build fixes related to compiler 2017-05-19 21:41:53 -06:00
Patrick Steele-Idem
68c39fcba8 Fixed scripts/build.js 2017-05-19 19:51:19 -06:00
Patrick Steele-Idem
ecaa014004 node <v6 fixes 2017-05-19 19:33:40 -06:00
Patrick Steele-Idem
787ed2423e Cleaned up build scripts 2017-05-19 16:06:11 -06:00
Patrick Steele-Idem
a602f3cd46 Introduced src/ and dist/ folders 2017-05-19 14:35:33 -06:00