We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 621ed88 commit e4a6179Copy full SHA for e4a6179
actions/unjs/update-deps.ts
@@ -1,6 +1,5 @@
1
import { defineAction } from "codeup";
2
import type { PackageJson } from "pkg-types";
3
-import { updatePackageJSON } from "../../src/utils/pkg";
4
5
export default defineAction({
6
meta: {
@@ -10,7 +9,7 @@ export default defineAction({
10
9
},
11
async apply({ utils }) {
12
await utils.runPackageManagerCommand("upgrade");
13
- await updatePackageJSON(async (pkg) => {
+ await utils.updatePackageJSON(async (pkg) => {
14
if (pkg.devDependencies) {
15
await Promise.allSettled(
16
Object.keys(pkg.devDependencies).map(async (name) => {
0 commit comments