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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
# those changes on build, release and publishing outcomes.

/packages/delegation-abis @MetaMask/delegation
/packages/delegation-core @MetaMask/delegation
/packages/delegation-deployments @MetaMask/delegation
/packages/delegation-toolkit @MetaMask/delegation
6 changes: 6 additions & 0 deletions packages/delegation-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Core utilities for creating and managing delegation terms and caveats in the Met
npm install @metamask/delegation-core
```

or

```bash
yarn add @metamask/delegation-core
```

## Overview

This package provides utilities for:
Expand Down
12 changes: 6 additions & 6 deletions packages/delegation-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"MetaMask",
"Ethereum"
],
"homepage": "https://github.com/MetaMask/delegation-toolkit/tree/main/packages/delegation-core#readme",
"homepage": "https://github.com/metamask/delegation-toolkit/tree/main/packages/delegation-core#readme",
"bugs": {
"url": "https://github.com/MetaMask/delegation-toolkit/issues"
"url": "https://github.com/metamask/delegation-toolkit/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/delegation-toolkit.git"
"url": "https://github.com/metamask/delegation-toolkit.git"
},
"author": "MetaMask <hello@metamask.io>",
"sideEffects": false,
Expand Down Expand Up @@ -46,8 +46,8 @@
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"changelog:update": "../../scripts/update-changelog.sh @metamask/delegation-abis",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/delegation-abis",
"changelog:update": "../../scripts/update-changelog.sh @metamask/delegation-core",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/delegation-core",
"clean": "rm -rf dist",
"lint": "yarn lint:eslint",
"lint:complete": "yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog",
Expand All @@ -67,7 +67,7 @@
"@types/node": "^20.10.6",
"tsup": "^7.2.0",
"typescript": "5.0.4",
"vitest": "2.1.9"
"vitest": "^2.1.9"
},
"dependencies": {
"@metamask/abi-utils": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions yarn.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ function expectWorkspaceDescription(workspace) {
*/
async function expectWorkspaceLicense(workspace) {
if (
!(await workspaceFileExists(workspace, 'LICENSE')) &&
!(await workspaceFileExists(workspace, 'LICENCE'))
!(await workspaceFileExists(workspace, 'LICENSE.APACHE2')) ||
!(await workspaceFileExists(workspace, 'LICENSE.MIT0'))
) {
workspace.error('Could not find LICENSE file');
}
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ __metadata:
"@types/node": "npm:^20.10.6"
tsup: "npm:^7.2.0"
typescript: "npm:5.0.4"
vitest: "npm:2.1.9"
vitest: "npm:^2.1.9"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -10524,7 +10524,7 @@ __metadata:
languageName: node
linkType: hard

"vitest@npm:2.1.9, vitest@npm:^2.1.9":
"vitest@npm:^2.1.9":
version: 2.1.9
resolution: "vitest@npm:2.1.9"
dependencies:
Expand Down
Loading