Skip to content
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

Merged
merged 5 commits into from
Mar 10, 2020
Merged

Start Composing Revelio #268

merged 5 commits into from
Mar 10, 2020

Conversation

willwill96
Copy link
Contributor

@willwill96 willwill96 commented Mar 2, 2020

No description provided.

yarn.lock Show resolved Hide resolved
"@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",
Copy link
Contributor Author

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

@willwill96 willwill96 changed the title [WIP] Start Composing Revelio Start Composing Revelio Mar 2, 2020

type Props = React.HTMLProps<HTMLDivElement> & {
type Props = BoxProps & {
Copy link
Contributor Author

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

src/main/webapp/routes.js Outdated Show resolved Hide resolved
@willwill96 willwill96 force-pushed the composing-revelio branch 2 times, most recently from 4d00b2a to a806ec9 Compare March 3, 2020 14:45
"main": "src/main/webapp/main.js",
"license": "MIT",
"devDependencies": {
"@connexta/ace": "https://github.com/connexta/ace.git#81e7b8b22b3f7e43b356ba5dfbc065ffdb694892",
"@apollo/react-hooks": "^3.1.3",
Copy link
Contributor Author

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?

Copy link
Contributor Author

@willwill96 willwill96 Mar 3, 2020

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:

+a-test-of-revelio@1.0.47:
+  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>()
Copy link
Contributor Author

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

@andrewkfiedler
Copy link
Member

👍 I'll try this out on a downstream project and let you know if I run into any issues.

@willwill96 willwill96 merged commit 59c9728 into master Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants