apache / cordova-paramedic

Apache Cordova - Paramedic
https://cordova.apache.org/
Apache License 2.0
36 stars 53 forks source link

Adding cordova-plugin-test-framework takes a long time #239

Open hudson-pierce opened 2 years ago

hudson-pierce commented 2 years ago

It takes approximately 10 minutes for the cordova plugin add github:apache/cordova-plugin-test-framework --no-telemetry --no-update-notifier step to finish...

On my local machine I pulled down the cordova-paramedic project and in lib/ParamedicApp.js at line 73 I replaced:

const additionalPlugins = ['github:apache/cordova-plugin-test-framework', path.join(__dirname, '..', 'paramedic-plugin')];

with:

const additionalPlugins = ['git+https://github.com/apache/cordova-plugin-test-framework.git', path.join(__dirname, '..', 'paramedic-plugin')];

Now the plugin is added very quickly. Could we please make this change?

breautek commented 1 year ago

github:apache/cordova-plugin-test-framework should just translate to git+https://github.com/apache/cordova-plugin-test-framework.git (by npm)

Is this reproducible? Are you sure this isn't a one off network issue? For the record, cordova plugin add github:apache/cordova-plugin-test-framework --no-telemetry --no-update-notifier took less than second to resolve for me.