File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
scopes/harmony/host-initializer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export async function createConsumer(
7575 const content = { ...existingPackageJson . packageJsonObject } ;
7676 content . type = 'module' ;
7777 content . scripts = content . scripts || { } ;
78- content . scripts . postinstall = 'bit link && bit compile' ;
78+ content . scripts . postinstall = 'bit link && bit compile && bit ws-config write ' ;
7979
8080 const packageJson = PackageJsonFile . create ( consumer . projectPath , undefined , content ) ;
8181 consumer . setPackageJson ( packageJson ) ;
@@ -84,7 +84,7 @@ export async function createConsumer(
8484 const jsonContent = {
8585 type : 'module' ,
8686 scripts : {
87- postinstall : 'bit link && bit compile' ,
87+ postinstall : 'bit link && bit compile && bit ws-config write ' ,
8888 } ,
8989 } ;
9090 const packageJson = PackageJsonFile . create ( consumer . projectPath , undefined , jsonContent ) ;
You can’t perform that action at this time.
0 commit comments