-
-
Couldn't load subscription status.
- Fork 1.4k
Open
Labels
bugSomething isn't workingSomething isn't workinglibs migrationTasks related to migrating code from templates to standalone libsTasks related to migrating code from templates to standalone libs
Description
Based on this comment #2989 (comment)
We include the internal libs (WaspLibs) in the output of the deps command.
This is problematic because we tell users in the deps command output:
You can import and use these directly in the code as if you specified them yourself
which implies that Wasp libs are fair game.
This happens because deps reuses the same function (npmDepsForWasp) that's used internally in the Generator to generate the package.json for server and web-app.
We should find a way to decouple the deps command and the Generator. We probably need a new concept of "user usable framework deps" and "internal framework deps".
cprecioso
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglibs migrationTasks related to migrating code from templates to standalone libsTasks related to migrating code from templates to standalone libs