Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
build: updated dependencies such as @testing-library
Browse files Browse the repository at this point in the history
  • Loading branch information
weyert authored and fabien0102 committed Jan 13, 2020
1 parent cadcc6c commit 2998855
Show file tree
Hide file tree
Showing 9 changed files with 4,750 additions and 3,855 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,5 @@ examples/*.tsx

# Files managed by operational-scripts
tslint.json
tsconfig.json
.prettierrc
65 changes: 33 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,54 +54,55 @@
"example:advanced": "node lib/bin/restful-react.js import --config examples/restful-react.config.js"
},
"devDependencies": {
"@operational/scripts": "1.4.0-1c795b9",
"@operational/scripts": "2.0.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@testing-library/react-hooks": "^3.2.1",
"@types/chalk": "^2.2.0",
"@types/commander": "^2.12.2",
"@types/inquirer": "0.0.44",
"@types/lodash": "^4.14.123",
"@types/nock": "^9.3.1",
"@types/node": "^11.11.3",
"@types/qs": "^6.5.2",
"@types/inquirer": "6.5.0",
"@types/lodash": "^4.14.149",
"@types/nock": "^11.1.0",
"@types/node": "^13.1.6",
"@types/qs": "^6.9.0",
"@types/react": "^16.8.8",
"@types/react-dom": "^16.8.3",
"@types/request": "^2.48.1",
"@types/react-dom": "^16.8.5",
"@types/request": "^2.48.4",
"@types/yamljs": "^0.2.30",
"auto-changelog": "^1.11.0",
"danger": "^4.0.1",
"@wessberg/rollup-plugin-ts": "^1.2.6",
"auto-changelog": "^1.16.2",
"danger": "^9.2.10",
"doctoc": "^1.4.0",
"husky": "^0.14.3",
"husky": "^4.0.7",
"isomorphic-fetch": "^2.2.1",
"jest": "^24.8.0",
"jest-dom": "^3.1.3",
"lint-staged": "^7.2.0",
"nock": "^10.0.6",
"jest": "^24.9.0",
"lint-staged": "^9.5.0",
"nock": "^11.7.2",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.4",
"prettier": "^1.19.1",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"react-hooks-testing-library": "^0.5.0",
"react-test-renderer": "^16.8.6",
"react-testing-library": "^7.0.0",
"rollup": "^0.67.3",
"rollup-plugin-typescript2": "^0.20.1",
"ts-jest": "^23.1.4",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.13.0",
"react-test-renderer": "^16.8.5",
"rollup": "^1.29.0",
"rollup-plugin-typescript2": "^0.25.3",
"ts-jest": "^24.3.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-blank-line": "^0.0.9",
"typescript": "^3.3.4000"
},
"dependencies": {
"case": "^1.6.1",
"chalk": "^2.4.2",
"commander": "^2.19.0",
"ibm-openapi-validator": "^0.3.1",
"inquirer": "^6.2.2",
"lodash": "^4.17.11",
"case": "^1.6.2",
"chalk": "^3.0.0",
"commander": "^4.1.0",
"ibm-openapi-validator": "^0.16.0",
"inquirer": "^7.0.3",
"lodash": "^4.17.15",
"openapi3-ts": "^1.3.0",
"qs": "^6.6.0",
"qs": "^6.9.1",
"react-fast-compare": "^2.0.4",
"request": "^2.88.0",
"swagger2openapi": "^3.2.14",
"swagger2openapi": "^5.3.2",
"url": "^0.11.0",
"yamljs": "^0.3.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/Get.test.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import "@testing-library/jest-dom/extend-expect";
import { cleanup, render, wait } from "@testing-library/react";
import "isomorphic-fetch";
import "jest-dom/extend-expect";
import times from "lodash/times";
import nock from "nock";
import React from "react";
import { cleanup, render, wait } from "react-testing-library";

import { Get, RestfulProvider } from "./index";
import Mutate from "./Mutate";
Expand Down
4 changes: 2 additions & 2 deletions src/Mutate.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import "@testing-library/jest-dom/extend-expect";
import { cleanup, render, wait } from "@testing-library/react";
import "isomorphic-fetch";
import "jest-dom/extend-expect";
import nock from "nock";
import React from "react";
import { cleanup, render, wait } from "react-testing-library";

import Get from "./Get";
import { Mutate, RestfulProvider } from "./index";
Expand Down
4 changes: 2 additions & 2 deletions src/Poll.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import "@testing-library/jest-dom/extend-expect";
import { cleanup, render, wait } from "@testing-library/react";
import "isomorphic-fetch";
import "jest-dom/extend-expect";
import nock from "nock";
import React from "react";
import { cleanup, render, wait } from "react-testing-library";

import { Poll, RestfulProvider } from "./index";

Expand Down
4 changes: 2 additions & 2 deletions src/useGet.test.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import "@testing-library/jest-dom/extend-expect";
import { cleanup, fireEvent, render, wait, waitForElement } from "@testing-library/react";
import "isomorphic-fetch";
import "jest-dom/extend-expect";
import times from "lodash/times";
import nock from "nock";
import React, { useState } from "react";
import { cleanup, fireEvent, render, wait, waitForElement } from "react-testing-library";

import { RestfulProvider, useGet } from "./index";
import { Omit, UseGetProps } from "./useGet";
Expand Down
2 changes: 1 addition & 1 deletion src/useMutate.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { renderHook } from "@testing-library/react-hooks";
import "isomorphic-fetch";
import nock from "nock";
import React from "react";
import { renderHook } from "react-hooks-testing-library";
import { RestfulProvider, useMutate } from ".";
import { Omit } from "./useGet";
import { UseMutateProps } from "./useMutate";
Expand Down
25 changes: 0 additions & 25 deletions tsconfig.json

This file was deleted.

Loading

0 comments on commit 2998855

Please sign in to comment.