Skip to content

Commit dcbda3c

Browse files
committed
fix: remove cyclic dependency
1 parent b5b1a37 commit dcbda3c

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"homepage": "https://github.com/react-dnd/react-dnd",
3535
"scripts": {
3636
"clean": "lerna run clean",
37-
"build": "lerna run build --scope=dnd-core --scope=react-dnd --stream",
37+
"build": "lerna run build --stream",
3838
"unit_test": "jest",
3939
"jest:watch": "jest --watch",
4040
"jest:cov": "jest --coverage",

packages/react-dnd-test-utils/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"devDependencies": {
1414
"npm-run-all": "^4.1.5",
1515
"react-dnd-test-backend": "^7.2.0",
16-
"react-dnd": "^7.3.2",
17-
"react": ">= 16.8.4",
16+
"react": "link:../react-dnd/node_modules/react",
1817
"rimraf": "^2.6.3",
1918
"typescript": "^3.3.3333"
2019
},

packages/react-dnd/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"npm-run-all": "^4.1.5",
3838
"react": "^16.8.4",
3939
"react-dom": "^16.8.4",
40-
"react-dnd-test-utils": "link:../react-dnd-test-utils",
4140
"rimraf": "^2.6.3",
4241
"ts-loader": "^5.3.3",
4342
"typescript": "^3.3.3333",

packages/react-dnd/src/__tests__/ConnectorFunctions.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react'
22
import * as TestUtils from 'react-dom/test-utils'
3-
import { wrapInTestContext } from 'react-dnd-test-utils'
3+
import { wrapInTestContext } from '../../../react-dnd-test-utils/src/wrapInTestContext'
44
import DropTarget from '../DropTarget'
55

66
describe('Connectors', () => {

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12256,7 +12256,7 @@ react-typography@^0.16.18:
1225612256
resolved "https://registry.yarnpkg.com/react-typography/-/react-typography-0.16.18.tgz#89341b63d615f1dfcf5e471797df5acce5bde1f3"
1225712257
integrity sha512-BFkw59H2mkYRLLtHOT2UZve/9/RticAvL7o7rheOo/+tlwQyfF61wF2XzGRcA3IWASg+DbXnNViyywHBFlNj6A==
1225812258

12259-
"react@>= 16.8.4", react@^16.8.4:
12259+
react@^16.8.4:
1226012260
version "16.8.4"
1226112261
resolved "https://registry.yarnpkg.com/react/-/react-16.8.4.tgz#fdf7bd9ae53f03a9c4cd1a371432c206be1c4768"
1226212262
integrity sha512-0GQ6gFXfUH7aZcjGVymlPOASTuSjlQL4ZtVC5YKH+3JL6bBLCVO21DknzmaPlI90LN253ojj02nsapy+j7wIjg==

0 commit comments

Comments
 (0)