Skip to content

Commit e2af739

Browse files
authored
Merge pull request #67 from fs-webdev/develop
1.6.7
2 parents 4a8a642 + f0eb746 commit e2af739

File tree

6 files changed

+10
-22
lines changed

6 files changed

+10
-22
lines changed

packages/react-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fs/react-scripts",
3-
"version": "1.6.6",
3+
"version": "1.6.7",
44
"upstreamVersion": "2.1.8",
55
"description": "Configuration and scripts for Create React App.",
66
"repository": "fs-webdev/create-react-app",

packages/react-scripts/scripts/utils/frontierInit.js

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const os = require('os');
55
const path = require('path');
66
const fsCli = require('fs-cli-goodies');
77
const inquirer = require('inquirer');
8-
const execSync = require('child_process').execSync;
98
const osUtils = require('./osUtils');
109

1110
module.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

115111
function 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

158154
function configureHF(appPath, ownPath) {

packages/react-scripts/template-hf/.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/react-scripts/template/src/components/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const App = () => (
1313
<AppHeader>
1414
<Logo />
1515
<p>
16-
Edit <code>src/components/App.jsx</code> and save to reload.
16+
Edit <code>src/components/App.js</code> and save to reload.
1717
</p>
1818
<a
1919
css={css`

packages/react-scripts/template/src/components/logo.svg

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)