Skip to content

Commit

Permalink
build: use grouping in package publishing logic
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Oct 24, 2024
1 parent 567b016 commit 186ea8e
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 15 deletions.
3 changes: 2 additions & 1 deletion apps/admin-component-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "admin"
}
3 changes: 2 additions & 1 deletion apps/admin-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@
},
"volta": {
"extends": "../../package.json"
}
},
"deployGroup": "demo"
}
3 changes: 2 additions & 1 deletion apps/admin-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "admin"
}
3 changes: 2 additions & 1 deletion apps/admin-preset-bootstrap4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "admin"
}
3 changes: 2 additions & 1 deletion apps/admin-preset-dashicons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "admin"
}
3 changes: 2 additions & 1 deletion apps/admin-preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "admin"
}
3 changes: 2 additions & 1 deletion apps/admin-preset-fontawesome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "admin"
}
3 changes: 2 additions & 1 deletion apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "admin"
}
3 changes: 2 additions & 1 deletion apps/app-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "app-builder"
}
1 change: 1 addition & 0 deletions apps/backend-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"volta": {
"extends": "../../package.json"
},
"deployGroup": "demo",
"nx": {
"targets": {
"build": {
Expand Down
3 changes: 2 additions & 1 deletion apps/checkout-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "checkout"
}
3 changes: 2 additions & 1 deletion apps/checkout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "checkout"
}
3 changes: 2 additions & 1 deletion libs/checkout-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "checkout"
}
3 changes: 2 additions & 1 deletion libs/checkout-delivery-options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "checkout"
}
3 changes: 2 additions & 1 deletion libs/checkout-separate-address-fields/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "checkout"
}
3 changes: 2 additions & 1 deletion libs/checkout-tax-fields/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@
},
"publishConfig": {
"access": "public"
}
},
"deployGroup": "checkout"
}
1 change: 1 addition & 0 deletions monoweave.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
autoCommitMessage: 'chore: release [skip ci]',
changelogFilename: '<packageDir>/CHANGELOG.md',
conventionalChangelogConfig: 'conventional-changelog-conventionalcommits',
packageGroupManifestField: 'deployGroup',
persistVersions: true,
plugins: ['@monoweave/plugin-github', '@edielemoine/monodeploy-plugin-github-actions'],
prerelease: prereleaseBranches.includes(branch),
Expand Down

0 comments on commit 186ea8e

Please sign in to comment.