Skip to content

Commit

Permalink
add missing package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed Jul 26, 2021
1 parent 5108fac commit f176c3b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions packages/detox/package.json
Expand Up @@ -23,18 +23,20 @@
"main": "index.js",
"types": "index.d.ts",
"dependencies": {
"@nrwl/devkit": "*",
"@nrwl/jest": "*",
"@nrwl/linter": "*",
"@nrwl/react": "*",
"chalk": "^4.1.0"
},
"peerDependencies": {
"@nrwl/workspace": "*",
"detox": "18.18.0"
},
"schematics": "./generators.json",
"builders": "./executors.json",
"ng-update": {
"requirements": {},
"migrations": "./migrations.json"
}
},
"schematics": "./generators.json"
}
2 changes: 1 addition & 1 deletion packages/detox/src/generators/init/init.ts
Expand Up @@ -6,14 +6,14 @@ import {
Tree,
} from '@nrwl/devkit';
import { jestVersion } from '@nrwl/jest/src/utils/versions';
import { runTasksInSerial } from '@nrwl/workspace/src/utilities/run-tasks-in-serial';
import { Schema } from './schema';
import {
detoxVersion,
nxVersion,
testingLibraryJestDom,
typesDetoxVersion,
} from '../../utils/versions';
import { runTasksInSerial } from '@nrwl/workspace/src/utilities/run-tasks-in-serial';

export async function detoxInitGenerator(host: Tree, schema: Schema) {
const tasks = [moveDependency(host), updateDependencies(host)];
Expand Down
7 changes: 5 additions & 2 deletions packages/react-native/package.json
Expand Up @@ -24,12 +24,15 @@
"types": "index.d.ts",
"dependencies": {
"@nrwl/detox": "*",
"@nrwl/devkit": "*",
"@nrwl/jest": "*",
"@nrwl/linter": "*",
"@nrwl/react": "*",
"chalk": "^4.1.0",
"ignore": "^5.1.8",
"node-fetch": "2.6.1"
"ignore": "^5.0.4",
"metro-resolver": "^0.66.2",
"node-fetch": "^2.6.1",
"tsconfig-paths": "^3.9.0"
},
"peerDependencies": {
"@nrwl/workspace": "*",
Expand Down

0 comments on commit f176c3b

Please sign in to comment.