jodinathan / typings

Apache License 2.0
39 stars 9 forks source link

Local user (author's system) paths as dependency_overrides #18

Open truedat101 opened 8 months ago

truedat101 commented 8 months ago

in ts2dart pubspec.yaml, this default set up is hard to catch when running the first time. A rational default is to set this for the git repo and not the local path.

dependency_overrides:
  code_builder:
   # git: https://github.com/jodinathan/code_builder
   path: /Users/jonathanrezende/Projects/dart/public/code_builder
truedat101 commented 8 months ago

Maybe keep this as a sample, and just call it out in your top level README , setup section.

jodinathan commented 8 months ago

sorry about this.

I will take look at these errors at the beginning of next week

truedat101 commented 8 months ago

If you are open to pull requests I can do that, however, I had to change a few things in my environment (see other issues filed #20 #19 ) so maybe I'll wait for feedback.

jodinathan commented 8 months ago

@truedat101 I had to fix this for the vs code extension I've just released: https://marketplace.visualstudio.com/items?itemName=jodirez.dart-element-tree-viewer.

The extension enables the dev to visualize the element tree of the Dart file. The repo is here and it is all written in Dart.

If you are open to pull requests I can do that,

Sure thing! 😀 PR are very welcome.

Also, if it is an affordable option to you, donating or sponsoring would help me stop getting so much freelancing so I can have time to focus on the packages.