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

BUG: A configuration file for DPM and a way to manage dependency names: Suffixes Prefixes etc. is needed. #16

Closed
TeoDev1611 opened this issue Aug 18, 2022 · 4 comments · May be fixed by #7
Assignees
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@TeoDev1611
Copy link
Member

TeoDev1611 commented Aug 18, 2022

Why?

Well this is simple to explain actually fresh created by Luca is the most used frontent framework for Deno but it has a problem with DPM, filenames are very important and some dependencies with need suffixes and this is very very important to start the framework

Solution

How can you make this work well with DPM? It is necessary to add a configuration field in dpm.json to customize each dpm project.

How can this be done?

Well there are 3 ways:

  • Finding a dependency that manages the configurations and makes them more accessible
  • Making an own module to manage the configurations.
  • Making an internal module that will only be usable by DPM using the standard library
  • For the suffixs and preffixs is necessary make a prompt because only some dependencies is necessary modify this :p
@TeoDev1611
Copy link
Member Author

The config file can be solved with https://github.com/dpmland/beno

@TeoDev1611
Copy link
Member Author

Changed the dpm_imports.json to the standard import_map.json fixed that

@TeoDev1611
Copy link
Member Author

To Do:

  • Add the custom preffix and suffix for the dependencies!

@TeoDev1611
Copy link
Member Author

Done working this with the --custom flag

@TeoDev1611 TeoDev1611 unpinned this issue Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
1 participant