monorepo-next 11.4.0 → 11.4.2
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
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "monorepo-next",
|
3
|
-
"version": "11.4.
|
3
|
+
"version": "11.4.2",
|
4
4
|
"description": "Detach monorepo packages from normal linking",
|
5
5
|
"bin": {
|
6
6
|
"next": "bin/next.js"
|
@@ -64,7 +64,7 @@
|
|
64
64
|
"debug": "^4.3.1",
|
65
65
|
"execa": "^5.0.0",
|
66
66
|
"glob": "^8.0.0",
|
67
|
-
"inquirer": "^
|
67
|
+
"inquirer": "^10.0.0",
|
68
68
|
"js-yaml": "^4.0.0",
|
69
69
|
"lockfile": "^1.0.4",
|
70
70
|
"minimatch": "^9.0.0",
|
@@ -78,7 +78,7 @@
|
|
78
78
|
"yargs": "^17.0.0"
|
79
79
|
},
|
80
80
|
"devDependencies": {
|
81
|
-
"@crowdstrike/commitlint": "^
|
81
|
+
"@crowdstrike/commitlint": "^8.0.0",
|
82
82
|
"chai": "^4.2.0",
|
83
83
|
"chai-as-promised": "^7.1.1",
|
84
84
|
"chai-fs": "^2.0.0",
|
@@ -97,7 +97,7 @@
|
|
97
97
|
"remark-cli": "^12.0.0",
|
98
98
|
"remark-preset-lint-crowdstrike": "^4.0.0",
|
99
99
|
"renovate-config-standard": "^2.0.0",
|
100
|
-
"sinon": "^
|
100
|
+
"sinon": "^18.0.0",
|
101
101
|
"sinon-chai": "^3.5.0",
|
102
102
|
"standard-node-template": "6.0.0",
|
103
103
|
"yargs-help-output": "^5.0.0"
|
@@ -1,6 +1,5 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
const conventionalRecommendedBump = require('conventional-recommended-bump');
|
4
3
|
const path = require('path');
|
5
4
|
const {
|
6
5
|
read: readJson,
|
@@ -15,6 +14,11 @@ const { createSyncLogger, createAsyncLogger } = require('./log');
|
|
15
14
|
const defaultReleaseType = 'patch';
|
16
15
|
|
17
16
|
async function getReleaseType(packageName, cwd) {
|
17
|
+
const conventionalRecommendedBump = require('conventional-recommended-bump');
|
18
|
+
|
19
|
+
// let { preset } = require('standard-version/defaults');
|
20
|
+
let preset = require('standard-version/lib/preset-loader')({});
|
21
|
+
|
18
22
|
let tagPrefix = `${packageName}@`;
|
19
23
|
|
20
24
|
let originalCwd = process.cwd();
|
@@ -24,8 +28,7 @@ async function getReleaseType(packageName, cwd) {
|
|
24
28
|
process.chdir(cwd);
|
25
29
|
|
26
30
|
myReleaseType = (await conventionalRecommendedBump({
|
27
|
-
|
28
|
-
preset: require('standard-version/lib/preset-loader')({}),
|
31
|
+
preset,
|
29
32
|
path: cwd,
|
30
33
|
tagPrefix,
|
31
34
|
})).releaseType;
|
package/src/get-changelog.js
CHANGED
@@ -96,9 +96,11 @@ async function _getChangelog({
|
|
96
96
|
releaseCount,
|
97
97
|
from,
|
98
98
|
}) {
|
99
|
+
const conventionalChangelog = require('conventional-changelog');
|
100
|
+
|
99
101
|
let changelog = '';
|
100
102
|
let context = { version };
|
101
|
-
let changelogStream =
|
103
|
+
let changelogStream = conventionalChangelog(
|
102
104
|
{
|
103
105
|
preset: require('standard-version/lib/preset-loader')(defaults),
|
104
106
|
tagPrefix,
|