Skip to content
  • Sponsor facebook/create-react-app

  • Notifications You must be signed in to change notification settings
  • Fork 27k
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint-plugin-jsx-a11y version #1364

Closed
wants to merge 63 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
4f0b6bc
Bump eslint-plugin-jsx-a11y version
bondz Jan 9, 2017
ad4d16b
Update readme to latest jsx-a11y version
bondz Jan 9, 2017
691ae81
Use yarnpkg alias to run Yarn (#1365)
fson Jan 9, 2017
6bd0bba
Update changelog for 0.8.5
fson Jan 9, 2017
2364587
Publish
fson Jan 9, 2017
cea1eda
Add missing import in react-dev-utils README.md (#1369)
pedronauck Jan 11, 2017
9c043e2
Change console.log for errors and warnings (#1375)
jimmyhmiller Jan 11, 2017
9d2eac5
webpack-dev-server patch for 'still-ok' success status (#1377)
Jan 12, 2017
820a648
Document Flow support (#1384)
dschep Jan 12, 2017
1903ad3
Use a more sophisticated template for end-to-end testing. (#1187)
EnoahNetzach Jan 23, 2017
092167b
replace two space syntax with <br> tag (#1393)
carlsagan21 Jan 23, 2017
441e4f8
Add causes of dev server not detecting changes (#1422)
jetpackpony Jan 23, 2017
85c9ae6
Added links to tutorials for integrating cra with an api backend (#1437)
alexdriaguine Jan 24, 2017
deb2c29
Added babel-runtime dependency to deduplicate dependencies when using…
jkimbo Jan 24, 2017
c650ebf
Bump Jest version (#1432)
gaearon Jan 24, 2017
9684ced
Readme: Removes experimental from Jest snapshot (#1453)
frehner Jan 26, 2017
df7ae03
eject: Additionally remove `react-scripts` from dependencies (#1458)
creynders Jan 27, 2017
8ad0121
E2e jsdom fix (#1470)
EnoahNetzach Jan 30, 2017
4494462
- import expect and expect flow (#1463)
tuchk4 Jan 30, 2017
bfbb9bb
Reflect websocket proxy support on README (#1013) (#1483)
frontsideair Feb 4, 2017
cd2191f
Edit User Guide: Add ESLint config for VS Code users (#1482)
Feb 4, 2017
515a0df
e2e: Reduce complexity of e2e and improve Jest coverage (#1484)
Timer Feb 4, 2017
8f48efd
UX: Explain why build is failing (#1352)
jayphelps Jan 5, 2017
65cc877
Update comments for webpack loaders
ro-savage Feb 8, 2017
a25909e
Change "OS X" references to "macOS" (#1511)
RodrigoHahn Feb 9, 2017
b960c2c
corrected minor typo (#1514)
Feb 9, 2017
f5ae7c2
clarifying the use of custom environment variables (#1513)
calweb Feb 9, 2017
7125a2c
Add missing '\n' to the end of `package.json` file (#1510)
pd4d10 Feb 9, 2017
ceb1967
Make all react app vars accessible in index.html (#1440)
jihchi Feb 10, 2017
2801087
Add `PUBLIC_URL` env variable for advanced use (#937) (#1504)
Timer Feb 10, 2017
d314486
Support relative asset paths for special case (#1489)
tibdex Feb 10, 2017
8885d35
readme: Add Advanced Configuration (#1515)
Timer Feb 10, 2017
e31fa78
Make build exit with error code when interrupted (#1496)
brandones Feb 11, 2017
b5c1f1b
Bump lerna
gaearon Feb 11, 2017
7e1e65f
Add test cases for PUBLIC_URL and relative path (#1519)
Timer Feb 11, 2017
dbd468f
Add an annoying nit
gaearon Feb 11, 2017
1d2c2c6
Upgrade babel dependencies
Timer Feb 11, 2017
1589755
Don't run CI on Node 0.10 (#1521)
gaearon Feb 11, 2017
5183208
fix: add yarn gitignores (#1507)
AndersDJohnson Feb 11, 2017
a07da08
Upgrade dependencies (#1522)
Timer Feb 11, 2017
d0dc63d
Add CHANGELOG
Timer Feb 11, 2017
fac71a3
Publish
Timer Feb 11, 2017
937b441
Make index.html interpolation instructions less clashing with env syntax
gaearon Feb 11, 2017
d8f5726
Add additional info about env variables
gaearon Feb 11, 2017
1913573
Massage 0.9.0 changelog
gaearon Feb 11, 2017
e544c67
Add release cutters to changelog
gaearon Feb 11, 2017
7becafc
Tweak indentation
gaearon Feb 11, 2017
407ba64
Markdown whitespace fixes
gaearon Feb 11, 2017
05041f7
Some changelog formatting
gaearon Feb 11, 2017
3bb37fa
Upgrade webpack (#1291)
Timer Feb 11, 2017
22f268d
Suggest jest-enzyme for simplifying test matchers (#994)
blainekasten Feb 11, 2017
8bcfa1a
Add SASS support documentation #1007 (#1008)
tsironis Feb 12, 2017
d935f2a
Link to new Sass doc
gaearon Feb 12, 2017
131b705
Clarify Less/Sass support
gaearon Feb 12, 2017
cd43a7b
Fix `test -e` with wildcard arguments. (#1503)
marcusrbrown Feb 12, 2017
a11560c
Correctly Command in README.md (#1275)
lifez Feb 12, 2017
564f8f8
reactjs/redux#2004 List features beyond ES6 supported by create-react…
jonathanconway Feb 12, 2017
d753ee6
Add a link to supported features
gaearon Feb 12, 2017
549bf2c
[documentation] how to disable autoprefix feature (#1320)
Feb 12, 2017
423e71e
Added link to Azure deployment tutorial (#1338)
tpetrina Feb 12, 2017
9edb03c
Add useful link to react-scripts (#1495)
pd4d10 Feb 12, 2017
2e5b8eb
Update language support wording to ES2017
Timer Feb 12, 2017
086731a
Tweak syntax doc (#1539)
gaearon Feb 12, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix test -e with wildcard arguments. (#1503)
The `test` command fails with multiple arguments when given a unary operator such as '-e'. Add a function that can test one or more files by looping over all files.
marcusrbrown authored and bondz committed Feb 12, 2017

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit cd43a7b3fa7f0979961dc5ed1963d5a470bad15c
13 changes: 10 additions & 3 deletions tasks/e2e-installs.sh
Original file line number Diff line number Diff line change
@@ -39,6 +39,13 @@ function handle_exit {
exit
}

# Check for the existence of one or more files.
function exists {
for f in $*; do
test -e "$f"
done
}

function create_react_app {
node "$temp_cli_path"/node_modules/create-react-app/index.js $*
}
@@ -86,7 +93,7 @@ create_react_app --scripts-version=0.4.0 test-app-version-number
cd test-app-version-number

# Check corresponding scripts version is installed.
test -e node_modules/react-scripts
exists node_modules/react-scripts
grep '"version": "0.4.0"' node_modules/react-scripts/package.json

# ******************************************************************************
@@ -98,7 +105,7 @@ create_react_app --scripts-version=https://registry.npmjs.org/react-scripts/-/re
cd test-app-tarball-url

# Check corresponding scripts version is installed.
test -e node_modules/react-scripts
exists node_modules/react-scripts
grep '"version": "0.4.0"' node_modules/react-scripts/package.json

# ******************************************************************************
@@ -110,7 +117,7 @@ create_react_app --scripts-version=react-scripts-fork test-app-fork
cd test-app-fork

# Check corresponding scripts version is installed.
test -e node_modules/react-scripts-fork
exists node_modules/react-scripts-fork

# ******************************************************************************
# Test nested folder path as the project name
15 changes: 11 additions & 4 deletions tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
@@ -43,6 +43,13 @@ function create_react_app {
node "$temp_cli_path"/node_modules/create-react-app/index.js $*
}

# Check for the existence of one or more files.
function exists {
for f in $*; do
test -e "$f"
done
}

# Exit the script with a helpful error message when any error is encountered
trap 'set +x; handle_error $LINENO $BASH_COMMAND' ERR

@@ -120,8 +127,8 @@ REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
npm run build

# Check for expected output
test -e build/*.html
test -e build/static/js/main.*.js
exists build/*.html
exists build/static/js/main.*.js

# Unit tests
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
@@ -174,8 +181,8 @@ REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
npm run build

# Check for expected output
test -e build/*.html
test -e build/static/js/main.*.js
exists build/*.html
exists build/static/js/main.*.js

# Unit tests
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
43 changes: 25 additions & 18 deletions tasks/e2e-simple.sh
Original file line number Diff line number Diff line change
@@ -45,6 +45,13 @@ function create_react_app {
node "$temp_cli_path"/node_modules/create-react-app/index.js $*
}

# Check for the existence of one or more files.
function exists {
for f in $*; do
test -e "$f"
done
}

# Exit the script with a helpful error message when any error is encountered
trap 'set +x; handle_error $LINENO $BASH_COMMAND' ERR

@@ -86,16 +93,16 @@ fi
# Test local build command
npm run build
# Check for expected output
test -e build/*.html
test -e build/static/js/*.js
test -e build/static/css/*.css
test -e build/static/media/*.svg
test -e build/favicon.ico
exists build/*.html
exists build/static/js/*.js
exists build/static/css/*.css
exists build/static/media/*.svg
exists build/favicon.ico

# Run tests with CI flag
CI=true npm test
# Uncomment when snapshot testing is enabled by default:
# test -e template/src/__snapshots__/App.test.js.snap
# exists template/src/__snapshots__/App.test.js.snap

# Test local start command
npm start -- --smoke-test
@@ -197,16 +204,16 @@ cd test-app
# Test the build
npm run build
# Check for expected output
test -e build/*.html
test -e build/static/js/*.js
test -e build/static/css/*.css
test -e build/static/media/*.svg
test -e build/favicon.ico
exists build/*.html
exists build/static/js/*.js
exists build/static/css/*.css
exists build/static/media/*.svg
exists build/favicon.ico

# Run tests with CI flag
CI=true npm test
# Uncomment when snapshot testing is enabled by default:
# test -e src/__snapshots__/App.test.js.snap
# exists src/__snapshots__/App.test.js.snap

# Test the server
npm start -- --smoke-test
@@ -230,19 +237,19 @@ npm link $root_path/packages/react-scripts
# Test the build
npm run build
# Check for expected output
test -e build/*.html
test -e build/static/js/*.js
test -e build/static/css/*.css
test -e build/static/media/*.svg
test -e build/favicon.ico
exists build/*.html
exists build/static/js/*.js
exists build/static/css/*.css
exists build/static/media/*.svg
exists build/favicon.ico

# Run tests, overring the watch option to disable it.
# `CI=true npm test` won't work here because `npm test` becomes just `jest`.
# We should either teach Jest to respect CI env variable, or make
# `scripts/test.js` survive ejection (right now it doesn't).
npm test -- --watch=no
# Uncomment when snapshot testing is enabled by default:
# test -e src/__snapshots__/App.test.js.snap
# exists src/__snapshots__/App.test.js.snap

# Test the server
npm start -- --smoke-test