Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Montoya committed Nov 2, 2023
1 parent 036f44d commit 7d7c4b1
Show file tree
Hide file tree
Showing 6 changed files with 4,630 additions and 2,392 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@ node_modules/
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
yarn.lock
package-lock.json
39 changes: 21 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mystery-fox",
"version": "2.0.0",
"version": "2.0.1",
"description": "A simple MetaMask snap that returns random numbers and answers.",
"repository": {
"type": "git",
Expand All @@ -27,31 +27,34 @@
"lint:changelog": "yarn auto-changelog validate"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.1.0",
"@metamask/eslint-config": "^8.0.0",
"@metamask/eslint-config-jest": "^8.0.0",
"@metamask/eslint-config-nodejs": "^8.0.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"mkdirp": "^1.0.4",
"prettier": "^2.3.2",
"@metamask/auto-changelog": "^3.4.2",
"@metamask/eslint-config": "^12.0.0",
"@metamask/eslint-config-jest": "^12.0.0",
"@metamask/eslint-config-nodejs": "^12.0.0",
"@metamask/snaps-cli": "^3.0.1",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.5.0",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"rimraf": "^3.0.2"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.16.0"
},
"dependencies": {
"@metamask/rpc-methods": "^0.29.0",
"@metamask/snaps-cli": "0.30",
"@metamask/snaps-types": "^0.29.0",
"@metamask/snaps-ui": "^0.29.0"
"@metamask/snaps-types": "^3.0.1",
"@metamask/snaps-ui": "^3.0.1",
"buffer": "^6.0.3"
}
}
9 changes: 8 additions & 1 deletion snap.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import { resolve } from 'path';

module.exports = {
cliOptions: {
bundler: 'webpack',
input: resolve(__dirname, 'src/index.js'),
server: {
port: 8080,
},
polyfills: {
buffer: true,
},
};
4 changes: 2 additions & 2 deletions snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "2.0.0",
"version": "2.0.1",
"description": "A simple MetaMask snap that returns random numbers and answers.",
"proposedName": "Mystery Fox",
"repository": {
"type": "git",
"url": "https://github.com/Montoya/random-snap.git"
},
"source": {
"shasum": "wDirutuUj5vsQjaBNpVFcyGNbkx2PT3OrTSUHaDDRT4=",
"shasum": "YpchmjkTDnWSfTPlRS99ytN2w5Kb7vNqevI98JNI/ns=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
48 changes: 31 additions & 17 deletions src/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 7d7c4b1

Please sign in to comment.