@@ -5,7 +5,6 @@ const os = require('os');
55const path = require ( 'path' ) ;
66const fsCli = require ( 'fs-cli-goodies' ) ;
77const inquirer = require ( 'inquirer' ) ;
8- const execSync = require ( 'child_process' ) . execSync ;
98const osUtils = require ( './osUtils' ) ;
109
1110module . exports = {
@@ -70,22 +69,22 @@ function installFrontierDependencies(appPath, answers, ownPath) {
7069
7170 depsToInstall . push (
7271 ...[
73- 'http-proxy-middleware@0.19.0' ,
74- 'fs-webdev/exo' ,
75- '@reach/router' ,
7672 '@fs/axios' ,
77- '@emotion/core' ,
7873 '@fs/user' ,
74+ 'fs-webdev/exo' ,
75+ 'http-proxy-middleware@0.19.1' ,
76+ '@reach/router@1.2.1' ,
77+ '@emotion/core@10.0.9' ,
7978 ]
8079 ) ;
8180 devDepsToInstall . push (
8281 ...[
83- 'eslint@5.12.0' ,
8482 '@fs/eslint-config-frontier-react' ,
83+ '@fs/testing-library' ,
84+ 'eslint@5.12.0' ,
8585 'react-styleguidist@9.0.4' ,
8686 'webpack@4.28.3' ,
87- '@fs/testing-library' ,
88- 'jest-dom' ,
87+ 'jest-dom@3.1.3' ,
8988 ]
9089 ) ;
9190
@@ -107,9 +106,6 @@ function installFrontierDependencies(appPath, answers, ownPath) {
107106 } ) ;
108107 installModulesSync ( depsToInstall ) ;
109108 installModulesSync ( devDepsToInstall , true ) ;
110- // we delete the package-lock.json after all is said and done. the package-lock already exists from cra, so even adding the
111- // --no-package-lock flag to our own calls when we install deps wouldn't fix the issue
112- execSync ( 'rm -f package-lock.json' , { stdio : 'ignore' } ) ;
113109}
114110
115111function handlePolymerCodeAndComments ( appPath , usePolymer , useHF ) {
@@ -152,7 +148,7 @@ function configureEF(appPath, ownPath) {
152148 const templatePath = path . join ( ownPath , 'template-ef' ) ;
153149 fs . copySync ( templatePath , appPath , { overwrite : true } ) ;
154150
155- depsToInstall . push ( ...[ 'express' ] ) ;
151+ depsToInstall . push ( ...[ 'express@4.16.4 ' ] ) ;
156152}
157153
158154function configureHF ( appPath , ownPath ) {
0 commit comments