Skip to content

Commit 8fc0b74

Browse files
committed
update package.json
1 parent 6fb17dc commit 8fc0b74

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

packages/examples/packages/send-flow/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

packages/examples/packages/send-flow/package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
"scripts": {
1717
"build": "mm-snap build",
1818
"build:clean": "yarn clean && yarn build",
19+
"changelog:update": "../../../../scripts/update-changelog.sh @metamask/send-flow-example-snap",
20+
"changelog:validate": "../../../../scripts/validate-changelog.sh @metamask/send-flow-example-snap",
1921
"clean": "rimraf \"dist\"",
20-
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog && yarn lint:dependencies",
21-
"lint:changelog": "../../../../scripts/validate-changelog.sh @metamask/jsx-example-snap",
22+
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn changelog:validate && yarn lint:dependencies",
2223
"lint:ci": "yarn lint",
24+
"lint:dependencies": "depcheck",
2325
"lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx",
2426
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
2527
"lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore",
28+
"publish:preview": "yarn npm publish --tag preview",
2629
"start": "mm-snap watch",
2730
"test": "yarn test:e2e",
28-
"test:e2e": "jest",
29-
"publish:preview": "yarn npm publish --tag preview",
30-
"lint:dependencies": "depcheck"
31+
"test:e2e": "jest"
3132
},
3233
"dependencies": {
3334
"@metamask/rpc-errors": "^6.3.1",
@@ -42,9 +43,7 @@
4243
"@metamask/eslint-config-nodejs": "^12.1.0",
4344
"@metamask/eslint-config-typescript": "^12.1.0",
4445
"@metamask/snaps-cli": "workspace:^",
45-
"@metamask/snaps-controllers": "workspace:^",
4646
"@metamask/snaps-jest": "workspace:^",
47-
"@metamask/utils": "^9.2.1",
4847
"@swc/core": "1.3.78",
4948
"@swc/jest": "^0.2.26",
5049
"@typescript-eslint/eslint-plugin": "^5.42.1",
@@ -60,8 +59,8 @@
6059
"eslint-plugin-prettier": "^4.2.1",
6160
"eslint-plugin-promise": "^6.1.1",
6261
"jest": "^29.0.2",
63-
"prettier": "^2.7.1",
64-
"prettier-plugin-packagejson": "^2.2.11",
62+
"prettier": "^2.8.8",
63+
"prettier-plugin-packagejson": "^2.5.2",
6564
"ts-node": "^10.9.1",
6665
"typescript": "~5.3.3"
6766
},

yarn.lock

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5434,10 +5434,8 @@ __metadata:
54345434
"@metamask/eslint-config-typescript": "npm:^12.1.0"
54355435
"@metamask/rpc-errors": "npm:^6.3.1"
54365436
"@metamask/snaps-cli": "workspace:^"
5437-
"@metamask/snaps-controllers": "workspace:^"
54385437
"@metamask/snaps-jest": "workspace:^"
54395438
"@metamask/snaps-sdk": "workspace:^"
5440-
"@metamask/utils": "npm:^9.2.1"
54415439
"@swc/core": "npm:1.3.78"
54425440
"@swc/jest": "npm:^0.2.26"
54435441
"@typescript-eslint/eslint-plugin": "npm:^5.42.1"
@@ -5453,8 +5451,8 @@ __metadata:
54535451
eslint-plugin-prettier: "npm:^4.2.1"
54545452
eslint-plugin-promise: "npm:^6.1.1"
54555453
jest: "npm:^29.0.2"
5456-
prettier: "npm:^2.7.1"
5457-
prettier-plugin-packagejson: "npm:^2.2.11"
5454+
prettier: "npm:^2.8.8"
5455+
prettier-plugin-packagejson: "npm:^2.5.2"
54585456
ts-node: "npm:^10.9.1"
54595457
typescript: "npm:~5.3.3"
54605458
languageName: unknown
@@ -18921,7 +18919,7 @@ __metadata:
1892118919
languageName: node
1892218920
linkType: hard
1892318921

18924-
"prettier-plugin-packagejson@npm:^2.2.11, prettier-plugin-packagejson@npm:^2.5.2":
18922+
"prettier-plugin-packagejson@npm:^2.5.2":
1892518923
version: 2.5.2
1892618924
resolution: "prettier-plugin-packagejson@npm:2.5.2"
1892718925
dependencies:
@@ -18936,7 +18934,7 @@ __metadata:
1893618934
languageName: node
1893718935
linkType: hard
1893818936

18939-
"prettier@npm:^2.7.1, prettier@npm:^2.8.8":
18937+
"prettier@npm:^2.8.8":
1894018938
version: 2.8.8
1894118939
resolution: "prettier@npm:2.8.8"
1894218940
bin:

0 commit comments

Comments
 (0)