Skip to content

Commit

Permalink
build: replace monodeploy with monoweave
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Oct 24, 2024
1 parent c3ba5b9 commit 5833d69
Show file tree
Hide file tree
Showing 19 changed files with 746 additions and 629 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
with:
path: ./apps/admin-demo/dist

- name: 'Run monodeploy'
- name: 'Run monoweave'
id: release
#language=bash
run: |
yarn monodeploy \
--config-file monodeploy.config.cjs \
yarn monoweave \
--config-file monoweave.config.cjs \
--log-level 0
env:
GH_TOKEN: ${{ steps.credentials.outputs.token }}
Expand Down
2 changes: 1 addition & 1 deletion apps/admin-component-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.4.1](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/admin-component-tests" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion apps/admin-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.3.1](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/admin-js" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion apps/admin-preset-bootstrap4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.1.8](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/admin-preset-bootstrap4" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion apps/admin-preset-dashicons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.0.8](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/admin-preset-dashicons" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion apps/admin-preset-default/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.5.2](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/admin-preset-default" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion apps/admin-preset-fontawesome/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.0.8](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/admin-preset-fontawesome" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion apps/admin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.5.1](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/admin" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion apps/app-builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.4.6](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/app-builder" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion apps/checkout-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.1.4](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/checkout-js" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion apps/checkout/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.1.3](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/checkout" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion libs/checkout-common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.1.3](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/checkout-common" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion libs/checkout-delivery-options/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.1.3](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/checkout-delivery-options" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion libs/checkout-separate-address-fields/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.0.7](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/checkout-separate-address-fields" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion libs/checkout-tax-fields/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.0.7](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/checkout-tax-fields" (2024-10-24)

Expand Down
2 changes: 1 addition & 1 deletion libs/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

<!-- MONODEPLOY:BELOW -->
<!-- MONOWEAVE:BELOW -->

## [1.3.1](https://github.com/myparcelnl/js-pdk/compare/@myparcel-pdk/[email protected]...@myparcel-pdk/[email protected]) "@myparcel-pdk/common" (2024-10-24)

Expand Down
6 changes: 3 additions & 3 deletions monodeploy.config.cjs → monoweave.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ const branch = require('child_process').execSync('git rev-parse --abbrev-ref HEA
const prereleaseBranches = ['next', 'alpha', 'beta', 'rc'];

/**
* @type {import('@monodeploy/types').MonodeployConfiguration}
* @type {import('@monoweave/types').MonoweaveConfiguration}
*/
module.exports = {
autoCommitMessage: 'chore: release [skip ci]',
changelogFilename: '<packageDir>/CHANGELOG.md',
conventionalChangelogConfig: 'conventional-changelog-conventionalcommits',
persistVersions: true,
plugins: ['@monodeploy/plugin-github', '@edielemoine/monodeploy-plugin-github-actions'],
plugins: ['@monoweave/plugin-github', '@edielemoine/monodeploy-plugin-github-actions'],
prerelease: prereleaseBranches.includes(branch),
prereleaseId: branch,
prereleaseNPMTag: branch,
preset: 'monodeploy/preset-recommended',
preset: 'monoweave/preset-recommended',
registryUrl: 'https://registry.npmjs.org',
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
},
"devDependencies": {
"@edielemoine/monodeploy-plugin-github-actions": "^1.0.0",
"@monodeploy/plugin-github": "^2.0.0",
"@monoweave/cli": "^1.9.0",
"@monoweave/plugin-github": "^2.0.0",
"@myparcel-eslint/eslint-config-esnext": "^1.2.0",
"@myparcel-eslint/eslint-config-import": "^1.0.0",
"@myparcel-eslint/eslint-config-node": "^1.2.0",
Expand All @@ -70,7 +71,6 @@
"husky": "^9.0.0",
"is-ci": "^3.0.1",
"lint-staged": "^15.0.0",
"monodeploy": "^5.0.0",
"nodemon": "^3.0.0",
"nx": "^18.0.0",
"prettier": "^2.8.4",
Expand Down
Loading

0 comments on commit 5833d69

Please sign in to comment.