mirror of https://github.com/aminya/setup-cpp
fix: add js file extension for all relative imports
This commit is contained in:
parent
33c1974e70
commit
08cf20cc0e
|
@ -66,6 +66,7 @@
|
||||||
"files.insertFinalNewline": true,
|
"files.insertFinalNewline": true,
|
||||||
"files.trimFinalNewlines": true,
|
"files.trimFinalNewlines": true,
|
||||||
"hadolint.hadolintPath": "./target/bin/hadolint",
|
"hadolint.hadolintPath": "./target/bin/hadolint",
|
||||||
// use dprint instead
|
"prettier.enable": false,
|
||||||
"prettier.enable": false
|
"javascript.preferences.importModuleSpecifierEnding": "js",
|
||||||
|
"typescript.preferences.importModuleSpecifierEnding": "js"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
|
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
|
||||||
"files": {
|
"files": {
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"**/node_modules/**",
|
"**/node_modules/**",
|
||||||
|
@ -30,6 +30,9 @@
|
||||||
},
|
},
|
||||||
"suspicious": {
|
"suspicious": {
|
||||||
"noConfusingVoidType": "off"
|
"noConfusingVoidType": "off"
|
||||||
|
},
|
||||||
|
"nursery": {
|
||||||
|
"useImportExtensions": "warn"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -25,7 +25,7 @@ words:
|
||||||
- choco
|
- choco
|
||||||
- clangd
|
- clangd
|
||||||
- cmake
|
- cmake
|
||||||
- iana
|
- iarna
|
||||||
- cobertura
|
- cobertura
|
||||||
- copr
|
- copr
|
||||||
- CPATH
|
- CPATH
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
"module.sortImportDeclarations": "maintain",
|
"module.sortImportDeclarations": "maintain",
|
||||||
"importDeclaration.sortNamedImports": "maintain"
|
"importDeclaration.sortNamedImports": "maintain"
|
||||||
},
|
},
|
||||||
"json": {},
|
"json": {
|
||||||
|
"trailingCommas": "never"
|
||||||
|
},
|
||||||
"markdown": {},
|
"markdown": {},
|
||||||
"dockerfile": {},
|
"dockerfile": {},
|
||||||
"exec": {
|
"exec": {
|
||||||
|
@ -26,7 +28,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"includes": [
|
"includes": [
|
||||||
"**/*{.ts,.tsx,.mts,.cts,.js,.jsx,.cjs,.mjs,.json,.md,.yaml,.yml,.dockerfile}"
|
"**/*{.ts,.tsx,.mts,.cts,.js,.jsx,.cjs,.mjs,.json,.jsonc,.md,.yaml,.yml,.dockerfile}"
|
||||||
],
|
],
|
||||||
"excludes": [
|
"excludes": [
|
||||||
"**/node_modules",
|
"**/node_modules",
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist"
|
"outDir": "./dist",
|
||||||
|
"noEmit": false,
|
||||||
|
"allowImportingTsExtensions": false
|
||||||
},
|
},
|
||||||
"include": ["./src"]
|
"include": ["./src"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist"
|
"outDir": "./dist",
|
||||||
|
"noEmit": false,
|
||||||
|
"allowImportingTsExtensions": false
|
||||||
},
|
},
|
||||||
"include": ["./src"]
|
"include": ["./src"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist"
|
"outDir": "./dist",
|
||||||
|
"noEmit": false,
|
||||||
|
"allowImportingTsExtensions": false
|
||||||
},
|
},
|
||||||
"include": ["./src"]
|
"include": ["./src"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist"
|
"outDir": "./dist",
|
||||||
|
"noEmit": false,
|
||||||
|
"allowImportingTsExtensions": false
|
||||||
},
|
},
|
||||||
"include": ["./src"]
|
"include": ["./src"]
|
||||||
}
|
}
|
||||||
|
|
248
pnpm-lock.yaml
248
pnpm-lock.yaml
|
@ -6263,16 +6263,17 @@ snapshots:
|
||||||
'@nodelib/fs.scandir': 2.1.5
|
'@nodelib/fs.scandir': 2.1.5
|
||||||
fastq: 1.17.1
|
fastq: 1.17.1
|
||||||
|
|
||||||
'@parcel/bundler-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/bundler-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/graph': 3.2.0
|
'@parcel/graph': 3.2.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/cache@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
'@parcel/cache@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -6288,46 +6289,47 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
|
|
||||||
'@parcel/compressor-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/compressor-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/config-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)(postcss@8.4.41)(typescript@5.5.4)':
|
'@parcel/config-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)(postcss@8.4.41)(typescript@5.5.4)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/bundler-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/bundler-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/compressor-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/compressor-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
||||||
'@parcel/namer-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/namer-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/optimizer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/optimizer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/optimizer-htmlnano': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(postcss@8.4.41)(typescript@5.5.4)
|
'@parcel/optimizer-htmlnano': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)(postcss@8.4.41)(typescript@5.5.4)
|
||||||
'@parcel/optimizer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/optimizer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/optimizer-svgo': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/optimizer-svgo': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/optimizer-swc': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/optimizer-swc': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/packager-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/packager-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/packager-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/packager-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/packager-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/packager-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/packager-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/packager-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/packager-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/packager-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/packager-wasm': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/packager-wasm': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/resolver-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/resolver-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/runtime-browser-hmr': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/runtime-browser-hmr': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/runtime-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/runtime-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/runtime-react-refresh': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/runtime-react-refresh': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/runtime-service-worker': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/runtime-service-worker': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-babel': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-babel': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
||||||
'@parcel/transformer-json': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-json': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-postcss': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-postcss': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-posthtml': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-posthtml': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-react-refresh-wrap': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-react-refresh-wrap': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/transformer-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/transformer-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@swc/helpers'
|
- '@swc/helpers'
|
||||||
- cssnano
|
- cssnano
|
||||||
|
@ -6349,13 +6351,13 @@ snapshots:
|
||||||
'@parcel/graph': 3.2.0
|
'@parcel/graph': 3.2.0
|
||||||
'@parcel/logger': 2.12.0
|
'@parcel/logger': 2.12.0
|
||||||
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/profiler': 2.12.0
|
'@parcel/profiler': 2.12.0
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
abortcontroller-polyfill: 1.7.5
|
abortcontroller-polyfill: 1.7.5
|
||||||
base-x: 3.0.10
|
base-x: 3.0.10
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
|
@ -6383,7 +6385,7 @@ snapshots:
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/watcher': 2.4.1
|
'@parcel/watcher': 2.4.1
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@swc/helpers'
|
- '@swc/helpers'
|
||||||
|
|
||||||
|
@ -6400,13 +6402,14 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
|
|
||||||
'@parcel/namer-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/namer-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/node-resolver-core@3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/node-resolver-core@3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -6420,10 +6423,10 @@ snapshots:
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
|
||||||
'@parcel/optimizer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/optimizer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
|
@ -6431,16 +6434,18 @@ snapshots:
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/optimizer-htmlnano@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(postcss@8.4.41)(typescript@5.5.4)':
|
'@parcel/optimizer-htmlnano@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)(postcss@8.4.41)(typescript@5.5.4)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
htmlnano: 2.1.1(postcss@8.4.41)(svgo@2.8.0)(typescript@5.5.4)
|
htmlnano: 2.1.1(postcss@8.4.41)(svgo@2.8.0)(typescript@5.5.4)
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
svgo: 2.8.0
|
svgo: 2.8.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
- cssnano
|
- cssnano
|
||||||
- postcss
|
- postcss
|
||||||
- purgecss
|
- purgecss
|
||||||
|
@ -6450,28 +6455,31 @@ snapshots:
|
||||||
- typescript
|
- typescript
|
||||||
- uncss
|
- uncss
|
||||||
|
|
||||||
'@parcel/optimizer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/optimizer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/optimizer-svgo@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/optimizer-svgo@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
svgo: 2.8.0
|
svgo: 2.8.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/optimizer-swc@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
'@parcel/optimizer-swc@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@swc/core': 1.7.11(@swc/helpers@0.5.12)
|
'@swc/core': 1.7.11(@swc/helpers@0.5.12)
|
||||||
|
@ -6489,37 +6497,39 @@ snapshots:
|
||||||
'@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@swc/core': 1.7.11(@swc/helpers@0.5.12)
|
'@swc/core': 1.7.11(@swc/helpers@0.5.12)
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@swc/helpers'
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/packager-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/packager-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
lightningcss: 1.26.0
|
lightningcss: 1.26.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/packager-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/packager-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/packager-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/packager-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
|
@ -6528,33 +6538,38 @@ snapshots:
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/packager-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/packager-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/packager-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/packager-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/packager-wasm@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/packager-wasm@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/plugin@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/plugin@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/profiler@2.12.0':
|
'@parcel/profiler@2.12.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -6562,71 +6577,79 @@ snapshots:
|
||||||
'@parcel/events': 2.12.0
|
'@parcel/events': 2.12.0
|
||||||
chrome-trace-event: 1.0.4
|
chrome-trace-event: 1.0.4
|
||||||
|
|
||||||
'@parcel/reporter-cli@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/reporter-cli@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
term-size: 2.2.1
|
term-size: 2.2.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/reporter-dev-server@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/reporter-dev-server@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/reporter-tracer@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/reporter-tracer@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
chrome-trace-event: 1.0.4
|
chrome-trace-event: 1.0.4
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/resolver-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/resolver-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/runtime-browser-hmr@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/runtime-browser-hmr@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/runtime-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/runtime-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/runtime-react-refresh@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/runtime-react-refresh@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
react-error-overlay: 6.0.9
|
react-error-overlay: 6.0.9
|
||||||
react-refresh: 0.9.0
|
react-refresh: 0.9.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/runtime-service-worker@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/runtime-service-worker@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/rust@2.12.0': {}
|
'@parcel/rust@2.12.0': {}
|
||||||
|
|
||||||
|
@ -6634,10 +6657,10 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
detect-libc: 1.0.3
|
detect-libc: 1.0.3
|
||||||
|
|
||||||
'@parcel/transformer-babel@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-babel@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
|
@ -6646,11 +6669,12 @@ snapshots:
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/transformer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
|
@ -6658,11 +6682,12 @@ snapshots:
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/transformer-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
|
@ -6672,41 +6697,45 @@ snapshots:
|
||||||
srcset: 4.0.0
|
srcset: 4.0.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/transformer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/transformer-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@swc/helpers': 0.5.12
|
'@swc/helpers': 0.5.12
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
regenerator-runtime: 0.13.11
|
regenerator-runtime: 0.13.11
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
|
|
||||||
'@parcel/transformer-json@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-json@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
json5: 2.2.3
|
json5: 2.2.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/transformer-postcss@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-postcss@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
clone: 2.1.2
|
clone: 2.1.2
|
||||||
|
@ -6715,10 +6744,11 @@ snapshots:
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/transformer-posthtml@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-posthtml@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
|
@ -6727,25 +6757,28 @@ snapshots:
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/transformer-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/transformer-react-refresh-wrap@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-react-refresh-wrap@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
react-refresh: 0.9.0
|
react-refresh: 0.9.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/transformer-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/transformer-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
|
@ -6754,6 +6787,7 @@ snapshots:
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/types@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
'@parcel/types@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -6762,7 +6796,7 @@ snapshots:
|
||||||
'@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
utility-types: 3.11.0
|
utility-types: 3.11.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
@ -6835,7 +6869,7 @@ snapshots:
|
||||||
'@parcel/watcher-win32-ia32': 2.4.1
|
'@parcel/watcher-win32-ia32': 2.4.1
|
||||||
'@parcel/watcher-win32-x64': 2.4.1
|
'@parcel/watcher-win32-x64': 2.4.1
|
||||||
|
|
||||||
'@parcel/workers@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))':
|
'@parcel/workers@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.12)
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
|
@ -6844,6 +6878,8 @@ snapshots:
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@pkgr/core@0.1.1': {}
|
'@pkgr/core@0.1.1': {}
|
||||||
|
|
||||||
|
@ -10376,9 +10412,9 @@ snapshots:
|
||||||
'@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/logger': 2.12.0
|
'@parcel/logger': 2.12.0
|
||||||
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/reporter-cli': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/reporter-cli': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/reporter-tracer': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))
|
'@parcel/reporter-tracer': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.12))(@swc/helpers@0.5.12)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
commander: 7.2.0
|
commander: 7.2.0
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { parseArgs } from "../cli-options"
|
import { parseArgs } from "../cli-options.js"
|
||||||
import { getCompilerInfo } from "../compilers"
|
import { getCompilerInfo } from "../compilers.js"
|
||||||
import type { Inputs } from "../tool"
|
import type { Inputs } from "../tool.js"
|
||||||
import { DefaultLinuxVersion } from "../versions/default_versions"
|
import { DefaultLinuxVersion } from "../versions/default_versions.js"
|
||||||
import { getVersion, syncVersions } from "../versions/versions"
|
import { getVersion, syncVersions } from "../versions/versions.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("getCompilerInfo", () => {
|
describe("getCompilerInfo", () => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import type { InstallationInfo } from "../../utils/setup/setupBin"
|
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupBazel } from "../bazel"
|
import { setupBazel } from "../bazel.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-bazel", () => {
|
describe("setup-bazel", () => {
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { execRootSync } from "admina"
|
import { execRootSync } from "admina"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { addAptKeyViaDownload, setupAptPack } from "../utils/setup/setupAptPack"
|
import { addAptKeyViaDownload, setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export async function setupBazel(version: string, _setupDir: string, _arch: string) {
|
export async function setupBazel(version: string, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupBrew } from "../brew"
|
import { setupBrew } from "../brew.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-brew", () => {
|
describe("setup-brew", () => {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { readFile } from "fs/promises"
|
||||||
import { addPath } from "os-env"
|
import { addPath } from "os-env"
|
||||||
import { dirname } from "patha"
|
import { dirname } from "patha"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
|
|
||||||
/* eslint-disable require-atomic-updates */
|
/* eslint-disable require-atomic-updates */
|
||||||
let binDir: string | undefined
|
let binDir: string | undefined
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import type { InstallationInfo } from "../../utils/setup/setupBin"
|
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupCcache } from "../ccache"
|
import { setupCcache } from "../ccache.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-ccache", () => {
|
describe("setup-ccache", () => {
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export function setupCcache(version: string, _setupDir: string, _arch: string) {
|
export function setupCcache(version: string, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import type { InstallationInfo } from "../../utils/setup/setupBin"
|
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupChocolatey } from "../chocolatey"
|
import { setupChocolatey } from "../chocolatey.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-chocolatey", () => {
|
describe("setup-chocolatey", () => {
|
||||||
|
|
|
@ -3,8 +3,8 @@ import { addPath } from "os-env"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
import { dirname } from "patha"
|
import { dirname } from "patha"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import type { InstallationInfo } from "../utils/setup/setupBin"
|
import type { InstallationInfo } from "../utils/setup/setupBin.js"
|
||||||
|
|
||||||
/* eslint-disable require-atomic-updates */
|
/* eslint-disable require-atomic-updates */
|
||||||
let binDir: string | undefined
|
let binDir: string | undefined
|
||||||
|
|
|
@ -2,8 +2,8 @@ import { getInput } from "@actions/core"
|
||||||
import { info } from "ci-log"
|
import { info } from "ci-log"
|
||||||
import mri from "mri"
|
import mri from "mri"
|
||||||
import { untildifyUser } from "untildify-user"
|
import { untildifyUser } from "untildify-user"
|
||||||
import { type Inputs, inputs } from "./tool"
|
import { type Inputs, inputs } from "./tool.js"
|
||||||
import type { InstallationInfo } from "./utils/setup/setupBin"
|
import type { InstallationInfo } from "./utils/setup/setupBin.js"
|
||||||
|
|
||||||
export function parseArgs(args: string[]): Opts {
|
export function parseArgs(args: string[]): Opts {
|
||||||
return mri<Record<Inputs, string | undefined> & { help: boolean }>(args, {
|
return mri<Record<Inputs, string | undefined> & { help: boolean }>(args, {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupCmake } from "../cmake"
|
import { setupCmake } from "../cmake.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { addExeExt } from "patha"
|
import { addExeExt } from "patha"
|
||||||
import semverCoerce from "semver/functions/coerce"
|
import semverCoerce from "semver/functions/coerce"
|
||||||
import semverLte from "semver/functions/lte"
|
import semverLte from "semver/functions/lte"
|
||||||
import { extractTarByExe, extractZip } from "../utils/setup/extract"
|
import { extractTarByExe, extractZip } from "../utils/setup/extract.js"
|
||||||
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin"
|
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin.js"
|
||||||
|
|
||||||
/** Get the platform data for cmake */
|
/** Get the platform data for cmake */
|
||||||
function getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {
|
function getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {
|
||||||
|
|
|
@ -3,12 +3,12 @@ import { endGroup, notice, startGroup } from "@actions/core"
|
||||||
import { error, info } from "ci-log"
|
import { error, info } from "ci-log"
|
||||||
import { addEnv } from "os-env"
|
import { addEnv } from "os-env"
|
||||||
import semverValid from "semver/functions/valid"
|
import semverValid from "semver/functions/valid"
|
||||||
import { getSuccessMessage, rcOptions } from "./cli-options"
|
import { getSuccessMessage, rcOptions } from "./cli-options.js"
|
||||||
import { setupGcc, setupMingw } from "./gcc/gcc"
|
import { setupGcc, setupMingw } from "./gcc/gcc.js"
|
||||||
import { activateGcovGCC, activateGcovLLVM } from "./gcovr/gcovr"
|
import { activateGcovGCC, activateGcovLLVM } from "./gcovr/gcovr.js"
|
||||||
import { setupLLVM } from "./llvm/llvm"
|
import { setupLLVM } from "./llvm/llvm.js"
|
||||||
import { setupMSVC } from "./msvc/msvc"
|
import { setupMSVC } from "./msvc/msvc.js"
|
||||||
import { getVersion } from "./versions/versions"
|
import { getVersion } from "./versions/versions.js"
|
||||||
|
|
||||||
/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */
|
/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */
|
||||||
export function getCompilerInfo(compilerAndVersion: string) {
|
export function getCompilerInfo(compilerAndVersion: string) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupConan } from "../conan"
|
import { setupConan } from "../conan.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-conan", () => {
|
describe("setup-conan", () => {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { setupPipPack } from "../utils/setup/setupPipPack"
|
import { setupPipPack } from "../utils/setup/setupPipPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export function setupConan(version: string | undefined, _setupDir: string, _arch: string) {
|
export function setupConan(version: string | undefined, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupCppcheck } from "../cppcheck"
|
import { setupCppcheck } from "../cppcheck.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-cppcheck", () => {
|
describe("setup-cppcheck", () => {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
import { addPath } from "os-env"
|
import { addPath } from "os-env"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {
|
export async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { macosVersion } from "../../utils/env/macos_version"
|
import { macosVersion } from "../../utils/env/macos_version.js"
|
||||||
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../../utils/env/ubuntu_version.js"
|
||||||
import type { InstallationInfo } from "../../utils/setup/setupBin"
|
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
|
||||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupDoxygen } from "../doxygen"
|
import { setupDoxygen } from "../doxygen.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-doxygen", () => {
|
describe("setup-doxygen", () => {
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
import { info, notice } from "ci-log"
|
import { info, notice } from "ci-log"
|
||||||
import { addPath } from "os-env"
|
import { addPath } from "os-env"
|
||||||
import { addExeExt, join } from "patha"
|
import { addExeExt, join } from "patha"
|
||||||
import { setupGraphviz } from "../graphviz/graphviz"
|
import { setupGraphviz } from "../graphviz/graphviz.js"
|
||||||
import { extractTar, extractZip } from "../utils/setup/extract"
|
import { extractTar, extractZip } from "../utils/setup/extract.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin"
|
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
import { getVersion } from "../versions/versions"
|
import { getVersion } from "../versions/versions.js"
|
||||||
|
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
import retry from "retry-as-promised"
|
import retry from "retry-as-promised"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { macosVersion } from "../utils/env/macos_version"
|
import { macosVersion } from "../utils/env/macos_version.js"
|
||||||
import { ubuntuVersion } from "../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../utils/env/ubuntu_version.js"
|
||||||
import { setupDmg } from "../utils/setup/setupDmg"
|
import { setupDmg } from "../utils/setup/setupDmg.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
|
|
||||||
/** Get the platform data for cmake */
|
/** Get the platform data for cmake */
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import { execaSync } from "execa"
|
import { execaSync } from "execa"
|
||||||
import { chmod } from "fs/promises"
|
import { chmod } from "fs/promises"
|
||||||
import { addExeExt, join } from "patha"
|
import { addExeExt, join } from "patha"
|
||||||
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../../utils/env/ubuntu_version.js"
|
||||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupGcc } from "../gcc"
|
import { setupGcc } from "../gcc.js"
|
||||||
|
|
||||||
jest.setTimeout(3000000)
|
jest.setTimeout(3000000)
|
||||||
describe("setup-gcc", () => {
|
describe("setup-gcc", () => {
|
||||||
|
|
|
@ -7,18 +7,18 @@ import { pathExists } from "path-exists"
|
||||||
import { addExeExt, join } from "patha"
|
import { addExeExt, join } from "patha"
|
||||||
import semverCoerce from "semver/functions/coerce"
|
import semverCoerce from "semver/functions/coerce"
|
||||||
import semverMajor from "semver/functions/major"
|
import semverMajor from "semver/functions/major"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { setupMacOSSDK } from "../macos-sdk/macos-sdk"
|
import { setupMacOSSDK } from "../macos-sdk/macos-sdk.js"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { extract7Zip } from "../utils/setup/extract"
|
import { extract7Zip } from "../utils/setup/extract.js"
|
||||||
import { setupAptPack, updateAptAlternatives } from "../utils/setup/setupAptPack"
|
import { setupAptPack, updateAptAlternatives } from "../utils/setup/setupAptPack.js"
|
||||||
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin"
|
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
|
|
||||||
interface MingwInfo {
|
interface MingwInfo {
|
||||||
releaseName: string
|
releaseName: string
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../../utils/env/ubuntu_version.js"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupGcovr } from "../gcovr"
|
import { setupGcovr } from "../gcovr.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-gcovr", () => {
|
describe("setup-gcovr", () => {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { addEnv } from "os-env"
|
import { addEnv } from "os-env"
|
||||||
import semverMajor from "semver/functions/major"
|
import semverMajor from "semver/functions/major"
|
||||||
import semverValid from "semver/functions/valid"
|
import semverValid from "semver/functions/valid"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { setupPipPack } from "../utils/setup/setupPipPack"
|
import { setupPipPack } from "../utils/setup/setupPipPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {
|
export function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import { macosVersion } from "../../utils/env/macos_version"
|
import { macosVersion } from "../../utils/env/macos_version.js"
|
||||||
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../../utils/env/ubuntu_version.js"
|
||||||
import type { InstallationInfo } from "../../utils/setup/setupBin"
|
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
|
||||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupGraphviz } from "../graphviz"
|
import { setupGraphviz } from "../graphviz.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-graphviz", () => {
|
describe("setup-graphviz", () => {
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
import { addPath } from "os-env"
|
import { addPath } from "os-env"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import type { InstallationInfo } from "../utils/setup/setupBin"
|
import type { InstallationInfo } from "../utils/setup/setupBin.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export async function setupGraphviz(version: string, _setupDir: string, _arch: string) {
|
export async function setupGraphviz(version: string, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -2,11 +2,11 @@ import { endGroup, startGroup } from "@actions/core"
|
||||||
import { error } from "ci-log"
|
import { error } from "ci-log"
|
||||||
import pTimeout from "p-timeout"
|
import pTimeout from "p-timeout"
|
||||||
import { join } from "patha"
|
import { join } from "patha"
|
||||||
import { getSuccessMessage } from "./cli-options"
|
import { getSuccessMessage } from "./cli-options.js"
|
||||||
import { type ToolName, setups } from "./tool"
|
import { type ToolName, setups } from "./tool.js"
|
||||||
import type { InstallationInfo } from "./utils/setup/setupBin"
|
import type { InstallationInfo } from "./utils/setup/setupBin.js"
|
||||||
import { setupVCVarsall } from "./vcvarsall/vcvarsall"
|
import { setupVCVarsall } from "./vcvarsall/vcvarsall.js"
|
||||||
import { getVersion } from "./versions/versions"
|
import { getVersion } from "./versions/versions.js"
|
||||||
|
|
||||||
export const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes
|
export const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { info } from "@actions/core"
|
import { info } from "@actions/core"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import type { InstallationInfo } from "../../utils/setup/setupBin"
|
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
|
||||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupKcov } from "../kcov"
|
import { setupKcov } from "../kcov.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-Kcov", () => {
|
describe("setup-Kcov", () => {
|
||||||
|
|
|
@ -3,19 +3,19 @@ import { execa } from "execa"
|
||||||
import { addExeExt, join } from "patha"
|
import { addExeExt, join } from "patha"
|
||||||
import { untildifyUser } from "untildify-user"
|
import { untildifyUser } from "untildify-user"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { setupCmake } from "../cmake/cmake"
|
import { setupCmake } from "../cmake/cmake.js"
|
||||||
import { setupNinja } from "../ninja/ninja"
|
import { setupNinja } from "../ninja/ninja.js"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { ubuntuVersion } from "../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../utils/env/ubuntu_version.js"
|
||||||
import { extractTarByExe } from "../utils/setup/extract"
|
import { extractTarByExe } from "../utils/setup/extract.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin"
|
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
import { addVPrefix, removeVPrefix } from "../utils/setup/version"
|
import { addVPrefix, removeVPrefix } from "../utils/setup/version.js"
|
||||||
import { getVersion } from "../versions/versions"
|
import { getVersion } from "../versions/versions.js"
|
||||||
|
|
||||||
function getDownloadKcovPackageInfo(version: string): PackageInfo {
|
function getDownloadKcovPackageInfo(version: string): PackageInfo {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -3,12 +3,12 @@ import { execaSync } from "execa"
|
||||||
import { chmod } from "fs/promises"
|
import { chmod } from "fs/promises"
|
||||||
import { isUrlOnline } from "is-url-online"
|
import { isUrlOnline } from "is-url-online"
|
||||||
import { addExeExt, join } from "patha"
|
import { addExeExt, join } from "patha"
|
||||||
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../../utils/env/ubuntu_version.js"
|
||||||
import { getSpecificVersionAndUrl } from "../../utils/setup/version"
|
import { getSpecificVersionAndUrl } from "../../utils/setup/version.js"
|
||||||
import { setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupClangFormat, setupClangTools, setupLLVM } from "../llvm"
|
import { setupClangFormat, setupClangTools, setupLLVM } from "../llvm.js"
|
||||||
import { VERSIONS, getLinuxUrl, getUrl } from "../llvm_url"
|
import { VERSIONS, getLinuxUrl, getUrl } from "../llvm_url.js"
|
||||||
|
|
||||||
jest.setTimeout(400000)
|
jest.setTimeout(400000)
|
||||||
async function testUrl(version: string) {
|
async function testUrl(version: string) {
|
||||||
|
|
|
@ -5,17 +5,17 @@ import memoize from "micro-memoize"
|
||||||
import { addEnv } from "os-env"
|
import { addEnv } from "os-env"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
import { addExeExt, join } from "patha"
|
import { addExeExt, join } from "patha"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { setupGcc } from "../gcc/gcc"
|
import { setupGcc } from "../gcc/gcc.js"
|
||||||
import { setupMacOSSDK } from "../macos-sdk/macos-sdk"
|
import { setupMacOSSDK } from "../macos-sdk/macos-sdk.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { ubuntuVersion } from "../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../utils/env/ubuntu_version.js"
|
||||||
import { setupAptPack, updateAptAlternatives } from "../utils/setup/setupAptPack"
|
import { setupAptPack, updateAptAlternatives } from "../utils/setup/setupAptPack.js"
|
||||||
import { type InstallationInfo, setupBin } from "../utils/setup/setupBin"
|
import { type InstallationInfo, setupBin } from "../utils/setup/setupBin.js"
|
||||||
import { semverCoerceIfInvalid } from "../utils/setup/version"
|
import { semverCoerceIfInvalid } from "../utils/setup/version.js"
|
||||||
import { getVersion } from "../versions/versions"
|
import { getVersion } from "../versions/versions.js"
|
||||||
import { LLVMPackages, setupLLVMApt } from "./llvm_installer"
|
import { LLVMPackages, setupLLVMApt } from "./llvm_installer.js"
|
||||||
import { getLLVMPackageInfo } from "./llvm_url"
|
import { getLLVMPackageInfo } from "./llvm_url.js"
|
||||||
|
|
||||||
export async function setupLLVM(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {
|
export async function setupLLVM(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {
|
||||||
const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)
|
const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)
|
||||||
|
|
|
@ -3,10 +3,10 @@ import { execRoot } from "admina"
|
||||||
import { execa } from "execa"
|
import { execa } from "execa"
|
||||||
import { chmod, readFile, writeFile } from "fs/promises"
|
import { chmod, readFile, writeFile } from "fs/promises"
|
||||||
import { addPath } from "os-env"
|
import { addPath } from "os-env"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { DEFAULT_TIMEOUT } from "../installTool"
|
import { DEFAULT_TIMEOUT } from "../installTool.js"
|
||||||
import { aptTimeout, hasNala, isPackageRegexInstalled, setupAptPack } from "../utils/setup/setupAptPack"
|
import { aptTimeout, hasNala, isPackageRegexInstalled, setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import type { InstallationInfo } from "../utils/setup/setupBin"
|
import type { InstallationInfo } from "../utils/setup/setupBin.js"
|
||||||
|
|
||||||
export enum LLVMPackages {
|
export enum LLVMPackages {
|
||||||
All = 0,
|
All = 0,
|
||||||
|
|
|
@ -2,9 +2,9 @@ import { info, warning } from "ci-log"
|
||||||
import { isUrlOnline } from "is-url-online"
|
import { isUrlOnline } from "is-url-online"
|
||||||
import { addExeExt } from "patha"
|
import { addExeExt } from "patha"
|
||||||
import semverLte from "semver/functions/lte"
|
import semverLte from "semver/functions/lte"
|
||||||
import { extractExe, extractTarByExe } from "../utils/setup/extract"
|
import { extractExe, extractTarByExe } from "../utils/setup/extract.js"
|
||||||
import type { PackageInfo } from "../utils/setup/setupBin"
|
import type { PackageInfo } from "../utils/setup/setupBin.js"
|
||||||
import { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from "../utils/setup/version"
|
import { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from "../utils/setup/version.js"
|
||||||
|
|
||||||
// ================================================
|
// ================================================
|
||||||
// Version
|
// Version
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { setupMacOSSDK } from "../macos-sdk"
|
import { setupMacOSSDK } from "../macos-sdk.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-macos-sdk", () => {
|
describe("setup-macos-sdk", () => {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { getExecOutput } from "@actions/exec"
|
import { getExecOutput } from "@actions/exec"
|
||||||
import { error } from "ci-log"
|
import { error } from "ci-log"
|
||||||
import { addEnv } from "os-env"
|
import { addEnv } from "os-env"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
|
|
||||||
export async function setupMacOSSDK() {
|
export async function setupMacOSSDK() {
|
||||||
if (process.platform === "darwin") {
|
if (process.platform === "darwin") {
|
||||||
|
|
18
src/main.ts
18
src/main.ts
|
@ -9,15 +9,15 @@ import { finalizeRC } from "os-env"
|
||||||
import * as timeDelta from "time-delta"
|
import * as timeDelta from "time-delta"
|
||||||
import timeDeltaLocale from "time-delta/locales/en.js"
|
import timeDeltaLocale from "time-delta/locales/en.js"
|
||||||
import { untildifyUser } from "untildify-user"
|
import { untildifyUser } from "untildify-user"
|
||||||
import { checkUpdates } from "./check-updates"
|
import { checkUpdates } from "./check-updates.js"
|
||||||
import { parseArgs, printHelp, rcOptions } from "./cli-options"
|
import { parseArgs, printHelp, rcOptions } from "./cli-options.js"
|
||||||
import { installCompiler } from "./compilers"
|
import { installCompiler } from "./compilers.js"
|
||||||
import { installTool } from "./installTool"
|
import { installTool } from "./installTool.js"
|
||||||
import { tools } from "./tool"
|
import { tools } from "./tool.js"
|
||||||
import { isArch } from "./utils/env/isArch"
|
import { isArch } from "./utils/env/isArch.js"
|
||||||
import { ubuntuVersion } from "./utils/env/ubuntu_version"
|
import { ubuntuVersion } from "./utils/env/ubuntu_version.js"
|
||||||
import { setupPacmanPack } from "./utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "./utils/setup/setupPacmanPack.js"
|
||||||
import { syncVersions } from "./versions/versions"
|
import { syncVersions } from "./versions/versions.js"
|
||||||
|
|
||||||
/** The main entry function */
|
/** The main entry function */
|
||||||
async function main(args: string[]): Promise<number> {
|
async function main(args: string[]): Promise<number> {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import type { InstallationInfo } from "../../utils/setup/setupBin"
|
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupMake } from "../make"
|
import { setupMake } from "../make.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-make", () => {
|
describe("setup-make", () => {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
import { addPath } from "os-env"
|
import { addPath } from "os-env"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export async function setupMake(version: string, _setupDir: string, _arch: string) {
|
export async function setupMake(version: string, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../../utils/env/ubuntu_version.js"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupMeson } from "../meson"
|
import { setupMeson } from "../meson.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-meson", () => {
|
describe("setup-meson", () => {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { setupPipPack } from "../utils/setup/setupPipPack"
|
import { setupPipPack } from "../utils/setup/setupPipPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {
|
export function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { warning } from "ci-log"
|
import { warning } from "ci-log"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { runnerWindowsVersion } from "../../utils/tests/test-helpers"
|
import { runnerWindowsVersion } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupMSVC } from "../msvc"
|
import { setupMSVC } from "../msvc.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-msvc", () => {
|
describe("setup-msvc", () => {
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { findVcvarsall, vsversion_to_versionnumber } from "msvc-dev-cmd/lib.js"
|
import { findVcvarsall, vsversion_to_versionnumber } from "msvc-dev-cmd/lib.js"
|
||||||
import { join } from "patha"
|
import { join } from "patha"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupVCVarsall } from "../vcvarsall/vcvarsall"
|
import { setupVCVarsall } from "../vcvarsall/vcvarsall.js"
|
||||||
|
|
||||||
import { error, info, warning } from "ci-log"
|
import { error, info, warning } from "ci-log"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { execRootSync } from "admina"
|
import { execRootSync } from "admina"
|
||||||
import { isUbuntu } from "../../utils/env/isUbuntu"
|
import { isUbuntu } from "../../utils/env/isUbuntu.js"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupNala } from "../nala"
|
import { setupNala } from "../nala.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-nala", () => {
|
describe("setup-nala", () => {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { execRootSync } from "admina"
|
import { execRootSync } from "admina"
|
||||||
import { dirname } from "patha"
|
import { dirname } from "patha"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { addAptKeyViaDownload, hasNala, setupAptPack } from "../utils/setup/setupAptPack"
|
import { addAptKeyViaDownload, hasNala, setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
|
|
||||||
let binDir: string | undefined
|
let binDir: string | undefined
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupNinja } from "../ninja"
|
import { setupNinja } from "../ninja.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
async function testNinja(directory: string) {
|
async function testNinja(directory: string) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { addExeExt } from "patha"
|
import { addExeExt } from "patha"
|
||||||
import { extractZip } from "../utils/setup/extract"
|
import { extractZip } from "../utils/setup/extract.js"
|
||||||
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin"
|
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin.js"
|
||||||
|
|
||||||
/** Get the platform name Ninja uses in their download links */
|
/** Get the platform name Ninja uses in their download links */
|
||||||
function getNinjaPlatform(platform: NodeJS.Platform) {
|
function getNinjaPlatform(platform: NodeJS.Platform) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupOpencppcoverage } from "../opencppcoverage"
|
import { setupOpencppcoverage } from "../opencppcoverage.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-OpenCppCoverage", () => {
|
describe("setup-OpenCppCoverage", () => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { addPath } from "os-env"
|
import { addPath } from "os-env"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {
|
export async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupPowershell } from "../powershell"
|
import { setupPowershell } from "../powershell.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-powershell", () => {
|
describe("setup-powershell", () => {
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
import { execRootSync } from "admina"
|
import { execRootSync } from "admina"
|
||||||
import { addPath } from "os-env"
|
import { addPath } from "os-env"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { ubuntuVersion } from "../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../utils/env/ubuntu_version.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export async function setupPowershell(version: string | undefined, _setupDir: string, _arch: string) {
|
export async function setupPowershell(version: string | undefined, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { info } from "ci-log"
|
import { info } from "ci-log"
|
||||||
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
|
import { ubuntuVersion } from "../../utils/env/ubuntu_version.js"
|
||||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupPython } from "../python"
|
import { setupPython } from "../python.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-python", () => {
|
describe("setup-python", () => {
|
||||||
|
@ -15,7 +15,7 @@ describe("setup-python", () => {
|
||||||
it("should setup python in GitHub Actions", async () => {
|
it("should setup python in GitHub Actions", async () => {
|
||||||
if (GITHUB_ACTIONS) {
|
if (GITHUB_ACTIONS) {
|
||||||
info("Installing python in GitHub Actions")
|
info("Installing python in GitHub Actions")
|
||||||
const { setupActionsPython } = await import("../actions_python")
|
const { setupActionsPython } = await import("../actions_python.js")
|
||||||
await setupActionsPython(getVersion("python", "true", await ubuntuVersion()), directory, process.arch)
|
await setupActionsPython(getVersion("python", "true", await ubuntuVersion()), directory, process.arch)
|
||||||
|
|
||||||
await testBin("python", ["--version"])
|
await testBin("python", ["--version"])
|
||||||
|
|
|
@ -11,20 +11,20 @@ import { addPath } from "os-env"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
import { addExeExt, dirname, join } from "patha"
|
import { addExeExt, dirname, join } from "patha"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import type { InstallationInfo } from "../utils/setup/setupBin"
|
import type { InstallationInfo } from "../utils/setup/setupBin.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
import { hasPipx, setupPipPackSystem, setupPipPackWithPython } from "../utils/setup/setupPipPack"
|
import { hasPipx, setupPipPackSystem, setupPipPackWithPython } from "../utils/setup/setupPipPack.js"
|
||||||
import { isBinUptoDate } from "../utils/setup/version"
|
import { isBinUptoDate } from "../utils/setup/version.js"
|
||||||
import { unique } from "../utils/std"
|
import { unique } from "../utils/std/index.js"
|
||||||
import { MinVersions } from "../versions/default_versions"
|
import { MinVersions } from "../versions/default_versions.js"
|
||||||
|
|
||||||
export async function setupPython(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {
|
export async function setupPython(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {
|
||||||
const installInfo = await findOrSetupPython(version, setupDir, arch)
|
const installInfo = await findOrSetupPython(version, setupDir, arch)
|
||||||
|
@ -89,7 +89,7 @@ async function findOrSetupPython(version: string, setupDir: string, arch: string
|
||||||
// install python in GitHub Actions
|
// install python in GitHub Actions
|
||||||
try {
|
try {
|
||||||
info("Installing python in GitHub Actions")
|
info("Installing python in GitHub Actions")
|
||||||
const { setupActionsPython } = await import("./actions_python")
|
const { setupActionsPython } = await import("./actions_python.js")
|
||||||
await setupActionsPython(version, setupDir, arch)
|
await setupActionsPython(version, setupDir, arch)
|
||||||
|
|
||||||
foundPython = await findPython(setupDir)
|
foundPython = await findPython(setupDir)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import type { InstallationInfo } from "../../utils/setup/setupBin"
|
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupSccache } from "../sccache"
|
import { setupSccache } from "../sccache.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-sccache", () => {
|
describe("setup-sccache", () => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export function setupSccache(version: string, _setupDir: string, _arch: string) {
|
export function setupSccache(version: string, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import type { InstallationInfo } from "../../utils/setup/setupBin"
|
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
|
||||||
import { testBin } from "../../utils/tests/test-helpers"
|
import { testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupSevenZip } from "../sevenzip"
|
import { setupSevenZip } from "../sevenzip.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-7z", () => {
|
describe("setup-7z", () => {
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack.js"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export function setupSevenZip(version: string, _setupDir: string, _arch: string) {
|
export function setupSevenZip(version: string, _setupDir: string, _arch: string) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupTask } from "../task"
|
import { setupTask } from "../task.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
describe("setup-task", () => {
|
describe("setup-task", () => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { addExeExt } from "patha"
|
import { addExeExt } from "patha"
|
||||||
import { extractTarByExe, extractZip } from "../utils/setup/extract"
|
import { extractTarByExe, extractZip } from "../utils/setup/extract.js"
|
||||||
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin"
|
import { type InstallationInfo, type PackageInfo, setupBin } from "../utils/setup/setupBin.js"
|
||||||
|
|
||||||
/** Get the platform name task uses in their download links */
|
/** Get the platform name task uses in their download links */
|
||||||
function getTaskPlatform(platform: NodeJS.Platform) {
|
function getTaskPlatform(platform: NodeJS.Platform) {
|
||||||
|
|
52
src/tool.ts
52
src/tool.ts
|
@ -1,29 +1,29 @@
|
||||||
import { setupBazel } from "./bazel/bazel"
|
import { setupBazel } from "./bazel/bazel.js"
|
||||||
import { setupBrew } from "./brew/brew"
|
import { setupBrew } from "./brew/brew.js"
|
||||||
import { setupCcache } from "./ccache/ccache"
|
import { setupCcache } from "./ccache/ccache.js"
|
||||||
import { setupChocolatey } from "./chocolatey/chocolatey"
|
import { setupChocolatey } from "./chocolatey/chocolatey.js"
|
||||||
import { setupCmake } from "./cmake/cmake"
|
import { setupCmake } from "./cmake/cmake.js"
|
||||||
import { setupConan } from "./conan/conan"
|
import { setupConan } from "./conan/conan.js"
|
||||||
import { setupCppcheck } from "./cppcheck/cppcheck"
|
import { setupCppcheck } from "./cppcheck/cppcheck.js"
|
||||||
import { setupDoxygen } from "./doxygen/doxygen"
|
import { setupDoxygen } from "./doxygen/doxygen.js"
|
||||||
import { setupGcc } from "./gcc/gcc"
|
import { setupGcc } from "./gcc/gcc.js"
|
||||||
import { setupGcovr } from "./gcovr/gcovr"
|
import { setupGcovr } from "./gcovr/gcovr.js"
|
||||||
import { setupGraphviz } from "./graphviz/graphviz"
|
import { setupGraphviz } from "./graphviz/graphviz.js"
|
||||||
import { setupKcov } from "./kcov/kcov"
|
import { setupKcov } from "./kcov/kcov.js"
|
||||||
import { setupClangFormat, setupClangTools, setupLLVM } from "./llvm/llvm"
|
import { setupClangFormat, setupClangTools, setupLLVM } from "./llvm/llvm.js"
|
||||||
import { setupMake } from "./make/make"
|
import { setupMake } from "./make/make.js"
|
||||||
import { setupMeson } from "./meson/meson"
|
import { setupMeson } from "./meson/meson.js"
|
||||||
import { setupMSVC } from "./msvc/msvc"
|
import { setupMSVC } from "./msvc/msvc.js"
|
||||||
import { setupNala } from "./nala/nala"
|
import { setupNala } from "./nala/nala.js"
|
||||||
import { setupNinja } from "./ninja/ninja"
|
import { setupNinja } from "./ninja/ninja.js"
|
||||||
import { setupOpencppcoverage } from "./opencppcoverage/opencppcoverage"
|
import { setupOpencppcoverage } from "./opencppcoverage/opencppcoverage.js"
|
||||||
import { setupPowershell } from "./powershell/powershell"
|
import { setupPowershell } from "./powershell/powershell.js"
|
||||||
import { setupPython } from "./python/python"
|
import { setupPython } from "./python/python.js"
|
||||||
import { setupSccache } from "./sccache/sccache"
|
import { setupSccache } from "./sccache/sccache.js"
|
||||||
import { setupSevenZip } from "./sevenzip/sevenzip"
|
import { setupSevenZip } from "./sevenzip/sevenzip.js"
|
||||||
import { setupTask } from "./task/task"
|
import { setupTask } from "./task/task.js"
|
||||||
import { setupVcpkg } from "./vcpkg/vcpkg"
|
import { setupVcpkg } from "./vcpkg/vcpkg.js"
|
||||||
import { setupVCVarsall } from "./vcvarsall/vcvarsall"
|
import { setupVCVarsall } from "./vcvarsall/vcvarsall.js"
|
||||||
|
|
||||||
/** The setup functions */
|
/** The setup functions */
|
||||||
export const setups = {
|
export const setups = {
|
||||||
|
|
|
@ -3,8 +3,8 @@ import { warning } from "ci-log"
|
||||||
import memoize from "micro-memoize"
|
import memoize from "micro-memoize"
|
||||||
import { getUbuntuVersion } from "ubuntu-version"
|
import { getUbuntuVersion } from "ubuntu-version"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { setupAptPack } from "../setup/setupAptPack"
|
import { setupAptPack } from "../setup/setupAptPack.js"
|
||||||
import { isUbuntu } from "./isUbuntu"
|
import { isUbuntu } from "./isUbuntu.js"
|
||||||
|
|
||||||
async function ubuntuVersion_raw(): Promise<number[] | null> {
|
async function ubuntuVersion_raw(): Promise<number[] | null> {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
declare module "@shockpkg/archive-files/esm/archive/hdi.mjs" {
|
declare module "@shockpkg/archive-files/esm/archive/hdi.mjs" {
|
||||||
export { ArchiveHdi } from "@shockpkg/archive-files/dts/archive/hdi.d.ts"
|
export { ArchiveHdi } from "@shockpkg/archive-files/dts/archive/hdi.d.js"
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { grantUserWriteAccess } from "admina"
|
||||||
import { warning } from "ci-log"
|
import { warning } from "ci-log"
|
||||||
import { execa } from "execa"
|
import { execa } from "execa"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { setupSevenZip } from "../../sevenzip/sevenzip"
|
import { setupSevenZip } from "../../sevenzip/sevenzip.js"
|
||||||
export { extractTar, extractXar } from "@actions/tool-cache"
|
export { extractTar, extractXar } from "@actions/tool-cache"
|
||||||
|
|
||||||
let sevenZip: string | undefined
|
let sevenZip: string | undefined
|
||||||
|
|
|
@ -7,8 +7,8 @@ import { appendFile } from "fs/promises"
|
||||||
import { addEnv, sourceRC } from "os-env"
|
import { addEnv, sourceRC } from "os-env"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { rcOptions } from "../../cli-options"
|
import { rcOptions } from "../../cli-options.js"
|
||||||
import type { InstallationInfo } from "./setupBin"
|
import type { InstallationInfo } from "./setupBin.js"
|
||||||
|
|
||||||
/* eslint-disable require-atomic-updates */
|
/* eslint-disable require-atomic-updates */
|
||||||
let didUpdate: boolean = false
|
let didUpdate: boolean = false
|
||||||
|
|
|
@ -7,13 +7,13 @@ import { tmpdir } from "os"
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
import retry from "retry-as-promised"
|
import retry from "retry-as-promised"
|
||||||
import { maybeGetInput, rcOptions } from "../../cli-options"
|
import { maybeGetInput, rcOptions } from "../../cli-options.js"
|
||||||
import { hasDnf } from "../env/hasDnf"
|
import { hasDnf } from "../env/hasDnf.js"
|
||||||
import { isArch } from "../env/isArch"
|
import { isArch } from "../env/isArch.js"
|
||||||
import { isUbuntu } from "../env/isUbuntu"
|
import { isUbuntu } from "../env/isUbuntu.js"
|
||||||
import { setupAptPack } from "./setupAptPack"
|
import { setupAptPack } from "./setupAptPack.js"
|
||||||
import { setupDnfPack } from "./setupDnfPack"
|
import { setupDnfPack } from "./setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "./setupPacmanPack"
|
import { setupPacmanPack } from "./setupPacmanPack.js"
|
||||||
|
|
||||||
/** A type that describes a package */
|
/** A type that describes a package */
|
||||||
export type PackageInfo = {
|
export type PackageInfo = {
|
||||||
|
|
|
@ -3,8 +3,8 @@ import { info } from "@actions/core"
|
||||||
import { execaSync } from "execa"
|
import { execaSync } from "execa"
|
||||||
import { join } from "patha"
|
import { join } from "patha"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { getBrewPath, setupBrew } from "../../brew/brew"
|
import { getBrewPath, setupBrew } from "../../brew/brew.js"
|
||||||
import type { InstallationInfo } from "./setupBin"
|
import type { InstallationInfo } from "./setupBin.js"
|
||||||
|
|
||||||
let hasBrew = false
|
let hasBrew = false
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,9 @@ import { info } from "ci-log"
|
||||||
import { execaSync } from "execa"
|
import { execaSync } from "execa"
|
||||||
import { addPath } from "os-env"
|
import { addPath } from "os-env"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { setupChocolatey } from "../../chocolatey/chocolatey"
|
import { setupChocolatey } from "../../chocolatey/chocolatey.js"
|
||||||
import { rcOptions } from "../../cli-options"
|
import { rcOptions } from "../../cli-options.js"
|
||||||
import type { InstallationInfo } from "./setupBin"
|
import type { InstallationInfo } from "./setupBin.js"
|
||||||
|
|
||||||
let hasChoco = false
|
let hasChoco = false
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { execRootSync } from "admina"
|
import { execRootSync } from "admina"
|
||||||
import { info, warning } from "ci-log"
|
import { info, warning } from "ci-log"
|
||||||
import { execa } from "execa"
|
import { execa } from "execa"
|
||||||
import type { InstallationInfo } from "./setupBin"
|
import type { InstallationInfo } from "./setupBin.js"
|
||||||
|
|
||||||
type DnfPackage = {
|
type DnfPackage = {
|
||||||
name: string
|
name: string
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { execRootSync } from "admina"
|
||||||
import { info, warning } from "ci-log"
|
import { info, warning } from "ci-log"
|
||||||
import { execa, execaSync } from "execa"
|
import { execa, execaSync } from "execa"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import type { InstallationInfo } from "./setupBin"
|
import type { InstallationInfo } from "./setupBin.js"
|
||||||
|
|
||||||
/* eslint-disable require-atomic-updates */
|
/* eslint-disable require-atomic-updates */
|
||||||
let didUpdate: boolean = false
|
let didUpdate: boolean = false
|
||||||
|
|
|
@ -7,17 +7,17 @@ import { pathExists } from "path-exists"
|
||||||
import { addExeExt, dirname, join } from "patha"
|
import { addExeExt, dirname, join } from "patha"
|
||||||
import { untildifyUser } from "untildify-user"
|
import { untildifyUser } from "untildify-user"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { rcOptions } from "../../cli-options"
|
import { rcOptions } from "../../cli-options.js"
|
||||||
import { addPythonBaseExecPrefix, setupPython } from "../../python/python"
|
import { addPythonBaseExecPrefix, setupPython } from "../../python/python.js"
|
||||||
import { getVersion } from "../../versions/versions"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { hasDnf } from "../env/hasDnf"
|
import { hasDnf } from "../env/hasDnf.js"
|
||||||
import { isArch } from "../env/isArch"
|
import { isArch } from "../env/isArch.js"
|
||||||
import { isUbuntu } from "../env/isUbuntu"
|
import { isUbuntu } from "../env/isUbuntu.js"
|
||||||
import { ubuntuVersion } from "../env/ubuntu_version"
|
import { ubuntuVersion } from "../env/ubuntu_version.js"
|
||||||
import { setupAptPack } from "./setupAptPack"
|
import { setupAptPack } from "./setupAptPack.js"
|
||||||
import type { InstallationInfo } from "./setupBin"
|
import type { InstallationInfo } from "./setupBin.js"
|
||||||
import { setupDnfPack } from "./setupDnfPack"
|
import { setupDnfPack } from "./setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "./setupPacmanPack"
|
import { setupPacmanPack } from "./setupPacmanPack.js"
|
||||||
|
|
||||||
export type SetupPipPackOptions = {
|
export type SetupPipPackOptions = {
|
||||||
/** Whether to use pipx instead of pip */
|
/** Whether to use pipx instead of pip */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
|
||||||
import { setupVcpkg } from "../vcpkg"
|
import { setupVcpkg } from "../vcpkg.js"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(300000)
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,14 @@ import { addPath } from "os-env"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
import { addShExt, addShRelativePrefix, dirname, join } from "patha"
|
import { addShExt, addShRelativePrefix, dirname, join } from "patha"
|
||||||
import which from "which"
|
import which from "which"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
import { hasDnf } from "../utils/env/hasDnf"
|
import { hasDnf } from "../utils/env/hasDnf.js"
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
import { isUbuntu } from "../utils/env/isUbuntu.js"
|
||||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
import { setupAptPack } from "../utils/setup/setupAptPack.js"
|
||||||
import type { InstallationInfo } from "../utils/setup/setupBin"
|
import type { InstallationInfo } from "../utils/setup/setupBin.js"
|
||||||
import { setupDnfPack } from "../utils/setup/setupDnfPack"
|
import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
|
|
||||||
let hasVCPKG = false
|
let hasVCPKG = false
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { info } from "ci-log"
|
||||||
import { setupMSVCDevCmd } from "msvc-dev-cmd/lib.js"
|
import { setupMSVCDevCmd } from "msvc-dev-cmd/lib.js"
|
||||||
import { addEnv } from "os-env"
|
import { addEnv } from "os-env"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
import { rcOptions } from "../cli-options"
|
import { rcOptions } from "../cli-options.js"
|
||||||
|
|
||||||
function getArch(arch: string): string {
|
function getArch(arch: string): string {
|
||||||
switch (arch) {
|
switch (arch) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { isArch } from "../utils/env/isArch"
|
import { isArch } from "../utils/env/isArch.js"
|
||||||
|
|
||||||
// passing "" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.
|
// passing "" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.
|
||||||
// the directly downloaded tools require a given version ("" doesn't work).
|
// the directly downloaded tools require a given version ("" doesn't work).
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import type { Opts } from "../cli-options"
|
import type { Opts } from "../cli-options.js"
|
||||||
import type { Inputs } from "../tool"
|
import type { Inputs } from "../tool.js"
|
||||||
import { DefaultLinuxVersion, DefaultVersions } from "./default_versions"
|
import { DefaultLinuxVersion, DefaultVersions } from "./default_versions.js"
|
||||||
|
|
||||||
/** Get the default version if passed true or undefined, otherwise return the version itself */
|
/** Get the default version if passed true or undefined, otherwise return the version itself */
|
||||||
export function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {
|
export function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
"preserveSymlinks": true,
|
"preserveSymlinks": true,
|
||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
|
"allowImportingTsExtensions": true,
|
||||||
|
"noEmit": true,
|
||||||
// target Node.js 12 https://node.green/#ES2019
|
// target Node.js 12 https://node.green/#ES2019
|
||||||
"lib": ["ES2019"],
|
"lib": ["ES2019"],
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
|
|
Loading…
Reference in New Issue