-
Notifications
You must be signed in to change notification settings - Fork 53
chore: move customProptypes
to a separate package
#921
Conversation
Codecov Report
@@ Coverage Diff @@
## master #921 +/- ##
==========================================
- Coverage 81.94% 81.78% -0.17%
==========================================
Files 702 702
Lines 8580 8580
Branches 1245 1172 -73
==========================================
- Hits 7031 7017 -14
- Misses 1534 1548 +14
Partials 15 15
Continue to review full report at Codecov.
|
Changed dependencies in
Generated by 🚫 dangerJS |
.github/CONTRIBUTING.md
Outdated
#### Update `package.json` | ||
|
||
After a package will be created we need to add necessary changes to a newly created `package.json`. | ||
These changes are required to get working package publishing and internal tooling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: These changes are required to setup internal tooling and package publishing
@@ -4,7 +4,7 @@ import * as prettier from 'prettier' | |||
import * as through from 'through2' | |||
import * as Vinyl from 'vinyl' | |||
|
|||
import * as prettierConfig from '../../../.prettierrc.json' | |||
const prettierConfig = require('../../../.prettierrc.json') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you, please, suggest why this change was necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we have a specific tsconfig.json
for react-proptypes
that doesn't include /build
directory, so it will fail with:
../../build/gulp/plugins/gulp-example-source.ts(7,33): error TS2732: Cannot find modu
le '../../../.prettierrc.json'. Consider using '--resolveJsonModule' to import module
with '.json' extension
Did I miss something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, not sure that we should make this split now, but the implementation of these changes raises no concerns to me
Marking as blocked as we decided to include these changes to a release after the next. |
…tardust-ui/react into chore/proptypes # Conflicts: # packages/react/package.json
…tardust-ui/react into chore/proptypes # Conflicts: # packages/react/package.json
…tardust-ui/react into chore/proptypes
Addresses #433.
customPropTypes
to a separate package