Skip to content

Commit

Permalink
Bump @metamask/snaps-* packages (MetaMask#63)
Browse files Browse the repository at this point in the history
Co-authored-by: Frederik Bolding <[email protected]>
  • Loading branch information
GuillaumeRx and FrederikBolding authored Sep 27, 2023
1 parent d17198f commit 3c974e5
Show file tree
Hide file tree
Showing 8 changed files with 1,115 additions and 803 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v18.6
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.0.0"
"node": ">=18.6.0"
}
}
3 changes: 3 additions & 0 deletions packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,8 @@
"prettier-plugin-packagejson": "^2.2.18",
"rimraf": "^3.0.2",
"typescript": "^4.7.4"
},
"engines": {
"node": ">=18.6.0"
}
}
13 changes: 6 additions & 7 deletions packages/snap/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "snap",
"version": "0.1.0",
"private": true,
"description": "The 'Hello, world!' of MetaMask Snaps, now written in TypeScript.",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/template-snap-monorepo.git"
},
"license": "(MIT-0 OR Apache-2.0)",
"main": "src/index.ts",
"main": "./dist/bundle.js",
"files": [
"dist/",
"images/",
Expand All @@ -27,8 +26,8 @@
"test": "jest"
},
"dependencies": {
"@metamask/snaps-types": "^0.32.2",
"@metamask/snaps-ui": "^0.32.2",
"@metamask/snaps-types": "^2.0.0",
"@metamask/snaps-ui": "^2.0.0",
"buffer": "^6.0.3"
},
"devDependencies": {
Expand All @@ -39,8 +38,8 @@
"@metamask/eslint-config-jest": "^10.0.0",
"@metamask/eslint-config-nodejs": "^10.0.0",
"@metamask/eslint-config-typescript": "^10.0.0",
"@metamask/snaps-cli": "^0.38.2-flask.1",
"@metamask/snaps-jest": "^0.37.3-flask.1",
"@metamask/snaps-cli": "^2.0.1",
"@metamask/snaps-jest": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"eslint": "^8.21.0",
Expand All @@ -60,7 +59,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.0.0"
"node": ">=18.6.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/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/template-snap-monorepo.git"
},
"source": {
"shasum": "eyp4riXi/7n5KnQrx5Ns0GvVDqHKihHJDA8L9oOYABM=",
"shasum": "nW1/2r9/N2sDi0R2fm8wFoenu69wpC5fLbRrmztrWnc=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-chrome.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ set -u
set -o pipefail

# To get the latest version, see <https://www.ubuntuupdates.org/ppa/google_chrome?dist=stable>
CHROME_VERSION='114.0.5735.106-1'
CHROME_VERSION='116.0.5845.110-1'
CHROME_BINARY="google-chrome-stable_${CHROME_VERSION}_amd64.deb"
CHROME_BINARY_URL="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/${CHROME_BINARY}"

# To retrieve this checksum, run the `wget` and `shasum` commands below
CHROME_BINARY_SHA512SUM='fb9c4cd882839f56013cca7535ca4b2e3779a3148654225515039d3d8ee0f21bdd1a0e1631918c4ec729041258b471a7b2acedb8027b5e55af1cc1c8cd642609'
CHROME_BINARY_SHA512SUM='6a540a41c72c191680e50f299ad14a5c53f5ae53f8e458ed70759d89fa325b3ac80f56146e804603b82e4ece5a2d160dbb3f9ab73e20369e9a3f8c99a817b395'

wget -O "${CHROME_BINARY}" -t 5 "${CHROME_BINARY_URL}"

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["DOM", "ES2020"],
"module": "CommonJS",
"moduleResolution": "node",
"useUnknownInCatchVariables": false,
"sourceMap": true,
"strict": true,
"target": "ES2017"
"target": "ES2020"
},
"exclude": ["**/__snapshots__/**", "**/test/**", "**/*.test.ts"]
}
Loading

0 comments on commit 3c974e5

Please sign in to comment.