Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions merged-packages/tron-wallet-snap/crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'project_id_env': CROWDIN_PROJECT_ID
'api_token_env': CROWDIN_PERSONAL_TOKEN
'base_path': '.'

'preserve_hierarchy': true

'files':
[{ 'source': 'locales/en.json', 'translation': 'locales/%locale%.json' }]
33 changes: 12 additions & 21 deletions merged-packages/tron-wallet-snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"description": "A Tron wallet Snap.",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snap-tron-wallet.git"
"url": "https://github.com/MetaMask/internal-snaps.git"
},
"homepage": "https://github.com/MetaMask/internal-snaps/tree/main/packages/tron-wallet-snap#readme",
"bugs": {
"url": "https://github.com/MetaMask/internal-snaps/issues"
},
"license": "MIT",
"main": "./dist/bundle.js",
Expand All @@ -20,20 +24,12 @@
"build:dev": "ENVIRONMENT=local node scripts/update-manifest-local.js && mm-snap build && yarn build:locale",
"build:prod": "ENVIRONMENT=production node scripts/update-manifest-local.js && mm-snap build && yarn build:locale && yarn build-preinstalled-snap",
"build-preinstalled-snap": "node scripts/build-preinstalled-snap.js",
"build:clean": "yarn clean && yarn build:locale && yarn build",
"build:locale": "node ./scripts/populate-en-locale.js && prettier 'locales/**/*.json' -w",
"build:locale:watch": "npx nodemon --watch packages/snap/messages.json --exec \"node ./scripts/populate-en-locale.js && prettier 'locales/**/*.json' -w\"",
"build:locale": "node ./scripts/populate-en-locale.js && oxfmt 'locales/**/*.json'",
"build:locale:watch": "npx nodemon --watch messages.json --exec \"node ./scripts/populate-en-locale.js && oxfmt 'locales/**/*.json'\"",
"changelog:update": "../../scripts/update-changelog.sh @metamask/tron-wallet-snap",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/tron-wallet-snap",
"since-latest-release": "../../scripts/since-latest-release.sh",
"clean": "rimraf dist",
"lint": "yarn lint:eslint && yarn lint:misc && yarn lint:deps && yarn lint:types",
"lint:deps": "depcheck && yarn dedupe --check",
"lint:deps:fix": "depcheck && yarn dedupe",
"lint:eslint": "eslint . --cache --ext js,jsx,ts,tsx",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier '**/*.json' '**/*.md' --check",
"lint:types": "tsc --noEmit",
"format": "prettier '**/*.ts' '**/*.tsx' --write",
"prepublishOnly": "mm-snap manifest",
"publish:preview": "yarn npm publish --tag preview",
"serve": "mm-snap serve",
Expand All @@ -47,24 +43,19 @@
"@metamask/keyring-api": "^23.2.0",
"@metamask/keyring-snap-sdk": "^8.0.0",
"@metamask/snaps-cli": "^8.3.0",
"@metamask/snaps-jest": "^9.8.0",
"@metamask/snaps-jest": "^10.2.0",
"@metamask/snaps-sdk": "^10.3.0",
"oxfmt": "^0.45.0",
"@metamask/superstruct": "^3.2.1",
"@metamask/utils": "^11.9.0",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.20",
"async-mutex": "^0.5.0",
"bignumber.js": "^9.3.1",
"concurrently": "^9.2.0",
"dotenv": "^17.0.0",
"ethers": "^6.15.0",
"jest": "^30.0.3",
"jest": "30.0.3",
"jest-it-up": "^2.0.2",
"jest-transform-stub": "2.0.0",
"lodash": "^4.17.21",
"prettier": "^3.5.3",
"tronweb": "patch:tronweb@npm%3A6.1.0#~/.yarn/patches/tronweb-npm-6.1.0-771b242b6a.patch",
"ts-jest": "^29.4.0"
"tronweb": "patch:tronweb@npm%3A6.1.0#~/.yarn/patches/tronweb-npm-6.1.0-771b242b6a.patch"
},
"publishConfig": {
"access": "public",
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"test:clean": "yarn workspaces foreach --all --parallel --verbose run test:clean && yarn test",
"test:packages": "yarn test:verbose --silent --collectCoverage=false --reporters=jest-silent-reporter",
"test:scripts": "NODE_OPTIONS=--experimental-vm-modules yarn jest --config ./jest.config.scripts.js --silent",
"test:verbose": "yarn workspaces foreach --all --parallel --verbose run test:verbose",
"test:verbose": "yarn workspaces foreach --all --exclude @metamask/sample-snap --parallel --verbose run test:verbose",
"workspaces:list-versions": "./scripts/list-workspace-versions.sh"
},
"devDependencies": {
Expand All @@ -50,7 +50,7 @@
"@metamask/eslint-config-nodejs": "^15.0.0",
"@metamask/eslint-config-typescript": "^15.0.0",
"@metamask/utils": "^11.9.0",
"@types/jest": "^29.5.14",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.14.191",
"@types/node": "^16.18.54",
"@types/semver": "^7",
Expand All @@ -70,7 +70,7 @@
"eslint-plugin-promise": "^7.1.0",
"execa": "^5.0.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.7.0",
"jest": "30.0.3",
"jest-silent-reporter": "^0.5.0",
"lodash": "^4.17.21",
"nock": "^13.3.1",
Expand Down Expand Up @@ -105,7 +105,8 @@
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
"simple-git-hooks": false,
"tsx>esbuild": false
"tsx>esbuild": false,
"jest>@jest/core>jest-resolve>unrs-resolver": false
}
}
}
13 changes: 3 additions & 10 deletions packages/bitcoin-wallet-snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,11 @@
"build-preinstalled-snap": "node scripts/build-preinstalled-snap.js",
"build:clean": "yarn clean && yarn build:locale && yarn build",
"build:locale": "node ./scripts/populate-en-locale.js && oxfmt 'locales/**/*.json'",
"build:locale:watch": "npx nodemon --watch packages/snap/messages.json --exec \"node ./scripts/populate-en-locale.js && prettier 'locales/**/*.json' -w\"",
"build:locale:watch": "npx nodemon --watch messages.json --exec \"node ./scripts/populate-en-locale.js && oxfmt 'locales/**/*.json'\"",
"changelog:update": "../../scripts/update-changelog.sh @metamask/bitcoin-wallet-snap",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/bitcoin-wallet-snap",
"since-latest-release": "../../scripts/since-latest-release.sh",
"clean": "rimraf dist",
"lint": "yarn lint:eslint && yarn lint:misc && yarn lint:deps && yarn lint:types",
"lint:deps": "depcheck && yarn dedupe --check",
"lint:deps:fix": "depcheck && yarn dedupe",
"lint:eslint": "eslint . --cache --ext js,jsx,ts,tsx",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "oxfmt '**/*.json' '**/*.md' --check",
"lint:types": "tsc --noEmit",
"publish:preview": "yarn npm publish --tag preview",
"prepublishOnly": "mm-snap manifest",
"serve": "mm-snap serve",
Expand All @@ -63,13 +56,13 @@
"@metamask/keyring-snap-sdk": "^8.0.0",
"@metamask/slip44": "^4.2.0",
"@metamask/snaps-cli": "^8.3.0",
"@metamask/snaps-jest": "^9.8.0",
"@metamask/snaps-jest": "^10.2.0",
"@metamask/snaps-sdk": "^11.0.0",
"@metamask/utils": "^11.9.0",
"bip322-js": "^3.0.0",
"concurrently": "^10.0.3",
"dotenv": "^17.2.1",
"jest": "^29.7.0",
"jest": "30.0.3",
"jest-mock-extended": "^4.0.0",
"jest-transform-stub": "2.0.0",
"oxfmt": "^0.45.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/bitcoin-wallet-snap/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/internal-snaps.git"
},
"source": {
"shasum": "Qta8TaWAkq4E1E/+ZWwROzSbx5/7mxAMaPCo2hV+6oU=",
"shasum": "/dethkzXlpMwXncvw8la75osM09uRRleSemtosb149Y=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
8 changes: 2 additions & 6 deletions packages/sample-snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
"changelog:update": "../../scripts/update-changelog.sh @metamask/sample-snap",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/sample-snap",
"clean": "rimraf dist",
"lint": "yarn lint:eslint && yarn lint:misc --check",
"lint:eslint": "eslint . --cache --ext js,ts",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier '**/*.json' '**/*.md' '**/*.yml' '!.yarnrc.yml' --ignore-path ../../.gitignore --no-error-on-unmatched-pattern",
"prepublishOnly": "mm-snap manifest",
"serve": "mm-snap serve",
"start": "mm-snap watch",
Expand All @@ -47,12 +43,12 @@
"@jest/globals": "^29.5.0",
"@metamask/auto-changelog": "^6.1.0",
"@metamask/snaps-cli": "^8.3.0",
"@metamask/snaps-jest": "^9.8.0",
"@metamask/snaps-jest": "^10.2.0",
"@metamask/snaps-sdk": "^11.0.0",
"@types/react": "18.2.4",
"@types/react-dom": "18.2.4",
"eslint": "^9.39.1",
"jest": "^29.7.0",
"jest": "30.0.3",
"rimraf": "^5.0.5",
"typescript": "~5.8.3"
},
Expand Down
Loading
Loading