@metamask/eslint-plugin-design-tokens 1.1.1 → 2.0.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 +9 -1
- package/README.md +3 -1
- package/package.json +30 -30
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.0.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **BREAKING:** The minimum supported Node.js version is now 24 (`engines.node` is `>=24`) ([#38](https://github.com/MetaMask/eslint-plugin-design-tokens/pull/38))
|
|
15
|
+
- This package is being migrated to the [`metamask-design-system`](https://github.com/MetaMask/metamask-design-system) monorepo ([#37](https://github.com/MetaMask/eslint-plugin-design-tokens/pull/37))
|
|
16
|
+
|
|
10
17
|
## [1.1.1]
|
|
11
18
|
|
|
12
19
|
### Changed
|
|
@@ -33,7 +40,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
33
40
|
|
|
34
41
|
- Initial release
|
|
35
42
|
|
|
36
|
-
[Unreleased]: https://github.com/MetaMask/eslint-plugin-design-tokens/compare/
|
|
43
|
+
[Unreleased]: https://github.com/MetaMask/eslint-plugin-design-tokens/compare/v2.0.0...HEAD
|
|
44
|
+
[2.0.0]: https://github.com/MetaMask/eslint-plugin-design-tokens/compare/v1.1.1...v2.0.0
|
|
37
45
|
[1.1.1]: https://github.com/MetaMask/eslint-plugin-design-tokens/compare/v1.1.0...v1.1.1
|
|
38
46
|
[1.1.0]: https://github.com/MetaMask/eslint-plugin-design-tokens/compare/v1.0.0...v1.1.0
|
|
39
47
|
[1.0.0]: https://github.com/MetaMask/eslint-plugin-design-tokens/compare/v0.1.0...v1.0.0
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# ESlint Plugin Design Tokens 🪙✨
|
|
2
2
|
|
|
3
|
+
<table><tr><td><p align="center"><b>⚠️ PLEASE READ ⚠️</b></p><p align="center">This package is currently being migrated to our <a href="https://github.com/MetaMask/metamask-design-system"><code>metamask-design-system</code></a> monorepo. Please do not make any commits to this repository while this migration is taking place, as they will not be transferred over. Also, please re-open PRs that are under active development in the metamask module template.</p></td></tr></table>
|
|
4
|
+
|
|
3
5
|
[](https://npmjs.com/package/@metamask/eslint-plugin-design-tokens)
|
|
4
6
|
|
|
5
7
|
## `@metamask/eslint-plugin-design-tokens`
|
|
@@ -72,7 +74,7 @@ Then configure the rules you want to use within `rules` property of your `.eslin
|
|
|
72
74
|
|
|
73
75
|
- Install the current LTS version of [Node.js](https://nodejs.org)
|
|
74
76
|
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm install` will install the latest version and running `nvm use` will automatically choose the right node version for you.
|
|
75
|
-
- Install [Yarn
|
|
77
|
+
- Install [Yarn v4](https://yarnpkg.com/getting-started/install)
|
|
76
78
|
- Run `yarn install` to install dependencies and run any required post-install scripts
|
|
77
79
|
|
|
78
80
|
### Testing and Linting
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/eslint-plugin-design-tokens",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "An ESLint plugin designed to enforce best practices and consistency for using MetaMask design tokens across various projects",
|
|
5
5
|
"homepage": "https://github.com/MetaMask/eslint-plugin-design-tokens#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -33,47 +33,47 @@
|
|
|
33
33
|
"lint:changelog": "auto-changelog validate --prettier",
|
|
34
34
|
"lint:constraints": "yarn constraints",
|
|
35
35
|
"lint:dependencies": "depcheck && yarn dedupe",
|
|
36
|
-
"lint:eslint": "eslint . --cache
|
|
36
|
+
"lint:eslint": "eslint . --cache",
|
|
37
37
|
"lint:fix": "yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn lint:dependencies && yarn lint:changelog",
|
|
38
38
|
"lint:misc": "prettier '**/*.json' '**/*.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",
|
|
39
|
-
"prepack": "./scripts/prepack.sh",
|
|
40
39
|
"test": "jest && jest-it-up",
|
|
41
40
|
"test:watch": "jest --watch"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
|
-
"@lavamoat/allow-scripts": "^3.
|
|
43
|
+
"@lavamoat/allow-scripts": "^3.4.3",
|
|
45
44
|
"@lavamoat/preinstall-always-fail": "^2.0.0",
|
|
46
45
|
"@metamask/auto-changelog": "^3.4.3",
|
|
47
|
-
"@metamask/eslint-config": "^
|
|
48
|
-
"@metamask/eslint-config-jest": "^
|
|
49
|
-
"@metamask/eslint-config-nodejs": "^
|
|
50
|
-
"@metamask/eslint-config-typescript": "^
|
|
51
|
-
"@types/eslint": "^8.56.5",
|
|
46
|
+
"@metamask/eslint-config": "^15.0.1",
|
|
47
|
+
"@metamask/eslint-config-jest": "^15.0.1",
|
|
48
|
+
"@metamask/eslint-config-nodejs": "^15.0.1",
|
|
49
|
+
"@metamask/eslint-config-typescript": "^15.0.1",
|
|
52
50
|
"@types/jest": "^28.1.6",
|
|
53
|
-
"@types/node": "^16",
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
55
|
-
"@typescript-eslint/parser": "^
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"eslint
|
|
59
|
-
"eslint-
|
|
60
|
-
"eslint-
|
|
61
|
-
"eslint-plugin-
|
|
62
|
-
"eslint-plugin-
|
|
63
|
-
"eslint-plugin-
|
|
64
|
-
"eslint-plugin-
|
|
65
|
-
"
|
|
51
|
+
"@types/node": "^16.18.54",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^8.39.0",
|
|
53
|
+
"@typescript-eslint/parser": "^8.39.0",
|
|
54
|
+
"@yarnpkg/types": "^4.0.0",
|
|
55
|
+
"depcheck": "^1.4.7",
|
|
56
|
+
"eslint": "^9.39.0",
|
|
57
|
+
"eslint-config-prettier": "^9.1.0",
|
|
58
|
+
"eslint-import-resolver-typescript": "^3.6.3",
|
|
59
|
+
"eslint-plugin-import-x": "^4.3.0",
|
|
60
|
+
"eslint-plugin-jest": "^28.8.3",
|
|
61
|
+
"eslint-plugin-jsdoc": "^50.2.4",
|
|
62
|
+
"eslint-plugin-n": "^17.10.3",
|
|
63
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
64
|
+
"eslint-plugin-promise": "^7.1.0",
|
|
65
|
+
"jest": "^29.7.0",
|
|
66
66
|
"jest-it-up": "^2.0.2",
|
|
67
|
-
"prettier": "^
|
|
68
|
-
"prettier-plugin-packagejson": "^2.
|
|
69
|
-
"ts-jest": "^
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"typescript": "
|
|
67
|
+
"prettier": "^3.3.3",
|
|
68
|
+
"prettier-plugin-packagejson": "^2.4.5",
|
|
69
|
+
"ts-jest": "^29.2.5",
|
|
70
|
+
"tsup": "^8.5.0",
|
|
71
|
+
"typescript": "~5.9.3",
|
|
72
|
+
"typescript-eslint": "^8.39.0"
|
|
73
73
|
},
|
|
74
|
-
"packageManager": "yarn@
|
|
74
|
+
"packageManager": "yarn@4.16.0",
|
|
75
75
|
"engines": {
|
|
76
|
-
"node": "
|
|
76
|
+
"node": ">=24"
|
|
77
77
|
},
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public",
|