Skip to content

Commit

Permalink
Updates React Github Enterprise Login package
Browse files Browse the repository at this point in the history
Since the dependancy package path is moved to other
location the build was failing, hence updated the package
in order to fix the ui build

Signed-off-by: Puneet Punamiya <[email protected]>
  • Loading branch information
PuneetPunamiya authored and tekton-robot committed Jul 30, 2021
1 parent 01209de commit 49e68f8
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 11 deletions.
43 changes: 36 additions & 7 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"dependencies": {
"@patternfly/patternfly": "^4.80.3",
"@patternfly/react-core": "^4.47.0",
"@seiboston/react-ghe-login": "^1.0.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
Expand All @@ -25,7 +26,6 @@
"mst-persist": "^0.1.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-ghe-login": "^1.2.0",
"react-hotkeys-hook": "^3.3.1",
"react-markdown": "^5.0.3",
"react-router-dom": "^5.2.0",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/containers/Authentication/Authentication.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Card } from '@patternfly/react-core';
import { mount, shallow } from 'enzyme';
import React from 'react';
import renderer from 'react-test-renderer';
import GitHubLogin from 'react-ghe-login';
import GitHubLogin from '@seiboston/react-ghe-login';
import Authentication from '.';
import { FakeHub } from '../../api/testutil';
import { createProviderAndStore } from '../../store/root';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/containers/Authentication/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import GitHubLogin from 'react-ghe-login';
import GitHubLogin from '@seiboston/react-ghe-login';
import { useHistory } from 'react-router-dom';
import { observer } from 'mobx-react';
import { Card, CardBody, CardHeader, AlertVariant } from '@patternfly/react-core';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/react-app-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/// <reference types="react-scripts" />
declare module 'react-ghe-login';
declare module '@seiboston/react-ghe-login';

0 comments on commit 49e68f8

Please sign in to comment.