Discussion:
[dart-misc] Package Resolution Configuration file (.packages)?
Rich Eakin
2015-07-29 20:00:11 UTC
Permalink
Just saw that the WebStorm 11 EAP up'ed their dart support, including a
note saying "support for package resolution configuration file (.packages)
introduced in Dart SDK 1.12". Is there any more information on what this
.packages file is or does?

Thanks,
Rich
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
'Harry Terkelsen' via Dart Misc
2015-07-29 20:16:38 UTC
Permalink
It's a new way of resolving 'package:xxx' imports. The DEP is here:
https://github.com/lrhn/dep-pkgspec/blob/master/DEP-pkgspec.md
It's mostly a tooling thing, so it should be a transparent change for most
Dart users.
Post by Rich Eakin
Just saw that the WebStorm 11 EAP up'ed their dart support, including a
note saying "support for package resolution configuration file (.packages)
introduced in Dart SDK 1.12". Is there any more information on what this
.packages file is or does?
Thanks,
Rich
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
'Bob Nystrom' via Dart Misc
2015-07-29 22:57:41 UTC
Permalink
On Wed, Jul 29, 2015 at 1:16 PM, 'Harry Terkelsen' via Dart Misc <
Post by 'Harry Terkelsen' via Dart Misc
It's mostly a tooling thing, so it should be a transparent change for most
Dart users.
It will be very visible in that in a couple of releases (1.13?), all of
those annoying "packages" directories no one ever liked will go away. :)

- bob
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Kasper Peulen
2015-07-29 23:01:43 UTC
Permalink
Those packages directories are already gone for me in webstorm 11. It seems
to do `pub get --no-package-symlinks` by default.
Post by 'Bob Nystrom' via Dart Misc
On Wed, Jul 29, 2015 at 1:16 PM, 'Harry Terkelsen' via Dart Misc <
Post by 'Harry Terkelsen' via Dart Misc
It's mostly a tooling thing, so it should be a transparent change for
most Dart users.
It will be very visible in that in a couple of releases (1.13?), all of
those annoying "packages" directories no one ever liked will go away. :)
- bob
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
Kasper
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Rich Eakin
2015-07-30 18:46:01 UTC
Permalink
Oh, very cool - I like it. Yes it was becoming tedious having to
.gitignore all those package directories, happy there is a more robust
solution.

cheers,
Rich
Post by Kasper Peulen
Those packages directories are already gone for me in webstorm 11. It
seems to do `pub get --no-package-symlinks` by default.
Post by 'Bob Nystrom' via Dart Misc
On Wed, Jul 29, 2015 at 1:16 PM, 'Harry Terkelsen' via Dart Misc <
Post by 'Harry Terkelsen' via Dart Misc
It's mostly a tooling thing, so it should be a transparent change for
most Dart users.
It will be very visible in that in a couple of releases (1.13?), all of
those annoying "packages" directories no one ever liked will go away. :)
- bob
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
Kasper
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...