update build/output

This commit is contained in:
Erik Burton 2024-01-23 13:17:43 -08:00
parent a4ed51b737
commit 698b7423d6
No known key found for this signature in database
3 changed files with 8 additions and 12 deletions

8
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@ export async function runSelfInstaller(inputs: Inputs): Promise<number> {
// prepare target pnpm // prepare target pnpm
const target = await readTarget({ version, packageJsonFile, standalone }) const target = await readTarget({ version, packageJsonFile, standalone })
const cp = spawn(execPath, [path.join(__dirname, 'pnpm.js'), 'install', target, '--no-lockfile'], { const cp = spawn(execPath, [path.join(__dirname, 'pnpm.cjs'), 'install', target, '--no-lockfile'], {
cwd: dest, cwd: dest,
stdio: ['pipe', 'inherit', 'inherit'], stdio: ['pipe', 'inherit', 'inherit'],
}) })

View File

@ -1,15 +1,11 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2018", "target": "ES2022",
"module": "CommonJS", "module": "Node16",
"moduleResolution": "Node",
"resolveJsonModule": true, "resolveJsonModule": true,
"lib": [ "lib": [
"ES2018", "ES2023"
"ES2019",
"ES2020",
"ESNext"
], ],
"outDir": "./dist/tsc", "outDir": "./dist/tsc",
"preserveConstEnums": true, "preserveConstEnums": true,