File tree Expand file tree Collapse file tree 5 files changed +17
-10
lines changed
Expand file tree Collapse file tree 5 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 1010# those changes on build, release and publishing outcomes.
1111
1212/packages /delegation-abis @ MetaMask/delegation
13+ /packages /delegation-core @ MetaMask/delegation
1314/packages /delegation-deployments @ MetaMask/delegation
1415/packages /delegation-toolkit @ MetaMask/delegation
Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ Core utilities for creating and managing delegation terms and caveats in the Met
88npm install @metamask/delegation-core
99```
1010
11+ or
12+
13+ ``` bash
14+ yarn add @metamask/delegation-core
15+ ```
16+
1117## Overview
1218
1319This package provides utilities for:
Original file line number Diff line number Diff line change 77 " MetaMask" ,
88 " Ethereum"
99 ],
10- "homepage" : " https://github.com/MetaMask /delegation-toolkit/tree/main/packages/delegation-core#readme" ,
10+ "homepage" : " https://github.com/metamask /delegation-toolkit/tree/main/packages/delegation-core#readme" ,
1111 "bugs" : {
12- "url" : " https://github.com/MetaMask /delegation-toolkit/issues"
12+ "url" : " https://github.com/metamask /delegation-toolkit/issues"
1313 },
1414 "repository" : {
1515 "type" : " git" ,
16- "url" : " https://github.com/MetaMask /delegation-toolkit.git"
16+ "url" : " https://github.com/metamask /delegation-toolkit.git"
1717 },
1818 "author" : " MetaMask <hello@metamask.io>" ,
1919 "sideEffects" : false ,
4646 "typecheck" : " tsc --noEmit" ,
4747 "test" : " vitest run" ,
4848 "test:watch" : " vitest" ,
49- "changelog:update" : " ../../scripts/update-changelog.sh @metamask/delegation-abis " ,
50- "changelog:validate" : " ../../scripts/validate-changelog.sh @metamask/delegation-abis " ,
49+ "changelog:update" : " ../../scripts/update-changelog.sh @metamask/delegation-core " ,
50+ "changelog:validate" : " ../../scripts/validate-changelog.sh @metamask/delegation-core " ,
5151 "clean" : " rm -rf dist" ,
5252 "lint" : " yarn lint:eslint" ,
5353 "lint:complete" : " yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog" ,
6767 "@types/node" : " ^20.10.6" ,
6868 "tsup" : " ^7.2.0" ,
6969 "typescript" : " 5.0.4" ,
70- "vitest" : " 2.1.9"
70+ "vitest" : " ^ 2.1.9"
7171 },
7272 "dependencies" : {
7373 "@metamask/abi-utils" : " ^3.0.0" ,
Original file line number Diff line number Diff line change @@ -437,8 +437,8 @@ function expectWorkspaceDescription(workspace) {
437437 */
438438async function expectWorkspaceLicense ( workspace ) {
439439 if (
440- ! ( await workspaceFileExists ( workspace , 'LICENSE' ) ) &&
441- ! ( await workspaceFileExists ( workspace , 'LICENCE ' ) )
440+ ! ( await workspaceFileExists ( workspace , 'LICENSE.APACHE2 ' ) ) ||
441+ ! ( await workspaceFileExists ( workspace , 'LICENSE.MIT0 ' ) )
442442 ) {
443443 workspace . error ( 'Could not find LICENSE file' ) ;
444444 }
Original file line number Diff line number Diff line change @@ -1264,7 +1264,7 @@ __metadata:
12641264 " @types/node " : " npm:^20.10.6"
12651265 tsup : " npm:^7.2.0"
12661266 typescript : " npm:5.0.4"
1267- vitest : " npm:2.1.9"
1267+ vitest : " npm:^ 2.1.9"
12681268 languageName : unknown
12691269 linkType : soft
12701270
@@ -10524,7 +10524,7 @@ __metadata:
1052410524 languageName : node
1052510525 linkType : hard
1052610526
10527- " vitest@npm:2.1.9, vitest@npm: ^2.1.9 " :
10527+ " vitest@npm:^2.1.9 " :
1052810528 version : 2.1.9
1052910529 resolution : " vitest@npm:2.1.9"
1053010530 dependencies :
You can’t perform that action at this time.
0 commit comments