Skip to content

Commit 6e1d153

Browse files
chore: rename community adder template (#57)
Co-authored-by: AdrianGonz97 <[email protected]>
1 parent 87f2bea commit 6e1d153

File tree

12 files changed

+10
-10
lines changed

12 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Read the [SvelteKit documentation](https://kit.svelte.dev/docs) for more details
1212

1313
## Community adders
1414

15-
Get started on [creating your own community adder](/adder-template/README.md).
15+
Get started on [creating your own community adder](/community-adder-template/README.md).
1616

1717
[Additional adders](https://www.sveltesociety.dev/packages?category=svelte-add) are maintained by the community.
1818

File renamed without changes.

adder-template/README.md renamed to community-adder-template/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# adder-template-js
1+
# community-adder-template
22

33
> [!IMPORTANT]
44
> This template's dependencies may not be up-to-date; be sure to update them to the latest!
@@ -11,7 +11,7 @@ The adder template for community adders for [`sv`](https://github.com/sveltejs/c
1111
Use [`degit`](https://github.com/Rich-Harris/degit) to clone the template:
1212

1313
```shell
14-
npx degit sveltejs/cli/adder-template adder-name
14+
npx degit sveltejs/cli/community-adder-template adder-name
1515
```
1616

1717
## Using the adder
@@ -48,7 +48,7 @@ To execute the newly published package with `sv`, run:
4848
npx sv add --community npm:adder-package-name
4949
```
5050

51-
After that, feel free to open a pull request to [`sv`](https://github.com/sveltejs/cli) and add your adder to the [community list](/community/).
51+
After that, feel free to open a pull request to [`sv`](https://github.com/sveltejs/cli) and add your adder to the [community list](/community-adders/).
5252

5353
## Things to be aware of
5454

File renamed without changes.

adder-template/package.json renamed to community-adder-template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "adder-template",
2+
"name": "community-adder-template",
33
"version": "0.0.0",
44
"license": "MIT",
55
"type": "module",

adder-template/src/config/adder.js renamed to community-adder-template/src/config/adder.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { imports } from '@svelte-cli/core/js';
44

55
export const adder = defineAdderConfig({
66
metadata: {
7-
id: 'adder-template',
8-
name: 'Adder Template',
7+
id: 'community-adder-template',
8+
name: 'Community Adder Template',
99
description: 'An adder template demo',
1010
environments: { kit: true, svelte: true }
1111
},
@@ -18,7 +18,7 @@ export const adder = defineAdderConfig({
1818
contentType: 'text',
1919
content: ({ content, options }) => {
2020
if (options.demo) {
21-
return 'This is a text file made by the Adder Template demo!';
21+
return 'This is a text file made by the Community Adder Template demo!';
2222
}
2323
return content;
2424
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)