File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -175,14 +175,20 @@ class DevServer {
175
175
const toInstall = Object . keys ( dependencies ) . filter ( dependency => ! packageJson . dependencies [ dependency ] ) ;
176
176
if ( toInstall . length ) {
177
177
this . cubejsServer . event ( 'Dev Server Dashboard Npm Install' ) ;
178
+ await executeCommand (
179
+ 'npm' ,
180
+ [ 'install' ] ,
181
+ { cwd : path . resolve ( dashboardAppPath ) }
182
+ ) ;
183
+ const cubeDependencies = toInstall . filter ( p => p . match ( / ^ @ c u b e j s / ) ) ;
178
184
await executeCommand (
179
185
'npm' ,
180
186
[ 'install' , '--save' ] . concat ( toInstall ) ,
181
187
{ cwd : path . resolve ( dashboardAppPath ) }
182
188
) ;
183
189
await executeCommand (
184
190
'npm' ,
185
- [ 'install' ] ,
191
+ [ 'update' ] . concat ( cubeDependencies ) ,
186
192
{ cwd : path . resolve ( dashboardAppPath ) }
187
193
) ;
188
194
this . cubejsServer . event ( 'Dev Server Dashboard Npm Install Success' ) ;
Original file line number Diff line number Diff line change 158
158
ramda "^0.24.1"
159
159
syntax-error "^1.3.0"
160
160
161
- " @cubejs-backend/server-core@^0.10.41 " :
162
- version "0.10.41"
163
- resolved "https://registry.yarnpkg.com/@cubejs-backend/server-core/-/server-core-0.10.41.tgz#c358b60eead7bb3555adf4b9d6e81c5c7ff520db"
161
+ " @cubejs-backend/server-core@^0.10.43 " :
162
+ version "0.10.43"
163
+ resolved "https://registry.yarnpkg.com/@cubejs-backend/server-core/-/server-core-0.10.43.tgz#4fa6b7da653bcdab1250627deb8d4b47c6e7c385"
164
+ integrity sha512-TRtdP8AORvW2w9dD9a6jIcALTeytsLgEUM+l6H/1hvU0WuOrez8NPfrGEQp4BPz5yUfBEaIZG3VhN1OLENkNKA==
164
165
dependencies :
165
166
" @cubejs-backend/api-gateway" " ^0.10.34"
166
167
" @cubejs-backend/query-orchestrator" " ^0.10.35"
You can’t perform that action at this time.
0 commit comments