@virmator/publish 14.12.1 → 14.13.0
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/dist/publish.js +3 -3
- package/package.json +11 -11
package/dist/publish.js
CHANGED
|
@@ -40,7 +40,7 @@ export const virmatorPublishPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
else if (!cwdValidPackageJson) {
|
|
43
|
-
throw new VirmatorNoTraceError(
|
|
43
|
+
throw new VirmatorNoTraceError('Missing "name" / "version" package.json fields.');
|
|
44
44
|
}
|
|
45
45
|
const monoRepoPackageJson = await readPackageJson(monoRepoRootPath);
|
|
46
46
|
const version = monoRepoPackageJson.version;
|
|
@@ -163,7 +163,7 @@ export const virmatorPublishPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
163
163
|
else {
|
|
164
164
|
const isPrivate = monoRepoPackageJson.private;
|
|
165
165
|
if (isPrivate) {
|
|
166
|
-
log.info(
|
|
166
|
+
log.info('This package is private. Skipping publish.');
|
|
167
167
|
return;
|
|
168
168
|
}
|
|
169
169
|
await alterPackageEntryPoints(monoRepoRootPath);
|
|
@@ -187,7 +187,7 @@ async function updateGit(packageDirPath) {
|
|
|
187
187
|
const newVersion = (await readPackageJson(packageDirPath)).version;
|
|
188
188
|
assert.isDefined(newVersion);
|
|
189
189
|
if (await doChangesExist(packageDirPath)) {
|
|
190
|
-
await runShellCommand(
|
|
190
|
+
await runShellCommand('git commit -a --amend --no-edit', {
|
|
191
191
|
cwd: packageDirPath,
|
|
192
192
|
rejectOnError: true,
|
|
193
193
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/publish",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.13.0",
|
|
4
4
|
"description": "Default publish plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
"test:update": "npm test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@augment-vir/assert": "^31.
|
|
38
|
-
"@augment-vir/common": "^31.
|
|
39
|
-
"@augment-vir/node": "^31.
|
|
40
|
-
"@virmator/core": "^14.
|
|
37
|
+
"@augment-vir/assert": "^31.69.0",
|
|
38
|
+
"@augment-vir/common": "^31.69.0",
|
|
39
|
+
"@augment-vir/node": "^31.69.0",
|
|
40
|
+
"@virmator/core": "^14.13.0",
|
|
41
41
|
"mri": "^1.2.0",
|
|
42
42
|
"semver": "^7.7.4",
|
|
43
|
-
"simple-git": "^3.
|
|
44
|
-
"url-vir": "^2.1.
|
|
43
|
+
"simple-git": "^3.36.0",
|
|
44
|
+
"url-vir": "^2.1.9"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "^25.
|
|
47
|
+
"@types/node": "^25.6.0",
|
|
48
48
|
"@types/semver": "^7.7.1",
|
|
49
|
-
"markdown-code-example-inserter": "^3.0.
|
|
50
|
-
"type-fest": "^5.
|
|
51
|
-
"typedoc": "^0.28.
|
|
49
|
+
"markdown-code-example-inserter": "^3.0.5",
|
|
50
|
+
"type-fest": "^5.6.0",
|
|
51
|
+
"typedoc": "^0.28.19"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=22"
|