File tree Expand file tree Collapse file tree 12 files changed +10
-10
lines changed Expand file tree Collapse file tree 12 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Read the [SvelteKit documentation](https://kit.svelte.dev/docs) for more details
12
12
13
13
## Community adders
14
14
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 ) .
16
16
17
17
[ Additional adders] ( https://www.sveltesociety.dev/packages?category=svelte-add ) are maintained by the community.
18
18
File renamed without changes.
Original file line number Diff line number Diff line change 1
- # adder-template-js
1
+ # community- adder-template
2
2
3
3
> [ !IMPORTANT]
4
4
> 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
11
11
Use [ ` degit ` ] ( https://github.com/Rich-Harris/degit ) to clone the template:
12
12
13
13
``` shell
14
- npx degit sveltejs/cli/adder-template adder-name
14
+ npx degit sveltejs/cli/community- adder-template adder-name
15
15
```
16
16
17
17
## Using the adder
@@ -48,7 +48,7 @@ To execute the newly published package with `sv`, run:
48
48
npx sv add --community npm:adder-package-name
49
49
```
50
50
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 / ) .
52
52
53
53
## Things to be aware of
54
54
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " adder-template" ,
2
+ "name" : " community- adder-template" ,
3
3
"version" : " 0.0.0" ,
4
4
"license" : " MIT" ,
5
5
"type" : " module" ,
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import { imports } from '@svelte-cli/core/js';
4
4
5
5
export const adder = defineAdderConfig ( {
6
6
metadata : {
7
- id : 'adder-template' ,
8
- name : 'Adder Template' ,
7
+ id : 'community- adder-template' ,
8
+ name : 'Community Adder Template' ,
9
9
description : 'An adder template demo' ,
10
10
environments : { kit : true , svelte : true }
11
11
} ,
@@ -18,7 +18,7 @@ export const adder = defineAdderConfig({
18
18
contentType : 'text' ,
19
19
content : ( { content, options } ) => {
20
20
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!' ;
22
22
}
23
23
return content ;
24
24
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments