Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow templates to predefine plugin configurations in package.json #3407

Closed
rosen-vladimirov opened this issue Mar 1, 2018 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants