Skip to content

Commit 34eab6b

Browse files
committed
chore(release): consolidate publish targets
- expose next publishing as a publish configuration - keep stable publishing as the default target
1 parent 961e9de commit 34eab6b

6 files changed

Lines changed: 30 additions & 42 deletions

File tree

packages/classes/project.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,16 @@
2626
"cwd": "packages/classes"
2727
}
2828
},
29-
"publish-next": {
30-
"executor": "nx:run-commands",
31-
"options": {
32-
"command": "npm publish --tag=next",
33-
"cwd": "dist/packages/classes"
34-
}
35-
},
3629
"publish": {
3730
"executor": "nx:run-commands",
3831
"options": {
3932
"command": "npm publish",
4033
"cwd": "dist/packages/classes"
34+
},
35+
"configurations": {
36+
"next": {
37+
"command": "npm publish --tag=next"
38+
}
4139
}
4240
},
4341
"nx-release-publish": {

packages/core/project.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,16 @@
2626
"cwd": "packages/core"
2727
}
2828
},
29-
"publish-next": {
30-
"executor": "nx:run-commands",
31-
"options": {
32-
"command": "npm publish --tag=next",
33-
"cwd": "dist/packages/core"
34-
}
35-
},
3629
"publish": {
3730
"executor": "nx:run-commands",
3831
"options": {
3932
"command": "npm publish",
4033
"cwd": "dist/packages/core"
34+
},
35+
"configurations": {
36+
"next": {
37+
"command": "npm publish --tag=next"
38+
}
4139
}
4240
},
4341
"nx-release-publish": {

packages/mikro/project.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,16 @@
2525
"cwd": "packages/mikro"
2626
}
2727
},
28-
"publish-next": {
29-
"executor": "nx:run-commands",
30-
"options": {
31-
"command": "npm publish --tag=next",
32-
"cwd": "dist/packages/mikro"
33-
}
34-
},
3528
"publish": {
3629
"executor": "nx:run-commands",
3730
"options": {
3831
"command": "npm publish",
3932
"cwd": "dist/packages/mikro"
33+
},
34+
"configurations": {
35+
"next": {
36+
"command": "npm publish --tag=next"
37+
}
4038
}
4139
},
4240
"nx-release-publish": {

packages/nestjs/project.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,16 @@
2525
"cwd": "packages/nestjs"
2626
}
2727
},
28-
"publish-next": {
29-
"executor": "nx:run-commands",
30-
"options": {
31-
"command": "npm publish --tag=next",
32-
"cwd": "dist/packages/nestjs"
33-
}
34-
},
3528
"publish": {
3629
"executor": "nx:run-commands",
3730
"options": {
3831
"command": "npm publish",
3932
"cwd": "dist/packages/nestjs"
33+
},
34+
"configurations": {
35+
"next": {
36+
"command": "npm publish --tag=next"
37+
}
4038
}
4139
},
4240
"nx-release-publish": {

packages/pojos/project.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,16 @@
2525
"cwd": "packages/pojos"
2626
}
2727
},
28-
"publish-next": {
29-
"executor": "nx:run-commands",
30-
"options": {
31-
"command": "npm publish --tag=next",
32-
"cwd": "dist/packages/pojos"
33-
}
34-
},
3528
"publish": {
3629
"executor": "nx:run-commands",
3730
"options": {
3831
"command": "npm publish",
3932
"cwd": "dist/packages/pojos"
33+
},
34+
"configurations": {
35+
"next": {
36+
"command": "npm publish --tag=next"
37+
}
4038
}
4139
},
4240
"nx-release-publish": {

packages/sequelize/project.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,16 @@
2525
"cwd": "packages/sequelize"
2626
}
2727
},
28-
"publish-next": {
29-
"executor": "nx:run-commands",
30-
"options": {
31-
"command": "npm publish --tag=next",
32-
"cwd": "dist/packages/sequelize"
33-
}
34-
},
3528
"publish": {
3629
"executor": "nx:run-commands",
3730
"options": {
3831
"command": "npm publish",
3932
"cwd": "dist/packages/sequelize"
33+
},
34+
"configurations": {
35+
"next": {
36+
"command": "npm publish --tag=next"
37+
}
4038
}
4139
},
4240
"nx-release-publish": {

0 commit comments

Comments
 (0)