virmator 4.3.1 → 4.3.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.
@@ -11,7 +11,7 @@
11
11
  "preview": "virmator frontend preview",
12
12
  "spellcheck": "virmator spellcheck",
13
13
  "start": "npm install && virmator frontend",
14
- "test": "virmator test && npm run test:types",
14
+ "test": "virmator test",
15
15
  "test:all": "npm run test:types && npm test && npm run spellcheck && npm run test:format && npm run test:docs",
16
16
  "test:docs": "virmator code-in-markdown check",
17
17
  "test:format": "virmator format check",
@@ -42,7 +42,7 @@ exports.publishCommandDefinition = (0, define_command_1.defineCommand)({
42
42
  }
43
43
  const workspaceDirs = getWorkspaceDirs(packageJson, packageJsonPath);
44
44
  if (await isCurrentVersionPublished(packageJson, workspaceDirs)) {
45
- await bumpPackageVersion(packageJson, packageJsonPath, workspaceDirs);
45
+ await bumpPackageVersion(packageJson, packageJsonPath);
46
46
  }
47
47
  await updateWorkspaceVersions(packageJsonPath, workspaceDirs);
48
48
  await publishPackages(workspaceDirs, packageJsonPath);
@@ -74,6 +74,10 @@ async function updateWorkspaceVersions(packageJsonPath, workspaceDirPaths) {
74
74
  newWorkspacePackageJson.version = newVersion;
75
75
  await (0, promises_1.writeFile)(workspacePackageJsonPath, JSON.stringify(newWorkspacePackageJson, null, 4) + '\n');
76
76
  });
77
+ await (0, node_only_1.runShellCommand)(`npm i`, {
78
+ rejectOnError: true,
79
+ cwd: (0, path_1.dirname)(packageJsonPath),
80
+ });
77
81
  }
78
82
  async function publishPackages(workspaceDirPaths, packageJsonPath) {
79
83
  const packagePath = (0, path_1.dirname)(packageJsonPath);
@@ -129,7 +133,7 @@ const releaseTypesObject = {
129
133
  };
130
134
  const releaseTypeOptions = (0, augment_vir_1.getObjectTypedKeys)(releaseTypesObject);
131
135
  const releaseTypeMessage = `Choose a release type: ${(0, augment_vir_1.joinWithFinalConjunction)(releaseTypeOptions, 'or')}:`;
132
- async function bumpPackageVersion(packageJson, packageJsonPath, workspaceDirPaths) {
136
+ async function bumpPackageVersion(packageJson, packageJsonPath) {
133
137
  const releaseType = (await (0, console_1.askQuestionUntilConditionMet)({
134
138
  conditionCallback: (input) => {
135
139
  return releaseTypeOptions.includes(input.toLowerCase());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "description": "Handle all the stuffs in one package.",
5
5
  "keywords": [
6
6
  "automation",