Commit 920113d 1 parent 0282253 commit 920113d Copy full SHA for 920113d
File tree 4 files changed +3892
-1681
lines changed
4 files changed +3892
-1681
lines changed Original file line number Diff line number Diff line change 14
14
steps :
15
15
- uses : actions/checkout@v3
16
16
- uses : actions/setup-node@v3
17
+ with :
18
+ node-version : 18.17.1
17
19
- uses : pnpm/action-setup@v2
18
20
19
21
- run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change @@ -3,16 +3,20 @@ import unocss from 'unocss/astro'
3
3
import solidJs from '@astrojs/solid-js'
4
4
5
5
import node from '@astrojs/node'
6
- import vercel from '@astrojs/vercel/edge '
7
- import netlify from '@astrojs/netlify/edge- functions'
6
+ import vercel from '@astrojs/vercel/serverless '
7
+ import netlify from '@astrojs/netlify/functions'
8
8
9
9
import { META } from './src/config'
10
10
11
11
const envAdapter = ( ) => {
12
12
if ( process . env . OUTPUT === 'vercel' ) {
13
- return vercel ( )
13
+ return vercel ( {
14
+ edgeMiddleware : true ,
15
+ } )
14
16
} else if ( process . env . OUTPUT === 'netlify' ) {
15
- return netlify ( )
17
+ return netlify ( {
18
+ edgeMiddleware : true ,
19
+ } )
16
20
} else {
17
21
return node ( {
18
22
mode : 'standalone' ,
Original file line number Diff line number Diff line change 24
24
"@astrolib/seo" : " ^0.6.0" ,
25
25
"@nanostores/solid" : " ^0.4.2" ,
26
26
"@unocss/reset" : " ^0.55.3" ,
27
- "astro" : " ^2.10.14 " ,
27
+ "astro" : " ^3.0.2 " ,
28
28
"dayjs" : " ^1.11.9" ,
29
29
"nanostores" : " ^0.9.3" ,
30
30
"solid-js" : " ^1.7.11"
31
31
},
32
32
"devDependencies" : {
33
- "@astrojs/netlify" : " ^2.6 .0" ,
34
- "@astrojs/node" : " ^5.3.6 " ,
35
- "@astrojs/solid-js" : " ^2.2.1 " ,
36
- "@astrojs/vercel" : " ^3.8.2 " ,
37
- "@iconify/json" : " ^2.2.107 " ,
33
+ "@astrojs/netlify" : " ^3.0 .0" ,
34
+ "@astrojs/node" : " ^6.0.0 " ,
35
+ "@astrojs/solid-js" : " ^3.0.0 " ,
36
+ "@astrojs/vercel" : " ^4.0.0 " ,
37
+ "@iconify/json" : " ^2.2.108 " ,
38
38
"@ntnyq/prettier-config" : " ^1.12.4" ,
39
39
"@types/fs-extra" : " ^11.0.1" ,
40
40
"@types/node" : " 20.5.7" ,
43
43
"nano-staged" : " ^0.8.0" ,
44
44
"npm-run-all" : " ^4.1.5" ,
45
45
"pnpm" : " ^8.7.0" ,
46
- "prettier" : " ^3.0.2 " ,
46
+ "prettier" : " ^3.0.3 " ,
47
47
"typescript" : " ^5.2.2" ,
48
48
"unocss" : " ^0.55.3"
49
49
},
You can’t perform that action at this time.
0 commit comments