Skip to content

Commit

Permalink
fix: sharp
Browse files Browse the repository at this point in the history
  • Loading branch information
montelaidev committed Feb 6, 2024
1 parent 08de77a commit a45a0f8
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 51 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.7.0",
"prettier": "^2.8.4",
"sharp": "^0.29.0",
"sharp": "^0.30.7",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
Expand Down
10 changes: 0 additions & 10 deletions packages/site/gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@ const config: GatsbyConfig = {
plugins: [
'gatsby-plugin-svgr',
'gatsby-plugin-styled-components',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Template Snap',
icon: 'src/assets/logo.svg',
theme_color: '#6F4CFF',
background_color: '#FFFFFF',
display: 'standalone',
},
},
{
// See: <https://www.gatsbyjs.com/plugins/gatsby-plugin-webfonts/>
resolve: `gatsby-plugin-webfonts`,
Expand Down
2 changes: 1 addition & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"license": "(MIT-0 OR Apache-2.0)",
"scripts": {
"allow-scripts": "yarn workspace @metamask/snap-account-abstraction-keyring allow-scripts",
"build": "rimraf .cache && cross-env GATSBY_TELEMETRY_DISABLED=1 gatsby build --prefix-paths",
"clean": "rimraf public .cache",
"lint": "yarn lint:eslint && yarn lint:misc && yarn lint:deps && yarn lint:types",
Expand Down Expand Up @@ -67,7 +68,6 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"gatsby": "^5.12.4",
"gatsby-plugin-manifest": "^5.12.0",
"gatsby-plugin-styled-components": "^6.12.0",
"gatsby-plugin-svgr": "^3.0.0-beta.0",
"gatsby-plugin-webfonts": "^2.3.2",
Expand Down
71 changes: 32 additions & 39 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4142,7 +4142,6 @@ __metadata:
eslint-plugin-prettier: ^4.2.1
eslint-plugin-promise: ^6.1.1
gatsby: ^5.12.4
gatsby-plugin-manifest: ^5.12.0
gatsby-plugin-styled-components: ^6.12.0
gatsby-plugin-svgr: ^3.0.0-beta.0
gatsby-plugin-webfonts: ^2.3.2
Expand Down Expand Up @@ -4243,7 +4242,7 @@ __metadata:
jest: ^29.7.0
postinstall: ^0.9.0
prettier: ^2.8.4
sharp: ^0.29.0
sharp: ^0.30.7
ts-jest: ^29.1.1
ts-node: ^10.9.2
typescript: ^4.9.5
Expand Down Expand Up @@ -10373,7 +10372,7 @@ __metadata:
languageName: node
linkType: hard

"color@npm:^4.0.1, color@npm:^4.2.3":
"color@npm:^4.2.3":
version: 4.2.3
resolution: "color@npm:4.2.3"
dependencies:
Expand Down Expand Up @@ -11681,7 +11680,7 @@ __metadata:
languageName: node
linkType: hard

"detect-libc@npm:^2.0.0, detect-libc@npm:^2.0.2":
"detect-libc@npm:^2.0.0, detect-libc@npm:^2.0.1, detect-libc@npm:^2.0.2":
version: 2.0.2
resolution: "detect-libc@npm:2.0.2"
checksum: 2b2cd3649b83d576f4be7cc37eb3b1815c79969c8b1a03a40a4d55d83bc74d010753485753448eacb98784abf22f7dbd3911fd3b60e29fda28fed2d1a997944d
Expand Down Expand Up @@ -14235,7 +14234,7 @@ __metadata:

"fsevents@patch:fsevents@^2.3.2#~builtin<compat/fsevents>, fsevents@patch:fsevents@~2.3.2#~builtin<compat/fsevents>":
version: 2.3.3
resolution: "fsevents@patch:fsevents@npm%3A2.3.3#~builtin<compat/fsevents>::version=2.3.3&hash=df0bf1"
resolution: "fsevents@patch:fsevents@npm%3A2.3.3#~builtin<compat/fsevents>::version=2.3.3&hash=18f3a7"
dependencies:
node-gyp: latest
conditions: os=darwin
Expand Down Expand Up @@ -14420,21 +14419,6 @@ __metadata:
languageName: node
linkType: hard

"gatsby-plugin-manifest@npm:^5.12.0":
version: 5.13.1
resolution: "gatsby-plugin-manifest@npm:5.13.1"
dependencies:
"@babel/runtime": ^7.20.13
gatsby-core-utils: ^4.13.1
gatsby-plugin-utils: ^4.13.1
semver: ^7.5.3
sharp: ^0.32.6
peerDependencies:
gatsby: ^5.0.0-next
checksum: 00c76451d02a389b9c8c32ef4ec96ac35b76753cbf2f210de6936dcac8adc5129b5b6bbd6201839ae0986a8bb6e3c6dd875f5d70bc703cb617b54b169e9cc421
languageName: node
linkType: hard

"gatsby-plugin-page-creator@npm:^5.13.1":
version: 5.13.1
resolution: "gatsby-plugin-page-creator@npm:5.13.1"
Expand Down Expand Up @@ -19752,7 +19736,7 @@ __metadata:
languageName: node
linkType: hard

"node-addon-api@npm:^4.2.0, node-addon-api@npm:^4.3.0":
"node-addon-api@npm:^4.3.0":
version: 4.3.0
resolution: "node-addon-api@npm:4.3.0"
dependencies:
Expand All @@ -19761,6 +19745,15 @@ __metadata:
languageName: node
linkType: hard

"node-addon-api@npm:^5.0.0":
version: 5.1.0
resolution: "node-addon-api@npm:5.1.0"
dependencies:
node-gyp: latest
checksum: 2508bd2d2981945406243a7bd31362fc7af8b70b8b4d65f869c61731800058fb818cc2fd36c8eac714ddd0e568cc85becf5e165cebbdf7b5024d5151bbc75ea1
languageName: node
linkType: hard

"node-addon-api@npm:^6.1.0":
version: 6.1.0
resolution: "node-addon-api@npm:6.1.0"
Expand Down Expand Up @@ -21746,7 +21739,7 @@ __metadata:
languageName: node
linkType: hard

"prebuild-install@npm:^7.0.0, prebuild-install@npm:^7.1.1":
"prebuild-install@npm:^7.1.1":
version: 7.1.1
resolution: "prebuild-install@npm:7.1.1"
dependencies:
Expand Down Expand Up @@ -22973,14 +22966,14 @@ __metadata:

"resolve@patch:[email protected]#~builtin<compat/resolve>":
version: 1.1.7
resolution: "resolve@patch:resolve@npm%3A1.1.7#~builtin<compat/resolve>::version=1.1.7&hash=3bafbf"
resolution: "resolve@patch:resolve@npm%3A1.1.7#~builtin<compat/resolve>::version=1.1.7&hash=07638b"
checksum: e9dbca78600ae56835c43a09f1276876c883e4b4bbd43e2683fa140671519d2bdebeb1c1576ca87c8c508ae2987b3ec481645ac5d3054b0f23254cfc1ce49942
languageName: node
linkType: hard

"resolve@patch:[email protected]#~builtin<compat/resolve>":
version: 1.17.0
resolution: "resolve@patch:resolve@npm%3A1.17.0#~builtin<compat/resolve>::version=1.17.0&hash=c3c19d"
resolution: "resolve@patch:resolve@npm%3A1.17.0#~builtin<compat/resolve>::version=1.17.0&hash=07638b"
dependencies:
path-parse: ^1.0.6
checksum: 6fd799f282ddf078c4bc20ce863e3af01fa8cb218f0658d9162c57161a2dbafe092b13015b9a4c58d0e1e801cf7aa7a4f13115fea9db98c3f9a0c43e429bad6f
Expand All @@ -22989,7 +22982,7 @@ __metadata:

"resolve@patch:[email protected]#~builtin<compat/resolve>, resolve@patch:resolve@^1.1.4#~builtin<compat/resolve>, resolve@patch:resolve@^1.1.6#~builtin<compat/resolve>, resolve@patch:resolve@^1.1.7#~builtin<compat/resolve>, resolve@patch:resolve@^1.10.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.14.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.17.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.19.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.20.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.3#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.4#~builtin<compat/resolve>, resolve@patch:resolve@^1.4.0#~builtin<compat/resolve>":
version: 1.22.8
resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin<compat/resolve>::version=1.22.8&hash=c3c19d"
resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin<compat/resolve>::version=1.22.8&hash=07638b"
dependencies:
is-core-module: ^2.13.0
path-parse: ^1.0.7
Expand All @@ -23002,7 +22995,7 @@ __metadata:

"resolve@patch:resolve@^2.0.0-next.4#~builtin<compat/resolve>":
version: 2.0.0-next.5
resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#~builtin<compat/resolve>::version=2.0.0-next.5&hash=c3c19d"
resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#~builtin<compat/resolve>::version=2.0.0-next.5&hash=07638b"
dependencies:
is-core-module: ^2.13.0
path-parse: ^1.0.7
Expand Down Expand Up @@ -23652,20 +23645,20 @@ __metadata:
languageName: node
linkType: hard

"sharp@npm:^0.29.0":
version: 0.29.3
resolution: "sharp@npm:0.29.3"
"sharp@npm:^0.30.7":
version: 0.30.7
resolution: "sharp@npm:0.30.7"
dependencies:
color: ^4.0.1
detect-libc: ^1.0.3
node-addon-api: ^4.2.0
color: ^4.2.3
detect-libc: ^2.0.1
node-addon-api: ^5.0.0
node-gyp: latest
prebuild-install: ^7.0.0
semver: ^7.3.5
simple-get: ^4.0.0
prebuild-install: ^7.1.1
semver: ^7.3.7
simple-get: ^4.0.1
tar-fs: ^2.1.1
tunnel-agent: ^0.6.0
checksum: d496cdd546c9abe743aebcee013731295f735687819a18c2bdcbba6f31a6b259f3da95af5c11260a8fedc9d4ab95697f5f8c4f3cd65232792b5cfb876bea7c9a
checksum: bbc63ca3c7ea8a5bff32cd77022cfea30e25a03f5bd031e935924bf6cf0e11e3388e8b0e22b3137bf8816aa73407f1e4fbeb190f3a35605c27ffca9f32b91601
languageName: node
linkType: hard

Expand Down Expand Up @@ -25671,17 +25664,17 @@ __metadata:

"typescript@patch:typescript@^4.9.5#~builtin<compat/typescript>":
version: 4.9.5
resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=289587"
resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=7ad353"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 1f8f3b6aaea19f0f67cba79057674ba580438a7db55057eb89cc06950483c5d632115c14077f6663ea76fd09fce3c190e6414bb98582ec80aa5a4eaf345d5b68
checksum: 2eee5c37cad4390385db5db5a8e81470e42e8f1401b0358d7390095d6f681b410f2c4a0c496c6ff9ebd775423c7785cdace7bcdad76c7bee283df3d9718c0f20
languageName: node
linkType: hard

"typescript@patch:typescript@^5.3.3#~builtin<compat/typescript>":
version: 5.3.3
resolution: "typescript@patch:typescript@npm%3A5.3.3#~builtin<compat/typescript>::version=5.3.3&hash=f3b441"
resolution: "typescript@patch:typescript@npm%3A5.3.3#~builtin<compat/typescript>::version=5.3.3&hash=7ad353"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
Expand Down

0 comments on commit a45a0f8

Please sign in to comment.