Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/counter_example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -726,21 +726,21 @@ packages:
path: "../../packages/stac"
relative: true
source: path
version: "1.0.1"
version: "1.1.0"
stac_core:
dependency: "direct overridden"
description:
path: "../../packages/stac_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
stac_framework:
dependency: "direct overridden"
description:
path: "../../packages/stac_framework"
relative: true
source: path
version: "0.4.0"
version: "1.0.0"
stac_logger:
dependency: "direct overridden"
description:
Expand Down
6 changes: 3 additions & 3 deletions examples/movie_app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -654,21 +654,21 @@ packages:
path: "../../packages/stac"
relative: true
source: path
version: "1.0.1"
version: "1.1.0"
stac_core:
dependency: "direct main"
description:
path: "../../packages/stac_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
stac_framework:
dependency: "direct overridden"
description:
path: "../../packages/stac_framework"
relative: true
source: path
version: "0.4.0"
version: "1.0.0"
stac_logger:
dependency: "direct overridden"
description:
Expand Down
8 changes: 4 additions & 4 deletions examples/stac_gallery/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -726,21 +726,21 @@ packages:
path: "../../packages/stac"
relative: true
source: path
version: "1.0.1"
version: "1.1.0"
stac_core:
dependency: "direct main"
description:
path: "../../packages/stac_core"
relative: true
source: path
version: "1.0.0"
version: "1.1.0"
stac_framework:
dependency: "direct overridden"
description:
path: "../../packages/stac_framework"
relative: true
source: path
version: "0.4.0"
version: "1.0.0"
stac_logger:
dependency: "direct overridden"
description:
Expand All @@ -754,7 +754,7 @@ packages:
path: "../../packages/stac_webview"
relative: true
source: path
version: "0.2.0"
version: "1.0.0"
stack_trace:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion packages/stac/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
json_annotation: ^4.9.0
logger: ^2.5.0
dio: ^5.8.0+1
stac_framework: ^0.4.0
stac_framework: ^1.0.0
cached_network_image: ^3.4.1
flutter_svg: ^2.1.0
stac_logger: ^1.1.0
Expand Down
3 changes: 3 additions & 0 deletions packages/stac_webview/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# melos_managed_dependency_overrides: stac_logger
# melos_managed_dependency_overrides: stac_framework, stac_core
dependency_overrides:
stac_framework:
path: ../stac_framework
stac_core:
path: ../stac_core
stac_logger:
path: ..\\stac_logger
Comment on lines +8 to +9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Use forward slashes for cross-platform path compatibility.

The stac_logger path override uses Windows-style backslashes (..\\stac_logger), which will fail on Unix-like systems (Linux, macOS). All path separators in pubspec overrides should use forward slashes (/), which work cross-platform including on Windows.

Apply this diff to fix the path separator:

  stac_logger:
-    path: ..\\stac_logger
+    path: ../stac_logger
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
stac_logger:
path: ..\\stac_logger
stac_logger:
path: ../stac_logger
🤖 Prompt for AI Agents
In packages/stac_webview/pubspec_overrides.yaml around lines 8 to 9, the
stac_logger path uses Windows backslashes which break on Unix-like systems;
change the path to use forward slashes (e.g. ../stac_logger) so it is
cross-platform compatible, update the file accordingly and save.

Loading