@yunarch/config-web 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -128,6 +128,6 @@ No updates required.
|
|
|
128
128
|
\u26A0\uFE0F Local and remote schemas does not match!
|
|
129
129
|
`)),r&&process.exit(1),a||await E({message:"Do you want to use the remote schema? (y/n)?"})?await o({name:"Replacing local schema with input schema",command:M(i,m)}):(console.log(n("yellow",`
|
|
130
130
|
\u26A0\uFE0F Sync remote schemas skipped.
|
|
131
|
-
`)),s||process.exit(0))):await o({name:"Creating local schema",command:M(i,m)}),await Promise.all([x(i,R),g(i,p)]),O&&await P(p),u&&await o({name:"Running post script",command:()=>{k("
|
|
131
|
+
`)),s||process.exit(0))):await o({name:"Creating local schema",command:M(i,m)}),await Promise.all([x(i,R),g(i,p)]),O&&await P(p),u&&await o({name:"Running post script",command:()=>{k("npm",["run",u],{shell:!0})}}),console.log(n("green",`
|
|
132
132
|
\u2705 openapi-sync process completed!
|
|
133
133
|
`))}catch(p){console.error(p),process.exit(1)}}).parseAsync(process.argv);
|