@metamask/snaps-rollup-plugin 4.1.2 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -1
- package/package.json +30 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
2
3
|
All notable changes to this project will be documented in this file.
|
|
3
4
|
|
|
4
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
@@ -6,55 +7,84 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
7
|
|
|
7
8
|
## [Unreleased]
|
|
8
9
|
|
|
10
|
+
## [4.2.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Automatically add `platformVersion` to manifest ([#2938](https://github.com/MetaMask/snaps/pull/2938))
|
|
15
|
+
|
|
9
16
|
## [4.1.2]
|
|
17
|
+
|
|
10
18
|
### Fixed
|
|
19
|
+
|
|
11
20
|
- Fix invalid types in type declaration in some cases ([#2714](https://github.com/MetaMask/snaps/pull/2714))
|
|
12
21
|
|
|
13
22
|
## [4.1.1]
|
|
23
|
+
|
|
14
24
|
### Fixed
|
|
25
|
+
|
|
15
26
|
- Fix ESM version of the package ([#2682](https://github.com/MetaMask/snaps/pull/2682))
|
|
16
27
|
- This fixes the ESM version of the package to be fully compliant with the ESM
|
|
17
28
|
standard.
|
|
18
29
|
|
|
19
30
|
## [4.1.0]
|
|
31
|
+
|
|
20
32
|
### Changed
|
|
33
|
+
|
|
21
34
|
- Improve manifest validation output ([#2572](https://github.com/MetaMask/snaps/pull/2572))
|
|
22
35
|
|
|
23
36
|
## [4.0.1]
|
|
37
|
+
|
|
24
38
|
### Fixed
|
|
39
|
+
|
|
25
40
|
- Fix minor build configuration problems ([#2220](https://github.com/MetaMask/snaps/pull/2220))
|
|
26
41
|
|
|
27
42
|
## [4.0.0]
|
|
43
|
+
|
|
28
44
|
### Changed
|
|
45
|
+
|
|
29
46
|
- **BREAKING:** Update ESM build to be fully compliant with the ESM standard ([#2210](https://github.com/MetaMask/snaps/pull/2210))
|
|
30
47
|
|
|
31
48
|
## [3.0.2]
|
|
49
|
+
|
|
32
50
|
### Changed
|
|
51
|
+
|
|
33
52
|
- Bump several MetaMask dependencies ([#2054](https://github.com/MetaMask/snaps/pull/2054), [#2100](https://github.com/MetaMask/snaps/pull/2100), [#2105](https://github.com/MetaMask/snaps/pull/2105), [#2173](https://github.com/MetaMask/snaps/pull/2173))
|
|
34
53
|
|
|
35
54
|
## [3.0.1]
|
|
55
|
+
|
|
36
56
|
### Changed
|
|
57
|
+
|
|
37
58
|
- Update multiple MetaMask dependencies ([#1841](https://github.com/MetaMask/snaps/pull/1841))
|
|
38
59
|
|
|
39
60
|
## [3.0.0]
|
|
61
|
+
|
|
40
62
|
### Changed
|
|
63
|
+
|
|
41
64
|
- **BREAKING:** Bump minimum Node.js version to `^18.16.0` ([#1741](https://github.com/MetaMask/snaps/pull/1741))
|
|
42
65
|
|
|
43
66
|
## [2.0.0]
|
|
67
|
+
|
|
44
68
|
### Changed
|
|
69
|
+
|
|
45
70
|
- Initial stable release from main branch ([#1757](https://github.com/MetaMask/snaps/pull/1757))
|
|
46
71
|
|
|
47
72
|
## [0.37.3-flask.1]
|
|
73
|
+
|
|
48
74
|
### Fixed
|
|
75
|
+
|
|
49
76
|
- Remove unused dependencies ([#1680](https://github.com/MetaMask/snaps/pull/1680))
|
|
50
77
|
|
|
51
78
|
## [0.37.2-flask.1]
|
|
79
|
+
|
|
52
80
|
### Changed
|
|
81
|
+
|
|
53
82
|
- Release package independently ([#1600](https://github.com/MetaMask/snaps/pull/1600))
|
|
54
83
|
- The version of the package no longer needs to match the version of all other
|
|
55
84
|
MetaMask Snaps packages.
|
|
56
85
|
|
|
57
|
-
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-rollup-plugin@4.
|
|
86
|
+
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-rollup-plugin@4.2.0...HEAD
|
|
87
|
+
[4.2.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-rollup-plugin@4.1.2...@metamask/snaps-rollup-plugin@4.2.0
|
|
58
88
|
[4.1.2]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-rollup-plugin@4.1.1...@metamask/snaps-rollup-plugin@4.1.2
|
|
59
89
|
[4.1.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-rollup-plugin@4.1.0...@metamask/snaps-rollup-plugin@4.1.1
|
|
60
90
|
[4.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-rollup-plugin@4.0.1...@metamask/snaps-rollup-plugin@4.1.0
|
package/package.json
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/snaps-rollup-plugin",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
|
+
"description": "A Rollup plugin to build MetaMask Snaps with Rollup",
|
|
4
5
|
"keywords": [
|
|
5
|
-
"
|
|
6
|
-
"
|
|
6
|
+
"MetaMask",
|
|
7
|
+
"Snaps",
|
|
8
|
+
"Ethereum",
|
|
9
|
+
"Rollup",
|
|
10
|
+
"Plugin"
|
|
7
11
|
],
|
|
12
|
+
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/snaps-rollup-plugin#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/MetaMask/snaps/issues"
|
|
15
|
+
},
|
|
8
16
|
"repository": {
|
|
9
17
|
"type": "git",
|
|
10
18
|
"url": "https://github.com/MetaMask/snaps.git"
|
|
11
19
|
},
|
|
20
|
+
"license": "ISC",
|
|
12
21
|
"sideEffects": false,
|
|
13
22
|
"exports": {
|
|
14
23
|
".": {
|
|
@@ -30,21 +39,25 @@
|
|
|
30
39
|
"dist"
|
|
31
40
|
],
|
|
32
41
|
"scripts": {
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
42
|
+
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
|
|
43
|
+
"changelog:update": "../../scripts/update-changelog.sh @metamask/snaps-rollup-plugin",
|
|
44
|
+
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/snaps-rollup-plugin",
|
|
45
|
+
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn changelog:validate && yarn lint:dependencies",
|
|
46
|
+
"lint:ci": "yarn lint",
|
|
47
|
+
"lint:dependencies": "depcheck",
|
|
36
48
|
"lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx",
|
|
37
|
-
"lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore",
|
|
38
|
-
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog && yarn lint:dependencies",
|
|
39
49
|
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
|
|
40
|
-
"lint:
|
|
41
|
-
"build": "ts-bridge --project tsconfig.build.json --verbose --no-references",
|
|
50
|
+
"lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore",
|
|
42
51
|
"publish:preview": "yarn npm publish --tag preview",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
52
|
+
"since-latest-release": "../../scripts/since-latest-release.sh",
|
|
53
|
+
"test": "jest --reporters=jest-silent-reporter",
|
|
54
|
+
"test:clean": "jest --clearCache",
|
|
55
|
+
"test:post": "jest-it-up",
|
|
56
|
+
"test:verbose": "jest --verbose",
|
|
57
|
+
"test:watch": "jest --watch"
|
|
45
58
|
},
|
|
46
59
|
"dependencies": {
|
|
47
|
-
"@metamask/snaps-utils": "^8.
|
|
60
|
+
"@metamask/snaps-utils": "^8.7.0"
|
|
48
61
|
},
|
|
49
62
|
"devDependencies": {
|
|
50
63
|
"@lavamoat/allow-scripts": "^3.0.4",
|
|
@@ -56,7 +69,7 @@
|
|
|
56
69
|
"@rollup/plugin-virtual": "^2.1.0",
|
|
57
70
|
"@swc/core": "1.3.78",
|
|
58
71
|
"@swc/jest": "^0.2.26",
|
|
59
|
-
"@ts-bridge/cli": "^0.
|
|
72
|
+
"@ts-bridge/cli": "^0.6.1",
|
|
60
73
|
"@types/jest": "^27.5.1",
|
|
61
74
|
"@typescript-eslint/eslint-plugin": "^5.42.1",
|
|
62
75
|
"@typescript-eslint/parser": "^6.21.0",
|
|
@@ -72,9 +85,10 @@
|
|
|
72
85
|
"eslint-plugin-promise": "^6.1.1",
|
|
73
86
|
"jest": "^29.0.2",
|
|
74
87
|
"jest-it-up": "^2.0.0",
|
|
88
|
+
"jest-silent-reporter": "^0.6.0",
|
|
75
89
|
"memfs": "^3.4.13",
|
|
76
|
-
"prettier": "^2.
|
|
77
|
-
"prettier-plugin-packagejson": "^2.2
|
|
90
|
+
"prettier": "^2.8.8",
|
|
91
|
+
"prettier-plugin-packagejson": "^2.5.2",
|
|
78
92
|
"rollup": "^2.73.0",
|
|
79
93
|
"typescript": "~5.3.3"
|
|
80
94
|
},
|