File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @communitiesuk/svelte-component-library" ,
3
3
"version" : " 0.1.0" ,
4
- "repository" :" https://github.com/communitiesuk/oflog_svelte_component_library" ,
4
+ "repository" : {
5
+ "type" : " git" ,
6
+ "url" : " https://github.com/communitiesuk/oflog_svelte_component_library.git"
7
+ },
5
8
"publishConfig" : {
6
- "registry" : " https://npm.pkg.github.com" },
9
+ "registry" : " https://npm.pkg.github.com"
10
+ },
7
11
"author" : " Ibrahim-Haizel" ,
8
12
"description" : " A collection of reusable Svelte components" ,
9
13
"scripts" : {
39
43
}
40
44
},
41
45
"peerDependencies" : {
42
- "svelte" : " ^5.0.0"
46
+ "svelte" : " ^5.0.0" ,
47
+ "@sveltejs/kit" : " ^2.0.0"
43
48
},
44
49
"devDependencies" : {
45
50
"@sveltejs/adapter-auto" : " ^3.3.0" ,
Original file line number Diff line number Diff line change 1
- <script lang =" ts" >
2
- import { clsx } from " clsx" ;
3
-
4
- type ContentItem = {
1
+ <script context =" module" lang =" ts" >
2
+ export type ContentItem = {
5
3
href? : string ;
6
4
text: string ;
7
5
active? : boolean ;
8
6
items? : ContentItem [];
9
7
};
8
+ </script >
9
+
10
+ <script lang =" ts" >
11
+ import { clsx } from " clsx" ;
10
12
11
13
type Props = {
12
14
contents: ContentItem [];
You can’t perform that action at this time.
0 commit comments