cli: move publishing utils to maintenance module

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-04-29 11:30:25 +02:00
parent bca0248075
commit 62f444f69e
3 changed files with 2 additions and 2 deletions
@@ -20,7 +20,7 @@ import {
} from '../../../../modules/build/lib/packager/productionPack';
import { paths } from '../../../../lib/paths';
import fs from 'fs-extra';
import { publishPreflightCheck } from '../../../../lib/publishing';
import { publishPreflightCheck } from '../../lib/publishing';
import { createTypeDistProject } from '../../../../lib/typeDistProject';
export const pre = async () => {
@@ -25,7 +25,7 @@ import { OptionValues } from 'commander';
import fs from 'fs-extra';
import { resolve as resolvePath, posix, relative as relativePath } from 'path';
import { paths } from '../../../../lib/paths';
import { publishPreflightCheck } from '../../../../lib/publishing';
import { publishPreflightCheck } from '../../lib/publishing';
/**
* A mutable object representing a package.json file with potential fixes.