Lets say I have code like this:
foo.ts:
import { myDep } from "https://unpkg.com/[email protected]/myDep.ts"
bar.ts:
import { myDep } from "https://unpkg.com/[email protected]/myDep.ts"
How do I ensure my versions of myDep stay in sync across foo.ts and bar.ts?
Should Deno-idomatic code use dependency injection so dependencies are only externally referenced in one place? That seems like a good idea, but difficult to enforce.
A few potential solutions:
--reload and you can also pass in separate cache directories if you want, but I forget where I read thatIn the spirit of #94, maybe this should be closed and re-addressed once deno is more mature?
dependencies.ts).I think the enthusiasm and support is welcome but overwhelming at this stage. Its the downside of open development so early. Luckily, when #94 is closed, we can look at all the cross-references and reopen good discussions :)
Thanks for the discussion. We'll revisit when this functionality is there in the rewrite. Closing this one.
Most helpful comment
I think the enthusiasm and support is welcome but overwhelming at this stage. Its the downside of open development so early. Luckily, when #94 is closed, we can look at all the cross-references and reopen good discussions :)