Closed
Description
Please, provide the details below:
Did you verify this is a real problem by searching the [NativeScript Forum]
Yes
Tell us about the problem
In case a template wants to apply a predefined configuration for a plugin that it has a dependency, it is unable to do it via its package.json. The problem is that CLI strips almost all information from template's package.json and so the template's data stored there is cleared.
Which platform(s) does your issue occur on?
iOS/Android/Both
Please provide the following version numbers that your issue occurs with:
- CLI: any
- Cross-platform modules: Not applicable
- Runtime(s): Not applicable
- Plugin(s): Not applicable
Please tell us how to recreate the issue in as much detail as possible.
Create a project from any template that has pluginsData key in its package.json. Check the <projectDir>/app/package.json
file after project is created - it will not have project data in it.