File tree Expand file tree Collapse file tree 6 files changed +1998
-1628
lines changed Expand file tree Collapse file tree 6 files changed +1998
-1628
lines changed Original file line number Diff line number Diff line change 16
16
- uses : actions/checkout@v3
17
17
- uses : actions/setup-node@v3
18
18
with :
19
- node-version : 16
19
+ node-version : 18
20
20
- name : install
21
21
run : npm ci || npm install
22
22
- name : XO
28
28
- uses : actions/checkout@v3
29
29
- uses : actions/setup-node@v3
30
30
with :
31
- node-version : 16
31
+ node-version : 18
32
32
- name : install
33
33
run : npm ci || npm install
34
34
- name : build
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ import {defineConfig} from 'vite';
2
2
import { svelte } from '@sveltejs/vite-plugin-svelte' ;
3
3
4
4
export default defineConfig ( {
5
- base : '' ,
5
+ root : 'demo ' ,
6
6
plugins : [ svelte ( ) ] ,
7
7
} ) ;
Original file line number Diff line number Diff line change @@ -728,7 +728,7 @@ const getCleanGistPathname = (url: URL | HTMLAnchorElement | Location = location
728
728
return gist === 'gist' ? parts . join ( '/' ) : undefined ;
729
729
} ;
730
730
731
- export interface RepositoryInfo {
731
+ export type RepositoryInfo = {
732
732
owner : string ;
733
733
name : string ;
734
734
@@ -740,7 +740,7 @@ export interface RepositoryInfo {
740
740
@example '/user/repo/' -> ''
741
741
@example '/settings/token/' -> undefined */
742
742
path : string ;
743
- }
743
+ } ;
744
744
745
745
const getRepo = ( url ?: URL | HTMLAnchorElement | Location | string ) : RepositoryInfo | undefined => {
746
746
if ( ! url ) {
You can’t perform that action at this time.
0 commit comments