chore: update melos config
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Hugo Pointcheval 2024-03-29 21:15:07 +01:00
parent d69106adeb
commit 6fd18e7aca
Signed by: hugo
SSH Key Fingerprint: SHA256:ZtyWUBpqF/1z9x7Y4vqzeq8kQBQPNJjm2qBVmnnj6SU

View File

@ -1,10 +1,13 @@
name: Wyatt-Packages name: Wyatt-Packages
# repository: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages
sdkPath: auto
packages: packages:
- packages/** - "packages/**"
ignore:
- "packages/**/example"
- "packages/**/.dart_tool/**"
sdkPath: auto
ide: ide:
intellij: intellij:
@ -16,7 +19,6 @@ command:
linkToCommits: false # Gitea not yet supported linkToCommits: false # Gitea not yet supported
workspaceChangelog: true workspaceChangelog: true
includeCommitId: false # Generate error in Melos 3... includeCommitId: false # Generate error in Melos 3...
# branch: master # Since we are using rebasing, we don't need to specify the branch
message: | message: |
chore(release): publish packages chore(release): publish packages
@ -27,11 +29,6 @@ command:
post: melos exec --flutter --concurrency=3 -- "flutter clean" post: melos exec --flutter --concurrency=3 -- "flutter clean"
scripts: scripts:
analyze:
run: |
melos exec --flutter --concurrency=1 -- flutter analyze --fatal-infos
description: Run `flutter analyze` for all flutter packages.
fix:apply: fix:apply:
run: melos exec --concurrency=1 -- dart fix . --apply run: melos exec --concurrency=1 -- dart fix . --apply
description: Run and apply `dart fix` for all packages. description: Run and apply `dart fix` for all packages.
@ -40,14 +37,6 @@ scripts:
run: melos exec --concurrency=1 -- dart fix . --set-exit-if-changed run: melos exec --concurrency=1 -- dart fix . --set-exit-if-changed
description: Run `dart fix` checks for all packages. description: Run `dart fix` checks for all packages.
format:
run: melos exec --concurrency=1 -- dart format .
description: Run `dart format` for all packages.
lint:all:
run: melos run analyze && melos run format
description: Run all static analysis checks.
clean:deep: clean:deep:
run: git clean -x -d -f -q run: git clean -x -d -f -q
description: Clean things very deeply with `git clean`. description: Clean things very deeply with `git clean`.
@ -101,6 +90,3 @@ scripts:
description: | description: |
Validate that all packages are ready to be published. Validate that all packages are ready to be published.
Note: This will not actually publish anything. Note: This will not actually publish anything.
# publish:
# run: melos publish --diff="origin/$DRONE_COMMIT_BRANCH...HEAD" --no-dry-run --yes