update to pub workspaces
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
name: weblibre
|
||||
description: "The Privacy-Focused & AI-Powered Research Browser"
|
||||
publish_to: 'none'
|
||||
resolution: workspace
|
||||
version: 0.9.21+25
|
||||
|
||||
environment:
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
# melos_managed_dependency_overrides: flutter_mozilla_components,simple_intent_receiver
|
||||
dependency_overrides:
|
||||
flutter_mozilla_components:
|
||||
path: ../packages/flutter_mozilla_components
|
||||
simple_intent_receiver:
|
||||
path: ../packages/simple_intent_receiver
|
||||
-50
@@ -1,50 +0,0 @@
|
||||
name: weblibre_project
|
||||
|
||||
command:
|
||||
clean:
|
||||
hooks:
|
||||
pre: melos exec -c 1 -- "flutter clean"
|
||||
|
||||
scripts:
|
||||
upgrade-major-tighten:
|
||||
run: |
|
||||
dart pub upgrade --major-versions --tighten
|
||||
exec:
|
||||
concurrency: 1
|
||||
validate-dependencies:
|
||||
description: Validates dependcies in the workspace
|
||||
packageFilters:
|
||||
noDependsOn: melos
|
||||
exec: |
|
||||
dart pub global run dependency_validator
|
||||
build-watch:
|
||||
description: Generate and watch files with build_runner in the workspace
|
||||
packageFilters:
|
||||
dependsOn: build_runner
|
||||
exec: |
|
||||
dart run build_runner watch --delete-conflicting-outputs
|
||||
build:
|
||||
description: Generate files with build_runner in the workspace
|
||||
packageFilters:
|
||||
dependsOn: build_runner
|
||||
run: |
|
||||
dart run build_runner build --delete-conflicting-outputs
|
||||
exec:
|
||||
failFast: true
|
||||
concurrency: 1
|
||||
build-pigeons:
|
||||
description: Running pigeon for files in pigeons directory
|
||||
exec: |
|
||||
echo "Running pigeon for files in pigeons directory:"
|
||||
for file in ./pigeons/*; do
|
||||
if [ -f "\$file" ]; then
|
||||
echo "Processing \$file"
|
||||
flutter pub run pigeon --input "\$file"
|
||||
fi
|
||||
done
|
||||
packageFilters:
|
||||
dirExists: 'pigeons'
|
||||
|
||||
packages:
|
||||
- app/
|
||||
- packages/**
|
||||
@@ -3,6 +3,7 @@ description: "Demonstrates how to use the flutter_mozilla_components plugin."
|
||||
# The following line prevents the package from being accidentally published to
|
||||
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
resolution: workspace
|
||||
|
||||
environment:
|
||||
sdk: '>=3.8.0 <4.0.0'
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# melos_managed_dependency_overrides: flutter_mozilla_components
|
||||
dependency_overrides:
|
||||
flutter_mozilla_components:
|
||||
path: ..
|
||||
@@ -1,7 +1,8 @@
|
||||
name: flutter_mozilla_components
|
||||
description: "A new Flutter plugin project."
|
||||
version: 0.0.1
|
||||
homepage:
|
||||
publish_to: 'none'
|
||||
resolution: workspace
|
||||
|
||||
environment:
|
||||
sdk: '>=3.8.0 <4.0.0'
|
||||
|
||||
@@ -3,6 +3,7 @@ description: "Demonstrates how to use the simple_intent_receiver plugin."
|
||||
# The following line prevents the package from being accidentally published to
|
||||
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
resolution: workspace
|
||||
|
||||
environment:
|
||||
sdk: ^3.8.0
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# melos_managed_dependency_overrides: simple_intent_receiver
|
||||
dependency_overrides:
|
||||
simple_intent_receiver:
|
||||
path: ..
|
||||
@@ -1,7 +1,8 @@
|
||||
name: simple_intent_receiver
|
||||
description: "A new Flutter plugin project."
|
||||
version: 0.0.1
|
||||
homepage:
|
||||
publish_to: 'none'
|
||||
resolution: workspace
|
||||
|
||||
environment:
|
||||
sdk: ^3.8.0
|
||||
|
||||
+53
-1
@@ -2,5 +2,57 @@ name: weblibre_project
|
||||
|
||||
environment:
|
||||
sdk: '>=3.8.0 <4.0.0'
|
||||
workspace:
|
||||
- app/
|
||||
- packages/flutter_mozilla_components
|
||||
- packages/simple_intent_receiver
|
||||
dev_dependencies:
|
||||
melos: ^6.3.2
|
||||
melos: ^7.1.0
|
||||
|
||||
melos:
|
||||
name: weblibre_project
|
||||
|
||||
command:
|
||||
clean:
|
||||
hooks:
|
||||
pre: melos exec -c 1 -- "flutter clean"
|
||||
|
||||
scripts:
|
||||
upgrade-major-tighten:
|
||||
run: |
|
||||
dart pub upgrade --major-versions --tighten
|
||||
exec:
|
||||
concurrency: 1
|
||||
validate-dependencies:
|
||||
description: Validates dependcies in the workspace
|
||||
packageFilters:
|
||||
noDependsOn: melos
|
||||
exec: |
|
||||
dart pub global run dependency_validator
|
||||
build-watch:
|
||||
description: Generate and watch files with build_runner in the workspace
|
||||
packageFilters:
|
||||
dependsOn: build_runner
|
||||
exec: |
|
||||
dart run build_runner watch --delete-conflicting-outputs
|
||||
build:
|
||||
description: Generate files with build_runner in the workspace
|
||||
packageFilters:
|
||||
dependsOn: build_runner
|
||||
run: |
|
||||
dart run build_runner build --delete-conflicting-outputs
|
||||
exec:
|
||||
failFast: true
|
||||
concurrency: 1
|
||||
build-pigeons:
|
||||
description: Running pigeon for files in pigeons directory
|
||||
exec: |
|
||||
echo "Running pigeon for files in pigeons directory:"
|
||||
for file in ./pigeons/*; do
|
||||
if [ -f "\$file" ]; then
|
||||
echo "Processing \$file"
|
||||
flutter pub run pigeon --input "\$file"
|
||||
fi
|
||||
done
|
||||
packageFilters:
|
||||
dirExists: 'pigeons'
|
||||
|
||||
Reference in New Issue
Block a user