Skip to content

test: cover userscript metadata contracts#451

Merged
Manuito83 merged 1 commit into
Manuito83:developfrom
AlexTzib:test-userscript-metadata-contract
May 23, 2026
Merged

test: cover userscript metadata contracts#451
Manuito83 merged 1 commit into
Manuito83:developfrom
AlexTzib:test-userscript-metadata-contract

Conversation

@AlexTzib
Copy link
Copy Markdown
Contributor

@AlexTzib AlexTzib commented May 6, 2026

Hi @Manuito83, this is the test-only follow-up from the userscript DX work in #289.

The app already has the important pieces here, so this PR just adds focused coverage around the contracts we want to keep stable:

  • @grant and @require parsing order
  • preserving grants/requires through model creation and JSON round-trips
  • replacing ###PDA-APIKEY### before injection
  • preserving the existing smart quote normalization in adapted source

No runtime behavior is changed here. The goal is to make future userscript compatibility changes easier to review with less guesswork.

@Manuito83
Copy link
Copy Markdown
Owner

Thanks!

@Manuito83 Manuito83 merged commit 015035f into Manuito83:develop May 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants