setup-cpp/package.json

223 lines
7.7 KiB
JSON
Raw Normal View History

{
"name": "setup-cpp",
2025-11-10 16:13:02 +08:00
"version": "1.7.2",
2021-09-14 14:57:47 +08:00
"description": "Install all the tools required for building and testing C++/C projects.",
"repository": "https://github.com/aminya/setup-cpp",
"license": "Apache-2.0",
2021-10-08 09:00:00 +08:00
"author": "Amin Yahyaabadi",
"main": "dist/library/lib.mjs",
"modern": "dist/library/lib.mjs",
"source": "./src/lib.ts",
2021-10-08 09:00:00 +08:00
"bin": {
2023-07-16 06:41:58 +08:00
"setup-cpp": "dist/legacy/setup-cpp.js"
2021-10-08 09:00:00 +08:00
},
"scripts": {
2025-05-20 17:52:27 +08:00
"build": "turbo build && run-p build.types.modern lint.root.tsc build.cli.modern build.cli.legacy build.library && run-p build.json build.bash",
2025-04-07 21:21:56 +08:00
"build.cli.modern": "cross-env NODE_ENV=production vite build --mode cli-modern",
"build.cli.legacy": "cross-env NODE_ENV=production vite build --mode cli-legacy",
"build.library": "cross-env NODE_ENV=production vite build --mode library",
2025-04-07 14:51:21 +08:00
"build.types.modern": "tsc -p ./tsconfig.types.json",
"build.json": "shx cp ./src/*/*.json ./dist/legacy/ && shx cp ./dist/legacy/*.json ./dist/modern && minijson --file \"dist/**/*.json\"",
"build.bash": "shx cp ./src/*/*.bash ./dist/legacy/ && shx cp ./dist/legacy/*.bash ./dist/modern",
2025-01-12 16:45:24 +08:00
"bump": "ncu -u -x execa,numerous,eslint,@types/eslint,which && pnpm update && pnpx typesync && pnpm run clean",
"bump.llvm": "tsx ./src/llvm/assets-list.ts",
"bump.gcc": "tsx ./src/gcc/assets-list.ts",
"bump.infer": "tsx ./src/infer/assets-list.ts",
"bump.versions": "run-p bump.llvm bump.gcc bump.infer && run-s format",
"clean": "shx rm -rf ./dist ./packages/*/dist ./exe ./.parcel-cache && shx mkdir -p ./dist/legacy ./dist/modern ./dist/modern ",
2024-09-04 16:27:11 +08:00
"dev.vite": "cross-env NODE_ENV=development vite build --watch",
2024-08-24 06:20:37 +08:00
"dev.packages": "turbo dev",
"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",
2024-04-03 15:15:43 +08:00
"format": "run-s lint.dprint",
"lint": "turbo lint && run-p --aggregate-output --continue-on-error lint.**",
2022-11-09 08:08:38 +08:00
"lint.cspell": "cspell lint --no-progress --show-suggestions --cache --cache-location ./.cache/cspell/.cspellcache",
2024-08-07 14:44:32 +08:00
"lint.biome": "biome check --write --unsafe",
2024-04-03 15:15:43 +08:00
"lint.dprint": "dprint fmt",
2024-08-16 08:01:33 +08:00
"lint.root.tsc": "tsc --noEmit --pretty",
"lint.root.eslint": "eslint './{src,dev}/**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix",
2023-05-25 15:17:16 +08:00
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./dev/scripts/pack-exe.mjs",
"publish.all": "pnpm -r publish",
2024-08-16 17:32:26 +08:00
"prepublishOnly": "run-s build && shx rm ./dist/tsconfig.tsbuildinfo",
"test.lint": "run-p --aggregate-output --continue-on-error test.lint.** lint.cspell lint.root.tsc",
"test.lint.root.eslint": "eslint './{src,dev}/**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/",
2024-08-07 14:44:32 +08:00
"test.lint.biome": "biome check",
2024-04-03 15:15:43 +08:00
"test.lint.dprint": "dprint check",
"test.docker": "tsx ./dev/docker/ci/tests/index.mts",
"test": "turbo test && jest --runInBand --forceExit --coverage",
2024-03-24 15:20:20 +08:00
"build.docker-ci": "node ./dev/docker/ci/docker-ci.mjs"
},
"devDependencies": {
2025-03-01 16:43:33 +08:00
"@actions/cache": "^4.0.2",
2025-01-12 16:45:24 +08:00
"@actions/core": "^1.11.1",
2022-04-05 07:13:42 +08:00
"@actions/exec": "^1.1.1",
2024-09-02 17:30:54 +08:00
"@actions/http-client": "^2.2.3",
2023-04-14 16:15:14 +08:00
"@actions/io": "^1.1.3",
2025-03-01 16:43:33 +08:00
"@actions/tool-cache": "^2.0.2",
"@aminya/minijson": "1.1.3",
2025-03-01 16:43:33 +08:00
"@babel/core": "^7.26.9",
"@babel/preset-typescript": "^7.27.1",
2025-01-12 16:45:24 +08:00
"@biomejs/biome": "^1.9.4",
2024-08-16 06:02:03 +08:00
"@iarna/toml": "^2.2.5",
"@liuli-util/vite-plugin-node": "^0.10.0",
"@octokit/core": "^7.0.0",
"@octokit/openapi-types": "^25.0.0",
"@octokit/plugin-paginate-rest": "^13.0.0",
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
"@octokit/rest": "^22.0.0",
"@octokit/types": "^14.0.0",
2025-02-27 17:42:16 +08:00
"@shockpkg/archive-files": "3.2.5",
"@swc/cli": "^0.7.0",
2025-01-12 16:45:24 +08:00
"@swc/jest": "^0.2.37",
"@types/babel__core": "~7.20.5",
2024-01-22 13:31:35 +08:00
"@types/cross-spawn": "^6.0.6",
"@types/escape-quotes": "~1.0.0",
"@types/eslint": "^9.6.1",
2025-02-01 07:40:55 +08:00
"@types/fs-extra": "^11.0.4",
2024-08-16 06:02:03 +08:00
"@types/iarna__toml": "~2.0.5",
2025-01-12 16:45:24 +08:00
"@types/jest": "^29.5.14",
2024-08-30 07:12:54 +08:00
"@types/memoizee": "^0.4.11",
2025-03-01 16:43:33 +08:00
"@types/node": "^22.13.8",
2024-04-03 15:15:43 +08:00
"@types/semver": "^7.5.8",
2024-08-07 14:51:00 +08:00
"@types/which": "^3.0.4",
2024-09-20 06:41:39 +08:00
"@upleveled/babel-plugin-remove-node-prefix": "github:aminya/babel-plugin-remove-node-prefix#02526f866c4f57d3a097590942dc0e700fb3eb15",
"admina": "^1.0.1",
2022-10-20 05:30:11 +08:00
"caxa": "^3.0.1",
2025-01-12 16:45:24 +08:00
"ci-info": "^4.1.0",
"ci-log": "workspace:*",
"cross-env": "7.0.3",
2025-01-12 16:45:24 +08:00
"cross-spawn": "^7.0.6",
"cspell": "^9.0.0",
"diagnostics_channel": "^1.1.0",
"dprint": "^0.50.0",
2024-08-30 07:12:54 +08:00
"envosman": "workspace:*",
2023-03-10 05:36:02 +08:00
"escape-path-with-spaces": "^1.0.2",
2023-01-23 06:23:06 +08:00
"escape-quotes": "^1.0.2",
"escape-string-regexp": "^5.0.0",
"eslint": "^8.57.1",
2024-08-16 08:01:33 +08:00
"eslint-config-atomic": "^1.22.1",
"exec-powershell": "workspace:*",
2025-03-01 16:43:33 +08:00
"execa": "^7.2.0",
"fast-glob": "^3.3.3",
2025-02-01 07:40:55 +08:00
"fs-extra": "^11.3.0",
2023-01-23 06:23:06 +08:00
"is-url-online": "^1.5.0",
2024-01-22 13:31:35 +08:00
"jest": "^29.7.0",
2025-03-01 16:43:33 +08:00
"lefthook": "^1.11.2",
2024-08-07 14:51:00 +08:00
"macos-release": "^3.3.0",
2024-08-30 07:12:54 +08:00
"memoizee": "^0.4.17",
"mkdirp": "^3.0.1",
2025-05-01 03:09:38 +08:00
"mri": "^1.2.0",
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd",
2024-08-30 07:12:54 +08:00
"node-downloader-helper": "2.1.9",
"npm-check-updates": "^18.0.0",
"npm-run-all2": "^8.0.0",
"numerous": "1.0.3",
2025-01-12 16:45:24 +08:00
"p-timeout": "^6.1.4",
2023-04-23 16:09:38 +08:00
"path-exists": "^5.0.0",
2023-01-23 06:23:06 +08:00
"patha": "^0.4.1",
"prettier": "3.6.2",
2024-01-22 13:31:35 +08:00
"prettier-config-atomic": "^4.0.0",
2025-03-10 15:38:16 +08:00
"randomuuid-polyfill": "^1.0.2",
"readme-md-generator": "^1.0.0",
2025-03-01 16:43:33 +08:00
"retry-as-promised": "^7.1.1",
"rollup": "^4.34.9",
"safe-stable-stringify": "^2.5.0",
"semver": "7.7.2",
"setup-alpine": "workspace:*",
"setup-apt": "workspace:*",
2024-08-24 06:20:37 +08:00
"setup-brew": "workspace:*",
"setup-python": "github:aminya/setup-python#9700887",
"shx": "0.4.0",
2025-07-10 22:11:16 +08:00
"simple-update-notifier": "^2.0.0",
"time-delta": "github:aminya/time-delta#69d91a4",
2024-09-21 07:00:03 +08:00
"timers-browserify": "^2.0.12",
2024-01-22 13:31:35 +08:00
"ts-node": "^10.9.2",
"ts-readme": "^1.1.3",
"tsx": "^4.20.3",
"turbo": "2.5.4",
2025-03-01 16:43:33 +08:00
"typescript": "^5.8.2",
2023-01-23 06:23:06 +08:00
"ubuntu-version": "^2.0.0",
"untildify-user": "workspace:*",
"util.types": "^0.0.2",
2025-03-01 16:43:33 +08:00
"vite": "^6.2.0",
2025-01-12 16:45:24 +08:00
"vite-plugin-babel": "^1.3.0",
"web-streams-polyfill": "^4.1.0",
2025-05-01 03:09:38 +08:00
"which": "^4.0.0"
},
"productionDependencies": [
"@actions/core",
"@actions/exec",
"@actions/http-client",
"@actions/io",
"@actions/tool-cache",
"@iarna/toml",
"admina",
"ci-info",
"ci-log",
"diagnostics_channel",
"escape-path-with-spaces",
"escape-quotes",
"escape-string-regexp",
"exec-powershell",
"execa",
"is-url-online",
2024-08-30 07:12:54 +08:00
"memoizee",
"mri",
"msvc-dev-cmd",
"node-downloader-helper",
"numerous",
"envosman",
"path-exists",
"patha",
"retry-as-promised",
"semver",
"setup-apt",
"setup-alpine",
2024-08-24 06:20:37 +08:00
"setup-brew",
"setup-python",
"time-delta",
"ubuntu-version",
"untildify-user",
"util.types",
2024-09-21 07:00:03 +08:00
"web-streams-polyfill",
2025-02-01 07:40:55 +08:00
"timers-browserify",
"fs-extra",
2025-04-07 14:28:52 +08:00
"randomuuid-polyfill",
"mri",
"simple-update-notifier"
],
2021-10-08 09:00:00 +08:00
"engines": {
"node": ">=12.x",
2025-02-06 17:57:31 +08:00
"pnpm": "^10"
2021-10-08 09:00:00 +08:00
},
2025-11-10 16:13:02 +08:00
"packageManager": "pnpm@10.21.0",
2024-08-16 06:55:02 +08:00
"workspaces": [
"packages/*"
],
"keywords": [
"github-actions",
"actions",
"github",
"setup-cpp",
"c++",
"cpp",
"cxx",
"cc",
"llvm",
"clang",
"gcc",
"mingw",
"msvc",
"cl",
"cmake",
"ninja",
"meson"
2021-10-08 09:00:00 +08:00
],
"pnpm": {
"patchedDependencies": {
2024-09-02 17:30:54 +08:00
"@actions/http-client@2.2.3": "patches/@actions__http-client@2.2.3.patch"
}
2021-10-08 09:00:00 +08:00
}
}