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(
30
30
path . join ( componentPath , 'package.json' )
31
31
) ;
32
32
componentPackage . name = componentName ;
33
+ componentPackage . scripts ??= { } ;
34
+ componentPackage . scripts . start ??= `oc dev .. --components ${ componentName } ` ;
35
+ componentPackage . scripts . build ??= `oc package .` ;
33
36
componentPackage . devDependencies [ compiler ] = compilerPackage . version ;
34
37
await fs . writeJson ( componentPath + '/package.json' , componentPackage , {
35
38
spaces : 2
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default function registry(inputOptions: Input) {
73
73
eventsHandler . fire ( 'start' , { } ) ;
74
74
75
75
if ( options . verbosity ) {
76
- ok ( `Registry started at port ${ app . get ( 'port' ) } ` ) ;
76
+ ok ( `Registry started at port http://localhost: ${ app . get ( 'port' ) } ` ) ;
77
77
78
78
if ( _ . isObject ( componentsInfo ) ) {
79
79
const componentsNumber = Object . keys (
You can’t perform that action at this time.
0 commit comments