Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependencies #286

Merged
merged 8 commits into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest", "lockFileMaintenance", "rollback", "bump"],
"groupName": "devDependencies",
"semanticCommitType": "chore",
"automerge": true
"automerge": true,
"ignoreDeps": ["eslint", "numerous", "execa"]
},
{
"matchDepTypes": ["dependencies"],
Expand Down
5 changes: 4 additions & 1 deletion .terserrc.mjs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
import { buildTerserOptions } from "terser-config-atomic/dist/builder.js"
export default buildTerserOptions(process.env.NODE_ENV, undefined, true)
const config = buildTerserOptions(process.env.NODE_ENV, undefined, true)
config.compress.unsafe_math = false

export default config
2 changes: 2 additions & 0 deletions dist/legacy/assets/actions_python-B7InDb2U.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/legacy/assets/actions_python-B7InDb2U.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/legacy/assets/actions_python-BF80bhWt.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/legacy/assets/actions_python-BF80bhWt.js.map

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/legacy/assets/proxy-agent-B6ncb0bd.js

This file was deleted.

2 changes: 2 additions & 0 deletions dist/legacy/assets/proxy-agent-BtRxTz9r.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/modern/assets/actions_python-Dr1ce8ZD.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/modern/assets/actions_python-Dr1ce8ZD.mjs.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/modern/assets/actions_python-mhNRejTS.mjs

This file was deleted.

1 change: 0 additions & 1 deletion dist/modern/assets/actions_python-mhNRejTS.mjs.map

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/modern/assets/proxy-agent-CazGe35s.mjs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/modern/assets/proxy-agent-CtreyBpw.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.mjs.map

Large diffs are not rendered by default.

36 changes: 20 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@
"build.vite": "cross-env NODE_ENV=production vite build",
"build.vite.legacy": "cross-env NODE_ENV=production TARGET=legacy vite build",
"build.json": "shx cp ./src/*/*.json ./dist/legacy/ && shx cp ./dist/legacy/*.json ./dist/modern && minijson --file ./dist/**/*.json",
"bump": "ncu -u -x numerous,execa,prettier,@types/node,eslint,@types/eslint && pnpm update && pnpx typesync && pnpm run clean",
"bump": "ncu -u -x execa,numerous,eslint,@types/eslint && pnpm update && pnpx typesync && pnpm run clean",
"clean": "shx rm -rf ./dist ./packages/*/dist ./exe ./.parcel-cache && shx mkdir -p ./dist/legacy ./dist/modern ./dist/modern ",
"dev.vite": "cross-env NODE_ENV=development vite build --watch",
"dev.packages": "turbo dev",
"dev": "run-p build.json dev.packages dev.vite",
"dev.root.tsc": "tsc --noEmit --pretty --watch",
"dev": "run-p build.json dev.packages dev.root.tsc dev.vite",
"docs": "shx rm -rf packages/*/README.md && pnpm -r exec readme --path ../../dev/readme/template.md -y && pnpm -r exec ts-readme",
"format": "run-s lint.dprint",
"lint": "turbo lint && run-p --aggregate-output --continue-on-error lint.**",
Expand All @@ -54,14 +55,15 @@
"build.docker-ci": "node ./dev/docker/ci/docker-ci.mjs"
},
"devDependencies": {
"@actions/cache": "^3.2.4",
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/http-client": "^2.2.3",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1",
"@aminya/minijson": "1.0.3",
"@aminya/minijson": "1.1.0",
"@babel/core": "^7.25.2",
"@biomejs/biome": "^1.9.1",
"@biomejs/biome": "^1.9.2",
"@iarna/toml": "^2.2.5",
"@liuli-util/vite-plugin-node": "^0.9.0",
"@octokit/core": "^6.1.2",
Expand All @@ -75,21 +77,21 @@
"@types/babel__core": "~7.20.5",
"@types/cross-spawn": "^6.0.6",
"@types/escape-quotes": "~1.0.0",
"@types/eslint": "^8.56.12",
"@types/eslint": "^9.6.1",
"@types/iarna__toml": "~2.0.5",
"@types/jest": "^29.5.13",
"@types/memoizee": "^0.4.11",
"@types/node": "^12.20.55",
"@types/node": "^22.5.5",
"@types/semver": "^7.5.8",
"@types/which": "^3.0.4",
"@upleveled/babel-plugin-remove-node-prefix": "github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519",
"@upleveled/babel-plugin-remove-node-prefix": "github:aminya/babel-plugin-remove-node-prefix#02526f866c4f57d3a097590942dc0e700fb3eb15",
"admina": "^1.0.1",
"caxa": "^3.0.1",
"ci-info": "^4.0.0",
"ci-log": "workspace:*",
"cross-env": "7.0.3",
"cross-spawn": "^7.0.3",
"cspell": "^8.14.3",
"cspell": "^8.14.4",
"diagnostics_channel": "^1.1.0",
"dprint": "^0.47.2",
"envosman": "workspace:*",
Expand All @@ -99,7 +101,7 @@
"eslint": "^8.57.1",
"eslint-config-atomic": "^1.22.1",
"exec-powershell": "workspace:*",
"execa": "^7.2.0",
"execa": "^7",
"is-url-online": "^1.5.0",
"jest": "^29.7.0",
"lefthook": "^1.7.15",
Expand All @@ -109,30 +111,31 @@
"mri": "^1.2.0",
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd",
"node-downloader-helper": "2.1.9",
"npm-check-updates": "^17.1.1",
"npm-check-updates": "^17.1.2",
"npm-run-all2": "^6.2.3",
"numerous": "1.0.3",
"p-timeout": "^6.1.2",
"path-exists": "^5.0.0",
"patha": "^0.4.1",
"prettier": "3.2.2",
"prettier": "3.3.3",
"prettier-config-atomic": "^4.0.0",
"readme-md-generator": "^1.0.0",
"retry-as-promised": "^7.0.4",
"rollup": "^4.21.3",
"rollup": "^4.22.0",
"safe-stable-stringify": "^2.5.0",
"semver": "7.6.3",
"setup-apt": "workspace:*",
"setup-brew": "workspace:*",
"setup-python": "github:aminya/setup-python#a783db655c6e40317e2c0c96f9d162d9c9f4a751",
"setup-python": "github:aminya/setup-python#9700887",
"shx": "0.3.4",
"simple-update-notifier": "^2.0.0",
"terser": "^5.33.0",
"terser-config-atomic": "^1.0.0",
"time-delta": "github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e",
"time-delta": "github:aminya/time-delta#69d91a4",
"timers-browserify": "^2.0.12",
"ts-node": "^10.9.2",
"ts-readme": "^1.1.3",
"turbo": "2.1.1",
"turbo": "2.1.2",
"typescript": "^5.6.2",
"ubuntu-version": "^2.0.0",
"untildify-user": "workspace:*",
Expand Down Expand Up @@ -177,7 +180,8 @@
"ubuntu-version",
"untildify-user",
"util.types",
"web-streams-polyfill"
"web-streams-polyfill",
"timers-browserify"
],
"engines": {
"node": ">=12.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/envosman/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"@actions/core": "^1.10.1",
"@types/node": "^12",
"@types/node": "22.5.5",
"admina": "^1.0.1",
"ci-info": "^4.0.0",
"escape-path-with-spaces": "^1.0.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/exec-powershell/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function execPowershell(
command: string,
startupFlags: string[] = ["-NoProfile", "-NoLogo", "-NonInteractive"],
execOptions: execa.Options = { stdio: "inherit" },
): execa.ExecaChildProcess<string> {
) {
return execa.execa(getPowerShell(), [...startupFlags, "-c", command], execOptions)
}

Expand All @@ -36,7 +36,7 @@ export function execPowershellSync(
command: string,
startupFlags: string[] = ["-NoProfile", "-NoLogo", "-NonInteractive"],
execOptions: execa.SyncOptions = { stdio: "inherit" },
): execa.ExecaSyncReturnValue<string> {
) {
return execa.execaSync(getPowerShell(), [...startupFlags, "-c", command], execOptions)
}

Expand Down
4 changes: 2 additions & 2 deletions packages/setup-apt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
"prepublishOnly": "pnpm run build"
},
"dependencies": {
"@types/node": "^12",
"@types/node": "22.5.5",
"admina": "^1.0.1",
"ci-info": "^4.0.0",
"path-exists": "^5.0.0",
"ci-log": "workspace:*",
"envosman": "workspace:*",
"which": "4.0.0",
"execa": "^7.2.0",
"execa": "^7",
"escape-string-regexp": "^5.0.0",
"node-downloader-helper": "2.1.9",
"memoizee": "^0.4.17"
Expand Down
2 changes: 1 addition & 1 deletion packages/setup-apt/src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export async function installAptPack(packages: AptPackage[], update = false): Pr
})
} catch (err) {
if (isExecaError(err)) {
if (retryErrors.some((error) => err.stderr.includes(error))) {
if (retryErrors.some((error) => typeof err.stderr === "string" && err.stderr.includes(error))) {
warning(`Failed to install packages ${needToInstall}. Retrying...`)
execRootSync(
apt,
Expand Down
4 changes: 2 additions & 2 deletions packages/setup-brew/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"test": "jest --coverage"
},
"dependencies": {
"@types/node": "^12",
"@types/node": "22.5.5",
"ci-log": "workspace:*",
"envosman": "workspace:*",
"which": "4.0.0",
"execa": "^7.2.0",
"execa": "^7",
"setup-apt": "workspace:*",
"node-downloader-helper": "2.1.9"
},
Expand Down
Loading
Loading