66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"name": "update-repos",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "tools/update-repos/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"setup-update-repos": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": ["build-base"],
|
|
"options": {
|
|
"command": "node tools/update-repos/dist/src/setup-repos.js"
|
|
}
|
|
},
|
|
"update-nx-repo": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": ["build-base"],
|
|
"options": {
|
|
"command": "node tools/update-repos/dist/src/update-repo.js nx"
|
|
}
|
|
},
|
|
"update-ocean-repo": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": ["build-base"],
|
|
"options": {
|
|
"command": "node tools/update-repos/dist/src/update-repo.js ocean"
|
|
}
|
|
},
|
|
"update-nx-examples-repo": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": ["build-base"],
|
|
"options": {
|
|
"command": "node tools/update-repos/dist/src/update-repo.js nx-examples"
|
|
}
|
|
},
|
|
"update-nx-console-repo": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": ["build-base"],
|
|
"options": {
|
|
"command": "node tools/update-repos/dist/src/update-repo.js nx-console"
|
|
}
|
|
},
|
|
"update-nx-labs-repo": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": ["build-base"],
|
|
"options": {
|
|
"command": "node tools/update-repos/dist/src/update-repo.js nx-labs"
|
|
}
|
|
},
|
|
"update-repos": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": ["update-ocean-repo", "update-nx-console-repo"],
|
|
"options": {
|
|
"command": "echo '🎉 Ocean and NxConsole repositories updated successfully!'"
|
|
}
|
|
},
|
|
"update-all-repos": {
|
|
"executor": "nx:run-commands",
|
|
"dependsOn": ["update-*-repo"],
|
|
"options": {
|
|
"command": "echo '🎉 All repositories updated successfully!'"
|
|
}
|
|
}
|
|
},
|
|
"tags": ["npm:private"]
|
|
}
|