Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions packages/test-snaps/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@metamask/test-snaps",
"version": "2.28.1",
"private": true,
"description": "The test snaps website for MetaMask Snaps, used for end-to-end testing",
"keywords": [
"MetaMask",
Expand All @@ -18,7 +17,9 @@
},
"license": "ISC",
"sideEffects": false,
"files": [],
"files": [
"dist"
],
"scripts": {
"build": "cross-env NODE_ENV=production webpack",
"build:clean": "yarn clean && yarn build",
Expand All @@ -31,6 +32,7 @@
"lint:eslint": "eslint . --cache",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore",
"publish:preview": "yarn npm publish --tag preview",
Copy link
Member Author

@seaona seaona Oct 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to fix this:

image

"since-latest-release": "../../scripts/since-latest-release.sh",
"start": "yarn workspaces foreach --parallel --interlaced --all --include \"@metamask/test-snaps\" --include \"@metamask/example-snaps\" run start:test",
"start:test": "cross-env NODE_ENV=development webpack serve",
Expand Down Expand Up @@ -119,5 +121,9 @@
},
"engines": {
"node": "^20 || >=22"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}
3 changes: 2 additions & 1 deletion yarn.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ module.exports = defineConfig({
if (
!isPrivate &&
!isExample &&
workspace.cwd !== 'packages/snaps-sandbox'
workspace.cwd !== 'packages/snaps-sandbox' &&
workspace.cwd !== 'packages/test-snaps'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to fix this

image

) {
// All non-root, non-example packages must set up ESM- and
// CommonJS-compatible exports correctly.
Expand Down
Loading