near-cli: drop (#460503)

This commit is contained in:
Aleksana
2025-11-14 02:25:51 +00:00
committed by GitHub
4 changed files with 2 additions and 137 deletions
-83
View File
@@ -1,83 +0,0 @@
{
"name": "near-cli",
"version": "3.4.2",
"description": "General purpose command line tools for interacting with NEAR Protocol",
"engines": {
"node": ">= 12"
},
"main": "index.js",
"scripts": {
"pretest": "rm -rf tmp-project",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "jest",
"test:integration": "bash ./test/index.sh",
"lint": "eslint .",
"fix": "eslint . --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/near/near-cli.git"
},
"author": "Jane Degtiareva",
"license": "(MIT AND Apache-2.0)",
"bugs": {
"url": "https://github.com/near/near-cli/issues"
},
"homepage": "https://github.com/near/near-cli#readme",
"bin": {
"near": "bin/near"
},
"devDependencies": {
"danger": "^10.6.6",
"lodash": "^4.17.21",
"eslint": "^7.0.0",
"jest": "^26.1.0",
"strip-ansi": "^7.0.0",
"strip-ansi-cli": "^3.0.0",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
},
"dependencies": {
"analytics-node": "^6.1.0",
"ascii-table": "0.0.9",
"bn.js": "^5.1.1",
"bs58": "^4.0.1",
"chalk": "^4.0.0",
"flagged-respawn": "^1.0.1",
"is-ci": "^2.0.0",
"jest-environment-node": "^27.0.6",
"ncp": "^2.0.0",
"near-api-js": "^0.44.2",
"near-seed-phrase": "^0.2.0",
"open": "^8.0.7",
"rimraf": "^3.0.0",
"stoppable": "^1.1.0",
"tcp-port-used": "^1.0.1",
"update-notifier": "^5.0.0",
"uuid": "^8.0.0",
"v8flags": "^3.1.3",
"yargs": "^16.0.3"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid": "^6.1.0",
"near-ledger-js": "^0.2.0"
},
"keywords": [
"blockchain",
"crypto",
"dapps",
"distributed",
"applications",
"distributed applications"
],
"files": [
"bin",
"commands",
"middleware",
"utils",
"config.js",
"get-config.js",
"test_environment.js",
"context"
]
}
-53
View File
@@ -1,53 +0,0 @@
{
lib,
mkYarnPackage,
fetchFromGitHub,
fetchYarnDeps,
}:
mkYarnPackage rec {
pname = "near-cli";
version = "3.4.2";
src = fetchFromGitHub {
owner = "near";
repo = "near-cli";
rev = "v${version}";
hash = "sha256-C+viNYk+6BA11cdi5GqARU3QTTONTR2B2VEZf/SeeSQ=";
};
packageJSON = ./package.json;
offlineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
hash = "sha256-G/Y8xGGOlXH37Bup7mKhEaNh05GTP5CC9e/Xw4TBNMU=";
};
doDist = false;
installPhase = ''
runHook preInstall
mkdir -p "$out/lib/node_modules"
mv deps/near-cli "$out/lib/node_modules"
rm "$out/lib/node_modules/near-cli/node_modules"
mv node_modules "$out/lib/node_modules/near-cli"
mkdir -p "$out/bin"
ln -s "$out/lib/node_modules/near-cli/bin/near" "$out/bin"
runHook postInstall
'';
meta = {
changelog = "https://github.com/near/near-cli/blob/${src.rev}/CHANGELOG.md";
description = "General purpose command line tools for interacting with NEAR Protocol";
homepage = "https://github.com/near/near-cli";
license = with lib.licenses; [
asl20
mit
];
mainProgram = "near";
maintainers = with lib.maintainers; [ ekleog ];
};
}
+1 -1
View File
@@ -231,7 +231,7 @@ mapAliases {
inherit (pkgs) mocha; # Added 2025-11-04
multi-file-swagger = throw "'multi-file-swagger' has been removed because it is unmaintained upstream"; # Added 2025-11-10
musescore-downloader = pkgs.dl-librescore; # added 2023-08-19
inherit (pkgs) near-cli; # added 2023-09-09
near-cli = throw "'near-cli' has been removed as upstream has deprecated it and archived the source code repo"; # Added 2025-11-10
neovim = pkgs.neovim-node-client; # added 2024-11-13
node-inspector = throw "node-inspector was removed because it was broken"; # added 2023-08-21
inherit (pkgs) node-gyp; # added 2024-08-13
+1
View File
@@ -1078,6 +1078,7 @@ mapAliases {
nasc = throw "'nasc' has been removed as it was unmaintained and depends on deprecated webkitgtk_4_0"; # Added 2025-10-09
nats-streaming-server = throw "'nats-streaming-server' has been removed as critical bug fixes and security fixes will no longer be performed as of June of 2023"; # added 2025-10-13
ncdu_2 = throw "'ncdu_2' has been renamed to/replaced by 'ncdu'"; # Converted to throw 2025-10-27
near-cli = throw "'near-cli' has been removed as upstream has deprecated it and archived the source code repo"; # Added 2025-11-10
neardal = throw "neardal has been removed because it has been marked as broken since at least November 2024."; # Added 2025-09-29
nekoray = lib.warnOnInstantiate "nekoray has been renamed to throne" throne; # Added 2025-11-10
neocities-cli = throw "'neocities-cli' has been renamed to/replaced by 'neocities'"; # Converted to throw 2025-10-27