Skip to content

Commit

Permalink
Stop updating lockfile automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacl committed Nov 10, 2024
1 parent c28d798 commit b0970b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ui/.build/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import { type Package, env, errorMark, colors as c } from './main.ts';
import { i18n, stopI18n } from './i18n.ts';

export async function build(pkgs: string[]): Promise<void> {
if (env.install) cps.execSync('pnpm install', { cwd: env.rootDir, stdio: 'inherit' });
if (env.install)
cps.execSync('pnpm install --prefer-frozen-lockfile', { cwd: env.rootDir, stdio: 'inherit' });
if (!pkgs.length) env.log(`Parsing packages in '${c.cyan(env.uiDir)}'`);

ps.chdir(env.uiDir);
Expand Down
2 changes: 1 addition & 1 deletion ui/build
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ if ! command -v pnpm &> /dev/null; then
exit 1
fi

pnpm install --silent --ignore-workspace
pnpm install --silent --ignore-workspace --prefer-frozen-lockfile

node --experimental-strip-types --no-warnings src/main.ts "$@"

0 comments on commit b0970b0

Please sign in to comment.