Skip to content

Commit 1b05ac0

Browse files
committed
build: add resolution workspace with hosted dependencies
- Keep resolution: workspace for melos compatibility - Use hosted dependencies (^2.0.0) instead of path - All packages published to pub.dev v2.0.0
1 parent d8b6fd8 commit 1b05ac0

8 files changed

Lines changed: 8 additions & 0 deletions

File tree

packages/local_storage_cache/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version: 2.0.0
44
homepage: https://github.com/mathtechstudio/local-storage-cache
55
repository: https://github.com/mathtechstudio/local-storage-cache
66

7+
resolution: workspace
78

89
environment:
910
sdk: '>=3.6.0 <4.0.0'

packages/local_storage_cache_android/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: Android implementation of the local_storage_cache plugin.
33
version: 2.0.0
44
homepage: https://github.com/mathtechstudio/local-storage-cache
55

6+
resolution: workspace
67

78
environment:
89
sdk: '>=3.6.0 <4.0.0'

packages/local_storage_cache_ios/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: iOS implementation of the local_storage_cache plugin.
33
version: 2.0.0
44
homepage: https://github.com/mathtechstudio/local-storage-cache
55

6+
resolution: workspace
67

78
environment:
89
sdk: '>=3.6.0 <4.0.0'

packages/local_storage_cache_linux/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: Linux implementation of the local_storage_cache plugin.
33
version: 2.0.0
44
homepage: https://github.com/mathtechstudio/local-storage-cache
55

6+
resolution: workspace
67

78
environment:
89
sdk: '>=3.6.0 <4.0.0'

packages/local_storage_cache_macos/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: macOS implementation of the local_storage_cache plugin.
33
version: 2.0.0
44
homepage: https://github.com/mathtechstudio/local-storage-cache
55

6+
resolution: workspace
67

78
environment:
89
sdk: '>=3.6.0 <4.0.0'

packages/local_storage_cache_platform_interface/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: A common platform interface for the local_storage_cache plugin.
33
version: 2.0.0
44
homepage: https://github.com/mathtechstudio/local-storage-cache
55

6+
resolution: workspace
67

78
environment:
89
sdk: '>=3.6.0 <4.0.0'

packages/local_storage_cache_web/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: Web implementation of the local_storage_cache plugin.
33
version: 2.0.0
44
homepage: https://github.com/mathtechstudio/local-storage-cache
55

6+
resolution: workspace
67

78
environment:
89
sdk: '>=3.6.0 <4.0.0'

packages/local_storage_cache_windows/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: Windows implementation of the local_storage_cache plugin.
33
version: 2.0.0
44
homepage: https://github.com/mathtechstudio/local-storage-cache
55

6+
resolution: workspace
67

78
environment:
89
sdk: '>=3.6.0 <4.0.0'

0 commit comments

Comments
 (0)