1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/abgox-PSCompletions

Клонировать/Скачать
en-US.json 37 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
abgox Отправлено 30.12.2024 18:46 925d312
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636
{
"root": [
{
"name": "run",
"alias": [
"exec"
],
"tip": [
"U: run|exec [flags] <file or script>\n",
"Execute a file with Bun.\n",
"E: run ./my-script.ts --- Run ts file\n",
" run build --- Run a package.json script"
],
"options": [
{
"name": "--main-fields",
"tip": [
"Main fields to lookup in package.json.\n",
"Defaults to --target dependent"
]
},
{
"name": "--extension-order",
"tip": [
"U: --extension-order <ext1,ext2,ext3>\n",
"Defaults to: .tsx,.ts,.jsx,.js,.json"
],
"next": 0
},
{
"name": "--tsconfig-override",
"tip": [
"U: --tsconfig-override <path>\n",
"Specify custom tsconfig.json.\n",
"Default ./tsconfig.json"
],
"next": 0
},
{
"name": "-d",
"alias": [
"--define"
],
"tip": [
"U: -d|--define <K:V>\n",
"Substitute K:V while parsing. Values are parsed as JSON.\n",
"E: --define process.env.NODE_ENV:\"development\""
],
"next": 0
},
{
"name": "-l",
"alias": [
"--loader"
],
"tip": [
"U: -l|--loader <.ext:loader>\n",
"Parse files with .ext:loader\n",
"Valid loaders: js, jsx, ts, tsx, json, toml, text, file, wasm, napi\n",
"E: --loader .js:jsx"
],
"next": 0
},
{
"name": "--no-macros",
"tip": [
"Disable macros from being executed in the bundler, transpiler and runtime."
]
},
{
"name": "--jsx-factory",
"tip": [
"Changes the function called when compiling JSX elements using the classic JSX runtime."
]
},
{
"name": "--jsx-fragment",
"tip": [
"Changes the function called when compiling JSX fragments."
]
},
{
"name": "--jsx-import-source",
"tip": [
"Declares the module specifier to be used for importing the jsx and jsxs factory functions.\n",
"Default: \"react\""
]
},
{
"name": "--jsx-runtime",
"tip": [
"Set up the JSX runtime."
],
"next": [
{
"name": "classic"
},
{
"name": "automatic"
}
]
}
]
},
{
"name": "test",
"tip": [
"U: test [flags] <file or script>\n",
"Run all matching test files and print the results to stdout."
],
"options": [
{
"name": "--timeout",
"tip": [
"U: --timeout <ms>\n",
"Set the per-test timeout in milliseconds, default is 5000."
],
"next": 0
},
{
"name": "--update-snapshots",
"tip": [
"Update snapshot files"
]
},
{
"name": "--rerun-each",
"tip": [
"U: --rerun-each <n>\n",
"Re-run each test file <n> times, helps catch certain bugs"
],
"next": 0
},
{
"name": "--only",
"tip": [
"Only run tests that are marked with \"test.only()\""
]
},
{
"name": "--todo",
"tip": [
"Include tests that are marked with \"test.todo()\""
]
},
{
"name": "--coverage",
"tip": [
"Generate a coverage profile."
]
},
{
"name": "--bail",
"tip": [
"U: --bail <n>\n",
"Exit the test suite after <n> failures.\n",
"If you do not specify a number, it defaults to 1."
]
},
{
"name": "-t",
"alias": [
"--test-name-pattern"
],
"tip": [
"U: -t|--test-name-pattern <regex>\n",
"Run only tests with a name that matches the given regex."
],
"next": 0
}
]
},
{
"name": "x",
"tip": [
"U: x [flags] <package>[@version] [...flags and arguments]\n",
"Execute an npm package executable (CLI), automatically installing into a global shared cache if not installed in node_modules.\n",
"E: x --bun vite dev foo.js"
],
"options": [
{
"name": "--bun",
"tip": [
"Force the command to run with Bun instead of Node.js"
]
}
]
},
{
"name": "repl",
"tip": [
"U: repl [options]\n",
"Start a REPL session with Bun."
],
"options": [
{
"name": "--sloppy",
"tip": [
"Runs the REPL in sloppy mode."
]
},
{
"name": "--print",
"tip": [
"U: --print <expression>\n",
"Evaluates given code, prints result and exits.\n",
"E: --print \"console.log('Hello')\""
],
"next": 0
},
{
"name": "--eval",
"tip": [
"U: --eval <expression>\n",
"Evaluates given code and silently exits.\n",
"E: --eval \"console.log('Hello')\""
],
"next": 0
}
]
},
{
"name": "install",
"alias": [
"i",
"add",
"a"
],
"tip": [
"U: install|i|add|a\n",
"Install/Add dependencies for a package.json."
],
"options": [
{
"name": "-y",
"alias": [
"--yarn"
],
"tip": [
"U: -y|--yarn\n",
"Write a yarn.lock file. (yarn v1)"
]
},
{
"name": "-p",
"alias": [
"--production"
],
"tip": [
"U: -p|--production\n",
"Don't install devDependencies."
]
},
{
"name": "--no-save",
"tip": [
"Don't update package.json or save a lockfile."
]
},
{
"name": "--save",
"tip": [
"Save to package.json. (true by default)"
]
},
{
"name": "--dry-run",
"tip": [
"Don't install anything."
]
},
{
"name": "--frozen-lockfile",
"tip": [
"Disallow changes to lockfile."
]
},
{
"name": "-f",
"alias": [
"--force"
],
"tip": [
"U: -f|--force\n",
"Always request the latest versions from the registry & reinstall all dependencies."
]
},
{
"name": "--cache-dir",
"tip": [
"U: --cache-dir <path>\n",
"Store & load cached data from a specific directory path."
],
"next": 0
},
{
"name": "--no-cache",
"tip": [
"Ignore manifest cache entirely."
]
},
{
"name": "--silent",
"tip": [
"Don't log anything."
]
},
{
"name": "--verbose",
"tip": [
"Excessively verbose logging."
]
},
{
"name": "--no-progress",
"tip": [
"Disable the progress bar."
]
},
{
"name": "--no-summary",
"tip": [
"Don't print a summary."
]
},
{
"name": "--no-verify",
"tip": [
"Skip verifying integrity of newly downloaded packages."
]
},
{
"name": "--ignore-scripts",
"tip": [
"Skip lifecycle scripts in the project's package.json (dependency scripts are never run)."
]
},
{
"name": "--trust",
"tip": [
"Add to trustedDependencies in the project's package.json and install the package(s)."
]
},
{
"name": "-g",
"alias": [
"--global"
],
"tip": [
"U: -g|--global\n",
"Install globally."
]
},
{
"name": "--cwd",
"tip": [
"U: --cwd <cwd>\n",
"Set a specific cwd."
],
"next": 0
},
{
"name": "--backend",
"tip": [
"Platform-specific optimizations for installing dependencies.\n",
"Possible values: \"hardlink\" (default), \"symlink\", \"copyfile\""
],
"next": [
{
"name": "hardlink",
"tip": [
"default value"
]
},
{
"name": "symlink"
},
{
"name": "copyfile"
}
]
},
{
"name": "--link-native-bins",
"tip": [
"Link \"bin\" from a matching platform-specific \"optionalDependencies\" instead.\n",
"Default: esbuild, turbo"
]
},
{
"name": "--concurrent-scripts",
"tip": [
"Maximum number of concurrent jobs for lifecycle scripts. (default 5)"
]
},
{
"name": "-d",
"alias": [
"--dev"
],
"tip": [
"U: -d|--dev\n",
"Add dependency to \"devDependencies\"."
]
},
{
"name": "--optional",
"tip": [
"Add dependency to \"optionalDependencies\"."
]
},
{
"name": "-E",
"alias": [
"--exact"
],
"tip": [
"U: -E|--exact\n",
"Add the exact version instead of the ^range"
]
}
]
},
{
"name": "remove",
"alias": [
"rm"
],
"tip": [
"U: remove|rm [flags] <pkg> [...<pkg>]\n",
"Remove a package from package.json and uninstall from node_modules.\n",
"E: remove vite"
],
"options": [
{
"name": "-y",
"alias": [
"--yarn"
],
"tip": [
"U: -y|--yarn\n",
"Write a yarn.lock file. (yarn v1)"
]
},
{
"name": "-p",
"alias": [
"--production"
],
"tip": [
"U: -p|--production\n",
"Don't uninstall devDependencies."
]
},
{
"name": "--no-save",
"tip": [
"Don't update package.json or save a lockfile."
]
},
{
"name": "--save",
"tip": [
"Save to package.json. (true by default)"
]
},
{
"name": "--dry-run",
"tip": [
"Don't uninstall anything."
]
},
{
"name": "--frozen-lockfile",
"tip": [
"Disallow changes to lockfile."
]
},
{
"name": "-f",
"alias": [
"--force"
],
"tip": [
"U: -f|--force\n",
"Always request the latest versions from the registry & reinstall all dependencies."
]
},
{
"name": "--cache-dir",
"tip": [
"U: --cache-dir <path>\n",
"Store & load cached data from a specific directory path."
],
"next": 0
},
{
"name": "--no-cache",
"tip": [
"Ignore manifest cache entirely."
]
},
{
"name": "--silent",
"tip": [
"Don't log anything."
]
},
{
"name": "--verbose",
"tip": [
"Excessively verbose logging."
]
},
{
"name": "--no-progress",
"tip": [
"Disable the progress bar."
]
},
{
"name": "--no-summary",
"tip": [
"Don't print a summary."
]
},
{
"name": "--no-verify",
"tip": [
"Skip verifying integrity of newly downloaded packages."
]
},
{
"name": "--ignore-scripts",
"tip": [
"Skip lifecycle scripts in the project's package.json. (dependency scripts are never run)"
]
},
{
"name": "--trust",
"tip": [
"Add to trustedDependencies in the project's package.json and install the package(s)."
]
},
{
"name": "-g",
"alias": [
"--global"
],
"tip": [
"U: -g|--global\n",
"Uninstall globally."
]
},
{
"name": "--cwd",
"tip": [
"U: --cwd <cwd>\n",
"Set a specific cwd"
],
"next": 0
},
{
"name": "--backend",
"tip": [
"Platform-specific optimizations for installing dependencies.\n",
"Possible values: \"hardlink\" (default), \"symlink\", \"copyfile\""
],
"next": [
{
"name": "hardlink",
"tip": [
"default value"
]
},
{
"name": "symlink"
},
{
"name": "copyfile"
}
]
},
{
"name": "--link-native-bins",
"tip": [
"Link \"bin\" from a matching platform-specific \"optionalDependencies\" instead. Default: esbuild, turbo"
]
},
{
"name": "--concurrent-scripts",
"tip": [
"Maximum number of concurrent jobs for lifecycle scripts (default 5)"
]
}
]
},
{
"name": "update",
"tip": [
"Update all dependencies to most recent versions within the version range in package.json."
],
"options": [
{
"name": "-y",
"alias": [
"--yarn"
],
"tip": [
"U: -y|--yarn\n",
"Write a yarn.lock file. (yarn v1)"
]
},
{
"name": "-p",
"alias": [
"--production"
],
"tip": [
"U: -p|--production\n",
"Don't update devDependencies."
]
},
{
"name": "--no-save",
"tip": [
"Don't update package.json or save a lockfile."
]
},
{
"name": "--save",
"tip": [
"Save to package.json. (true by default)"
]
},
{
"name": "--dry-run",
"tip": [
"Don't update anything."
]
},
{
"name": "--frozen-lockfile",
"tip": [
"Disallow changes to lockfile."
]
},
{
"name": "-f",
"alias": [
"--force"
],
"tip": [
"U: -f|--force\n",
"Always request the latest versions from the registry & reinstall all dependencies."
]
},
{
"name": "--cache-dir",
"tip": [
"U: --cache-dir <path>\n",
"Store & load cached data from a specific directory path."
],
"next": 0
},
{
"name": "--no-cache",
"tip": [
"Ignore manifest cache entirely."
]
},
{
"name": "--silent",
"tip": [
"Don't log anything."
]
},
{
"name": "--verbose",
"tip": [
"Excessively verbose logging."
]
},
{
"name": "--no-progress",
"tip": [
"Disable the progress bar."
]
},
{
"name": "--no-summary",
"tip": [
"Don't print a summary."
]
},
{
"name": "--no-verify",
"tip": [
"Skip verifying integrity of newly downloaded packages."
]
},
{
"name": "--ignore-scripts",
"tip": [
"Skip lifecycle scripts in the project's package.json. (dependency scripts are never run)"
]
},
{
"name": "--trust",
"tip": [
"Add to trustedDependencies in the project's package.json and install the package(s)."
]
},
{
"name": "-g",
"alias": [
"--global"
],
"tip": [
"U: -g|--global\n",
"Update globally."
]
},
{
"name": "--cwd",
"tip": [
"U: --cwd <cwd>\n",
"Set a specific cwd."
],
"next": 0
},
{
"name": "--backend",
"tip": [
"Platform-specific optimizations for installing dependencies.\n",
"Possible values: \"hardlink\" (default), \"symlink\", \"copyfile\""
],
"next": [
{
"name": "hardlink",
"tip": [
"default value"
]
},
{
"name": "symlink"
},
{
"name": "copyfile"
}
]
},
{
"name": "--link-native-bins",
"tip": [
"Link \"bin\" from a matching platform-specific \"optionalDependencies\" instead. Default: esbuild, turbo"
]
},
{
"name": "--concurrent-scripts",
"tip": [
"Maximum number of concurrent jobs for lifecycle scripts (default 5)"
]
}
]
},
{
"name": "link",
"tip": [
"U: link [flags] [<package>]\n",
"Register or link a local npm package."
],
"options": [
{
"name": "-y",
"alias": [
"--yarn"
],
"tip": [
"U: -y|--yarn\n",
"Write a yarn.lock file. (yarn v1)"
]
},
{
"name": "-p",
"alias": [
"--production"
],
"tip": [
"U: -p|--production\n",
"Don't link devDependencies."
]
},
{
"name": "--no-save",
"tip": [
"Don't update package.json or save a lockfile."
]
},
{
"name": "--save",
"tip": [
"Save to package.json. (true by default)"
]
},
{
"name": "--dry-run",
"tip": [
"Don't link anything."
]
},
{
"name": "--frozen-lockfile",
"tip": [
"Disallow changes to lockfile."
]
},
{
"name": "-f",
"alias": [
"--force"
],
"tip": [
"U: -f|--force\n",
"Always request the latest versions from the registry & reinstall all dependencies."
]
},
{
"name": "--cache-dir",
"tip": [
"U: --cache-dir <path>\n",
"Store & load cached data from a specific directory path."
],
"next": 0
},
{
"name": "--no-cache",
"tip": [
"Ignore manifest cache entirely."
]
},
{
"name": "--silent",
"tip": [
"Don't log anything."
]
},
{
"name": "--verbose",
"tip": [
"Excessively verbose logging."
]
},
{
"name": "--no-progress",
"tip": [
"Disable the progress bar."
]
},
{
"name": "--no-summary",
"tip": [
"Don't print a summary."
]
},
{
"name": "--no-verify",
"tip": [
"Skip verifying integrity of newly downloaded packages."
]
},
{
"name": "--ignore-scripts",
"tip": [
"Skip lifecycle scripts in the project's package.json. (dependency scripts are never run)"
]
},
{
"name": "--trust",
"tip": [
"Add to trustedDependencies in the project's package.json and install the package(s)."
]
},
{
"name": "-g",
"alias": [
"--global"
],
"tip": [
"U: -g|--global\n",
"Link globally."
]
},
{
"name": "--cwd",
"tip": [
"U: --cwd <cwd>\n",
"Set a specific cwd."
],
"next": 0
},
{
"name": "--backend",
"tip": [
"Platform-specific optimizations for installing dependencies.\n",
"Possible values: \"hardlink\" (default), \"symlink\", \"copyfile\""
],
"next": [
{
"name": "hardlink",
"tip": [
"default value"
]
},
{
"name": "symlink"
},
{
"name": "copyfile"
}
]
},
{
"name": "--link-native-bins",
"tip": [
"Link \"bin\" from a matching platform-specific \"optionalDependencies\" instead. Default: esbuild, turbo"
]
},
{
"name": "--concurrent-scripts",
"tip": [
"Maximum number of concurrent jobs for lifecycle scripts (default 5)"
]
}
]
},
{
"name": "unlink",
"tip": [
"U: unlink [flags] [<package>]\n",
"Unlink a local npm package."
],
"options": [
{
"name": "-y",
"alias": [
"--yarn"
],
"tip": [
"U: -y|--yarn\n",
"Write a yarn.lock file. (yarn v1)"
]
},
{
"name": "-p",
"alias": [
"--production"
],
"tip": [
"U: -p|--production\n",
"Don't unlink devDependencies."
]
},
{
"name": "--no-save",
"tip": [
"Don't update package.json or save a lockfile."
]
},
{
"name": "--save",
"tip": [
"Save to package.json. (true by default)"
]
},
{
"name": "--dry-run",
"tip": [
"Don't unlink anything."
]
},
{
"name": "--frozen-lockfile",
"tip": [
"Disallow changes to lockfile."
]
},
{
"name": "-f",
"alias": [
"--force"
],
"tip": [
"U: -f|--force\n",
"Always request the latest versions from the registry & reinstall all dependencies."
]
},
{
"name": "--cache-dir",
"tip": [
"U: --cache-dir <path>\n",
"Store & load cached data from a specific directory path."
],
"next": 0
},
{
"name": "--no-cache",
"tip": [
"Ignore manifest cache entirely."
]
},
{
"name": "--silent",
"tip": [
"Don't log anything."
]
},
{
"name": "--verbose",
"tip": [
"Excessively verbose logging."
]
},
{
"name": "--no-progress",
"tip": [
"Disable the progress bar."
]
},
{
"name": "--no-summary",
"tip": [
"Don't print a summary."
]
},
{
"name": "--no-verify",
"tip": [
"Skip verifying integrity of newly downloaded packages."
]
},
{
"name": "--ignore-scripts",
"tip": [
"Skip lifecycle scripts in the project's package.json. (dependency scripts are never run)"
]
},
{
"name": "--trust",
"tip": [
"Add to trustedDependencies in the project's package.json and install the package(s)."
]
},
{
"name": "-g",
"alias": [
"--global"
],
"tip": [
"U: -g|--global\n",
"Unlink globally."
]
},
{
"name": "--cwd",
"tip": [
"U: --cwd <cwd>\n",
"Set a specific cwd."
],
"next": 0
},
{
"name": "--backend",
"tip": [
"Platform-specific optimizations for installing dependencies.\n",
"Possible values: \"hardlink\" (default), \"symlink\", \"copyfile\""
],
"next": [
{
"name": "hardlink",
"tip": [
"default value"
]
},
{
"name": "symlink"
},
{
"name": "copyfile"
}
]
},
{
"name": "--link-native-bins",
"tip": [
"Link \"bin\" from a matching platform-specific \"optionalDependencies\" instead. Default: esbuild, turbo"
]
},
{
"name": "--concurrent-scripts",
"tip": [
"Maximum number of concurrent jobs for lifecycle scripts (default 5)"
]
}
]
},
{
"name": "pm",
"tip": [
"U: pm <command>\n",
"Additional package management utilities."
],
"next": [
{
"name": "bin",
"tip": [
"print the path to bin folder"
],
"options": [
{
"name": "-g",
"alias": [
"--global"
],
"tip": [
"U: -g|--global\n",
"print the global bin folder"
]
}
]
},
{
"name": "ls",
"tip": [
"list the dependency tree according to the current lockfile."
],
"options": [
{
"name": "--all",
"tip": [
"list the entire dependency tree according to the current lockfile."
]
}
]
},
{
"name": "hash",
"tip": [
"generate & print the hash of the current lockfile."
]
},
{
"name": "hash-string",
"tip": [
"print the hash stored in the current lockfile."
]
},
{
"name": "cache",
"tip": [
"print the path to the cache folder."
],
"next": [
{
"name": "rm",
"tip": [
"clear the cache"
]
}
]
},
{
"name": "migrate",
"tip": [
"migrate another package manager's lockfile without installing anything."
]
},
{
"name": "untrusted",
"tip": [
"print current untrusted dependencies with scripts."
]
},
{
"name": "default-trusted",
"tip": [
"print the default trusted dependencies list."
]
}
]
},
{
"name": "build",
"tip": [
"U: build [...flags] [...entrypoints]\n",
"Transpile and bundle one or more files.\n",
"E: build ./a.ts ./b.jsx"
],
"options": [
{
"name": "--compile",
"tip": [
"Generate a standalone Bun executable containing your bundled code."
]
},
{
"name": "--watch",
"tip": [
"Automatically restart the process on file change."
]
},
{
"name": "--target",
"tip": [
"The intended execution environment for the bundle.\n",
"\"browser\", \"bun\" or \"node\""
],
"next": [
{
"name": "browser"
},
{
"name": "bun"
},
{
"name": "node"
}
]
},
{
"name": "--outdir",
"tip": [
"Default to \"dist\" if multiple files."
]
},
{
"name": "--outfile",
"tip": [
"U: --outfile <path>\n",
"Write to a file"
],
"next": 0
},
{
"name": "--sourcemap",
"tip": [
"Build with sourcemaps - 'inline', 'external', or 'none'"
],
"next": [
{
"name": "inline"
},
{
"name": "external"
},
{
"name": "none"
}
]
},
{
"name": "--format",
"tip": [
"Specifies the module format to build to. Only \"esm\" is supported."
]
},
{
"name": "--root",
"tip": [
"Root directory used for multiple entry points."
]
},
{
"name": "--splitting",
"tip": [
"Enable code splitting."
]
},
{
"name": "--public-path",
"tip": [
"A prefix to be appended to any import paths in bundled code."
]
},
{
"name": "-e",
"alias": [
"--external"
],
"tip": [
"U: -e|--external <module>\n",
"Exclude module from transpilation (can use * wildcards).\n",
"E: -e react"
],
"next": 0
},
{
"name": "--entry-naming",
"tip": [
"U: --entry-naming <name>\n",
"Customize entry point filenames. Defaults to \"[dir]/[name].[ext]\""
],
"next": 0
},
{
"name": "--chunk-naming",
"tip": [
"U: --chunk-naming <name>\n",
"Customize chunk filenames. Defaults to \"[name]-[hash].[ext]\""
],
"next": 0
},
{
"name": "--asset-naming",
"tip": [
"U: --asset-naming <name>\n",
"Customize asset filenames. Defaults to \"[name]-[hash].[ext]\""
],
"next": 0
},
{
"name": "--server-components",
"tip": [
"Enable React Server Components. (experimental)"
]
},
{
"name": "--no-bundle",
"tip": [
"Transpile file only, do not bundle."
]
},
{
"name": "--minify",
"tip": [
"Enable all minification flags."
]
},
{
"name": "--minify-syntax",
"tip": [
"Minify syntax and inline data."
]
},
{
"name": "--minify-whitespace",
"tip": [
"Minify whitespace."
]
},
{
"name": "--minify-identifiers",
"tip": [
"Minify identifiers."
]
},
{
"name": "--conditions",
"tip": [
"Pass custom conditions to resolve."
]
}
]
},
{
"name": "init",
"tip": [
"U: init [flags] [<entrypoint> ...]\n",
"Initialize a Bun project in the current directory.\n",
"Creates a package.json, tsconfig.json, and bunfig.toml if they don't exist."
],
"options": [
{
"name": "-y",
"alias": [
"--yes"
],
"tip": [
"U: -y|--yes\n",
"Accept all default options."
]
}
]
},
{
"name": "c",
"alias": [
"create"
],
"tip": [
"U: c|create <template> [...flags] [dest]\n",
"Create a new project from a template.\n",
"E: create @"
]
},
{
"name": "upgrade",
"tip": [
"E: upgrade [flags]\n",
"Upgrade to latest version of Bun."
],
"options": [
{
"name": "--canary",
"tip": [
"Install the most recent canary version of Bun."
]
}
]
}
],
"options": [
{
"name": "-v",
"alias": [
"--version"
],
"tip": [
"U: -v|--version\n",
"Show current version of Bun."
]
},
{
"name": "--revision",
"tip": [
"Print version with revision and exit"
]
}
],
"common_options": [
{
"name": "-h",
"alias": [
"--help"
],
"tip": [
"U: -h|--help\n",
"Print help text for command."
]
},
{
"name": "--watch",
"tip": [
"Automatically restart the process on file change."
]
},
{
"name": "--hot",
"tip": [
"Enable auto reload in the Bun runtime, test runner, or bundler."
]
},
{
"name": "--smol",
"tip": [
"Use less memory, but run garbage collection more often."
]
},
{
"name": "-r",
"alias": [
"--preload"
],
"tip": [
"U: -r|--preload <module>\n",
"Import a module before other modules are loaded."
],
"next": 0
},
{
"name": "--inspect",
"tip": [
"Activate Bun's debugger."
]
},
{
"name": "--inspect-wait",
"tip": [
"Activate Bun's debugger, wait for a connection before executing."
]
},
{
"name": "--inspect-brk",
"tip": [
"Activate Bun's debugger, set breakpoint on first line of code and wait."
]
},
{
"name": "--if-present",
"tip": [
"Exit without an error if the entrypoint does not exist."
]
},
{
"name": "--no-install",
"tip": [
"Disable auto install in the Bun runtime."
]
},
{
"name": "--install",
"tip": [
"Configure auto-install behavior.\n",
"Possible values: \"auto\", \"fallback\", \"force\""
],
"next": [
{
"name": "auto",
"tip": [
"default, auto-installs when no node_modules"
]
},
{
"name": "fallback",
"tip": [
"missing packages only"
]
},
{
"name": "force",
"tip": [
"always"
]
}
]
},
{
"name": "-i",
"tip": [
"Auto-install dependencies during execution.\n",
"Equivalent to --install=fallback."
]
},
{
"name": "-e",
"alias": [
"--eval"
],
"tip": [
"U: -e|--eval <code>\n",
"Evaluate argument as a script."
],
"next": 0
},
{
"name": "--print",
"tip": [
"Evaluate argument as a script and print the result."
]
},
{
"name": "--prefer-offline",
"tip": [
"Skip staleness checks for packages in the Bun runtime and resolve from disk."
]
},
{
"name": "--prefer-latest",
"tip": [
"Use the latest matching versions of packages in the Bun runtime, always checking npm."
]
},
{
"name": "-p",
"alias": [
"--port"
],
"tip": [
"U: -p|--port <port>\n",
"Set the default port for Bun.serve."
],
"next": 0
},
{
"name": "--conditions",
"tip": [
"Pass custom conditions to resolve."
]
},
{
"name": "--silent",
"tip": [
"Don't print the script command."
]
},
{
"name": "-b",
"alias": [
"--bun"
],
"tip": [
"U: -b|--bun\n",
"Force a script or package to use Bun's runtime instead of Node.js (via symlinking node)."
]
},
{
"name": "--shell",
"tip": [
"Control the shell used for package.json scripts.\n",
"Supports either 'bun' or 'system'."
]
},
{
"name": "--env-file",
"tip": [
"Load environment variables from the specified file(s)."
]
},
{
"name": "--cwd",
"tip": [
"Absolute path to resolve files & entry points from.\n",
"This just changes the process' cwd."
]
},
{
"name": "-c",
"alias": [
"--config"
],
"tip": [
"U: -c|--config <path>\n",
"Specify path to Bun config file.\n",
"Default ./bunfig.toml."
]
}
],
"info": {
"completion_info": {
"url": "https://bun.sh",
"description": [
"Bun - JavaScript all-in-one toolkit."
]
}
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/abgox-PSCompletions.git
git@api.gitlife.ru:oschina-mirror/abgox-PSCompletions.git
oschina-mirror
abgox-PSCompletions
abgox-PSCompletions
main