File tree 7 files changed +7
-1
lines changed
7 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @antfu/ni" ,
3
- "version" : " 0.21.4" ,
4
3
"type" : " module" ,
4
+ "version" : " 0.21.4" ,
5
5
"packageManager" : " pnpm@8.6.8" ,
6
6
"description" : " Use the right package manager" ,
7
7
"author" : " Anthony Fu <anthonyfu117@hotmail.com>" ,
Original file line number Diff line number Diff line change
1
+ import process from 'node:process'
1
2
import type { Choice } from '@posva/prompts'
2
3
import prompts from '@posva/prompts'
3
4
import c from 'kleur'
Original file line number Diff line number Diff line change 1
1
import fs from 'node:fs'
2
2
import path from 'node:path'
3
+ import process from 'node:process'
3
4
import ini from 'ini'
4
5
import { findUp } from 'find-up'
5
6
import type { Agent } from './agents'
Original file line number Diff line number Diff line change 1
1
import fs from 'node:fs'
2
2
import path from 'node:path'
3
+ import process from 'node:process'
3
4
import { execaCommand } from 'execa'
4
5
import { findUp } from 'find-up'
5
6
import terminalLink from 'terminal-link'
Original file line number Diff line number Diff line change 1
1
import { resolve } from 'node:path'
2
2
import fs from 'node:fs'
3
+ import process from 'node:process'
3
4
import type { RunnerContext } from './runner'
4
5
5
6
export function getPackageJSON ( ctx ?: RunnerContext ) : any {
Original file line number Diff line number Diff line change 1
1
/* eslint-disable no-console */
2
2
import { resolve } from 'node:path'
3
+ import process from 'node:process'
3
4
import prompts from '@posva/prompts'
4
5
import { execaCommand } from 'execa'
5
6
import c from 'kleur'
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import os from 'node:os'
2
2
import { dirname , join } from 'node:path'
3
3
import { existsSync , promises as fs } from 'node:fs'
4
4
import type { Buffer } from 'node:buffer'
5
+ import process from 'node:process'
5
6
import which from 'which'
6
7
7
8
export const CLI_TEMP_DIR = join ( os . tmpdir ( ) , 'antfu-ni' )
You can’t perform that action at this time.
0 commit comments