@reddoorla/maintenance 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/bin.js CHANGED
@@ -881,7 +881,25 @@ var playwrightA11y = {
881
881
  contents: `export { default } from "@reddoorla/maintenance/configs/playwright-a11y";
882
882
  `
883
883
  };
884
- var ALL_TEMPLATES = [eslint, prettier, lighthouse, playwrightA11y];
884
+ var svelte = {
885
+ config: "svelte",
886
+ path: "svelte.config.js",
887
+ contents: `import { createSvelteConfig } from "@reddoorla/maintenance/configs/svelte";
888
+ import adapter from "@sveltejs/adapter-auto";
889
+
890
+ /** @type {import('@sveltejs/kit').Config} */
891
+ export default createSvelteConfig({
892
+ kit: { adapter: adapter() },
893
+ });
894
+ `
895
+ };
896
+ var ALL_TEMPLATES = [
897
+ eslint,
898
+ prettier,
899
+ lighthouse,
900
+ playwrightA11y,
901
+ svelte
902
+ ];
885
903
  function templatesByName(which) {
886
904
  return ALL_TEMPLATES.filter((t) => which.includes(t.config));
887
905
  }