mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-28 16:07:49 +01:00
update most of packages
This commit is contained in:
@@ -15,4 +15,5 @@ module.exports = {
|
||||
"react-spring": "<rootDir>/node_modules/react-spring/web.cjs",
|
||||
},
|
||||
setupFilesAfterEnv: ["<rootDir>/src/setupTests.ts"],
|
||||
testEnvironment: "jsdom",
|
||||
};
|
||||
|
||||
3345
frontend/package-lock.json
generated
3345
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,46 +9,46 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/autoprefixer": "^9.7.2",
|
||||
"@types/enzyme": "^3.10.8",
|
||||
"@types/enzyme-adapter-react-16": "^1.0.6",
|
||||
"@types/enzyme": "^3.10.9",
|
||||
"@types/highlight.js": "^9.12.4",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/parcel-bundler": "^1.12.3",
|
||||
"@types/react": "^16",
|
||||
"@types/react-dom": "^16",
|
||||
"@types/react-redux": "^7.1.16",
|
||||
"@types/react-router": "^5.1.12",
|
||||
"@types/react-router-dom": "^5.1.7",
|
||||
"@types/sass": "^1.16.0"
|
||||
"@types/jest": "^26.0.24",
|
||||
"@types/parcel-bundler": "^1.12.4",
|
||||
"@types/react": "^17",
|
||||
"@types/react-dom": "^17",
|
||||
"@types/react-redux": "^7.1.18",
|
||||
"@types/react-router": "^5.1.16",
|
||||
"@types/react-router-dom": "^5.1.8",
|
||||
"@types/sass": "^1.16.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blueprintjs/core": "^3.41.0",
|
||||
"@blueprintjs/icons": "^3.25.1",
|
||||
"autoprefixer": "^9",
|
||||
"@blueprintjs/core": "^3.47.0",
|
||||
"@blueprintjs/icons": "^3.27.0",
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "^0",
|
||||
"autoprefixer": "^10",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.15.6",
|
||||
"eslint-plugin-html": "^6.1.2",
|
||||
"eslint-plugin-jest": "^24.2.1",
|
||||
"eslint-plugin-jest": "^24.4.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-react": "^7.22.0",
|
||||
"eslint-plugin-react": "^7.24.0",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"flush-promises": "^1.0.2",
|
||||
"highlight.js": "^10.6.0",
|
||||
"jest": "^26.6.3",
|
||||
"jest": "^27.0.6",
|
||||
"parcel-bundler": "^1.12.4",
|
||||
"postcss-modules": "^4.0.0",
|
||||
"react": "^16",
|
||||
"react-dom": "^16",
|
||||
"postcss-modules": "^4.2.2",
|
||||
"react": "^17",
|
||||
"react-dom": "^17",
|
||||
"react-markdown": "^5.0.3",
|
||||
"react-redux": "^7.2.2",
|
||||
"react-redux": "^7.2.4",
|
||||
"react-router": "^5.2.0",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-spring": "^8.0.27",
|
||||
"redux": "^4.0.5",
|
||||
"redux": "^4.1.0",
|
||||
"redux-devtools-extension": "^2.13.9",
|
||||
"redux-persist": "^6.0.0",
|
||||
"redux-saga": "^1.1.3",
|
||||
"sass": "^1.32.8",
|
||||
"ts-jest": "^26.5.3"
|
||||
"sass": "^1.37.0",
|
||||
"ts-jest": "^27.0.4"
|
||||
},
|
||||
"postcss": {
|
||||
"plugins": {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { mount } from "enzyme";
|
||||
import * as React from "react";
|
||||
|
||||
import * as flushPromises from "flush-promises";
|
||||
import ReactMarkdown = require("react-markdown");
|
||||
import { Redirect } from "react-router";
|
||||
import { SharedViewComponent } from "~Documents/SharedView";
|
||||
import { LoadingStub } from "~LoadingStub";
|
||||
import { fetchSharedDoc } from "~redux/api/docs";
|
||||
import { IDocumentEntry } from "~redux/docs/reducer";
|
||||
import { flushPromises } from "~tests/utils";
|
||||
import { IDocumentJSON } from "../../../../src/entity/Document";
|
||||
|
||||
const testDoc: IDocumentJSON = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as Enzyme from "enzyme";
|
||||
import * as Adapter from "enzyme-adapter-react-16";
|
||||
import * as Adapter from "@wojtekmaj/enzyme-adapter-react-17";
|
||||
|
||||
Enzyme.configure({ adapter: new Adapter() });
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
export function flushPromises() {
|
||||
return new Promise(setImmediate);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user