@dhis2/cli-utils 5.2.0-alpha.7 → 5.2.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "engines": {
7
7
  "node": ">=12"
8
8
  },
9
- "version": "5.2.0-alpha.7",
9
+ "version": "5.2.0-alpha.9",
10
10
  "main": "src/index.js",
11
11
  "author": "Viktor Varland <viktor@dhis2.org>",
12
12
  "contributors": [
@@ -91,8 +91,7 @@ const handler = async ({ publish }) => {
91
91
  const updateLockFile = [
92
92
  '@semantic-release/exec',
93
93
  {
94
- successCmd:
95
- 'pnpm install --no-frozen-lockfile && git commit -am "chore(skip): update pnpm-lock.yml"', // ToDo: make it independent of npm
94
+ publishCmd: 'pnpm install --lockfile-only', // ToDo: make it independent of npm
96
95
  },
97
96
  ]
98
97
  const deferPlugin = require('../support/semantic-release-defer-release')
@@ -108,6 +107,14 @@ const handler = async ({ publish }) => {
108
107
  gitPlugin,
109
108
  '@semantic-release/github',
110
109
  updateLockFile,
110
+ [
111
+ '@semantic-release/git',
112
+ {
113
+ assets: ['pnpm-lock.yaml'],
114
+ message:
115
+ 'chore: bump pnpm-lock.yml ${nextRelease.version} [skip ci]',
116
+ },
117
+ ],
111
118
  ]
112
119
 
113
120
  /* rely on defaults for configuration, except for plugins as they