fix: upstream the msvc-dev-cmd types from upstream

This commit is contained in:
Amin Yahyaabadi 2024-04-01 00:51:47 -07:00
parent 0ea92a8664
commit f1bbf95a2d
16 changed files with 90 additions and 200 deletions

View File

@ -12,6 +12,7 @@ ignorePaths:
- .vscode/extensions.json
words:
- aarch
- hadolint
- aminya
- applellvm
- bazel

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -93,7 +93,7 @@
"micro-memoize": "^4.1.2",
"mkdirp": "^3.0.1",
"mri": "^1.2.0",
"msvc-dev-cmd": "github:ilammy/msvc-dev-cmd#460a772e4cf7358f9f2f23773240813e40e7a894",
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd",
"npm-check-updates": "^16.14.18",
"npm-run-all2": "^6.1.2",
"numerous": "1.0.3",

View File

@ -114,8 +114,8 @@ importers:
specifier: ^1.2.0
version: 1.2.0
msvc-dev-cmd:
specifier: github:ilammy/msvc-dev-cmd#460a772e4cf7358f9f2f23773240813e40e7a894
version: github.com/ilammy/msvc-dev-cmd/460a772e4cf7358f9f2f23773240813e40e7a894
specifier: github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd
version: github.com/aminya/msvc-dev-cmd/c01f519bd995460228ed3dec4df51df92dc290fd
npm-check-updates:
specifier: ^16.14.18
version: 16.14.18
@ -11635,6 +11635,14 @@ packages:
'@babel/core': 7.24.3
dev: true
github.com/aminya/msvc-dev-cmd/c01f519bd995460228ed3dec4df51df92dc290fd:
resolution: {tarball: https://codeload.github.com/aminya/msvc-dev-cmd/tar.gz/c01f519bd995460228ed3dec4df51df92dc290fd}
name: msvc-dev-cmd
version: 1.13.0-dev
dependencies:
'@actions/core': 1.10.1
dev: true
github.com/aminya/setup-python/a783db655c6e40317e2c0c96f9d162d9c9f4a751:
resolution: {tarball: https://codeload.github.com/aminya/setup-python/tar.gz/a783db655c6e40317e2c0c96f9d162d9c9f4a751}
name: setup-python
@ -11676,11 +11684,3 @@ packages:
is-node: 1.0.2
numerous: 1.0.3
dev: true
github.com/ilammy/msvc-dev-cmd/460a772e4cf7358f9f2f23773240813e40e7a894:
resolution: {tarball: https://codeload.github.com/ilammy/msvc-dev-cmd/tar.gz/460a772e4cf7358f9f2f23773240813e40e7a894}
name: msvc-dev-cmd
version: 1.13.0-dev
dependencies:
'@actions/core': 1.10.1
dev: true

12
src/types.d.ts vendored
View File

@ -1,12 +0,0 @@
declare module "msvc-dev-cmd/lib.js" {
export function findVcvarsall(version: string): string
export function vsversion_to_versionnumber(version: string): string
export function setupMSVCDevCmd(
arch: string,
sdk?: string,
toolset?: string,
uwp?: boolean,
spectre?: boolean,
vsversion?: string,
)
}