UNPKG

setup-cpp

Version:

Install all the tools required for building and testing C++/C projects.

231 lines 7.96 kB
{ "name": "setup-cpp", "version": "1.5.3", "description": "Install all the tools required for building and testing C++/C projects.", "repository": "https://github.com/aminya/setup-cpp", "license": "Apache-2.0", "author": "Amin Yahyaabadi", "main": "dist/library/lib.mjs", "modern": "dist/library/lib.mjs", "source": "./src/lib.ts", "bin": { "setup-cpp": "dist/legacy/setup-cpp.js" }, "files": [ "action.yml", ".dockerignore", "dist", "src", "packages", "dev/docker", "README.md", "LICENSE.txt", "LICENSE.dependencies.txt", "package.json", "package-version.json", "tsconfig.json" ], "devDependencies": { "@actions/cache": "^4.0.2", "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", "@actions/http-client": "^2.2.3", "@actions/io": "^1.1.3", "@actions/tool-cache": "^2.0.2", "@aminya/minijson": "1.1.0", "@babel/core": "^7.26.9", "@biomejs/biome": "^1.9.4", "@iarna/toml": "^2.2.5", "@liuli-util/vite-plugin-node": "^0.9.0", "@octokit/core": "^6.1.4", "@octokit/openapi-types": "^24.0.0", "@octokit/plugin-paginate-rest": "^11.4.3", "@octokit/plugin-rest-endpoint-methods": "^13.3.1", "@octokit/rest": "^21.1.1", "@octokit/types": "^13.8.0", "@shockpkg/archive-files": "3.2.5", "@swc/cli": "^0.6.0", "@swc/jest": "^0.2.37", "@types/babel__core": "~7.20.5", "@types/cross-spawn": "^6.0.6", "@types/escape-quotes": "~1.0.0", "@types/eslint": "^9.6.1", "@types/fs-extra": "^11.0.4", "@types/iarna__toml": "~2.0.5", "@types/jest": "^29.5.14", "@types/memoizee": "^0.4.11", "@types/node": "^22.13.8", "@types/semver": "^7.5.8", "@types/which": "^3.0.4", "@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.1.0", "cross-env": "7.0.3", "cross-spawn": "^7.0.6", "cspell": "^8.17.5", "diagnostics_channel": "^1.1.0", "dprint": "^0.49.0", "escape-path-with-spaces": "^1.0.2", "escape-quotes": "^1.0.2", "escape-string-regexp": "^5.0.0", "eslint": "^8.57.1", "eslint-config-atomic": "^1.22.1", "execa": "^7.2.0", "fast-glob": "^3.3.3", "fs-extra": "^11.3.0", "is-url-online": "^1.5.0", "jest": "^29.7.0", "lefthook": "^1.11.2", "macos-release": "^3.3.0", "memoizee": "^0.4.17", "mkdirp": "^3.0.1", "msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd", "node-downloader-helper": "2.1.9", "npm-check-updates": "^17.1.16", "npm-run-all2": "^7.0.2", "numerous": "1.0.3", "p-timeout": "^6.1.4", "path-exists": "^5.0.0", "patha": "^0.4.1", "prettier": "3.5.3", "prettier-config-atomic": "^4.0.0", "randomuuid-polyfill": "^1.0.2", "readme-md-generator": "^1.0.0", "retry-as-promised": "^7.1.1", "rollup": "^4.34.9", "safe-stable-stringify": "^2.5.0", "semver": "7.7.1", "setup-python": "github:aminya/setup-python#9700887", "shx": "0.4.0", "terser": "^5.39.0", "terser-config-atomic": "^1.0.0", "time-delta": "github:aminya/time-delta#69d91a4", "timers-browserify": "^2.0.12", "ts-node": "^10.9.2", "ts-readme": "^1.1.3", "tsx": "^4.19.3", "turbo": "2.4.4", "typescript": "^5.8.2", "ubuntu-version": "^2.0.0", "util.types": "^0.0.2", "vite": "^6.2.0", "vite-plugin-babel": "^1.3.0", "web-streams-polyfill": "^4.1.0", "which": "^4.0.0", "mri": "^1.2.0", "simple-update-notifier": "^2.0.0", "ci-log": "1.0.2", "exec-powershell": "1.0.1", "setup-alpine": "1.1.0", "setup-apt": "3.0.2", "untildify-user": "1.0.1", "envosman": "1.0.4", "setup-brew": "1.1.1" }, "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", "memoizee", "mri", "msvc-dev-cmd", "node-downloader-helper", "numerous", "envosman", "path-exists", "patha", "retry-as-promised", "semver", "setup-apt", "setup-alpine", "setup-brew", "setup-python", "simple-update-notifier", "time-delta", "ubuntu-version", "untildify-user", "util.types", "web-streams-polyfill", "timers-browserify", "fs-extra", "randomuuid-polyfill", "mri", "simple-update-notifier" ], "engines": { "node": ">=12.x", "pnpm": "^10" }, "workspaces": [ "packages/*" ], "keywords": [ "github-actions", "actions", "github", "setup-cpp", "c++", "cpp", "cxx", "cc", "llvm", "clang", "gcc", "mingw", "msvc", "cl", "cmake", "ninja", "meson" ], "scripts": { "build": "run-s clean && pnpm -r build && run-p build.types.modern lint.root.tsc build.cli.modern build.cli.legacy build.library && run-p build.json build.bash", "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", "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", "bump": "ncu -u -x execa,numerous,eslint,@types/eslint,which && pnpm update && pnpx typesync && pnpm run clean", "bump.llvm": "GITHUB_TOKEN=$(gh auth token) tsx ./src/llvm/assets-list.ts", "bump.gcc": "GITHUB_TOKEN=$(gh auth token) tsx ./src/gcc/assets-list.ts", "bump.infer": "GITHUB_TOKEN=$(gh auth token) 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 ", "dev.vite": "cross-env NODE_ENV=development vite build --watch", "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", "format": "run-s lint.dprint", "lint": "turbo lint && run-p --aggregate-output --continue-on-error lint.**", "lint.cspell": "cspell lint --no-progress --show-suggestions --cache --cache-location ./.cache/cspell/.cspellcache", "lint.biome": "biome check --write --unsafe", "lint.dprint": "dprint fmt", "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", "pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./dev/scripts/pack-exe.mjs", "publish.all": "pnpm -r publish", "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/", "test.lint.biome": "biome check", "test.lint.dprint": "dprint check", "test.docker": "tsx ./dev/docker/ci/tests/index.mts", "test": "turbo test && jest --runInBand --forceExit --coverage", "build.docker-ci": "node ./dev/docker/ci/docker-ci.mjs" } }