-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start Composing Revelio #268
Conversation
8424bcb
to
23d9cc5
Compare
"@types/ol": "^5.3.6", | ||
"@types/react": "^16.9.5", | ||
"@types/react-loadable": "^5.5.3", | ||
"@typescript-eslint/parser": "^2.3.3", | ||
"@typescript-eslint/parser": "^2.22.0", |
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.
needed to bump this version to support new typescript version
|
||
type Props = React.HTMLProps<HTMLDivElement> & { | ||
type Props = BoxProps & { |
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.
This errored with the new typescript version
4d00b2a
to
a806ec9
Compare
"main": "src/main/webapp/main.js", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@connexta/ace": "https://github.com/connexta/ace.git#81e7b8b22b3f7e43b356ba5dfbc065ffdb694892", | ||
"@apollo/react-hooks": "^3.1.3", |
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.
Moved all dependencies to dev and peer dependencies so downstream project has to have the dependency. Maybe this is a bad idea?
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.
With these in dependencies
the yarn.lock when importing downstream looks like this:
[email protected]:
+ version "1.0.47"
+ resolved "https://registry.yarnpkg.com/a-test-of-revelio/-/a-test-of-revelio-1.0.47.tgz#de3902a70813342fd9fe0f1434bc243bfd3f2362"
+ integrity sha512-MGhFVegnDCzTMp15AFL/vFSL/FiZnIqqDzrcF5pYsVeHqo/3E0az4Hl+JxZD8MyOWxQrkcSzg5al+cMOAgya0Q==
+ dependencies:
+ "@apollo/react-hooks" "^3.1.3"
+ "@apollo/react-ssr" "^3.1.3"
+ "@date-io/moment" "1.3.13"
+ "@material-ui/core" "^4.6.1"
+ "@material-ui/icons" "^4.2.1"
+ "@material-ui/lab" "^4.0.0-alpha.32"
+ "@material-ui/pickers" "^3.2.5"
+ a-test-of-revelio "^1.0.40"
+ abort-controller "^3.0.0"
+ apollo-cache-inmemory "^1.6.3"
+ apollo-client "^2.6.4"
+ apollo-link "^1.2.13"
+ apollo-link-batch-http "^1.2.13"
+ apollo-link-error "^1.1.12"
+ apollo-link-http "^1.5.16"
+ apollo-link-schema "^1.2.4"
+ apollo-server-express "^2.9.7"
+ compression "^1.7.4"
+ express "4.17.1"
+ geospatialdraw "0.5.5"
+ golden-layout "^1.5.9"
+ graphql "^14.5.8"
+ graphql-tag "^2.10.1"
+ graphql-tools "^4.0.5"
+ immutable "^4.0.0-rc.12"
+ lodash.throttle "^4.1.1"
+ moment "^2.24.0"
+ moment-timezone "^0.5.16"
+ ol "^6.0.1"
+ on-finished "^2.3.0"
+ polished "^3.4.1"
+ qs "^6.9.1"
+ react "^16.9.0"
+ react-dom "^16.9.0"
+ react-loadable "^5.5.0"
+ react-redux "^7.1.0"
+ react-router "^5.1.2"
+ react-router-dom "^5.1.2"
+ redux "^4.0.4"
+ redux-thunk "^2.3.0"
+ styled-components "^4.3.2"
+ universal-cookie "^4.0.2"
+ uuid "^3.3.3"
+ winston "^3.2.1"
+a-test-of-revelio@^1.0.40:
+ version "1.0.48"
+ resolved "https://registry.yarnpkg.com/a-test-of-revelio/-/a-test-of-revelio-1.0.48.tgz#178d3fd46b130288749329dd8fcca594da3793e6"
+ integrity sha512-08Tme3qmHN2XxERoL0IImio26ms0NwVWm5F97HNVsmSMorpQPz/cAf0uq/4ns6DyCN7zqfQOVVSNz8nOm0/Aow==
With them moved to peer/devDependencies
:
+a-test-of-revelio@^1.0.49:
+ version "1.0.49"
+ resolved "https://registry.yarnpkg.com/a-test-of-revelio/-/a-test-of-revelio-1.0.49.tgz#054eb58e7758ba33c3ed734e041b2417d3d99360"
+ integrity sha512-3i5B+bIhTwClSyCs9NZs9bkgexIjlWhPnzr84hz4oyMFmBabaCXng5G7IzIOpbZ/Tvo+tRDdR8n6oMJo2Nhc1w==
@@ -40,7 +40,7 @@ type QueryScheduleProps = { | |||
} | |||
|
|||
const DatePicker = (props: KeyboardDatePickerProps) => { | |||
const [inputValue, setInputValue] = useState() | |||
const [inputValue, setInputValue] = useState<string | undefined>() |
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.
This errored with new typescript version
👍 I'll try this out on a downstream project and let you know if I run into any issues. |
4875984
to
7109137
Compare
No description provided.