'use strict';
import _0x1c3e3a from 'node:path';
import { buildPaths, nonRootProjectPaths, files } from '../../../base-repo/app-constants/project-paths.js';
import { systemCommands, npmCommands, npmFlags } from '../constants/npm-commands.js';

var __defProp=Object['defineProperty'],__name=(_0x3930b6,_0x5a6fcd)=>__defProp(_0x3930b6,'name',{'value':_0x5a6fcd,'configurable':!![]});function lintNxRunMany(_0x5cd013){return ''+('npx\x20nx\x20run-many\x20--target=lint-nx\x20--projects='+_0x5cd013+'\x20--output-style=stream\x20--skip-nx-cache\x20--verbose');}__name(lintNxRunMany,'lintNxRunMany');function createSaasKitApp(_0x2cd4af){const _0x30b92e=process['cwd'](),_0x2729d6=_0x1c3e3a['join'](_0x30b92e,buildPaths['buildCliPackage'],nonRootProjectPaths['saasKitCliBin'],files['indexJs']);return 'node\x20'+_0x2729d6+'\x20create\x20'+_0x2cd4af;}__name(createSaasKitApp,'createSaasKitApp');function getRelativeTgzPath(_0xec23f5){return _0x1c3e3a['join'](nonRootProjectPaths['parentDirRef'],nonRootProjectPaths['parentDirRef'],buildPaths['buildPackage'],_0xec23f5);}__name(getRelativeTgzPath,'getRelativeTgzPath');function getDropDatabaseCommand(_0x422f3d,_0xc35a65){return ''+systemCommands['psql']+_0x422f3d+'\x22\x20-c\x20\x22DROP\x20DATABASE\x20IF\x20EXISTS\x20\x5c\x22'+_0xc35a65+'\x5c\x22;\x22';}__name(getDropDatabaseCommand,'getDropDatabaseCommand');function pnpmAdd(_0x57ae7b,_0x3ee076){const _0x50b0e3=_0x3ee076?''+('\x20'+_0x3ee076):'';return ''+(npmCommands['pnpmAdd']+'\x20'+_0x57ae7b+_0x50b0e3);}__name(pnpmAdd,'pnpmAdd');function npmUnpublish(_0x4f1ab9){return ''+(npmCommands['npmUnpublish']+'\x20'+_0x4f1ab9+'\x20'+npmFlags['force']);}__name(npmUnpublish,'npmUnpublish');

export { createSaasKitApp, getDropDatabaseCommand, getRelativeTgzPath, lintNxRunMany, npmUnpublish, pnpmAdd };
