Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
Merge commit 'd5cbbf4783ea3b84a9794e114b8ca6d91bca5cc1' into feat/docker
Browse files Browse the repository at this point in the history
  • Loading branch information
amclin committed Oct 9, 2019
2 parents ac85732 + d5cbbf4 commit c939b0b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# [2.2.0](https://github.com/amclin/react-project-boilerplate/compare/v2.1.0...v2.2.0) (2019-10-09)


### Bug Fixes

* unit tests were preventing apps from building ([f8b9ba0](https://github.com/amclin/react-project-boilerplate/commit/f8b9ba04f90b4cda2d8a80c5681dc53f15511754)), closes [#12](https://github.com/amclin/react-project-boilerplate/issues/12)


### Features

* **next:** add `npm export` command for generating static sites ([0a94ba1](https://github.com/amclin/react-project-boilerplate/commit/0a94ba11f9494bfc5f0f07a60ea977f9d5f3f728)), prerequisite for [#8](https://github.com/amclin/react-project-boilerplate/issues/8) [#10](https://github.com/amclin/react-project-boilerplate/issues/10)

# [2.1.0](https://github.com/amclin/react-project-boilerplate/compare/v2.0.3...v2.1.0) (2019-10-07)


Expand Down
14 changes: 14 additions & 0 deletions index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ describe('Integration', () => {
error('Failed to complete generation process.')
expect(true).toEqual(false) // Force test failure
}
// Generated app should be buildable
try {
await execSync('(cd tmp ; npm run build)', { stdio: 'inherit' })
} catch (e) {
error('Generated app failed to build with `npm run build`')
expect(true).toEqual(false) // Force test failure
}
// Generated app should be exportable
try {
await execSync('(cd tmp ; npm run export)', { stdio: 'inherit' })
} catch (e) {
error('Generated app failed to export with `npm run export`')
expect(true).toEqual(false) // Force test failure
}
// Cleanup the temp which verifies the tmp folder got populated
rimraf.sync('./tmp', {}, () => {
error('No tmp directory to remove.')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "amclin-create-react-app",
"version": "2.1.0",
"version": "2.2.0",
"description": "Boilerplate repo for React apps with CICD pipelines, best practices, and code governance",
"repository": {
"type": "git",
Expand Down

0 comments on commit c939b0b

Please sign in to comment.