5589 Commits

Author SHA1 Message Date
Michael Rawlings
15b14c08b6
Test cleanup (#118)
* test: remove redundant manual fixtures

* test: add skip statements to manual fixtures

* test: fix event handler casing and use <attrs> in manual fixtures

* test: convert manual fixtures to compiled
2023-01-10 12:47:11 -05:00
Dylan Piercey
2956962fd5
chore: inline codegen scripts from babel (#1877) @marko/compiler@5.23.1 @marko/translator-default@5.22.1 marko@5.22.1 2023-01-08 14:57:03 -07:00
github-actions[bot]
ae0da720b9
[ci] release (#1876)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-08 14:23:29 -07:00
Dylan Piercey
b744720db5
chore: upgrade magic-string module and lock file (#1875) 2023-01-08 14:04:28 -07:00
Luke LaValva
86e1c041b5
feat(custom-tag): added return and tag variables (#116)
* feat(custom-tag): added return and tag variables
* fix: duplicate WalkCodes
2022-12-22 15:38:41 -05:00
Ryan Turnquist
7a3fcb3186
feat: context dom (#114)
* feat: context dom
2022-12-10 00:11:34 -05:00
Luke LaValva
2f2df97cee
feat(native-tag): add native tag refs (#112)
* feat(native-tag): add native tag refs

* chore: switch to c8 from nyc

Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
2022-12-08 15:32:56 -05:00
Taylor Hunt
a0970494e0
Update URLs (#1871)
- `http://`→`https://`
- Fixed the broken Code of Conduct links
- Updated stale reference URLs in the core taglib definition to point at current docs pages
- `www.ebaytechblog.com` started redirecting to `tech.ebayinc.com`, so I updated those URLs too
2022-12-07 13:46:50 -05:00
Voon Siong Wong
3077d39a27
Showcase interpolation in shorthand notation (#1869) 2022-11-30 08:09:13 -07:00
Taylor Hunt
bc7d2c98e3
Update Express docs (#1868)
* Update Express docs

Addresses #1867, fixes a dead link to available bundlers, and copyediting improvements.
2022-11-28 13:25:06 -07:00
LuLaValva
0eedead9c2 feat(native-tag): align event handler naming conventions with v5 2022-11-22 14:15:20 -05:00
dependabot[bot]
3f73900e7b chore(deps): bump parse-path and lerna
Bumps [parse-path](https://github.com/IonicaBizau/parse-path) to 7.0.0 and updates ancestor dependency [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna). These dependencies need to be updated together.


Updates `parse-path` from 4.0.3 to 7.0.0
- [Release notes](https://github.com/IonicaBizau/parse-path/releases)
- [Commits](https://github.com/IonicaBizau/parse-path/compare/4.0.3...7.0.0)

Updates `lerna` from 4.0.0 to 6.0.3
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v6.0.3/core/lerna)

---
updated-dependencies:
- dependency-name: parse-path
  dependency-type: indirect
- dependency-name: lerna
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 13:44:06 -05:00
dependabot[bot]
98264b18e0 chore(deps): bump terser from 5.10.0 to 5.15.1
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.15.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.10.0...v5.15.1)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 13:43:55 -05:00
dependabot[bot]
75aa6c4e94 chore(deps): bump minimatch from 3.0.4 to 3.1.2
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 13:43:46 -05:00
Ryan Turnquist
f9f84e50d5 feat: style tag 2022-11-10 18:06:47 -05:00
Ryan Turnquist
c2e7cc63b0 chore: update @marko/compiler 2022-11-10 18:06:47 -05:00
Michael Rawlings
239e8bfca1 refactor: always put scopeId first in the hydration data 2022-11-08 13:25:06 -05:00
Michael Rawlings
af429de84c fix: use enum from same module 2022-11-07 13:37:10 -05:00
Michael Rawlings
e8e0bd9b83 test: merge runtime/translator fixtures 2022-11-07 13:37:10 -05:00
Michael Rawlings
db1445b8fa test: use public imports 2022-11-07 13:37:10 -05:00
Michael Rawlings
f6cc5c86b2 test: prepare to merge runtime/translator tests (3) 2022-11-07 13:37:10 -05:00
Michael Rawlings
661507fc0b test: fix async tests 2022-11-07 13:37:10 -05:00
Michael Rawlings
0e5c26cb90 refactor: runtime tests use @marko/runtime-fluurt rather than relative imports 2022-11-07 13:37:10 -05:00
Michael Rawlings
b979b1b72e test: allow equivalence test to work when there is new input 2022-11-07 13:37:10 -05:00
Michael Rawlings
7d853396da test: prepare to merge runtime/translator tests (2) 2022-11-07 13:37:10 -05:00
Michael Rawlings
48264a112e test: prepare to merge runtime/translator tests 2022-11-07 13:37:10 -05:00
Michael Rawlings
77b071c698 test: improve mutation logs 2022-11-07 13:37:10 -05:00
Michael Rawlings
2b5a6388dd refactor: move all compile snapshots into dom.expected/html.expected directories 2022-11-07 13:37:10 -05:00
Michael Rawlings
3134846f21 test: add sanitized snapshots 2022-11-07 13:37:10 -05:00
Michael Rawlings
e0ecdf7624 refactor: split ssr/hydrate snapshots and tests 2022-11-07 13:37:10 -05:00
Michael Rawlings
2b2fae7744 refactor: translator tests, lazy/cached execution, sanitization in tracker 2022-11-07 13:37:10 -05:00
Michael Rawlings
a906ea8fa2
refactor: remove scope ___id and old queue impls that relied on it (#103) 2022-11-04 11:33:51 -04:00
Michael Rawlings
cdfda27473
feat: hydrate runtime for if (#102)
* feat: hydrate runtime for if
2022-11-03 21:04:37 -04:00
Ryan Turnquist
169fe3506e feat: lifecycle tag 2022-11-03 18:30:39 -04:00
github-actions[bot]
e27c61bc91
[ci] release (#1866)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@marko/compiler@5.23.0 @marko/translator-default@5.22.0 marko@5.22.0
2022-11-02 10:16:38 -07:00
Dylan Piercey
797e904893
feat: rename default attr (#1865) 2022-11-02 10:11:58 -07:00
LuLaValva
cecd9e88f2
feat: add id tag 2022-11-01 11:19:55 -07:00
Michael Rawlings
2c17e572f1 fix: html dynamic tag name 2022-11-01 14:07:02 -04:00
Michael Rawlings
b32feb8329 refactor: rename apply-hydrate to signals 2022-11-01 14:07:02 -04:00
Michael Rawlings
acbff4ee27 chore: format/lint 2022-11-01 14:07:02 -04:00
Michael Rawlings
e836201013 feat: dynamic tag translator for dom/csr 2022-11-01 14:07:02 -04:00
Michael Rawlings
61299a42f6 refactor: split html/dom translator for custom-tag 2022-11-01 14:07:02 -04:00
Michael Rawlings
136be0c4ce fix: only hoist dynamic tag expression for html output 2022-11-01 14:07:02 -04:00
Michael Rawlings
2b313bc78a fix: use consistent logic for determining tag type between analyze/translate 2022-11-01 14:07:02 -04:00
Michael Rawlings
3cebd91a23 refactor: remove special Attr reserve type, just use Storage 2022-11-01 14:07:02 -04:00
Michael Rawlings
d22fd123fa refactor: split dynamic tag translator by dom/html 2022-11-01 14:07:02 -04:00
Michael Rawlings
e554711a5f feat: renderBody hydration 2022-11-01 14:07:02 -04:00
Michael Rawlings
0f63c5d7d4 feat: csr renderBody 2022-11-01 14:07:02 -04:00
Michael Rawlings
1312e28847 fix: improve tree-shaking 2022-11-01 14:07:02 -04:00
Michael Rawlings
c56c7e7073 feat: static signals 2022-11-01 14:07:02 -04:00