Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the expected number of plugins to 23
``` $ npx cordova plugin list | wc -l (node:49489) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/kshankar/in-house/openpath-phone/node_modules/objectorarray/package.json' of 'dist/index.js'. Please either fix that or report it to the module author (Use `node --trace-deprecation ...` to show where the warning was created) 23 ``` ``` >>> import json >>> package = json.load(open("/Users/kshankar/e-mission/native_code_upgrade/package.cordovabuild.json")) >>> package.keys() dict_keys(['name', 'version', 'displayName', 'license', 'repository', 'devDependencies', 'cordova', 'dependencies']) >>> len(package["dependencies"].keys()) 25 >>> len(package["cordova"]["plugins"]) 21 ``` Dependencies include ``` "fs-extra": "^9.0.1", "klaw-sync": "^6.0.0", ``` Plugins include the following, which are not included in the package.json ``` cordova-plugin-badge-fix 0.8.10 "Badge" es6-promise-plugin 4.2.2 "Promise" ``` So the correct number that we expect is indeed 23
- Loading branch information