monorepo-next 11.0.3 → 11.0.5
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 +7 -6
- package/src/releasable.js +4 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "monorepo-next",
|
3
|
-
"version": "11.0.
|
3
|
+
"version": "11.0.5",
|
4
4
|
"description": "Detach monorepo packages from normal linking",
|
5
5
|
"bin": {
|
6
6
|
"next": "bin/next.js"
|
@@ -58,15 +58,16 @@
|
|
58
58
|
"node": ">=18.12"
|
59
59
|
},
|
60
60
|
"dependencies": {
|
61
|
+
"@npmcli/arborist": "^7.0.0",
|
61
62
|
"conventional-changelog": "5.1.0",
|
62
|
-
"conventional-recommended-bump": "
|
63
|
+
"conventional-recommended-bump": "7.0.1",
|
63
64
|
"debug": "^4.3.1",
|
64
65
|
"execa": "^5.0.0",
|
65
66
|
"glob": "^8.0.0",
|
66
67
|
"inquirer": "^9.0.0",
|
67
68
|
"js-yaml": "^4.0.0",
|
68
69
|
"minimatch": "^9.0.0",
|
69
|
-
"npm-packlist": "^
|
70
|
+
"npm-packlist": "^8.0.0",
|
70
71
|
"rfc6902": "^5.0.0",
|
71
72
|
"semver": "^7.5.3",
|
72
73
|
"standard-version": "9.5.0",
|
@@ -90,12 +91,12 @@
|
|
90
91
|
"git-fixtures": "^8.0.0",
|
91
92
|
"mocha": "^10.0.0",
|
92
93
|
"mocha-helpers": "^9.0.0",
|
93
|
-
"remark-cli": "^
|
94
|
+
"remark-cli": "^12.0.0",
|
94
95
|
"remark-preset-lint-crowdstrike": "^3.0.0",
|
95
96
|
"renovate-config-standard": "^2.0.0",
|
96
|
-
"sinon": "^
|
97
|
+
"sinon": "^17.0.0",
|
97
98
|
"sinon-chai": "^3.5.0",
|
98
|
-
"standard-node-template": "
|
99
|
+
"standard-node-template": "6.0.0",
|
99
100
|
"yargs-help-output": "^4.0.0"
|
100
101
|
}
|
101
102
|
}
|
package/src/releasable.js
CHANGED
@@ -10,6 +10,7 @@ const {
|
|
10
10
|
getFileAtCommit,
|
11
11
|
} = require('./git');
|
12
12
|
const { replaceJsonFile } = require('./fs');
|
13
|
+
const Arborist = require('@npmcli/arborist');
|
13
14
|
|
14
15
|
const filesContributingToReleasability = new Set([
|
15
16
|
'.gitignore',
|
@@ -121,7 +122,9 @@ async function _getChangedReleasableFiles({
|
|
121
122
|
changedFiles,
|
122
123
|
});
|
123
124
|
|
124
|
-
let
|
125
|
+
let arborist = new Arborist({ path: tmpDir });
|
126
|
+
let tree = await arborist.loadActual();
|
127
|
+
let changedPublishedFiles = await packlist(tree);
|
125
128
|
|
126
129
|
let changedPublishedFilesOld = new Set(changedPublishedFiles);
|
127
130
|
|