Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/cst-parser.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marko/compiler": patch
---

Drive the parser from the `@marko/parse` syntax tree instead of raw `htmljs-parser` events.
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
},
"dependencies": {
"@luxass/strip-json-comments": "^2.0.1",
"@marko/parse": "link:../../../language-server/packages/parse",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🔴 Critical | ⚡ Quick win

Replace the link: dependency with a published version range before merge.

link:../../../language-server/packages/parse resolves outside this repository. Installs fail for anyone without that sibling checkout, and a published @marko/compiler tarball would carry an unresolvable dependency. The PR description already flags this as a pre-merge requirement.

🔧 Proposed change once `@marko/parse` is published
-    "`@marko/parse`": "link:../../../language-server/packages/parse",
+    "`@marko/parse`": "^<published-version>",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/compiler/package.json` at line 74, Replace the `@marko/parse`
dependency in packages/compiler/package.json with the appropriate published
version range, removing the link: path so installs and published tarballs
resolve without a sibling checkout.

"complain": "^1.6.1",
"htmljs-parser": "^5.14.0",
"jsesc": "^3.1.0",
"kleur": "^4.1.5",
"lasso-package-root": "^1.0.1",
Expand Down
Loading
Loading