@dhis2/cli-utils 5.2.0-alpha.6 → 5.2.0-alpha.8
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 +1 -1
- package/src/cmds/release.js +21 -2
package/package.json
CHANGED
package/src/cmds/release.js
CHANGED
|
@@ -91,8 +91,7 @@ const handler = async ({ publish }) => {
|
|
|
91
91
|
const updateLockFile = [
|
|
92
92
|
'@semantic-release/exec',
|
|
93
93
|
{
|
|
94
|
-
|
|
95
|
-
'pnpm install --no-frozen-lockfile && git add pnpm-lock.yml && git commit -m "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,26 @@ const handler = async ({ publish }) => {
|
|
|
108
107
|
gitPlugin,
|
|
109
108
|
'@semantic-release/github',
|
|
110
109
|
updateLockFile,
|
|
110
|
+
[
|
|
111
|
+
'@semantic-release/git',
|
|
112
|
+
{
|
|
113
|
+
assets: [
|
|
114
|
+
packages
|
|
115
|
+
.map(pkgJsonPath =>
|
|
116
|
+
path.join(
|
|
117
|
+
path.dirname(pkgJsonPath),
|
|
118
|
+
'pnpm-lock.yaml'
|
|
119
|
+
)
|
|
120
|
+
)
|
|
121
|
+
.filter(existsSync)
|
|
122
|
+
.map(pkgJsonPath =>
|
|
123
|
+
path.relative(process.cwd(), pkgJsonPath)
|
|
124
|
+
),
|
|
125
|
+
],
|
|
126
|
+
message:
|
|
127
|
+
'chore: bump pnpm-lock.yml ${nextRelease.version} [skip ci]',
|
|
128
|
+
},
|
|
129
|
+
],
|
|
111
130
|
]
|
|
112
131
|
|
|
113
132
|
/* rely on defaults for configuration, except for plugins as they
|