V3 mods#1
Conversation
There was a problem hiding this comment.
I think this can be uncommented now. Was useful when react-scripts was in our codebase but now we're CRA, these checks are legit.
There was a problem hiding this comment.
What does languages represent? Used for? Is it ok to have duplicate values in the list (e.g. both en-gb and en-us will create en)
There was a problem hiding this comment.
As far as I know it's only used to build up a regex that determines which react-intl language locale packs get loaded. The duplication won't matter in that case.
There was a problem hiding this comment.
this looks unintended? did you mean to write 1.0.11-1 ?
you can use x.y.z followed by - + somestring to create prerelease versions)
e.g 1.0.11-1, 1.0.11-2
see http://semver.org/#spec-item-9 for proper words on it
There was a problem hiding this comment.
I was just trying to create a new version number so I could publish to npm. Ideally I would just leave the version number alone but I couldn't figure out how to overwrite an npm publish.
There was a problem hiding this comment.
ah ok, you can't overwrite a published version. You can only delete them. prerelease versioning is your friend here.
|
The only other changes that I would like making are changing the output filenames so they are full-jazz-hands wired SHA256 hashes instead of the tired 8-char hashes, I'm happy do do that and drop it on here as another commit. |
|
We should also try to rebase these commits down a little considering we're going to have to keep bringing work from upstream (facebooks repo), it should make future merging / understanding-wtf-is-going-on easier. |
|
@sandfox RE SHA256 hashes in filenames, is this an issue for the favicon package over at https://github.com/ConnectedHomes/hivehome-webapp-favicons-webpack-plugin ? Might be related to https://github.com/ConnectedHomes/hivehome-webapp-favicons-webpack-plugin/issues/5 |
|
@sandfox Rebasing the commits down sounds good. Some of these are "oops" kinda commits. |
Modify prod build Move package over to @connected-home Downgrade jest and babel-jest to support V3 Undo commented template section. Should work now that were referencing react-scripts as part of CRA rather than a folder in our project Delete yarn.lock file and use npm for this proj instead Remove fs package that was added by us for some reason Add HivehomeWebappFaviconsWebpackPlugin with proper config Remove path package from devDependencies
Adjust a few bits so that Jest works properly with V3 Add property to jest config for matching jest files in this lower version of jest
…the end Bump favicon plugin ref to 2.0.0 Change favicon config to use ios rather than iphone key Bump versions
Modifications to support V3