mirror of
https://github.com/iconify/iconify.git
synced 2024-12-13 22:18:24 +00:00
List workspaces in build order
This commit is contained in:
parent
d761827dff
commit
bdc2f9c24c
10
lerna.json
10
lerna.json
@ -1,5 +1,13 @@
|
||||
{
|
||||
"version": "independent",
|
||||
"npmClient": "npm",
|
||||
"packages": ["packages/*", "debug_packages/*"]
|
||||
"packages": [
|
||||
"packages/types",
|
||||
"packages/library-builder",
|
||||
"packages/api-redundancy",
|
||||
"packages/utils",
|
||||
"packages/core",
|
||||
"packages/*",
|
||||
"debug_packages/*"
|
||||
]
|
||||
}
|
||||
|
@ -20,7 +20,11 @@ export function findWorkspaces(): PackageInfo[] {
|
||||
|
||||
function checkWorkspace(path: PathList) {
|
||||
const info = getPackageInfo(path);
|
||||
if (info && info.name !== fixPackageName) {
|
||||
if (
|
||||
info &&
|
||||
info.name !== fixPackageName &&
|
||||
!workspaces.find((item) => item.name === info.name)
|
||||
) {
|
||||
workspaces.push({
|
||||
...info,
|
||||
path,
|
||||
|
Loading…
Reference in New Issue
Block a user