mirror of https://github.com/aminya/setup-cpp
Merge branch 'master' into esm
This commit is contained in:
commit
7052a18b1c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -65,7 +65,6 @@
|
|||
"@actions/io": "^1.1.3",
|
||||
"@actions/tool-cache": "^2.0.1",
|
||||
"@babel/cli": "^7.21.0",
|
||||
"@npmcli/ci-detect": "^3.0.2",
|
||||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/eslint": "^8.37.0",
|
||||
"@types/jest": "^29.5.1",
|
||||
|
@ -78,6 +77,7 @@
|
|||
"@upleveled/babel-plugin-remove-node-prefix": "github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519",
|
||||
"admina": "^0.1.3",
|
||||
"caxa": "^3.0.1",
|
||||
"ci-info": "^3.8.0",
|
||||
"ci-log": "workspace:*",
|
||||
"cross-env": "7.0.3",
|
||||
"cross-spawn": "^7.0.3",
|
||||
|
@ -85,7 +85,7 @@
|
|||
"escape-path-with-spaces": "^1.0.2",
|
||||
"escape-quotes": "^1.0.2",
|
||||
"escape-string-regexp": "^5.0.0",
|
||||
"eslint": "^8.38.0",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-atomic": "^1.18.3",
|
||||
"exec-powershell": "workspace:*",
|
||||
"execa": "^7.1.1",
|
||||
|
@ -152,7 +152,6 @@
|
|||
"semver": "7.3.8",
|
||||
"eslint": "^8.28.0",
|
||||
"prettier": "2.7.1",
|
||||
"lru-cache": "7.8.1",
|
||||
"core-js": "*",
|
||||
"babel-eslint": "npm:@babel/eslint-parser"
|
||||
},
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import * as core from "@actions/core"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
|
||||
export function error(err: string | Error) {
|
||||
return ciDetect() === "github-actions" ? core.error(err) : console.log(`\x1b[31m${err}\x1b[0m`)
|
||||
return GITHUB_ACTIONS ? core.error(err) : console.log(`\x1b[31m${err}\x1b[0m`)
|
||||
}
|
||||
|
||||
export function success(msg: string) {
|
||||
|
@ -10,13 +10,13 @@ export function success(msg: string) {
|
|||
}
|
||||
|
||||
export function warning(msg: string) {
|
||||
return ciDetect() === "github-actions" ? core.warning(msg) : console.log(`\x1b[33m${msg}\x1b[0m`)
|
||||
return GITHUB_ACTIONS ? core.warning(msg) : console.log(`\x1b[33m${msg}\x1b[0m`)
|
||||
}
|
||||
|
||||
export function notice(msg: string) {
|
||||
return ciDetect() === "github-actions" ? core.notice(msg) : console.log(`\x1b[94m${msg}\x1b[0m`)
|
||||
return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\x1b[94m${msg}\x1b[0m`)
|
||||
}
|
||||
|
||||
export function info(msg: string) {
|
||||
return ciDetect() === "github-actions" ? core.info(msg) : console.log(msg)
|
||||
return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)
|
||||
}
|
||||
|
|
357
pnpm-lock.yaml
357
pnpm-lock.yaml
|
@ -4,7 +4,6 @@ overrides:
|
|||
semver: 7.3.8
|
||||
eslint: ^8.28.0
|
||||
prettier: 2.7.1
|
||||
lru-cache: 7.8.1
|
||||
core-js: '*'
|
||||
babel-eslint: npm:@babel/eslint-parser
|
||||
|
||||
|
@ -24,12 +23,6 @@ importers:
|
|||
'@actions/tool-cache':
|
||||
specifier: ^2.0.1
|
||||
version: 2.0.1
|
||||
'@babel/cli':
|
||||
specifier: ^7.21.0
|
||||
version: 7.21.0(@babel/core@7.21.4)
|
||||
'@npmcli/ci-detect':
|
||||
specifier: ^3.0.2
|
||||
version: 3.0.2
|
||||
'@types/cross-spawn':
|
||||
specifier: ^6.0.2
|
||||
version: 6.0.2
|
||||
|
@ -57,15 +50,15 @@ importers:
|
|||
'@types/which':
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
'@upleveled/babel-plugin-remove-node-prefix':
|
||||
specifier: github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519
|
||||
version: github.com/aminya/babel-plugin-remove-node-prefix/95fcbd92405b99a6eece48c493548996f12e6519(@babel/core@7.21.4)
|
||||
admina:
|
||||
specifier: ^0.1.3
|
||||
version: 0.1.3
|
||||
caxa:
|
||||
specifier: ^3.0.1
|
||||
version: 3.0.1
|
||||
ci-info:
|
||||
specifier: ^3.8.0
|
||||
version: 3.8.0
|
||||
ci-log:
|
||||
specifier: workspace:*
|
||||
version: link:packages/ci-log
|
||||
|
@ -89,19 +82,16 @@ importers:
|
|||
version: 5.0.0
|
||||
eslint:
|
||||
specifier: ^8.28.0
|
||||
version: 8.38.0
|
||||
version: 8.39.0
|
||||
eslint-config-atomic:
|
||||
specifier: ^1.18.3
|
||||
version: 1.18.3(eslint@8.38.0)
|
||||
version: 1.18.3(eslint@8.39.0)
|
||||
exec-powershell:
|
||||
specifier: workspace:*
|
||||
version: link:packages/exec-powershell
|
||||
execa:
|
||||
specifier: ^7.1.1
|
||||
version: 7.1.1
|
||||
fast-glob:
|
||||
specifier: ^3.2.12
|
||||
version: 3.2.12
|
||||
specifier: ^5.1.1
|
||||
version: 5.1.1
|
||||
gen-readme:
|
||||
specifier: ^1.6.0
|
||||
version: 1.6.0
|
||||
|
@ -202,8 +192,8 @@ importers:
|
|||
packages/exec-powershell:
|
||||
dependencies:
|
||||
execa:
|
||||
specifier: ^7.1.1
|
||||
version: 7.1.1
|
||||
specifier: ^5.1.1
|
||||
version: 5.1.1
|
||||
which:
|
||||
specifier: ^2.0.2
|
||||
version: 2.0.2
|
||||
|
@ -431,26 +421,6 @@ packages:
|
|||
- encoding
|
||||
dev: true
|
||||
|
||||
/@babel/cli@7.21.0(@babel/core@7.21.4):
|
||||
resolution: {integrity: sha512-xi7CxyS8XjSyiwUGCfwf+brtJxjW1/ZTcBUkP10xawIEXLX5HzLn+3aXkgxozcP2UhRhtKTmQurw9Uaes7jZrA==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
'@babel/core': ^7.0.0-0
|
||||
dependencies:
|
||||
'@babel/core': 7.21.4
|
||||
'@jridgewell/trace-mapping': 0.3.18
|
||||
commander: 4.1.1
|
||||
convert-source-map: 1.9.0
|
||||
fs-readdir-recursive: 1.1.0
|
||||
glob: 7.2.3
|
||||
make-dir: 2.1.0
|
||||
slash: 2.0.0
|
||||
optionalDependencies:
|
||||
'@nicolo-ribaudo/chokidar-2': 2.1.8-no-fsevents.3
|
||||
chokidar: 3.5.3
|
||||
dev: true
|
||||
|
||||
/@babel/code-frame@7.21.4:
|
||||
resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
@ -486,7 +456,7 @@ packages:
|
|||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@babel/eslint-parser@7.21.3(@babel/core@7.21.4)(eslint@8.38.0):
|
||||
/@babel/eslint-parser@7.21.3(@babel/core@7.21.4)(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-kfhmPimwo6k4P8zxNs8+T7yR44q1LdpsZdE1NkCsVlfiuTPRfnGgjaF8Qgug9q9Pou17u6wneYF0lDCZJATMFg==}
|
||||
engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0}
|
||||
peerDependencies:
|
||||
|
@ -495,7 +465,7 @@ packages:
|
|||
dependencies:
|
||||
'@babel/core': 7.21.4
|
||||
'@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
eslint-visitor-keys: 2.1.0
|
||||
semver: 7.3.8
|
||||
dev: true
|
||||
|
@ -520,7 +490,7 @@ packages:
|
|||
'@babel/core': 7.21.4
|
||||
'@babel/helper-validator-option': 7.21.0
|
||||
browserslist: 4.21.5
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 5.1.1
|
||||
semver: 7.3.8
|
||||
dev: true
|
||||
|
||||
|
@ -1093,13 +1063,13 @@ packages:
|
|||
'@jridgewell/trace-mapping': 0.3.9
|
||||
dev: true
|
||||
|
||||
/@eslint-community/eslint-utils@4.4.0(eslint@8.38.0):
|
||||
/@eslint-community/eslint-utils@4.4.0(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
eslint: '*'
|
||||
dependencies:
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
eslint-visitor-keys: 3.4.0
|
||||
dev: true
|
||||
|
||||
|
@ -1125,8 +1095,8 @@ packages:
|
|||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@eslint/js@8.38.0:
|
||||
resolution: {integrity: sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==}
|
||||
/@eslint/js@8.39.0:
|
||||
resolution: {integrity: sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
dev: true
|
||||
|
||||
|
@ -1551,12 +1521,6 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3:
|
||||
resolution: {integrity: sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==}
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1:
|
||||
resolution: {integrity: sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==}
|
||||
dependencies:
|
||||
|
@ -1584,12 +1548,6 @@ packages:
|
|||
fastq: 1.15.0
|
||||
dev: true
|
||||
|
||||
/@npmcli/ci-detect@3.0.2:
|
||||
resolution: {integrity: sha512-P7nZG0skRVa9lH0OQmFG62CrzOySUiuPbKopjVAj3sXP0m1om9XfIvTp46h+NvlpTyd121JekiXFZj+1pnbm9g==}
|
||||
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
|
||||
deprecated: this package has been deprecated, use `ci-info` instead
|
||||
dev: true
|
||||
|
||||
/@npmcli/fs@2.1.2:
|
||||
resolution: {integrity: sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==}
|
||||
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
|
||||
|
@ -1610,7 +1568,7 @@ packages:
|
|||
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
|
||||
dependencies:
|
||||
'@npmcli/promise-spawn': 6.0.2
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 7.18.3
|
||||
npm-pick-manifest: 8.0.1
|
||||
proc-log: 3.0.0
|
||||
promise-inflight: 1.0.1
|
||||
|
@ -2659,7 +2617,7 @@ packages:
|
|||
'@types/yargs-parser': 21.0.0
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/eslint-plugin@5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.38.0)(typescript@5.0.4):
|
||||
/@typescript-eslint/eslint-plugin@5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)(typescript@5.0.4):
|
||||
resolution: {integrity: sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -2671,12 +2629,12 @@ packages:
|
|||
optional: true
|
||||
dependencies:
|
||||
'@eslint-community/regexpp': 4.5.0
|
||||
'@typescript-eslint/parser': 5.59.0(eslint@8.38.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/parser': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/scope-manager': 5.59.0
|
||||
'@typescript-eslint/type-utils': 5.59.0(eslint@8.38.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/utils': 5.59.0(eslint@8.38.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/type-utils': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/utils': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
|
||||
debug: 4.3.4
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
grapheme-splitter: 1.0.4
|
||||
ignore: 5.2.4
|
||||
natural-compare-lite: 1.4.0
|
||||
|
@ -2687,7 +2645,7 @@ packages:
|
|||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/parser@5.59.0(eslint@8.38.0)(typescript@5.0.4):
|
||||
/@typescript-eslint/parser@5.59.0(eslint@8.39.0)(typescript@5.0.4):
|
||||
resolution: {integrity: sha512-qK9TZ70eJtjojSUMrrEwA9ZDQ4N0e/AuoOIgXuNBorXYcBDk397D2r5MIe1B3cok/oCtdNC5j+lUUpVB+Dpb+w==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -2701,7 +2659,7 @@ packages:
|
|||
'@typescript-eslint/types': 5.59.0
|
||||
'@typescript-eslint/typescript-estree': 5.59.0(typescript@5.0.4)
|
||||
debug: 4.3.4
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
typescript: 5.0.4
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
@ -2715,7 +2673,7 @@ packages:
|
|||
'@typescript-eslint/visitor-keys': 5.59.0
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/type-utils@5.59.0(eslint@8.38.0)(typescript@5.0.4):
|
||||
/@typescript-eslint/type-utils@5.59.0(eslint@8.39.0)(typescript@5.0.4):
|
||||
resolution: {integrity: sha512-d/B6VSWnZwu70kcKQSCqjcXpVH+7ABKH8P1KNn4K7j5PXXuycZTPXF44Nui0TEm6rbWGi8kc78xRgOC4n7xFgA==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -2726,9 +2684,9 @@ packages:
|
|||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/typescript-estree': 5.59.0(typescript@5.0.4)
|
||||
'@typescript-eslint/utils': 5.59.0(eslint@8.38.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/utils': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
|
||||
debug: 4.3.4
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
tsutils: 3.21.0(typescript@5.0.4)
|
||||
typescript: 5.0.4
|
||||
transitivePeerDependencies:
|
||||
|
@ -2761,19 +2719,19 @@ packages:
|
|||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/utils@5.59.0(eslint@8.38.0)(typescript@5.0.4):
|
||||
/@typescript-eslint/utils@5.59.0(eslint@8.39.0)(typescript@5.0.4):
|
||||
resolution: {integrity: sha512-GGLFd+86drlHSvPgN/el6dRQNYYGOvRSDVydsUaQluwIW3HvbXuxyuD5JETvBt/9qGYe+lOrDk6gRrWOHb/FvA==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
eslint: '*'
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.4.0(eslint@8.38.0)
|
||||
'@eslint-community/eslint-utils': 4.4.0(eslint@8.39.0)
|
||||
'@types/json-schema': 7.0.11
|
||||
'@types/semver': 7.3.13
|
||||
'@typescript-eslint/scope-manager': 5.59.0
|
||||
'@typescript-eslint/types': 5.59.0
|
||||
'@typescript-eslint/typescript-estree': 5.59.0(typescript@5.0.4)
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
eslint-scope: 5.1.1
|
||||
semver: 7.3.8
|
||||
transitivePeerDependencies:
|
||||
|
@ -3195,12 +3153,6 @@ packages:
|
|||
resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
|
||||
dev: true
|
||||
|
||||
/binary-extensions@2.2.0:
|
||||
resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
|
||||
engines: {node: '>=8'}
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/binary-searching@2.0.5:
|
||||
resolution: {integrity: sha512-v4N2l3RxL+m4zDxyxz3Ne2aTmiPn8ZUpKFpdPtO+ItW1NcTCXA7JeHG5GMBSvoKSkQZ9ycS+EouDVxYB9ufKWA==}
|
||||
dev: true
|
||||
|
@ -3320,7 +3272,7 @@ packages:
|
|||
fs-minipass: 2.1.0
|
||||
glob: 8.1.0
|
||||
infer-owner: 1.0.4
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 7.18.3
|
||||
minipass: 3.3.6
|
||||
minipass-collect: 1.0.2
|
||||
minipass-flush: 1.0.5
|
||||
|
@ -3343,7 +3295,7 @@ packages:
|
|||
'@npmcli/fs': 3.1.0
|
||||
fs-minipass: 3.0.1
|
||||
glob: 9.3.5
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 7.18.3
|
||||
minipass: 4.2.8
|
||||
minipass-collect: 1.0.2
|
||||
minipass-flush: 1.0.5
|
||||
|
@ -3489,23 +3441,6 @@ packages:
|
|||
resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==}
|
||||
dev: true
|
||||
|
||||
/chokidar@3.5.3:
|
||||
resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
|
||||
engines: {node: '>= 8.10.0'}
|
||||
requiresBuild: true
|
||||
dependencies:
|
||||
anymatch: 3.1.3
|
||||
braces: 3.0.2
|
||||
glob-parent: 5.1.2
|
||||
is-binary-path: 2.1.0
|
||||
is-glob: 4.0.3
|
||||
normalize-path: 3.0.0
|
||||
readdirp: 3.6.0
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/chownr@2.0.0:
|
||||
resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==}
|
||||
engines: {node: '>=10'}
|
||||
|
@ -3717,11 +3652,6 @@ packages:
|
|||
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
|
||||
dev: true
|
||||
|
||||
/commander@4.1.1:
|
||||
resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
|
||||
engines: {node: '>= 6'}
|
||||
dev: true
|
||||
|
||||
/commander@7.2.0:
|
||||
resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}
|
||||
engines: {node: '>= 10'}
|
||||
|
@ -4564,7 +4494,7 @@ packages:
|
|||
engines: {node: '>=12'}
|
||||
dev: true
|
||||
|
||||
/eslint-config-airbnb-base@14.2.1(eslint-plugin-import@2.27.5)(eslint@8.38.0):
|
||||
/eslint-config-airbnb-base@14.2.1(eslint-plugin-import@2.27.5)(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==}
|
||||
engines: {node: '>= 6'}
|
||||
peerDependencies:
|
||||
|
@ -4572,14 +4502,14 @@ packages:
|
|||
eslint-plugin-import: ^2.22.1
|
||||
dependencies:
|
||||
confusing-browser-globals: 1.0.11
|
||||
eslint: 8.38.0
|
||||
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0)
|
||||
eslint: 8.39.0
|
||||
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)
|
||||
object.assign: 4.1.4
|
||||
object.entries: 1.1.6
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/eslint-config-airbnb@18.2.1(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.23.2)(eslint@8.38.0):
|
||||
/eslint-config-airbnb@18.2.1(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.23.2)(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-glZNDEZ36VdlZWoxn/bUR1r/sdFKPd1mHPbqUtkctgNG4yT2DLLtJ3D+yCV+jzZCc2V1nBVkmdknOJBZ5Hc0fg==}
|
||||
engines: {node: '>= 6'}
|
||||
peerDependencies:
|
||||
|
@ -4589,37 +4519,37 @@ packages:
|
|||
eslint-plugin-react: ^7.21.5
|
||||
eslint-plugin-react-hooks: ^4 || ^3 || ^2.3.0 || ^1.7.0
|
||||
dependencies:
|
||||
eslint: 8.38.0
|
||||
eslint-config-airbnb-base: 14.2.1(eslint-plugin-import@2.27.5)(eslint@8.38.0)
|
||||
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0)
|
||||
eslint-plugin-jsx-a11y: 6.7.1(eslint@8.38.0)
|
||||
eslint-plugin-react: 7.23.2(eslint@8.38.0)
|
||||
eslint-plugin-react-hooks: 4.6.0(eslint@8.38.0)
|
||||
eslint: 8.39.0
|
||||
eslint-config-airbnb-base: 14.2.1(eslint-plugin-import@2.27.5)(eslint@8.39.0)
|
||||
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)
|
||||
eslint-plugin-jsx-a11y: 6.7.1(eslint@8.39.0)
|
||||
eslint-plugin-react: 7.23.2(eslint@8.39.0)
|
||||
eslint-plugin-react-hooks: 4.6.0(eslint@8.39.0)
|
||||
object.assign: 4.1.4
|
||||
object.entries: 1.1.6
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/eslint-config-atomic@1.18.3(eslint@8.38.0):
|
||||
/eslint-config-atomic@1.18.3(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-J93UPUgiOBAzgok3DtabG2Rki1PhnK5bJN1/GlXR8YPVRlnwfFBnjSHnvvyd0L02+gVF9z0cMeHzw3afcRF2Eg==}
|
||||
peerDependencies:
|
||||
eslint: '*'
|
||||
dependencies:
|
||||
'@babel/core': 7.21.4
|
||||
'@babel/eslint-parser': 7.21.3(@babel/core@7.21.4)(eslint@8.38.0)
|
||||
'@babel/eslint-parser': 7.21.3(@babel/core@7.21.4)(eslint@8.39.0)
|
||||
'@babel/plugin-syntax-flow': 7.21.4(@babel/core@7.21.4)
|
||||
'@babel/plugin-syntax-jsx': 7.21.4(@babel/core@7.21.4)
|
||||
'@typescript-eslint/eslint-plugin': 5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.38.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/parser': 5.59.0(eslint@8.38.0)(typescript@5.0.4)
|
||||
eslint: 8.38.0
|
||||
eslint-config-prettier: 8.8.0(eslint@8.38.0)
|
||||
'@typescript-eslint/eslint-plugin': 5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/parser': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
|
||||
eslint: 8.39.0
|
||||
eslint-config-prettier: 8.8.0(eslint@8.39.0)
|
||||
eslint-plugin-html: 7.1.0
|
||||
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0)
|
||||
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)
|
||||
eslint-plugin-json: 3.1.0
|
||||
eslint-plugin-node: 11.1.0(eslint@8.38.0)
|
||||
eslint-plugin-node: 11.1.0(eslint@8.39.0)
|
||||
eslint-plugin-only-warn: /@aminya/eslint-plugin-only-warn@1.2.2
|
||||
eslint-plugin-optimize-regex: 1.2.1
|
||||
eslint-plugin-react: 7.32.2(eslint@8.38.0)
|
||||
eslint-plugin-react: 7.32.2(eslint@8.39.0)
|
||||
eslint-plugin-yaml: 0.5.0
|
||||
prettier: 2.7.1
|
||||
read-pkg-up: 7.0.1
|
||||
|
@ -4627,21 +4557,21 @@ packages:
|
|||
typescript: 5.0.4
|
||||
optionalDependencies:
|
||||
coffeescript: 1.12.7
|
||||
eslint-plugin-coffee: 0.1.15(@babel/core@7.21.4)(@typescript-eslint/parser@5.59.0)(eslint-plugin-react-hooks@4.6.0)(eslint@8.38.0)
|
||||
eslint-plugin-react-hooks: 4.6.0(eslint@8.38.0)
|
||||
eslint-plugin-coffee: 0.1.15(@babel/core@7.21.4)(@typescript-eslint/parser@5.59.0)(eslint-plugin-react-hooks@4.6.0)(eslint@8.39.0)
|
||||
eslint-plugin-react-hooks: 4.6.0(eslint@8.39.0)
|
||||
transitivePeerDependencies:
|
||||
- eslint-import-resolver-typescript
|
||||
- eslint-import-resolver-webpack
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/eslint-config-prettier@8.8.0(eslint@8.38.0):
|
||||
/eslint-config-prettier@8.8.0(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
eslint: '*'
|
||||
dependencies:
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
dev: true
|
||||
|
||||
/eslint-import-resolver-node@0.3.7:
|
||||
|
@ -4654,7 +4584,7 @@ packages:
|
|||
- supports-color
|
||||
dev: true
|
||||
|
||||
/eslint-module-utils@2.8.0(@typescript-eslint/parser@5.59.0)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0):
|
||||
/eslint-module-utils@2.8.0(@typescript-eslint/parser@5.59.0)(eslint-import-resolver-node@0.3.7)(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}
|
||||
engines: {node: '>=4'}
|
||||
peerDependencies:
|
||||
|
@ -4675,32 +4605,32 @@ packages:
|
|||
eslint-import-resolver-webpack:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/parser': 5.59.0(eslint@8.38.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/parser': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
|
||||
debug: 3.2.7
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
eslint-import-resolver-node: 0.3.7
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-coffee@0.1.15(@babel/core@7.21.4)(@typescript-eslint/parser@5.59.0)(eslint-plugin-react-hooks@4.6.0)(eslint@8.38.0):
|
||||
/eslint-plugin-coffee@0.1.15(@babel/core@7.21.4)(@typescript-eslint/parser@5.59.0)(eslint-plugin-react-hooks@4.6.0)(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-+qtkIPSc9etYqOODIlENqiRjID/oEoGMAAQJN988Aczy461NIwzaamFY6Fi0QDVVDb2v+OL/StVrk/QmyItfeg==}
|
||||
requiresBuild: true
|
||||
peerDependencies:
|
||||
eslint: '*'
|
||||
dependencies:
|
||||
axe-core: 3.5.6
|
||||
babel-eslint: /@babel/eslint-parser@7.21.3(@babel/core@7.21.4)(eslint@8.38.0)
|
||||
babel-eslint: /@babel/eslint-parser@7.21.3(@babel/core@7.21.4)(eslint@8.39.0)
|
||||
babylon: 7.0.0-beta.47
|
||||
coffeescript: 2.7.0
|
||||
doctrine: 2.1.0
|
||||
eslint: 8.38.0
|
||||
eslint-config-airbnb: 18.2.1(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.23.2)(eslint@8.38.0)
|
||||
eslint-config-airbnb-base: 14.2.1(eslint-plugin-import@2.27.5)(eslint@8.38.0)
|
||||
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0)
|
||||
eslint-plugin-jsx-a11y: 6.7.1(eslint@8.38.0)
|
||||
eslint-plugin-react: 7.23.2(eslint@8.38.0)
|
||||
eslint-plugin-react-native: 3.11.0(eslint@8.38.0)
|
||||
eslint: 8.39.0
|
||||
eslint-config-airbnb: 18.2.1(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.23.2)(eslint@8.39.0)
|
||||
eslint-config-airbnb-base: 14.2.1(eslint-plugin-import@2.27.5)(eslint@8.39.0)
|
||||
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)
|
||||
eslint-plugin-jsx-a11y: 6.7.1(eslint@8.39.0)
|
||||
eslint-plugin-react: 7.23.2(eslint@8.39.0)
|
||||
eslint-plugin-react-native: 3.11.0(eslint@8.39.0)
|
||||
eslint-scope: 3.7.3
|
||||
eslint-utils: 1.4.3
|
||||
eslint-visitor-keys: 1.3.0
|
||||
|
@ -4716,13 +4646,13 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/eslint-plugin-es@3.0.1(eslint@8.38.0):
|
||||
/eslint-plugin-es@3.0.1(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==}
|
||||
engines: {node: '>=8.10.0'}
|
||||
peerDependencies:
|
||||
eslint: '*'
|
||||
dependencies:
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
eslint-utils: 2.1.0
|
||||
regexpp: 3.2.0
|
||||
dev: true
|
||||
|
@ -4733,7 +4663,7 @@ packages:
|
|||
htmlparser2: 8.0.2
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.38.0):
|
||||
/eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.59.0)(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
|
||||
engines: {node: '>=4'}
|
||||
peerDependencies:
|
||||
|
@ -4743,15 +4673,15 @@ packages:
|
|||
'@typescript-eslint/parser':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/parser': 5.59.0(eslint@8.38.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/parser': 5.59.0(eslint@8.39.0)(typescript@5.0.4)
|
||||
array-includes: 3.1.6
|
||||
array.prototype.flat: 1.3.1
|
||||
array.prototype.flatmap: 1.3.1
|
||||
debug: 3.2.7
|
||||
doctrine: 2.1.0
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
eslint-import-resolver-node: 0.3.7
|
||||
eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.59.0)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0)
|
||||
eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.59.0)(eslint-import-resolver-node@0.3.7)(eslint@8.39.0)
|
||||
has: 1.0.3
|
||||
is-core-module: 2.12.0
|
||||
is-glob: 4.0.3
|
||||
|
@ -4774,7 +4704,7 @@ packages:
|
|||
vscode-json-languageservice: 4.2.1
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-jsx-a11y@6.7.1(eslint@8.38.0):
|
||||
/eslint-plugin-jsx-a11y@6.7.1(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==}
|
||||
engines: {node: '>=4.0'}
|
||||
peerDependencies:
|
||||
|
@ -4789,7 +4719,7 @@ packages:
|
|||
axobject-query: 3.1.1
|
||||
damerau-levenshtein: 1.0.8
|
||||
emoji-regex: 9.2.2
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
has: 1.0.3
|
||||
jsx-ast-utils: 3.3.3
|
||||
language-tags: 1.0.5
|
||||
|
@ -4800,14 +4730,14 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/eslint-plugin-node@11.1.0(eslint@8.38.0):
|
||||
/eslint-plugin-node@11.1.0(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==}
|
||||
engines: {node: '>=8.10.0'}
|
||||
peerDependencies:
|
||||
eslint: '*'
|
||||
dependencies:
|
||||
eslint: 8.38.0
|
||||
eslint-plugin-es: 3.0.1(eslint@8.38.0)
|
||||
eslint: 8.39.0
|
||||
eslint-plugin-es: 3.0.1(eslint@8.39.0)
|
||||
eslint-utils: 2.1.0
|
||||
ignore: 5.2.4
|
||||
minimatch: 3.1.2
|
||||
|
@ -4822,14 +4752,14 @@ packages:
|
|||
regexp-tree: 0.1.25
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-react-hooks@4.6.0(eslint@8.38.0):
|
||||
/eslint-plugin-react-hooks@4.6.0(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==}
|
||||
engines: {node: '>=10'}
|
||||
requiresBuild: true
|
||||
peerDependencies:
|
||||
eslint: '*'
|
||||
dependencies:
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
|
@ -4838,20 +4768,20 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/eslint-plugin-react-native@3.11.0(eslint@8.38.0):
|
||||
/eslint-plugin-react-native@3.11.0(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-7F3OTwrtQPfPFd+VygqKA2VZ0f2fz0M4gJmry/TRE18JBb94/OtMxwbL7Oqwu7FGyrdeIOWnXQbBAveMcSTZIA==}
|
||||
peerDependencies:
|
||||
eslint: '*'
|
||||
dependencies:
|
||||
'@babel/traverse': 7.21.4
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
eslint-plugin-react-native-globals: 0.1.2
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/eslint-plugin-react@7.23.2(eslint@8.38.0):
|
||||
/eslint-plugin-react@7.23.2(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-AfjgFQB+nYszudkxRkTFu0UR1zEQig0ArVMPloKhxwlwkzaw/fBiH0QWcBBhZONlXqQC51+nfqFrkn4EzHcGBw==}
|
||||
engines: {node: '>=4'}
|
||||
peerDependencies:
|
||||
|
@ -4860,7 +4790,7 @@ packages:
|
|||
array-includes: 3.1.6
|
||||
array.prototype.flatmap: 1.3.1
|
||||
doctrine: 2.1.0
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
has: 1.0.3
|
||||
jsx-ast-utils: 2.4.1
|
||||
minimatch: 3.1.2
|
||||
|
@ -4873,7 +4803,7 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/eslint-plugin-react@7.32.2(eslint@8.38.0):
|
||||
/eslint-plugin-react@7.32.2(eslint@8.39.0):
|
||||
resolution: {integrity: sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==}
|
||||
engines: {node: '>=4'}
|
||||
peerDependencies:
|
||||
|
@ -4883,7 +4813,7 @@ packages:
|
|||
array.prototype.flatmap: 1.3.1
|
||||
array.prototype.tosorted: 1.1.1
|
||||
doctrine: 2.1.0
|
||||
eslint: 8.38.0
|
||||
eslint: 8.39.0
|
||||
estraverse: 5.3.0
|
||||
jsx-ast-utils: 3.3.3
|
||||
minimatch: 3.1.2
|
||||
|
@ -4959,15 +4889,15 @@ packages:
|
|||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
dev: true
|
||||
|
||||
/eslint@8.38.0:
|
||||
resolution: {integrity: sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==}
|
||||
/eslint@8.39.0:
|
||||
resolution: {integrity: sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.4.0(eslint@8.38.0)
|
||||
'@eslint-community/eslint-utils': 4.4.0(eslint@8.39.0)
|
||||
'@eslint-community/regexpp': 4.5.0
|
||||
'@eslint/eslintrc': 2.0.2
|
||||
'@eslint/js': 8.38.0
|
||||
'@eslint/js': 8.39.0
|
||||
'@humanwhocodes/config-array': 0.11.8
|
||||
'@humanwhocodes/module-importer': 1.0.1
|
||||
'@nodelib/fs.walk': 1.2.8
|
||||
|
@ -5091,20 +5021,6 @@ packages:
|
|||
strip-final-newline: 3.0.0
|
||||
dev: true
|
||||
|
||||
/execa@7.1.1:
|
||||
resolution: {integrity: sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==}
|
||||
engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0}
|
||||
dependencies:
|
||||
cross-spawn: 7.0.3
|
||||
get-stream: 6.0.1
|
||||
human-signals: 4.3.1
|
||||
is-stream: 3.0.0
|
||||
merge-stream: 2.0.0
|
||||
npm-run-path: 5.1.0
|
||||
onetime: 6.0.0
|
||||
signal-exit: 3.0.7
|
||||
strip-final-newline: 3.0.0
|
||||
|
||||
/exit@0.1.2:
|
||||
resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==}
|
||||
engines: {node: '>= 0.8.0'}
|
||||
|
@ -5305,10 +5221,6 @@ packages:
|
|||
minipass: 4.2.8
|
||||
dev: true
|
||||
|
||||
/fs-readdir-recursive@1.1.0:
|
||||
resolution: {integrity: sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==}
|
||||
dev: true
|
||||
|
||||
/fs.realpath@1.0.0:
|
||||
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
|
||||
dev: true
|
||||
|
@ -5759,14 +5671,14 @@ packages:
|
|||
resolution: {integrity: sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==}
|
||||
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
|
||||
dependencies:
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 7.18.3
|
||||
dev: true
|
||||
|
||||
/hosted-git-info@6.1.1:
|
||||
resolution: {integrity: sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==}
|
||||
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
|
||||
dependencies:
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 7.18.3
|
||||
dev: true
|
||||
|
||||
/html-escaper@2.0.2:
|
||||
|
@ -5878,10 +5790,6 @@ packages:
|
|||
engines: {node: '>=12.20.0'}
|
||||
dev: true
|
||||
|
||||
/human-signals@4.3.1:
|
||||
resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==}
|
||||
engines: {node: '>=14.18.0'}
|
||||
|
||||
/humanize-ms@1.2.1:
|
||||
resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==}
|
||||
dependencies:
|
||||
|
@ -6068,14 +5976,6 @@ packages:
|
|||
has-bigints: 1.0.2
|
||||
dev: true
|
||||
|
||||
/is-binary-path@2.1.0:
|
||||
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
|
||||
engines: {node: '>=8'}
|
||||
dependencies:
|
||||
binary-extensions: 2.2.0
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/is-boolean-object@1.1.2:
|
||||
resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==}
|
||||
engines: {node: '>= 0.4'}
|
||||
|
@ -6276,6 +6176,7 @@ packages:
|
|||
/is-stream@3.0.0:
|
||||
resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
dev: true
|
||||
|
||||
/is-string@1.0.7:
|
||||
resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}
|
||||
|
@ -7232,17 +7133,27 @@ packages:
|
|||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
dev: true
|
||||
|
||||
/lru-cache@7.8.1:
|
||||
resolution: {integrity: sha512-E1v547OCgJvbvevfjgK9sNKIVXO96NnsTsFPBlg4ZxjhsJSODoH9lk8Bm0OxvHNm6Vm5Yqkl/1fErDxhYL8Skg==}
|
||||
/lru-cache@5.1.1:
|
||||
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
|
||||
dependencies:
|
||||
yallist: 3.1.1
|
||||
dev: true
|
||||
|
||||
/lru-cache@6.0.0:
|
||||
resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
yallist: 4.0.0
|
||||
dev: true
|
||||
|
||||
/lru-cache@7.18.3:
|
||||
resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==}
|
||||
engines: {node: '>=12'}
|
||||
dev: true
|
||||
|
||||
/make-dir@2.1.0:
|
||||
resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==}
|
||||
engines: {node: '>=6'}
|
||||
dependencies:
|
||||
pify: 4.0.1
|
||||
semver: 7.3.8
|
||||
/lru-cache@9.1.0:
|
||||
resolution: {integrity: sha512-qFXQEwchrZcMVen2uIDceR8Tii6kCJak5rzDStfEM0qA3YLMswaxIEZO0DhIbJ3aqaJiDjt+3crlplOb0tDtKQ==}
|
||||
engines: {node: 14 || >=16.14}
|
||||
dev: true
|
||||
|
||||
/make-dir@3.1.0:
|
||||
|
@ -7266,7 +7177,7 @@ packages:
|
|||
http-proxy-agent: 5.0.0
|
||||
https-proxy-agent: 5.0.1
|
||||
is-lambda: 1.0.1
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 7.18.3
|
||||
minipass: 3.3.6
|
||||
minipass-collect: 1.0.2
|
||||
minipass-fetch: 2.1.2
|
||||
|
@ -7291,7 +7202,7 @@ packages:
|
|||
http-proxy-agent: 5.0.0
|
||||
https-proxy-agent: 5.0.1
|
||||
is-lambda: 1.0.1
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 7.18.3
|
||||
minipass: 4.2.8
|
||||
minipass-fetch: 3.0.2
|
||||
minipass-flush: 1.0.5
|
||||
|
@ -7591,6 +7502,7 @@ packages:
|
|||
/mimic-fn@4.0.0:
|
||||
resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==}
|
||||
engines: {node: '>=12'}
|
||||
dev: true
|
||||
|
||||
/mimic-response@1.0.1:
|
||||
resolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==}
|
||||
|
@ -8039,6 +7951,7 @@ packages:
|
|||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
dependencies:
|
||||
path-key: 4.0.0
|
||||
dev: true
|
||||
|
||||
/npmlog@6.0.2:
|
||||
resolution: {integrity: sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==}
|
||||
|
@ -8148,6 +8061,7 @@ packages:
|
|||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
mimic-fn: 4.0.0
|
||||
dev: true
|
||||
|
||||
/open@8.4.2:
|
||||
resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==}
|
||||
|
@ -8394,6 +8308,7 @@ packages:
|
|||
/path-key@4.0.0:
|
||||
resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==}
|
||||
engines: {node: '>=12'}
|
||||
dev: true
|
||||
|
||||
/path-parse@1.0.7:
|
||||
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
|
||||
|
@ -8403,7 +8318,7 @@ packages:
|
|||
resolution: {integrity: sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==}
|
||||
engines: {node: '>=16 || 14 >=14.17'}
|
||||
dependencies:
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 9.1.0
|
||||
minipass: 5.0.0
|
||||
dev: true
|
||||
|
||||
|
@ -8439,11 +8354,6 @@ packages:
|
|||
hasBin: true
|
||||
dev: true
|
||||
|
||||
/pify@4.0.1:
|
||||
resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==}
|
||||
engines: {node: '>=6'}
|
||||
dev: true
|
||||
|
||||
/pinkie-promise@2.0.1:
|
||||
resolution: {integrity: sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
@ -8806,14 +8716,6 @@ packages:
|
|||
minimatch: 5.1.6
|
||||
dev: true
|
||||
|
||||
/readdirp@3.6.0:
|
||||
resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
|
||||
engines: {node: '>=8.10.0'}
|
||||
dependencies:
|
||||
picomatch: 2.3.1
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/readme-md-generator@1.0.0:
|
||||
resolution: {integrity: sha512-K2v858y99S+AH0OTtaCVgEQg47LU6OecKbF1Eu1nDGE2E8QhSYGeLfAKQWwnglm2xtUGn9rjhgK6l2aJHcA8Qg==}
|
||||
engines: {node: '>=9.3.0', npm: '>=5.5.0'}
|
||||
|
@ -9125,7 +9027,7 @@ packages:
|
|||
engines: {node: '>=10'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
lru-cache: 7.8.1
|
||||
lru-cache: 6.0.0
|
||||
dev: true
|
||||
|
||||
/set-blocking@2.0.0:
|
||||
|
@ -9193,11 +9095,6 @@ packages:
|
|||
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
|
||||
dev: true
|
||||
|
||||
/slash@2.0.0:
|
||||
resolution: {integrity: sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==}
|
||||
engines: {node: '>=6'}
|
||||
dev: true
|
||||
|
||||
/slash@3.0.0:
|
||||
resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
|
||||
engines: {node: '>=8'}
|
||||
|
@ -9450,6 +9347,7 @@ packages:
|
|||
/strip-final-newline@3.0.0:
|
||||
resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==}
|
||||
engines: {node: '>=12'}
|
||||
dev: true
|
||||
|
||||
/strip-indent@3.0.0:
|
||||
resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==}
|
||||
|
@ -10309,6 +10207,10 @@ packages:
|
|||
engines: {node: '>=10'}
|
||||
dev: true
|
||||
|
||||
/yallist@3.1.1:
|
||||
resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
|
||||
dev: true
|
||||
|
||||
/yallist@4.0.0:
|
||||
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
|
||||
dev: true
|
||||
|
@ -10391,17 +10293,6 @@ packages:
|
|||
- encoding
|
||||
dev: true
|
||||
|
||||
github.com/aminya/babel-plugin-remove-node-prefix/95fcbd92405b99a6eece48c493548996f12e6519(@babel/core@7.21.4):
|
||||
resolution: {tarball: https://codeload.github.com/aminya/babel-plugin-remove-node-prefix/tar.gz/95fcbd92405b99a6eece48c493548996f12e6519}
|
||||
id: github.com/aminya/babel-plugin-remove-node-prefix/95fcbd92405b99a6eece48c493548996f12e6519
|
||||
name: '@upleveled/babel-plugin-remove-node-prefix'
|
||||
version: 1.0.1
|
||||
peerDependencies:
|
||||
'@babel/core': ^7.0.0-0
|
||||
dependencies:
|
||||
'@babel/core': 7.21.4
|
||||
dev: true
|
||||
|
||||
github.com/aminya/ci-detect/37fe40075bebec96794ba0a7c4a6d5c70cbea00d:
|
||||
resolution: {tarball: https://codeload.github.com/aminya/ci-detect/tar.gz/37fe40075bebec96794ba0a7c4a6d5c70cbea00d}
|
||||
name: '@npmcli/ci-detect'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { setupCmake } from "../cmake"
|
||||
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { getVersion } from "../../versions/versions"
|
||||
|
||||
jest.setTimeout(300000)
|
||||
|
@ -19,7 +19,7 @@ describe("setup-cmake", () => {
|
|||
it("should find CMake in the cache", async () => {
|
||||
const { binDir } = await setupCmake(getVersion("cmake", "true"), directory, process.arch)
|
||||
await testBin("cmake", ["--version"], binDir)
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
|
||||
}
|
||||
})
|
||||
|
|
|
@ -9,7 +9,7 @@ import semverCoerce from "semver/functions/coerce"
|
|||
import { setupMacOSSDK } from "../macos-sdk/macos-sdk"
|
||||
import { join, addExeExt } from "patha"
|
||||
import { warning, info } from "ci-log"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { InstallationInfo, PackageInfo, setupBin } from "../utils/setup/setupBin"
|
||||
import { extract7Zip } from "../utils/setup/extract"
|
||||
import { isArch } from "../utils/env/isArch"
|
||||
|
@ -197,7 +197,7 @@ async function activateGcc(version: string, binDir: string) {
|
|||
|
||||
promises.push(setupMacOSSDK())
|
||||
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
await addGccLoggingMatcher()
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ describe("setup-Kcov", () => {
|
|||
|
||||
// it("should find Kcov in the cache", async () => {
|
||||
// const binDir = await testKcov("v39", directory)
|
||||
// if (ciDetect() === "github-actions") {
|
||||
// if (GITHUB_ACTIONS) {
|
||||
// expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
|
||||
// }
|
||||
// await cleanupTmpDir("kcov-v39")
|
||||
|
|
|
@ -2,7 +2,7 @@ import { setupLLVM, setupClangTools } from "../llvm"
|
|||
import { getSpecificVersionAndUrl } from "../../utils/setup/version"
|
||||
import { isUrlOnline } from "is-url-online"
|
||||
import { setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { execaSync } from "execa"
|
||||
import path, { addExeExt } from "patha"
|
||||
import { chmodSync } from "fs"
|
||||
|
@ -104,7 +104,7 @@ describe("setup-llvm", () => {
|
|||
const { binDir } = await setupLLVM(getVersion("llvm", "true", osVersion), directory, process.arch)
|
||||
await testBin("clang++", ["--version"], binDir)
|
||||
|
||||
if (ciDetect() === "github-actions" && process.platform !== "linux") {
|
||||
if (GITHUB_ACTIONS && process.platform !== "linux") {
|
||||
expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
|
||||
// TODO returns the install dir on linux
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ describe("setup-llvm", () => {
|
|||
expect(process.env.CC?.includes("clang")).toBeTruthy()
|
||||
expect(process.env.CXX?.includes("clang++")).toBeTruthy()
|
||||
|
||||
if (ciDetect() === "github-actions" && process.platform !== "linux") {
|
||||
if (GITHUB_ACTIONS && process.platform !== "linux") {
|
||||
expect(process.env.CC).toMatch("hostedtoolcache")
|
||||
expect(process.env.CXX).toMatch("hostedtoolcache")
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import { addEnv } from "../utils/env/addEnv"
|
|||
import { setupAptPack, updateAptAlternatives } from "../utils/setup/setupAptPack"
|
||||
import { info, warning } from "ci-log"
|
||||
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { setupGcc } from "../gcc/gcc"
|
||||
import { getVersion } from "../versions/versions"
|
||||
import { isUbuntu } from "../utils/env/isUbuntu"
|
||||
|
@ -115,7 +115,7 @@ export async function activateLLVM(directory: string, versionGiven: string) {
|
|||
)
|
||||
}
|
||||
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
await addLLVMLoggingMatcher()
|
||||
}
|
||||
|
||||
|
@ -124,7 +124,7 @@ export async function activateLLVM(directory: string, versionGiven: string) {
|
|||
|
||||
/** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */
|
||||
export async function setupClangTools(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
await addLLVMLoggingMatcher()
|
||||
}
|
||||
return setupLLVMWithoutActivation(version, setupDir, arch)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/* eslint-disable node/shebang */
|
||||
|
||||
import { endGroup, getInput, notice, startGroup } from "@actions/core"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { error, info, success, warning } from "ci-log"
|
||||
import mri from "mri"
|
||||
import * as numerous from "numerous"
|
||||
|
@ -89,7 +89,7 @@ const inputs: Array<Inputs> = ["compiler", "architecture", ...tools]
|
|||
|
||||
/** The main entry function */
|
||||
export async function main(args: string[]): Promise<number> {
|
||||
if (ciDetect() !== "github-actions") {
|
||||
if (!GITHUB_ACTIONS) {
|
||||
process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = "true"
|
||||
}
|
||||
|
||||
|
@ -280,7 +280,7 @@ export async function main(args: string[]): Promise<number> {
|
|||
|
||||
info("setup-cpp finished")
|
||||
|
||||
if (ciDetect() !== "github-actions") {
|
||||
if (!GITHUB_ACTIONS) {
|
||||
switch (process.platform) {
|
||||
case "win32": {
|
||||
warning("Run `RefreshEnv.cmd` or restart your shell to update the environment.")
|
||||
|
|
|
@ -3,7 +3,7 @@ import { setupVCVarsall } from "../vcvarsall/vcvarsall"
|
|||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
import { vsversion_to_versionnumber, findVcvarsall } from "msvc-dev-cmd/lib.js"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { join } from "patha"
|
||||
|
||||
import { error, info, warning } from "ci-log"
|
||||
|
@ -66,7 +66,7 @@ export async function setupMSVC(
|
|||
// run vcvarsall.bat environment variables
|
||||
await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)
|
||||
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
await addMSVCLoggingMatcher()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { setupNinja } from "../ninja"
|
||||
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { getVersion } from "../../versions/versions"
|
||||
|
||||
jest.setTimeout(300000)
|
||||
|
@ -22,7 +22,7 @@ describe("setup-ninja", () => {
|
|||
|
||||
it("should find Ninja in the cache", async () => {
|
||||
const binDir = await testNinja(directory)
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
import { setupPowershell } from "../powershell"
|
||||
import { testBin } from "../../utils/tests/test-helpers"
|
||||
import { getVersion } from "../../versions/versions"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-powershell", () => {
|
||||
it("should setup powershell", async () => {
|
||||
if (process.platform === "win32" && ciDetect() === "github-actions") {
|
||||
if (process.platform === "win32" && GITHUB_ACTIONS) {
|
||||
// results in errors
|
||||
return
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ import { setupPython } from "../python"
|
|||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
||||
import { getVersion } from "../../versions/versions"
|
||||
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { info } from "ci-log"
|
||||
|
||||
jest.setTimeout(300000)
|
||||
|
@ -13,7 +13,7 @@ describe("setup-python", () => {
|
|||
})
|
||||
|
||||
it("should setup python in GitHub Actions", async () => {
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
info("Installing python in GitHub Actions")
|
||||
const { setupActionsPython } = await import("../actions_python")
|
||||
await setupActionsPython(getVersion("python", "true", await ubuntuVersion()), directory, process.arch)
|
||||
|
|
|
@ -4,7 +4,7 @@ import { findPyPyVersion } from "setup-python/src/find-pypy"
|
|||
import { info, warning } from "ci-log"
|
||||
import { debug } from "@actions/core"
|
||||
import { join } from "patha"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { isCacheFeatureAvailable, IS_MAC } from "setup-python/src/utils"
|
||||
import { getCacheDistributor } from "setup-python/src/cache-distributions/cache-factory"
|
||||
import pathExists from "path-exists"
|
||||
|
@ -51,7 +51,7 @@ export async function setupActionsPython(version: string, _setupDir: string, arc
|
|||
}
|
||||
}
|
||||
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
await addPythonLoggingMatcher()
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import { setupAptPack } from "../utils/setup/setupAptPack"
|
|||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack"
|
||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { warning, info } from "ci-log"
|
||||
import { isArch } from "../utils/env/isArch"
|
||||
import which from "which"
|
||||
|
@ -20,7 +20,7 @@ import { execaSync } from "execa"
|
|||
import { unique } from "../utils/std"
|
||||
|
||||
export async function setupPython(version: string, setupDir: string, arch: string) {
|
||||
if (ciDetect() !== "github-actions") {
|
||||
if (!GITHUB_ACTIONS) {
|
||||
// TODO parse version
|
||||
return setupPythonViaSystem(version, setupDir, arch)
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { setupTask } from "../task"
|
||||
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { getVersion } from "../../versions/versions"
|
||||
|
||||
jest.setTimeout(300000)
|
||||
|
@ -18,7 +18,7 @@ describe("setup-task", () => {
|
|||
|
||||
it("should find task in the cache", async () => {
|
||||
const { binDir } = await setupTask(getVersion("task", "true"), directory, process.arch)
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
expect(binDir).toMatch(process.env.RUNNER_TOOL_CACHE ?? "hostedtoolcache")
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { exportVariable, addPath as ghAddPath, info, setFailed } from "@actions/core"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { untildifyUser } from "untildify-user"
|
||||
import { appendFileSync, readFileSync, writeFileSync } from "fs"
|
||||
import { error, warning } from "ci-log"
|
||||
|
@ -18,7 +18,7 @@ import pathExists from "path-exists"
|
|||
export async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) {
|
||||
const val = escapeString(valGiven ?? "", shouldEscapeSpace)
|
||||
try {
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
try {
|
||||
exportVariable(name, val)
|
||||
} catch (err) {
|
||||
|
@ -47,7 +47,7 @@ function escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {
|
|||
export async function addPath(path: string) {
|
||||
process.env.PATH = `${path}${delimiter}${process.env.PATH}`
|
||||
try {
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
try {
|
||||
ghAddPath(path)
|
||||
} catch (err) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import { InstallationInfo } from "./setupBin"
|
||||
import { execRoot, execRootSync } from "admina"
|
||||
import { info } from "@actions/core"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { addEnv, cpprc_path, setupCppInProfile } from "../env/addEnv"
|
||||
import which from "which"
|
||||
import pathExists from "path-exists"
|
||||
|
@ -149,7 +149,7 @@ export async function addAptKeyViaDownload(name: string, url: string) {
|
|||
}
|
||||
|
||||
export async function updateAptAlternatives(name: string, path: string) {
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
return execRoot("update-alternatives", ["--install", `/usr/bin/${name}`, name, path, "40"])
|
||||
} else {
|
||||
await setupCppInProfile()
|
||||
|
|
|
@ -4,7 +4,7 @@ import { join } from "patha"
|
|||
import { info } from "ci-log"
|
||||
|
||||
import { tmpdir } from "os"
|
||||
import ciDetect from "@npmcli/ci-detect"
|
||||
import { GITHUB_ACTIONS } from "ci-info"
|
||||
import { setupAptPack } from "./setupAptPack"
|
||||
import { setupPacmanPack } from "./setupPacmanPack"
|
||||
import { isArch } from "../env/isArch"
|
||||
|
@ -66,7 +66,7 @@ export async function setupBin(
|
|||
)
|
||||
|
||||
// Restore from cache (if found).
|
||||
if (ciDetect() === "github-actions") {
|
||||
if (GITHUB_ACTIONS) {
|
||||
try {
|
||||
const dir = find(name, version)
|
||||
if (dir) {
|
||||
|
@ -136,7 +136,7 @@ export async function setupBin(
|
|||
await addPath(binDir)
|
||||
|
||||
// check if inside Github Actions. If so, cache the installation
|
||||
if (ciDetect() === "github-actions" && typeof process.env.RUNNER_TOOL_CACHE === "string") {
|
||||
if (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === "string") {
|
||||
await cacheDir(setupDir, name, version)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue