@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 +19 -1
- package/dist/cli/bin.js.map +1 -1
- package/dist/configs/svelte.d.ts +39 -0
- package/dist/configs/svelte.js +30 -0
- package/dist/configs/svelte.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/dist/recipes/sync-configs.d.ts +1 -1
- package/dist/recipes/sync-configs.js +19 -1
- package/dist/recipes/sync-configs.js.map +1 -1
- package/dist/{sync-configs-D_Dm-68_.d.ts → sync-configs-C56tK7Go.d.ts} +1 -1
- package/package.json +5 -1
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
|
|
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
|
}
|