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",
"zksnark"
],
"homepage": "https://git.tornado.ws/tornado-packages/circomlib",
"homepage": "https://development.tornadocash.community/T-Hax/circomlib",
"repository": {
"type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo"
"url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
},
"author": "0Kims",
"license": "GPL-3.0",

@ -2,10 +2,10 @@
"name": "@tornado/fixed-merkle-tree",
"version": "0.7.3-p0",
"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": {
"type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo"
"url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",

@ -2,13 +2,13 @@
"name": "@tornado/gas-price-oracle",
"version": "0.5.2-p1",
"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",
"module": "./lib/esm/index.js",
"types": "./lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo"
"url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
},
"scripts": {
"test": "ts-mocha --timeout 30000 --paths 'src/tests/*.test.ts'",

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

@ -2,10 +2,10 @@
"name": "@tornado/web3-providers-http",
"version": "1.6.5-p1",
"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": {
"type": "git",
"url": "https://git.tornado.ws/tornado-packages/archive-monorepo"
"url": "https://development.tornadocash.community/T-Hax/archive-monorepo"
},
"license": "LGPL-3.0",
"engines": {

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

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