@dhis2/cli-utils 5.2.0-alpha.2 → 5.2.0-alpha.3

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.2",
9
+ "version": "5.2.0-alpha.3",
10
10
  "main": "src/index.js",
11
11
  "author": "Viktor Varland <viktor@dhis2.org>",
12
12
  "contributors": [
@@ -22,6 +22,7 @@
22
22
  "@semantic-release/changelog": "^6.0.3",
23
23
  "@semantic-release/commit-analyzer": "^13.0.1",
24
24
  "@semantic-release/error": "^4.0.0",
25
+ "@semantic-release/exec": "^7.1.0",
25
26
  "@semantic-release/git": "^10.0.1",
26
27
  "@semantic-release/github": "^11.0.3",
27
28
  "@semantic-release/npm": "^12.0.2",
@@ -32,7 +32,6 @@ function publisher(target = '', packages) {
32
32
  '@semantic-release/npm',
33
33
  {
34
34
  pkgRoot: path.dirname(pkgJsonPath),
35
- // npmPublish: false,
36
35
  },
37
36
  ]
38
37
  })
@@ -89,6 +88,12 @@ const handler = async ({ publish }) => {
89
88
  },
90
89
  ]
91
90
 
91
+ const updateLockFile = [
92
+ '@semantic-release/exec',
93
+ {
94
+ verifyCOnditionsCmd: 'pnpm install', // ToDo: make it independent of npm
95
+ },
96
+ ]
92
97
  const deferPlugin = require('../support/semantic-release-defer-release')
93
98
 
94
99
  // Order matters here!
@@ -97,6 +102,7 @@ const handler = async ({ publish }) => {
97
102
  '@semantic-release/commit-analyzer',
98
103
  '@semantic-release/release-notes-generator',
99
104
  updateDepsPlugin,
105
+ updateLockFile,
100
106
  changelogPlugin,
101
107
  ...publisher(publish, packages),
102
108
  gitPlugin,