|
36 | 36 | },
|
37 | 37 | "homepage": "https://github.com/react-dnd/react-dnd",
|
38 | 38 | "scripts": {
|
39 |
| - "preinstall": "npx only-allow pnpm", |
| 39 | + "preinstall": "npx only-allow yarn", |
40 | 40 | "postinstall": "shx rm -rf node_modules/@types/react-native",
|
41 |
| - "clean": "pnpm run clean -r --parallel", |
42 |
| - "build": "pnpm run build -r --stream", |
| 41 | + "clean": "yarn workspaces foreach -pv run clean", |
| 42 | + "build": "yarn workspaces foreach -vt run build", |
43 | 43 | "unit_test": "jest",
|
44 |
| - "jest:watch": "jest --watch", |
45 |
| - "jest:cov": "jest --coverage", |
| 44 | + "unit_test:watch": "jest --watch", |
| 45 | + "unit_test:coverage": "jest --coverage", |
46 | 46 | "lint:code": "eslint . --ext .js,.ts,.jsx,.tsx",
|
47 | 47 | "lint:spelling": "mdspell 'packages/documentation/docsite/markdown/**/*.md' --en-us --report",
|
48 | 48 | "lint:tone": "alex .",
|
49 | 49 | "lint:formatting": "pretty-quick --check",
|
50 |
| - "lint": "run-s lint:*", |
| 50 | + "lint": "run-s 'lint:*'", |
51 | 51 | "changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s -r 0",
|
52 |
| - "release_canary": "lerna publish -c --preid next --yes", |
53 | 52 | "release": "run-s clean test go_no_go release:packages changelog",
|
54 |
| - "release:packages": "lerna publish", |
55 |
| - "test_modules": "CI=true pnpm run test -r --stream", |
| 53 | + "test_modules": "CI=true yarn workspaces foreach -pv run test", |
56 | 54 | "go_no_go": "node scripts/go_no_go.js",
|
57 |
| - "ci": "run-s clean lint build test_modules jest:cov", |
| 55 | + "ci": "run-s clean lint build test_modules unit_test:coverage", |
58 | 56 | "prettify:source": "prettier 'packages/*/*/src/**/*.ts*'",
|
59 | 57 | "prettify": "pretty-quick --fix",
|
60 | 58 | "precommit:lint": "lint-staged",
|
61 | 59 | "precommit:format": "pretty-quick --staged",
|
62 |
| - "start": "pnpm run -r --parallel --stream start", |
63 |
| - "start_docs": "pnpm run --stream --scope react-dnd-documentation start", |
64 |
| - "watch": "pnpm run -r --parallel --stream watch", |
| 60 | + "start": "yarn workspaces foreach -pvi run start", |
| 61 | + "watch": "yarn workspaces foreach -pvi run watch", |
65 | 62 | "git-is-clean": "git diff-index --quiet HEAD"
|
66 | 63 | },
|
67 | 64 | "husky": {
|
|
70 | 67 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
71 | 68 | }
|
72 | 69 | },
|
| 70 | + "workspaces": [ |
| 71 | + "packages/*/*" |
| 72 | + ], |
73 | 73 | "devDependencies": {
|
74 | 74 | "@babel/cli": "^7.11.6",
|
75 | 75 | "@babel/core": "^7.11.6",
|
76 | 76 | "@babel/plugin-proposal-class-properties": "^7.10.4",
|
77 | 77 | "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
78 | 78 | "@babel/preset-env": "^7.11.5",
|
79 |
| - "@commitlint/cli": "^9.1.2", |
80 |
| - "@commitlint/config-conventional": "^9.1.2", |
81 |
| - "@rollup/plugin-commonjs": "^15.0.0", |
| 79 | + "@commitlint/cli": "^11.0.0", |
| 80 | + "@commitlint/config-conventional": "^11.0.0", |
| 81 | + "@rollup/plugin-commonjs": "^15.1.0", |
82 | 82 | "@rollup/plugin-node-resolve": "^9.0.0",
|
83 | 83 | "@rollup/plugin-replace": "^2.3.3",
|
84 |
| - "@types/enzyme": "^3.10.5", |
85 |
| - "@types/jest": "^26.0.13", |
86 |
| - "@typescript-eslint/eslint-plugin": "^4.0.1", |
87 |
| - "@typescript-eslint/parser": "^4.0.1", |
| 84 | + "@types/jest": "^26.0.14", |
| 85 | + "@typescript-eslint/eslint-plugin": "^4.3.0", |
| 86 | + "@typescript-eslint/parser": "^4.3.0", |
88 | 87 | "alex": "^9.0.1",
|
89 | 88 | "conventional-changelog-cli": "^2.1.0",
|
90 | 89 | "enzyme": "^3.11.0",
|
91 |
| - "enzyme-adapter-react-16": "^1.15.4", |
92 |
| - "eslint": "^7.8.1", |
93 |
| - "eslint-config-prettier": "^6.11.0", |
| 90 | + "enzyme-adapter-react-16": "^1.15.5", |
| 91 | + "eslint": "^7.10.0", |
| 92 | + "eslint-config-prettier": "^6.12.0", |
94 | 93 | "eslint-config-react-app": "^5.2.1",
|
95 | 94 | "eslint-plugin-no-for-of-loops": "^1.0.1",
|
96 | 95 | "eslint-plugin-prettier": "^3.1.4",
|
97 |
| - "eslint-plugin-react": "^7.20.6", |
98 |
| - "eslint-plugin-react-hooks": "^4.1.0", |
99 |
| - "husky": "^4.2.5", |
| 96 | + "eslint-plugin-react": "^7.21.3", |
| 97 | + "eslint-plugin-react-hooks": "^4.1.2", |
| 98 | + "husky": "^4.3.0", |
100 | 99 | "inquirer": "^7.3.3",
|
101 | 100 | "jest": "^26.4.2",
|
102 | 101 | "jest-environment-jsdom": "^26.3.0",
|
103 |
| - "lerna": "^3.22.1", |
104 |
| - "lint-staged": "^10.3.0", |
| 102 | + "lint-staged": "^10.4.0", |
105 | 103 | "markdown-spellcheck": "^1.3.1",
|
106 | 104 | "npm-run-all": "^4.1.5",
|
107 |
| - "prettier": "^2.1.1", |
108 |
| - "pretty-quick": "^3.0.0", |
| 105 | + "prettier": "^2.1.2", |
| 106 | + "pretty-quick": "^3.0.2", |
| 107 | + "react": "^16.13.1", |
109 | 108 | "react-dnd": "^11.1.3",
|
110 |
| - "react-dnd-test-utils": "11.1.3", |
111 | 109 | "react-dnd-html5-backend": "11.1.3",
|
112 |
| - "react-dnd-touch-backend": "11.1.3", |
113 | 110 | "react-dnd-test-backend": "11.1.3",
|
| 111 | + "react-dnd-test-utils": "11.1.3", |
| 112 | + "react-dnd-touch-backend": "11.1.3", |
| 113 | + "react-dom": "^16.13.1", |
| 114 | + "react-test-renderer": "^16.13.1", |
114 | 115 | "replace-in-file": "^6.1.0",
|
115 | 116 | "rimraf": "^3.0.2",
|
116 |
| - "rollup": "^2.26.10", |
| 117 | + "rollup": "^2.28.2", |
117 | 118 | "rollup-plugin-terser": "^7.0.2",
|
118 | 119 | "shx": "^0.3.2",
|
119 |
| - "ts-jest": "^26.3.0", |
120 |
| - "typescript": "^4.0.2" |
| 120 | + "ts-jest": "^26.4.1", |
| 121 | + "typescript": "^4.0.3" |
121 | 122 | },
|
122 | 123 | "jest": {
|
123 | 124 | "clearMocks": true,
|
|
187 | 188 | }
|
188 | 189 | }
|
189 | 190 | ]
|
| 191 | + }, |
| 192 | + "resolutions": { |
| 193 | + "@types/react": "16.9.50", |
| 194 | + "@types/react-dom": "16.9.8" |
190 | 195 | }
|
191 | 196 | }
|
0 commit comments