Skip to content

Commit 1eac1e7

Browse files
authored
chore(scripts): move getWorkspacePaths to utils (#3238)
1 parent d50ae2a commit 1eac1e7

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

Diff for: scripts/update-versions/getDepToCurrentVersionHash.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { readFileSync } from "fs";
33
import { basename, join } from "path";
44

5-
import { getWorkspacePaths } from "./getWorkspacePaths.mjs";
5+
import { getWorkspacePaths } from "../utils/getWorkspacePaths.mjs";
66

77
export const getDepToCurrentVersionHash = () =>
88
getWorkspacePaths().reduce((acc, workspacePath) => {

Diff for: scripts/update-versions/getDepToDefaultVersionHash.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @ts-check
22
import { basename } from "path";
33

4-
import { getWorkspacePaths } from "./getWorkspacePaths.mjs";
4+
import { getWorkspacePaths } from "../utils/getWorkspacePaths.mjs";
55

66
export const getDepToDefaultVersionHash = () =>
77
getWorkspacePaths().reduce(

Diff for: scripts/update-versions/updateVersions.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import { readFileSync, writeFileSync } from "fs";
33
import { join } from "path";
44

5+
import { getWorkspacePaths } from "../utils/getWorkspacePaths.mjs";
56
import { getUpdatedPackageJson } from "./getUpdatedPackageJson.mjs";
6-
import { getWorkspacePaths } from "./getWorkspacePaths.mjs";
77

88
export const updateVersions = (depToVersionHash) => {
99
getWorkspacePaths().forEach((workspacePath) => {
File renamed without changes.

0 commit comments

Comments
 (0)