Compare commits

...

2 Commits

Author SHA1 Message Date
T-Hax
96b941a315
gitea: save migration for community repo
Signed-off-by: T-Hax <>
2023-05-19 20:21:50 +00:00
T-Hax
92bb8d082a
gitea: add migration script
Signed-off-by: T-Hax <>
2023-05-19 20:20:19 +00:00
8 changed files with 15 additions and 13 deletions

@ -17,10 +17,10 @@
"circom", "circom",
"zksnark" "zksnark"
], ],
"homepage": "https://git.tornado.ws/tornado-packages/circomlib", "homepage": "https://development.tornadocash.community/T-Hax/circomlib",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo" "url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
}, },
"author": "0Kims", "author": "0Kims",
"license": "GPL-3.0", "license": "GPL-3.0",

@ -2,10 +2,10 @@
"name": "@tornado/fixed-merkle-tree", "name": "@tornado/fixed-merkle-tree",
"version": "0.7.3-p0", "version": "0.7.3-p0",
"description": "Fixed depth merkle tree implementation with sequential inserts", "description": "Fixed depth merkle tree implementation with sequential inserts",
"homepage": "https://git.tornado.ws/tornado-packages/archive-monorepo/src/branch/main/@tornado/fixed-merkle-tree", "homepage": "https://development.tornadocash.community/T-Hax/archive-monorepo/src/branch/main/@tornado/fixed-merkle-tree",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo" "url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
}, },
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",

@ -2,13 +2,13 @@
"name": "@tornado/gas-price-oracle", "name": "@tornado/gas-price-oracle",
"version": "0.5.2-p1", "version": "0.5.2-p1",
"description": "Gas Price Oracle library for Ethereum dApps.", "description": "Gas Price Oracle library for Ethereum dApps.",
"homepage": "https://git.tornado.ws/tornado-packages/gas-price-oracle", "homepage": "https://development.tornadocash.community/T-Hax/gas-price-oracle",
"main": "./lib/index.js", "main": "./lib/index.js",
"module": "./lib/esm/index.js", "module": "./lib/esm/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo" "url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
}, },
"scripts": { "scripts": {
"test": "ts-mocha --timeout 30000 --paths 'src/tests/*.test.ts'", "test": "ts-mocha --timeout 30000 --paths 'src/tests/*.test.ts'",

@ -23,10 +23,10 @@
], ],
"author": "Jordi Baylina", "author": "Jordi Baylina",
"license": "GPL-3.0", "license": "GPL-3.0",
"homepage": "https://git.tornado.ws/tornado-packages/snarkjs", "homepage": "https://development.tornadocash.community/T-Hax/snarkjs",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo" "url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
}, },
"dependencies": { "dependencies": {
"big-integer": "^1.6.43", "big-integer": "^1.6.43",

@ -2,10 +2,10 @@
"name": "@tornado/web3-providers-http", "name": "@tornado/web3-providers-http",
"version": "1.6.5-p1", "version": "1.6.5-p1",
"description": "Module to handle web3 RPC connections over HTTP.", "description": "Module to handle web3 RPC connections over HTTP.",
"homepage": "https://git.tornado.ws/tornado-packages/archive-monorepo/src/branch/main/@tornado/web3-providers-http", "homepage": "https://development.tornadocash.community/T-Hax/archive-monorepo/src/branch/main/@tornado/web3-providers-http",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo" "url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
}, },
"license": "LGPL-3.0", "license": "LGPL-3.0",
"engines": { "engines": {

@ -20,10 +20,10 @@
], ],
"author": "Jordi Baylina", "author": "Jordi Baylina",
"license": "GPL-3.0", "license": "GPL-3.0",
"homepage": "https://git.tornado.ws/tornado-packages/websnark", "homepage": "https://development.tornadocash.community/T-Hax/websnark",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo" "url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
}, },
"devDependencies": { "devDependencies": {
"browserify": "^16.2.3", "browserify": "^16.2.3",

@ -7,7 +7,7 @@
"homepage": "https://github.com/souldreamer/xhr2-cookies", "homepage": "https://github.com/souldreamer/xhr2-cookies",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo" "url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
}, },
"keywords": [ "keywords": [
"XMLHttpRequest", "XMLHttpRequest",

2
gitea/migrate.sh Executable file

@ -0,0 +1,2 @@
#!/bin/bash
find @tornado package.json -type f -name "package.json" -not -path "*node_modules*" -execdir sed -i "s/$OLD_REGISTRY_DOMAIN\/$OLD_REGISTRY_USER/$TARGET_REGISTRY_DOMAIN\/$TARGET_REGISTRY_USER/g" {} +