Skip to content

Commit

Permalink
Add missing license fields (MetaMask#2747)
Browse files Browse the repository at this point in the history
Some packages were missing a `license` field in `package.json`, and
`snaps-jest` was missing a license file. I've added the field to all
packages now. Note that some packages have the field set to "SEE LICENSE
IN LICENSE," since we are using a custom license for those.
  • Loading branch information
Mrtenz authored Sep 20, 2024
1 parent 8caef01 commit 03b100c
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/snaps-browserify-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "ISC",
"sideEffects": false,
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "SEE LICENSE IN LICENSE",
"sideEffects": false,
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-execution-environments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "SEE LICENSE IN LICENSE",
"sideEffects": false,
"exports": {
".": {
Expand Down
15 changes: 15 additions & 0 deletions packages/snaps-jest/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ISC License

Copyright (c) 2023 MetaMask

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1 change: 1 addition & 0 deletions packages/snaps-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@metamask/snaps-jest",
"version": "8.4.0",
"description": "A Jest preset for end-to-end testing MetaMask Snaps, including a Jest environment, and a set of Jest matchers.",
"license": "ISC",
"sideEffects": false,
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-rollup-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "ISC",
"sideEffects": false,
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-rpc-methods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "SEE LICENSE IN LICENSE",
"sideEffects": false,
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "ISC",
"sideEffects": false,
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-simulation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "ISC",
"sideEffects": false,
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-simulator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"description": "A simulator for MetaMask Snaps, to be used for testing and development",
"homepage": "https://github.com/MetaMask/snaps#readme",
"license": "MIT",
"sideEffects": false,
"scripts": {
"build": "yarn build:vendor && yarn build:webpack",
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "ISC",
"sideEffects": false,
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "ISC",
"sideEffects": false,
"exports": {
".": {
Expand Down

0 comments on commit 03b100c

Please sign in to comment.