chore: add directory prop to repository prop of package.json
I think npm uses this to link to the correct path of the package in a monorepo.
MODIFY
package.json
package.json
"start": "appium",
"sync-pkgs": "npm run sync-pkgs:appium-readme && npm run sync-pkgs:common-fields && npm run sync-pkgs:keywords",
"sync-pkgs:appium-readme": "sync-monorepo-packages --force --no-package-json --packages=packages/appium README.md",
- "sync-pkgs:common-fields": "sync-monorepo-packages --fields=author,license,repository,bugs,homepage,engines",
+ "sync-pkgs:common-fields": "sync-monorepo-packages --fields=author,license,bugs,homepage,engines",
"sync-pkgs:keywords": "sync-monorepo-packages --field=keywords --packages=\"packages/*\" --packages=\"!packages/eslint-config-appium\"",
"pretest": "npm run build && npm run lint",
"test": "lerna run test",

MODIFY
packages/appium/package.json
packages/appium/package.json
},
"repository": {
"type": "git",
- "url": "https://github.com/appium/appium.git"
+ "url": "https://github.com/appium/appium.git",
+ "directory": "packages/appium"
},
"license": "Apache-2.0",
"author": "https://github.com/appium",

MODIFY
packages/base-driver/package.json
packages/base-driver/package.json
},
"repository": {
"type": "git",
- "url": "https://github.com/appium/appium.git"
+ "url": "https://github.com/appium/appium.git",
+ "directory": "packages/base-driver"
},
"license": "Apache-2.0",
"author": "https://github.com/appium",

MODIFY
packages/doctor/package.json
packages/doctor/package.json
},
"repository": {
"type": "git",
- "url": "https://github.com/appium/appium.git"
+ "url": "https://github.com/appium/appium.git",
+ "directory": "packages/doctor"
},
"license": "Apache-2.0",
"author": "https://github.com/appium",

MODIFY
packages/eslint-config-appium/package.json
packages/eslint-config-appium/package.json
],
"repository": {
"type": "git",
- "url": "https://github.com/appium/appium.git"
+ "url": "https://github.com/appium/appium.git",
+ "directory": "packages/eslint-config-appium"
},
"bugs": {
"url": "https://github.com/appium/appium/issues"

MODIFY
packages/fake-driver/package.json
packages/fake-driver/package.json
},
"repository": {
"type": "git",
- "url": "https://github.com/appium/appium.git"
+ "url": "https://github.com/appium/appium.git",
+ "directory": "packages/fake-driver"
},
"license": "Apache-2.0",
"author": "https://github.com/appium",

MODIFY
packages/gulp-plugins/package.json
packages/gulp-plugins/package.json
},
"repository": {
"type": "git",
- "url": "https://github.com/appium/appium.git"
+ "url": "https://github.com/appium/appium.git",
+ "directory": "packages/gulp-plugins"
},
"license": "Apache-2.0",
"author": "https://github.com/appium",

MODIFY
packages/opencv/package.json
packages/opencv/package.json
},
"repository": {
"type": "git",
- "url": "https://github.com/appium/appium.git"
+ "url": "https://github.com/appium/appium.git",
+ "directory": "pacakges/opencv"
},
"license": "Apache-2.0",
"author": "https://github.com/appium",

MODIFY
packages/support/package.json
packages/support/package.json
},
"repository": {
"type": "git",
- "url": "https://github.com/appium/appium.git"
+ "url": "https://github.com/appium/appium.git",
+ "directory": "packages/support"
},
"license": "Apache-2.0",
"author": "https://github.com/appium",

MODIFY
packages/test-support/package.json
packages/test-support/package.json
},
"repository": {
"type": "git",
- "url": "https://github.com/appium/appium.git"
+ "url": "https://github.com/appium/appium.git",
+ "directory": "packages/test-support"
},
"license": "Apache-2.0",
"author": "https://github.com/appium",

chore: add directory prop to repository prop of package.json

I think npm uses this to link to the correct path of the package in a monorepo.