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

from .npm_constants import NPM_LOCKFILE_FILENAME, NPM_PRE_LOCKFILE_FILENAME, NPM_WORKSPACE_FILENAME


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


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


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