mirror of https://github.com/aminya/setup-cpp.git
223 lines
7.7 KiB
JSON
223 lines
7.7 KiB
JSON
{
|
|
"name": "setup-cpp",
|
|
"version": "1.7.2",
|
|
"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"
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"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": "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 ",
|
|
"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",
|
|
"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/",
|
|
"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"
|
|
},
|
|
"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.3",
|
|
"@babel/core": "^7.26.9",
|
|
"@babel/preset-typescript": "^7.27.1",
|
|
"@biomejs/biome": "^1.9.4",
|
|
"@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",
|
|
"@shockpkg/archive-files": "3.2.5",
|
|
"@swc/cli": "^0.7.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",
|
|
"ci-log": "workspace:*",
|
|
"cross-env": "7.0.3",
|
|
"cross-spawn": "^7.0.6",
|
|
"cspell": "^9.0.0",
|
|
"diagnostics_channel": "^1.1.0",
|
|
"dprint": "^0.50.0",
|
|
"envosman": "workspace:*",
|
|
"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",
|
|
"exec-powershell": "workspace:*",
|
|
"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",
|
|
"mri": "^1.2.0",
|
|
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd",
|
|
"node-downloader-helper": "2.1.9",
|
|
"npm-check-updates": "^18.0.0",
|
|
"npm-run-all2": "^8.0.0",
|
|
"numerous": "1.0.3",
|
|
"p-timeout": "^6.1.4",
|
|
"path-exists": "^5.0.0",
|
|
"patha": "^0.4.1",
|
|
"prettier": "3.6.2",
|
|
"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.2",
|
|
"setup-alpine": "workspace:*",
|
|
"setup-apt": "workspace:*",
|
|
"setup-brew": "workspace:*",
|
|
"setup-python": "github:aminya/setup-python#9700887",
|
|
"shx": "0.4.0",
|
|
"simple-update-notifier": "^2.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.20.3",
|
|
"turbo": "2.5.4",
|
|
"typescript": "^5.8.2",
|
|
"ubuntu-version": "^2.0.0",
|
|
"untildify-user": "workspace:*",
|
|
"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"
|
|
},
|
|
"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",
|
|
"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"
|
|
},
|
|
"packageManager": "pnpm@10.21.0",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"keywords": [
|
|
"github-actions",
|
|
"actions",
|
|
"github",
|
|
"setup-cpp",
|
|
"c++",
|
|
"cpp",
|
|
"cxx",
|
|
"cc",
|
|
"llvm",
|
|
"clang",
|
|
"gcc",
|
|
"mingw",
|
|
"msvc",
|
|
"cl",
|
|
"cmake",
|
|
"ninja",
|
|
"meson"
|
|
],
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"@actions/http-client@2.2.3": "patches/@actions__http-client@2.2.3.patch"
|
|
}
|
|
}
|
|
}
|