2021-09-14 14:50:57 +08:00
|
|
|
{
|
|
|
|
"name": "setup-cpp",
|
2024-08-23 06:14:53 +08:00
|
|
|
"version": "0.39.0",
|
2021-09-14 14:57:47 +08:00
|
|
|
"description": "Install all the tools required for building and testing C++/C projects.",
|
2021-09-14 14:50:57 +08:00
|
|
|
"repository": "https://github.com/aminya/setup-cpp",
|
|
|
|
"license": "Apache-2.0",
|
2021-10-08 09:00:00 +08:00
|
|
|
"author": "Amin Yahyaabadi",
|
2023-07-16 06:41:58 +08:00
|
|
|
"main": "dist/legacy/setup-cpp.js",
|
2024-09-04 14:19:49 +08:00
|
|
|
"modern": "./dist/modern/setup-cpp.mjs",
|
|
|
|
"source": "./src/setup-cpp.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
|
|
|
},
|
2023-01-18 13:40:21 +08:00
|
|
|
"files": [
|
2023-05-27 04:20:42 +08:00
|
|
|
"action.yml",
|
|
|
|
".dockerignore",
|
2023-01-18 13:40:21 +08:00
|
|
|
"dist",
|
|
|
|
"src",
|
|
|
|
"packages",
|
2023-05-27 04:20:42 +08:00
|
|
|
"dev/docker",
|
2023-01-18 13:40:21 +08:00
|
|
|
"README.md",
|
|
|
|
"LICENSE.txt",
|
|
|
|
"LICENSE.dependencies.txt",
|
|
|
|
"package.json",
|
2023-05-27 04:20:42 +08:00
|
|
|
"package-version.json",
|
2023-01-18 13:40:21 +08:00
|
|
|
"tsconfig.json"
|
|
|
|
],
|
2021-09-14 14:50:57 +08:00
|
|
|
"scripts": {
|
2024-09-04 14:19:49 +08:00
|
|
|
"build": "turbo build && run-p lint.root.tsc build.parcel build.vite && run-p build.babel copy.json",
|
2024-08-16 15:05:23 +08:00
|
|
|
"build.parcel": "cross-env NODE_ENV=production parcel build",
|
2024-09-04 14:19:49 +08:00
|
|
|
"build.vite": "cross-env NODE_ENV=production vite build",
|
|
|
|
"build.babel": "babel ./dist/legacy --out-dir ./dist/legacy --plugins @upleveled/babel-plugin-remove-node-prefix --plugins @babel/plugin-transform-private-methods --compact --no-babelrc --source-maps true",
|
2024-08-09 06:48:21 +08:00
|
|
|
"bump": "ncu -u -x numerous,execa,prettier,@types/node,eslint,@types/eslint && pnpm update && pnpx typesync && pnpm run clean",
|
2024-09-04 06:57:30 +08:00
|
|
|
"clean": "shx rm -rf ./dist ./packages/*/dist ./exe ./.parcel-cache && shx mkdir -p ./dist/legacy ./dist/modern ./dist/modern ",
|
2024-09-04 14:19:49 +08:00
|
|
|
"copy.json": "shx cp ./src/*/*.json ./dist/legacy/ && shx cp ./dist/legacy/*.json ./dist/modern",
|
2024-08-24 06:20:37 +08:00
|
|
|
"dev.parcel": "cross-env NODE_ENV=development parcel watch",
|
|
|
|
"dev.packages": "turbo dev",
|
|
|
|
"dev": "run-p dev.packages dev.parcel",
|
2022-08-08 09:18:26 +08:00
|
|
|
"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",
|
2024-08-16 15:05:23 +08:00
|
|
|
"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",
|
2024-08-16 15:05:23 +08:00
|
|
|
"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",
|
2024-08-16 17:32:26 +08:00
|
|
|
"publish.all": "pnpm -r publish && pnpm publish",
|
|
|
|
"prepublishOnly": "run-s build && shx rm ./dist/tsconfig.tsbuildinfo",
|
2024-08-16 15:05:23 +08:00
|
|
|
"test.lint": "run-p --aggregate-output --continue-on-error test.lint.** lint.cspell lint.root.tsc",
|
2024-08-16 08:01:33 +08:00
|
|
|
"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",
|
2024-08-24 06:33:10 +08:00
|
|
|
"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"
|
2021-09-14 14:50:57 +08:00
|
|
|
},
|
2023-01-18 17:26:45 +08:00
|
|
|
"devDependencies": {
|
2024-01-22 13:31:35 +08:00
|
|
|
"@actions/core": "^1.10.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",
|
2022-05-21 09:32:41 +08:00
|
|
|
"@actions/tool-cache": "^2.0.1",
|
2024-09-02 17:30:54 +08:00
|
|
|
"@babel/cli": "^7.25.6",
|
|
|
|
"@babel/plugin-transform-private-methods": "^7.25.4",
|
2024-08-07 14:44:32 +08:00
|
|
|
"@biomejs/biome": "^1.8.3",
|
2024-08-16 06:02:03 +08:00
|
|
|
"@iarna/toml": "^2.2.5",
|
2024-09-03 18:42:37 +08:00
|
|
|
"@octokit/core": "^6.1.2",
|
|
|
|
"@octokit/openapi-types": "^22.2.0",
|
|
|
|
"@octokit/plugin-paginate-rest": "^11.3.3",
|
|
|
|
"@octokit/plugin-rest-endpoint-methods": "^13.2.4",
|
|
|
|
"@octokit/rest": "^21.0.2",
|
|
|
|
"@octokit/types": "^13.5.0",
|
2024-04-03 15:15:43 +08:00
|
|
|
"@shockpkg/archive-files": "github:aminya/archive-files#54ec59fad46aca736ac6feb6c7bb526528141b9d",
|
2024-02-17 15:07:54 +08:00
|
|
|
"@swc/jest": "^0.2.36",
|
2024-01-22 13:31:35 +08:00
|
|
|
"@types/cross-spawn": "^6.0.6",
|
2024-09-02 17:30:54 +08:00
|
|
|
"@types/eslint": "^8.56.12",
|
2024-08-16 06:02:03 +08:00
|
|
|
"@types/iarna__toml": "~2.0.5",
|
2024-02-17 15:07:54 +08:00
|
|
|
"@types/jest": "^29.5.12",
|
2024-08-30 07:12:54 +08:00
|
|
|
"@types/memoizee": "^0.4.11",
|
2024-04-03 15:15:43 +08:00
|
|
|
"@types/node": "^12.20.55",
|
|
|
|
"@types/semver": "^7.5.8",
|
2024-08-07 14:51:00 +08:00
|
|
|
"@types/which": "^3.0.4",
|
2023-04-23 15:53:36 +08:00
|
|
|
"@upleveled/babel-plugin-remove-node-prefix": "github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519",
|
2024-01-22 18:07:57 +08:00
|
|
|
"admina": "^1.0.1",
|
2022-10-20 05:30:11 +08:00
|
|
|
"caxa": "^3.0.1",
|
2024-01-22 13:31:35 +08:00
|
|
|
"ci-info": "^4.0.0",
|
2023-04-22 02:38:35 +08:00
|
|
|
"ci-log": "workspace:*",
|
2021-09-14 14:50:57 +08:00
|
|
|
"cross-env": "7.0.3",
|
2021-09-17 18:21:00 +08:00
|
|
|
"cross-spawn": "^7.0.3",
|
2024-09-02 17:30:54 +08:00
|
|
|
"cspell": "^8.14.2",
|
2024-08-08 02:57:08 +08:00
|
|
|
"diagnostics_channel": "^1.1.0",
|
2024-08-07 14:51:00 +08:00
|
|
|
"dprint": "^0.47.2",
|
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",
|
2024-04-03 15:15:43 +08:00
|
|
|
"eslint": "^8.57.0",
|
2024-08-16 08:01:33 +08:00
|
|
|
"eslint-config-atomic": "^1.22.1",
|
2023-04-22 02:38:35 +08:00
|
|
|
"exec-powershell": "workspace:*",
|
2024-01-22 17:43:45 +08:00
|
|
|
"execa": "^7.2.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",
|
2024-09-02 17:30:54 +08:00
|
|
|
"lefthook": "^1.7.15",
|
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",
|
2024-01-25 04:46:28 +08:00
|
|
|
"mkdirp": "^3.0.1",
|
2023-01-23 06:23:06 +08:00
|
|
|
"mri": "^1.2.0",
|
2024-04-01 15:51:47 +08:00
|
|
|
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd",
|
2024-08-30 07:12:54 +08:00
|
|
|
"node-downloader-helper": "2.1.9",
|
2024-09-02 17:30:54 +08:00
|
|
|
"npm-check-updates": "^17.1.1",
|
2024-08-07 14:51:00 +08:00
|
|
|
"npm-run-all2": "^6.2.2",
|
2023-01-23 06:23:06 +08:00
|
|
|
"numerous": "1.0.3",
|
2023-08-22 11:11:21 +08:00
|
|
|
"p-timeout": "^6.1.2",
|
2024-09-02 17:30:54 +08:00
|
|
|
"parcel": "2.12.0",
|
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",
|
2024-01-22 15:28:31 +08:00
|
|
|
"prettier": "3.2.2",
|
2024-01-22 13:31:35 +08:00
|
|
|
"prettier-config-atomic": "^4.0.0",
|
2023-10-20 00:57:34 +08:00
|
|
|
"readme-md-generator": "^1.0.0",
|
2023-03-10 05:31:36 +08:00
|
|
|
"retry-as-promised": "^7.0.4",
|
2024-09-03 18:42:37 +08:00
|
|
|
"safe-stable-stringify": "^2.5.0",
|
2024-08-07 14:51:00 +08:00
|
|
|
"semver": "7.6.3",
|
2024-08-30 07:12:54 +08:00
|
|
|
"setup-apt": "workspace:*",
|
2024-08-24 06:20:37 +08:00
|
|
|
"setup-brew": "workspace:*",
|
2024-08-30 07:12:54 +08:00
|
|
|
"setup-python": "github:aminya/setup-python#a783db655c6e40317e2c0c96f9d162d9c9f4a751",
|
2022-01-23 09:33:54 +08:00
|
|
|
"shx": "0.3.4",
|
2023-06-28 08:09:14 +08:00
|
|
|
"simple-update-notifier": "^2.0.0",
|
2024-09-04 14:19:49 +08:00
|
|
|
"terser": "^5.31.6",
|
2023-09-08 04:08:51 +08:00
|
|
|
"terser-config-atomic": "^1.0.0",
|
2023-01-23 06:23:06 +08:00
|
|
|
"time-delta": "github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e",
|
2024-01-22 13:31:35 +08:00
|
|
|
"ts-node": "^10.9.2",
|
2022-08-08 09:18:26 +08:00
|
|
|
"ts-readme": "^1.1.3",
|
2024-09-02 17:30:54 +08:00
|
|
|
"turbo": "2.1.1",
|
2024-08-07 14:51:00 +08:00
|
|
|
"typescript": "^5.5.4",
|
2023-01-23 06:23:06 +08:00
|
|
|
"ubuntu-version": "^2.0.0",
|
2023-04-22 02:38:35 +08:00
|
|
|
"untildify-user": "workspace:*",
|
2024-08-08 02:55:06 +08:00
|
|
|
"util.types": "^0.0.2",
|
2024-09-04 14:19:49 +08:00
|
|
|
"vite": "^5.4.3",
|
|
|
|
"vite-plugin-node": "^3.1.0",
|
2024-08-08 02:52:15 +08:00
|
|
|
"web-streams-polyfill": "^4.0.0",
|
2024-08-30 07:12:54 +08:00
|
|
|
"which": "^4.0.0"
|
2021-09-14 14:50:57 +08:00
|
|
|
},
|
2023-09-02 02:43:14 +08:00
|
|
|
"productionDependencies": [
|
2023-09-01 14:01:58 +08:00
|
|
|
"@actions/core",
|
|
|
|
"@actions/exec",
|
2024-08-16 16:50:32 +08:00
|
|
|
"@actions/http-client",
|
2023-09-01 14:01:58 +08:00
|
|
|
"@actions/io",
|
|
|
|
"@actions/tool-cache",
|
2024-08-16 16:50:32 +08:00
|
|
|
"@iarna/toml",
|
2023-09-01 14:01:58 +08:00
|
|
|
"admina",
|
|
|
|
"ci-info",
|
|
|
|
"ci-log",
|
2024-08-16 16:50:32 +08:00
|
|
|
"diagnostics_channel",
|
2023-09-01 14:01:58 +08:00
|
|
|
"escape-path-with-spaces",
|
|
|
|
"escape-quotes",
|
|
|
|
"escape-string-regexp",
|
|
|
|
"exec-powershell",
|
|
|
|
"execa",
|
|
|
|
"is-url-online",
|
2024-08-30 07:12:54 +08:00
|
|
|
"memoizee",
|
2023-09-01 14:01:58 +08:00
|
|
|
"mri",
|
|
|
|
"msvc-dev-cmd",
|
2024-08-18 16:53:22 +08:00
|
|
|
"node-downloader-helper",
|
2023-09-01 14:01:58 +08:00
|
|
|
"numerous",
|
2024-08-16 17:52:11 +08:00
|
|
|
"envosman",
|
2023-09-01 14:01:58 +08:00
|
|
|
"path-exists",
|
|
|
|
"patha",
|
|
|
|
"retry-as-promised",
|
|
|
|
"semver",
|
2024-08-16 16:50:32 +08:00
|
|
|
"setup-apt",
|
2024-08-24 06:20:37 +08:00
|
|
|
"setup-brew",
|
2023-09-01 14:01:58 +08:00
|
|
|
"setup-python",
|
|
|
|
"simple-update-notifier",
|
|
|
|
"time-delta",
|
|
|
|
"ubuntu-version",
|
2024-08-08 02:52:15 +08:00
|
|
|
"untildify-user",
|
2024-08-08 02:57:08 +08:00
|
|
|
"util.types",
|
2024-08-16 16:50:32 +08:00
|
|
|
"web-streams-polyfill"
|
2023-09-01 14:01:58 +08:00
|
|
|
],
|
2021-10-08 09:00:00 +08:00
|
|
|
"engines": {
|
2024-08-08 02:35:04 +08:00
|
|
|
"node": ">=12.x",
|
|
|
|
"pnpm": "^9"
|
2021-10-08 09:00:00 +08:00
|
|
|
},
|
2024-09-02 17:30:54 +08:00
|
|
|
"packageManager": "pnpm@9.9.0",
|
2024-08-16 06:55:02 +08:00
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
2021-09-14 14:50:57 +08:00
|
|
|
"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
|
|
|
],
|
2022-08-08 14:46:11 +08:00
|
|
|
"alias": {
|
2022-08-22 12:01:50 +08:00
|
|
|
"electron": false,
|
2023-07-16 12:46:28 +08:00
|
|
|
"patha": "patha/dist/index.node.mjs",
|
2024-01-22 17:51:46 +08:00
|
|
|
"admina": "admina/dist/index.mjs",
|
2024-02-17 16:37:14 +08:00
|
|
|
"fs/promises": "./src/utils/compat/fs/promises.ts",
|
2024-08-08 02:52:15 +08:00
|
|
|
"stream/promises": "./src/utils/compat/stream/promises.ts",
|
2024-08-08 02:55:06 +08:00
|
|
|
"stream/web": "web-streams-polyfill/dist/ponyfill.mjs",
|
2024-08-08 02:57:08 +08:00
|
|
|
"util/types": "util.types/index.js",
|
|
|
|
"diagnostics_channel": "diagnostics_channel/index.js"
|
2022-08-08 14:46:11 +08:00
|
|
|
},
|
2021-10-08 09:00:00 +08:00
|
|
|
"targets": {
|
2023-07-16 06:41:58 +08:00
|
|
|
"main": {
|
2021-10-08 09:00:00 +08:00
|
|
|
"context": "node",
|
2022-09-19 11:48:50 +08:00
|
|
|
"engines": {
|
|
|
|
"node": ">=12.x"
|
|
|
|
},
|
2024-08-07 14:51:00 +08:00
|
|
|
"includeNodeModules": true,
|
2022-09-19 12:00:19 +08:00
|
|
|
"optimize": true,
|
2022-07-06 12:19:58 +08:00
|
|
|
"outputFormat": "commonjs"
|
2021-10-08 09:00:00 +08:00
|
|
|
}
|
2024-08-30 08:13:37 +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"
|
2024-08-30 08:13:37 +08:00
|
|
|
}
|
2021-10-08 09:00:00 +08:00
|
|
|
}
|
2023-07-20 17:58:51 +08:00
|
|
|
}
|