Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
/ adder-template Public archive

Template repository for creating new adders for `svelte-add`

License

Notifications You must be signed in to change notification settings

svelte-add/adder-template

Repository files navigation

adder-template

This is a adder template for an external adder. External adder are not intended to be published within the @svelte-add organization. Thus this external adder will not appear on the svelte-adder website.

IMPORTANT

This template is only updated from time to time and might not use the latest versions. Therefore be aware that updating the versions inside of this template might break your code.

Converting to an first party composer

If you decide that this adder should become first party, there a few minor things to do.

  • Create a PR against the main repository adding those files.
  • Make sure to adapt the file layout to the layout presented inside the main repository. Mainly:
    • Move the folders from the src/ directory to the parent directory.
    • Delete the following files: jsconfig.json, pnpm-lock.yml, test.js
  • Update the package name inside package.json to match the following pattern: @svelte-add/{tool}