File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ export default async function scaffold(
3030 path . join ( componentPath , 'package.json' )
3131 ) ;
3232 componentPackage . name = componentName ;
33+ componentPackage . scripts ??= { } ;
34+ componentPackage . scripts . start ??= `oc dev .. --components ${ componentName } ` ;
35+ componentPackage . scripts . build ??= `oc package .` ;
3336 componentPackage . devDependencies [ compiler ] = compilerPackage . version ;
3437 await fs . writeJson ( componentPath + '/package.json' , componentPackage , {
3538 spaces : 2
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default function registry(inputOptions: Input) {
7373 eventsHandler . fire ( 'start' , { } ) ;
7474
7575 if ( options . verbosity ) {
76- ok ( `Registry started at port ${ app . get ( 'port' ) } ` ) ;
76+ ok ( `Registry started at port http://localhost: ${ app . get ( 'port' ) } ` ) ;
7777
7878 if ( _ . isObject ( componentsInfo ) ) {
7979 const componentsNumber = Object . keys (
You can’t perform that action at this time.
0 commit comments