mirror of https://github.com/aminya/setup-cpp
226 lines
7.7 KiB
JSON
226 lines
7.7 KiB
JSON
{
|
|
"name": "setup-cpp",
|
|
"version": "0.39.0",
|
|
"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/legacy/setup-cpp.js",
|
|
"actions": "./dist/actions/setup-cpp.js",
|
|
"modern": "./dist/modern/setup-cpp.js",
|
|
"source": "./src/main.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"
|
|
],
|
|
"scripts": {
|
|
"build": "turbo build && run-p lint.root.tsc build.parcel copy.matchers && run-s build.babel build.modern",
|
|
"build.parcel": "cross-env NODE_ENV=production parcel build",
|
|
"build.babel": "babel ./dist --out-dir dist --plugins @upleveled/babel-plugin-remove-node-prefix --plugins @babel/plugin-transform-private-methods --compact --no-babelrc --source-maps true",
|
|
"build.modern": "shx cp -r ./dist/actions/* ./dist/modern",
|
|
"bump": "ncu -u -x numerous,execa,prettier,@types/node,eslint,@types/eslint && pnpm update && pnpx typesync && pnpm run clean",
|
|
"clean": "shx rm -rf ./dist ./exe ./.parcel-cache && shx mkdir -p ./dist/legacy ./dist/actions ./dist/modern ",
|
|
"copy.matchers": "run-p copy.matchers.legacy copy.matchers.actions",
|
|
"copy.matchers.legacy": "shx cp ./src/gcc/gcc_matcher.json ./dist/legacy/ && shx cp ./src/msvc/msvc_matcher.json ./dist/legacy/ && shx cp ./src/python/python_matcher.json ./dist/legacy/ && shx cp ./src/llvm/llvm_matcher.json ./dist/legacy/",
|
|
"copy.matchers.actions": "shx cp ./src/gcc/gcc_matcher.json ./dist/actions/ && shx cp ./src/msvc/msvc_matcher.json ./dist/actions/ && shx cp ./src/python/python_matcher.json ./dist/actions/ && shx cp ./src/llvm/llvm_matcher.json ./dist/actions/",
|
|
"dev": "cross-env NODE_ENV=development parcel watch",
|
|
"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 && pnpm 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": "jest --runInBand --forceExit --coverage",
|
|
"build.docker-ci": "node ./dev/docker/ci/docker-ci.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "^1.10.1",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/http-client": "^2.2.1",
|
|
"@actions/io": "^1.1.3",
|
|
"@actions/tool-cache": "^2.0.1",
|
|
"@babel/cli": "^7.24.8",
|
|
"@babel/plugin-transform-private-methods": "^7.24.7",
|
|
"@biomejs/biome": "^1.8.3",
|
|
"@iarna/toml": "^2.2.5",
|
|
"@shockpkg/archive-files": "github:aminya/archive-files#54ec59fad46aca736ac6feb6c7bb526528141b9d",
|
|
"@swc/jest": "^0.2.36",
|
|
"@types/cross-spawn": "^6.0.6",
|
|
"@types/eslint": "^8.56.11",
|
|
"@types/iarna__toml": "~2.0.5",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^12.20.55",
|
|
"@types/semver": "^7.5.8",
|
|
"@types/which": "^3.0.4",
|
|
"@upleveled/babel-plugin-remove-node-prefix": "github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519",
|
|
"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.13.3",
|
|
"diagnostics_channel": "^1.1.0",
|
|
"dprint": "^0.47.2",
|
|
"escape-path-with-spaces": "^1.0.2",
|
|
"escape-quotes": "^1.0.2",
|
|
"escape-string-regexp": "^5.0.0",
|
|
"setup-apt": "workspace:*",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-atomic": "^1.22.1",
|
|
"exec-powershell": "workspace:*",
|
|
"execa": "^7.2.0",
|
|
"is-url-online": "^1.5.0",
|
|
"jest": "^29.7.0",
|
|
"lefthook": "^1.7.12",
|
|
"macos-release": "^3.3.0",
|
|
"micro-memoize": "^4.1.2",
|
|
"mkdirp": "^3.0.1",
|
|
"mri": "^1.2.0",
|
|
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd",
|
|
"npm-check-updates": "^17.0.6",
|
|
"npm-run-all2": "^6.2.2",
|
|
"numerous": "1.0.3",
|
|
"envosman": "workspace:*",
|
|
"p-timeout": "^6.1.2",
|
|
"parcel": "2.0.0-canary.1717",
|
|
"path-exists": "^5.0.0",
|
|
"patha": "^0.4.1",
|
|
"prettier": "3.2.2",
|
|
"prettier-config-atomic": "^4.0.0",
|
|
"readme-md-generator": "^1.0.0",
|
|
"retry-as-promised": "^7.0.4",
|
|
"semver": "7.6.3",
|
|
"setup-python": "github:aminya/setup-python#a783db655c6e40317e2c0c96f9d162d9c9f4a751",
|
|
"shx": "0.3.4",
|
|
"simple-update-notifier": "^2.0.0",
|
|
"terser-config-atomic": "^1.0.0",
|
|
"time-delta": "github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e",
|
|
"ts-node": "^10.9.2",
|
|
"ts-readme": "^1.1.3",
|
|
"turbo": "2.0.14",
|
|
"typescript": "^5.5.4",
|
|
"ubuntu-version": "^2.0.0",
|
|
"untildify-user": "workspace:*",
|
|
"util.types": "^0.0.2",
|
|
"web-streams-polyfill": "^4.0.0",
|
|
"which": "^4.0.0",
|
|
"node-downloader-helper": "2.1.9"
|
|
},
|
|
"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",
|
|
"micro-memoize",
|
|
"mri",
|
|
"msvc-dev-cmd",
|
|
"node-downloader-helper",
|
|
"numerous",
|
|
"envosman",
|
|
"path-exists",
|
|
"patha",
|
|
"retry-as-promised",
|
|
"semver",
|
|
"setup-apt",
|
|
"setup-python",
|
|
"simple-update-notifier",
|
|
"time-delta",
|
|
"ubuntu-version",
|
|
"untildify-user",
|
|
"util.types",
|
|
"web-streams-polyfill"
|
|
],
|
|
"engines": {
|
|
"node": ">=12.x",
|
|
"pnpm": "^9"
|
|
},
|
|
"packageManager": "pnpm@9.6.0",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"keywords": [
|
|
"github-actions",
|
|
"actions",
|
|
"github",
|
|
"setup-cpp",
|
|
"c++",
|
|
"cpp",
|
|
"cxx",
|
|
"cc",
|
|
"llvm",
|
|
"clang",
|
|
"gcc",
|
|
"mingw",
|
|
"msvc",
|
|
"cl",
|
|
"cmake",
|
|
"ninja",
|
|
"meson"
|
|
],
|
|
"alias": {
|
|
"electron": false,
|
|
"patha": "patha/dist/index.node.mjs",
|
|
"admina": "admina/dist/index.mjs",
|
|
"fs/promises": "./src/utils/compat/fs/promises.ts",
|
|
"stream/promises": "./src/utils/compat/stream/promises.ts",
|
|
"stream/web": "web-streams-polyfill/dist/ponyfill.mjs",
|
|
"util/types": "util.types/index.js",
|
|
"diagnostics_channel": "diagnostics_channel/index.js"
|
|
},
|
|
"targets": {
|
|
"main": {
|
|
"context": "node",
|
|
"engines": {
|
|
"node": ">=12.x"
|
|
},
|
|
"includeNodeModules": true,
|
|
"optimize": true,
|
|
"outputFormat": "commonjs"
|
|
},
|
|
"actions": {
|
|
"context": "node",
|
|
"engines": {
|
|
"node": ">=20.x"
|
|
},
|
|
"includeNodeModules": true,
|
|
"optimize": true,
|
|
"outputFormat": "commonjs"
|
|
}
|
|
}
|
|
}
|