-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrading snap versions, getting to build and run it locally
- Loading branch information
Showing
9 changed files
with
2,601 additions
and
626 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,8 +38,8 @@ | |
"@metamask/eslint-config-jest": "^11.1.0", | ||
"@metamask/eslint-config-nodejs": "^11.1.0", | ||
"@metamask/eslint-config-typescript": "^11.1.0", | ||
"@metamask/snaps-cli": "5.0.0", | ||
"@metamask/snaps-sdk": "3.0.1", | ||
"@metamask/snaps-cli": "6.2.0", | ||
"@metamask/snaps-sdk": "5.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"eslint": "^8.57.0", | ||
|
@@ -54,16 +54,16 @@ | |
"rimraf": "^3.0.2", | ||
"typescript": "^4.9.5" | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=16.0.0" | ||
}, | ||
"volta": { | ||
"node": "16.20.0", | ||
"yarn": "3.3.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,26 @@ | ||
module.exports = { | ||
cliOptions: { | ||
src: './src/index.ts', | ||
bundler: 'webpack', | ||
input: 'src/index.ts', | ||
output: { | ||
filename: 'bundle.js', | ||
path: 'dist', | ||
}, | ||
server: { | ||
port: 8080, | ||
}, | ||
manifest: { | ||
path: 'snap.manifest.json', | ||
}, | ||
features: { | ||
images: true, | ||
}, | ||
environment: { | ||
SNAP_ENV: process.env.SNAP_ENV, | ||
Check failure on line 18 in packages/snap/snap.config.js
|
||
PUBLIC_KEY: process.env.PUBLIC_KEY, | ||
Check failure on line 19 in packages/snap/snap.config.js
|
||
}, | ||
polyfills: { | ||
buffer: true, | ||
crypto: true, | ||
path: true, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.