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

Update create-react-app and dependencies #125

Merged
merged 3 commits into from
Mar 25, 2022
Merged

Update create-react-app and dependencies #125

merged 3 commits into from
Mar 25, 2022

Conversation

tjennison-google
Copy link
Collaborator

Transitively this required a lot of updates. Notably:

  • It required newer versions of NPM, Node.js, and the Typescript
    compiler. Either one of those or the way CRA configures them caused
    more errors to be flagged in tests which had to be fixed.
  • randomstring relies on randombytes which needs a newer version to work
    with the new Node.js environment. I had to override it in package.json
    for now but presumably it will be updated eventually.

Transitively this required a lot of updates. Notably:

* It required newer versions of NPM, Node.js, and the Typescript
  compiler.  Either one of those or the way CRA configures them caused
  more errors to be flagged in tests which had to be fixed.
* randomstring relies on randombytes which needs a newer version to work
  with the new Node.js environment. I had to override it in package.json
  for now but presumably it will be updated eventually.
* Adds ellipses for TreeGrid titles, wrapping for TreeGrid body
  cells, and support for TreeGrids wider than their parent.
* Refactors the list of entity filters and attributes into a shared
  function so it can be used for both the preview and the attribute
  selection.
Transitively this required a lot of updates. Notably:

* It required newer versions of NPM, Node.js, and the Typescript
  compiler.  Either one of those or the way CRA configures them caused
  more errors to be flagged in tests which had to be fixed.
* One fallout from this was that AttributeValues from
  SearchEntityInstances needed to be made nullable to correctly allow
  null fields to be returned (e.g. standard_concept). Unfortunately,
  this doesn't doesn't work correctly for map type objects due to
  OAI/OpenAPI-Specification#1368. Upgrading to
  OpenAPI 3.1 will provide a new, working syntax for this but will also
  require many other changes to the schema. In the meantime, "| null" is
  manually added to the generated code.
* randomstring relies on randombytes which needs a newer version to work
  with the new Node.js environment. I had to override it in package.json
  for now but presumably it will be updated eventually.
@tjennison-google tjennison-google merged commit fe2cd85 into main Mar 25, 2022
@tjennison-google tjennison-google deleted the tj-update branch March 25, 2022 16:30
tjennison-google added a commit that referenced this pull request Mar 25, 2022
This reverts commit fe2cd85.

I rebased incorrectly while cleaning up the last nits and accidentally
merged a follow up commit into this one. Revert the combination change
and will recreate pull requests.
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.

None yet

2 participants