Closed FDiskas closed 6 years ago
Can you update or remake this PR or rebase, this time based on new master branch please ?
Merging #94 into master will decrease coverage by
1.1%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #94 +/- ##
==========================================
- Coverage 42.07% 40.97% -1.11%
==========================================
Files 6 6
Lines 202 205 +3
==========================================
- Hits 85 84 -1
- Misses 117 121 +4
Impacted Files | Coverage Δ | |
---|---|---|
src/defaultProps.js | 53.84% <0%> (-4.49%) |
:arrow_down: |
src/utils.js | 36% <0%> (-3.14%) |
:arrow_down: |
src/SuperSelectField.js | 38.84% <0%> (-0.33%) |
:arrow_down: |
src/FloatingLabel.js | 22.22% <0%> (ø) |
:arrow_up: |
src/SelectionsPresenter.js | 100% <0%> (ø) |
:arrow_up: |
src/types/index.js | 33.33% <0%> (+2.56%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 4a72665...04b90b7. Read the comment docs.
Useless codecov comment. Anybody knows how to turn off commenting on pull requests?
One question: Have you tried installing and using both the es5 and module versions of material-ui-superselectifled, on a dummy page featuring react/react-dom/material-ui ?
I'm asking this following your modification of package.json properties "main" and "module".
I tried to npm run build
and that index.js was missing :poodle:
Logic is simple.
material-ui-superselectfield
import * as Select from 'material-ui-superselectfield'
material-ui-superselectfield
If you read NWB documentation as suggested few days ago, you would have learn that : lib/ contains the es5 version, transpiled es/ contains the module-compatible version, by extension untranspiled since module import is last EcmaScript feature implemented into nowadays browsers so this means :
There is a third build, it were the original form of my project before this transfer to NWB: the UMD. In this particular build case, yea all component files are concatenated into one. We didnot include this one, es5 and module versions should be enough for most projects.
You should check the results after pre released https://unpkg.com/material-ui-superselectfield/ and check the "main" section in package.json
What your link is pointing at, is a "UMD" build. As explained above, we decided to ditch this in favor of es5 and es6+ module versions...
Yes link is pointing to the latest npm module version. Try publishing the new version of current refactored environment. You will see some changes. And the "main" section of package.json will be wrong. And yes - got the point what you talking about. But keep in mind that by using UMD is a good way to test for users your component for example in jsbin.com
@Sharlaan any news about this?
DO something. Can't wait and fix merge conflicts to often
Added support for prop-types
: https://github.com/KnisterPeter/react-to-typescript-definitions/issues/439#issuecomment-346266699
cool :jeans:
Conflicting files
package-lock.json
so why I'm not using npm any more. Use yarn instead :)
Note definitions should not be committed. They must be generated on each build.
I'm right?
Closes #91