aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/lib/nots/package_manager/pnpm/utils.py
blob: 9b6b9d80db6d2bc4baf68aa2d90d0fd479d4b7f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os

from .constants import PNPM_PRE_LOCKFILE_FILENAME, PNPM_LOCKFILE_FILENAME, PNPM_WS_FILENAME


def build_pre_lockfile_path(p):
    return os.path.join(p, PNPM_PRE_LOCKFILE_FILENAME)


def build_lockfile_path(p):
    return os.path.join(p, PNPM_LOCKFILE_FILENAME)


def build_ws_config_path(p):
    return os.path.join(p, PNPM_WS_FILENAME)