在具有这种结构的单峰中工作
monorepo/
examples/
# ...
foo/
packages/
# ...
foo/
# ...
example/ -> examples/foo/其中的example在packages/foo
是与examples/foo/的深层链接。
包含一个名为foo_example的演示应用程序。
我在梅洛斯引导过程中遇到了一个问题
Run melos bootstrap
melos.yaml: Multiple packages with the name `foo_example` found in the workspace, which is unsupported.
To fix this problem, consider renaming your packages to have a unique name.
The packages that caused the problem are:
- foo_example at packages/foo/example
- foo_example at examples/foo
Error: Process completed with exit code 1.我想把examples和packages的文件夹分开
为example提供https://pub.dev/的同时
有没有办法将packages/**/example/文件夹从梅洛斯中排除出来?
我现在就是这样指着包裹的
name: <my_mono_repo>
packages:
- examples/**
- packages/**
scripts:
# ...发布于 2022-08-28 11:10:21
始终读取docs :) https://melos.invertase.dev/configuration/overview#ignore
这就是我的工作
ignore:
# e.g. ignore example apps
- "packages/**/example"https://stackoverflow.com/questions/73517895
复制相似问题