Skip to content

Commit

Permalink
Merge pull request #70 from sonatype-nexus-community/feat/bump-deps
Browse files Browse the repository at this point in the history
feat: upgrade dependencies
  • Loading branch information
madpah authored Jun 19, 2024
2 parents c92e1c5 + d98e2ee commit 195a32a
Show file tree
Hide file tree
Showing 8 changed files with 6,340 additions and 10,489 deletions.
4 changes: 2 additions & 2 deletions .circleci/circleci-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ The local build runs in a docker container.

* Run a local build with the following command:

circleci local execute -c .circleci/local-config.yml --job 'build'
circleci local execute -c .circleci/local-config.yml 'build'

Typically, both commands are run together:

circleci config process .circleci/config.yml > .circleci/local-config.yml && circleci local execute -c .circleci/local-config.yml --job 'build'
circleci config process .circleci/config.yml > .circleci/local-config.yml && circleci local execute -c .circleci/local-config.yml 'build'

With the above command, operations that cannot occur during a local build will show an error like this:

Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ orbs:
executors:
go:
docker:
- image: cimg/go:1.19-browsers
- image: cimg/go:1.21-browsers

commands:
cmd-nancy:
Expand Down
56 changes: 27 additions & 29 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,46 +1,44 @@
module github.com/sonatype-nexus-community/the-cla

go 1.17
go 1.21

toolchain go1.21.7

require (
github.com/DATA-DOG/go-sqlmock v1.5.0
github.com/bradleyfalzon/ghinstallation/v2 v2.0.4
github.com/golang-migrate/migrate/v4 v4.15.1
github.com/DATA-DOG/go-sqlmock v1.5.2
github.com/bradleyfalzon/ghinstallation/v2 v2.11.0
github.com/golang-migrate/migrate/v4 v4.17.1
github.com/google/go-github/v42 v42.0.0
github.com/google/uuid v1.3.0
github.com/joho/godotenv v1.4.0
github.com/labstack/echo/v4 v4.9.0
github.com/stretchr/testify v1.7.1
go.uber.org/zap v1.21.0
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
github.com/google/uuid v1.6.0
github.com/joho/godotenv v1.5.1
github.com/labstack/echo/v4 v4.12.0
github.com/stretchr/testify v1.9.0
go.uber.org/zap v1.27.0
golang.org/x/oauth2 v0.21.0
gopkg.in/go-playground/webhooks.v5 v5.17.0
)

require (
github.com/benbjohnson/clock v1.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang-jwt/jwt/v4 v4.4.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-github/v41 v41.0.0 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/google/go-github/v62 v62.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/labstack/gommon v0.3.1 // indirect
github.com/lib/pq v1.10.5 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/labstack/gommon v0.4.2 // indirect
github.com/lib/pq v1.10.9 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.1 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
golang.org/x/net v0.0.0-20220412020605-290c469a71a5 // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/text v0.3.8 // indirect
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/time v0.5.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
1,604 changes: 79 additions & 1,525 deletions go.sum

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"version": "0.0.79",
"private": true,
"dependencies": {
"@sonatype/react-shared-components": "^10.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"@sonatype/react-shared-components": "^13.1.6",
"buffer": "^6.0.3",
"minimist": "^1.2.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-fetching-library": "^1.7.6",
"web-vitals": "^2.1.2"
},
Expand All @@ -15,9 +17,9 @@
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^27.4.0",
"@types/node": "^12.0.0",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"react-scripts": "4.0.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"react-scripts": "5.0.0",
"sass": "^1.49.0",
"typescript": "^4.5.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Body/Body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const Body = () => {
}/>

<NxCheckbox
checkboxId="login-check"
checkboxId="sign-cla-check"
isChecked={agreeToTerms}
disabled={true}>
Sign the CLA version: {process.env.REACT_APP_CLA_VERSION}
Expand Down
15 changes: 9 additions & 6 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,23 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import ReactDOM from 'react-dom';

import { createRoot } from 'react-dom/client';
import { ClientContextProvider, createClient } from 'react-fetching-library';
import ClaAppContainer from './ClaAppContainer';
import reportWebVitals from './reportWebVitals';

global.Buffer = global.Buffer || require('buffer').Buffer

const client = createClient({});

ReactDOM.render(
const container = document.getElementById('ui')
const root = createRoot(container!);
root.render(
<ClientContextProvider client={client}>
<ClaAppContainer />
</ClientContextProvider>,
document.getElementById('ui')
);
</ClientContextProvider>
)

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
Expand Down
Loading

0 comments on commit 195a32a

Please sign in to comment.