Closed jchip closed 6 years ago
I see that publishr is suppose to take care of this, but the latest version 3.0.0 published still have these dev dep in dependencies
. Maybe publishr is not working as intended? @ryan-roemer
@jchip -- Yeah, something's not right. I'll try republishing over the top of that and see if it's fixed.
Also https://github.com/FormidableLabs/component-playground/blob/master/.npmignore.publishr is wrong.
Best course of action:
es/
and lib/
and dist/
are publishedprop-types
back as real dependency (per official docs).@jchip --component-playground@3.1.1
( https://unpkg.com/component-playground@3.1.1/ ) looks good as far as I can tell. Kick the tires and let me know how it goes on your end. (Also, we added es
transpiled output for package.json:module
entry point which webpack should like in your modern builds...)
@ryan-roemer thanks. the latest 3.1.1 dependencies from npm is now:
"dependencies": {
"babel-standalone": "^6.26.0",
"codemirror": "^5.30.0",
"prop-types": "^15.6.0",
"react-codemirror2": "^2.0.2"
},
"peerDependencies": {
"react": "^15.6.0 || ^16.0.0",
"react-dom": "^15.6.0 || ^16.0.0"
},
Latest package.json has these dependencies:
babel-*
packages, undersrc
I only seebabel-standalone
used.webpack
used undersrc
Are these extra packages that are typically dev only need somewhere that I missed?