feat: paraglide adder

#67

Pull request

Merged
M
manuel3108
Oct 6, 2024, 10:01 AM

Notes:

  • shoutout to @LorisSigrist and @samuelstroschein for the initial pr against svelte-add. I tried patching in their changes, which obviously only worked to some degree. But at least git recognizes that they authored those commits now
  • depends on #45 as i need a few methods that i have moved / improved there, especially for the hooks.ts file

new features:

  • string and number questions can now have placeholders, and can provide a validate function (implemented by @LorisSigrist)
  • preInstall & postInstall hooks. This was necessary because this adder needs to generated multiple files past on a string option input

todos:

  • check rejected files
  • test if it works
  • make it more robust
  • add tests they are not yet implemented, we can easily do this later.

Info

Merged at Oct 13, 2024, 3:27 PM
Merged by benmccann
Assignees None
Reviewers None
Labels None
Milestone None