File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/@apphosting/experimental/adapter-astro/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
4747 return {
4848 name : "@apphosting/astro-adapter" ,
4949 hooks : {
50- "astro:config:setup" : async ( { updateConfig, config } ) => {
50+ "astro:config:setup" : ( { updateConfig, config } ) => {
5151 updateConfig ( {
5252 image : {
5353 endpoint : config . image . endpoint ?? "astro/assets/endpoint/node" ,
@@ -70,7 +70,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
7070 } ;
7171 setAdapter ( getAdapter ( _options ) ) ;
7272 } ,
73- "astro:build:done" : async ( config ) => {
73+ "astro:build:done" : async ( ) => {
7474 await fs . mkdir ( "./.apphosting" ) ;
7575 const directoryName = dirname ( fileURLToPath ( import . meta. url ) ) ;
7676 const packageJsonPath = `${ directoryName } /../package.json` ;
@@ -103,7 +103,7 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
103103
104104function getPackageVersion ( packageName : string ) : Promise < string > {
105105 return new Promise ( ( resolve , reject ) => {
106- exec ( `npm view ${ packageName } version` , ( error , stdout , stderr ) => {
106+ exec ( `npm view ${ packageName } version` , ( error , stdout ) => {
107107 if ( error ) {
108108 reject ( error ) ;
109109 return ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const wombatDressingRoomTokens = new Map([
1515 [ "@apphosting/adapter-nextjs" , process . env . ADAPTER_NEXTJS_NPM_TOKEN ] ,
1616 [ "@apphosting/adapter-angular" , process . env . ADAPTER_ANGULAR_NPM_TOKEN ] ,
1717 [ "@apphosting/common" , process . env . ADAPTER_COMMON_NPM_TOKEN ] ,
18- [ "@apphosting/astro-adapter" , process . env . ADAPTER_ASTRO_NPM_TOKEN ]
18+ [ "@apphosting/astro-adapter" , process . env . ADAPTER_ASTRO_NPM_TOKEN ] ,
1919] ) ;
2020
2121wombatDressingRoomTokens . forEach ( ( token , pkg ) => {
You can’t perform that action at this time.
0 commit comments