Skip to content

Commit

Permalink
Correct mocks as a dev dependency (0.42.4 patch) (#947)
Browse files Browse the repository at this point in the history
* Correct mocks as a dev dependency

* 0.43.4

* Correct CHANGELOG version numbers

* language
  • Loading branch information
jacogr authored Dec 27, 2021
1 parent 395dabe commit 03db5ca
Show file tree
Hide file tree
Showing 11 changed files with 65 additions and 52 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# CHANGELOG

## 0.43.3 Dec 27, 2021
## 0.42.4 Dec 27, 2021

**Important** As 0.42.3, not published to the stores, fixes dependency issue in 0.42.4.

Changes:

- Ensure `@polkadot/extension-mocks` is correctly listed as devDependency


## 0.42.3 Dec 27, 2021

**Important** Not published to the stores, aligns with latest released packages.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/polkadot-js/extension.git"
},
"sideEffects": false,
"version": "0.42.4-0",
"version": "0.42.4",
"workspaces": [
"packages/*"
],
Expand All @@ -34,7 +34,7 @@
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@polkadot/dev": "^0.64.22",
"@polkadot/dev": "^0.64.23",
"@types/jest": "^27.0.3",
"i18next-scanner": "^3.1.0",
"sinon-chrome": "^3.0.1"
Expand Down
12 changes: 7 additions & 5 deletions packages/extension-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@
},
"sideEffects": false,
"type": "module",
"version": "0.42.4-0",
"version": "0.42.4",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@polkadot/api": "^7.1.1",
"@polkadot/extension-chains": "^0.42.4-0",
"@polkadot/extension-dapp": "^0.42.4-0",
"@polkadot/extension-inject": "^0.42.4-0",
"@polkadot/extension-mocks": "^0.42.4-0",
"@polkadot/extension-chains": "^0.42.4",
"@polkadot/extension-dapp": "^0.42.4",
"@polkadot/extension-inject": "^0.42.4",
"@polkadot/keyring": "^8.2.2",
"@polkadot/phishing": "^0.6.582",
"@polkadot/rpc-provider": "^7.1.1",
Expand All @@ -33,5 +32,8 @@
"@polkadot/util-crypto": "^8.2.2",
"eventemitter3": "^4.0.7",
"rxjs": "^7.4.0"
},
"devDependencies": {
"@polkadot/extension-mocks": "^0.42.4"
}
}
4 changes: 2 additions & 2 deletions packages/extension-chains/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
},
"sideEffects": false,
"type": "module",
"version": "0.42.4-0",
"version": "0.42.4",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@polkadot/extension-inject": "^0.42.4-0",
"@polkadot/extension-inject": "^0.42.4",
"@polkadot/networks": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-compat-metamask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
},
"sideEffects": false,
"type": "module",
"version": "0.42.4-0",
"version": "0.42.4",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@metamask/detect-provider": "^1.2.0",
"@polkadot/extension-inject": "^0.42.4-0",
"@polkadot/extension-inject": "^0.42.4",
"@polkadot/types": "^7.1.1",
"@polkadot/util": "^8.2.2",
"web3": "^1.6.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
},
"sideEffects": false,
"type": "module",
"version": "0.42.4-0",
"version": "0.42.4",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@polkadot/extension-inject": "^0.42.4-0",
"@polkadot/extension-inject": "^0.42.4",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-inject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"sideEffects": true,
"type": "module",
"version": "0.42.4-0",
"version": "0.42.4",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-mocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"sideEffects": false,
"type": "module",
"version": "0.42.4-0",
"version": "0.42.4",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.5",
Expand Down
11 changes: 6 additions & 5 deletions packages/extension-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
},
"sideEffects": true,
"type": "module",
"version": "0.42.4-0",
"version": "0.42.4",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-regular-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@polkadot/extension-base": "^0.42.4-0",
"@polkadot/extension-chains": "^0.42.4-0",
"@polkadot/extension-dapp": "^0.42.4-0",
"@polkadot/extension-inject": "^0.42.4-0",
"@polkadot/extension-base": "^0.42.4",
"@polkadot/extension-chains": "^0.42.4",
"@polkadot/extension-dapp": "^0.42.4",
"@polkadot/extension-inject": "^0.42.4",
"@polkadot/hw-ledger": "^8.2.2",
"@polkadot/keyring": "^8.2.2",
"@polkadot/networks": "^8.2.2",
Expand All @@ -49,6 +49,7 @@
"styled-components": "^5.3.3"
},
"devDependencies": {
"@polkadot/extension-mocks": "^0.42.4",
"@types/bn.js": "^4.11.6",
"@types/enzyme": "^3.10.10",
"@types/enzyme-adapter-react-16": "^1.0.6",
Expand Down
10 changes: 5 additions & 5 deletions packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
},
"sideEffects": false,
"type": "module",
"version": "0.42.4-0",
"version": "0.42.4",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@polkadot/extension-base": "^0.42.4-0",
"@polkadot/extension-inject": "^0.42.4-0",
"@polkadot/extension-ui": "^0.42.4-0"
"@polkadot/extension-base": "^0.42.4",
"@polkadot/extension-inject": "^0.42.4",
"@polkadot/extension-ui": "^0.42.4"
},
"devDependencies": {
"@polkadot/dev": "^0.64.22",
"@polkadot/dev": "^0.64.23",
"babel-loader": "^8.2.3",
"browser-resolve": "^2.0.0",
"buffer": "^6.0.3",
Expand Down
53 changes: 27 additions & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2384,9 +2384,9 @@ __metadata:
languageName: node
linkType: hard

"@polkadot/dev@npm:^0.64.22":
version: 0.64.22
resolution: "@polkadot/dev@npm:0.64.22"
"@polkadot/dev@npm:^0.64.23":
version: 0.64.23
resolution: "@polkadot/dev@npm:0.64.23"
dependencies:
"@babel/cli": ^7.16.0
"@babel/core": ^7.16.5
Expand Down Expand Up @@ -2471,20 +2471,20 @@ __metadata:
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: 4f2e79f7de3777b17ab877819d32a9b88ec136e18cd0fc8002885b3bf0afae0e02acf9e05b16ecc86c20c12c8a5fea89416c2f48555571c2223929ce5b5fa1a5
checksum: d866fc56eb4d6b3cd8e89908d2d579dcb00c6ab070b3f6d98ff4c2099198366d63d07cc3688b2e0807afa07052403286029e9b9ff86f37b44c0d2db04f9406a8
languageName: node
linkType: hard

"@polkadot/extension-base@^0.42.4-0, @polkadot/extension-base@workspace:packages/extension-base":
"@polkadot/extension-base@^0.42.4, @polkadot/extension-base@workspace:packages/extension-base":
version: 0.0.0-use.local
resolution: "@polkadot/extension-base@workspace:packages/extension-base"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/api": ^7.1.1
"@polkadot/extension-chains": ^0.42.4-0
"@polkadot/extension-dapp": ^0.42.4-0
"@polkadot/extension-inject": ^0.42.4-0
"@polkadot/extension-mocks": ^0.42.4-0
"@polkadot/extension-chains": ^0.42.4
"@polkadot/extension-dapp": ^0.42.4
"@polkadot/extension-inject": ^0.42.4
"@polkadot/extension-mocks": ^0.42.4
"@polkadot/keyring": ^8.2.2
"@polkadot/phishing": ^0.6.582
"@polkadot/rpc-provider": ^7.1.1
Expand All @@ -2498,12 +2498,12 @@ __metadata:
languageName: unknown
linkType: soft

"@polkadot/extension-chains@^0.42.4-0, @polkadot/extension-chains@workspace:packages/extension-chains":
"@polkadot/extension-chains@^0.42.4, @polkadot/extension-chains@workspace:packages/extension-chains":
version: 0.0.0-use.local
resolution: "@polkadot/extension-chains@workspace:packages/extension-chains"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/extension-inject": ^0.42.4-0
"@polkadot/extension-inject": ^0.42.4
"@polkadot/networks": ^8.2.2
"@polkadot/util-crypto": ^8.2.2
peerDependencies:
Expand All @@ -2518,7 +2518,7 @@ __metadata:
dependencies:
"@babel/runtime": ^7.16.5
"@metamask/detect-provider": ^1.2.0
"@polkadot/extension-inject": ^0.42.4-0
"@polkadot/extension-inject": ^0.42.4
"@polkadot/types": ^7.1.1
"@polkadot/util": ^8.2.2
web3: ^1.6.1
Expand All @@ -2527,12 +2527,12 @@ __metadata:
languageName: unknown
linkType: soft

"@polkadot/extension-dapp@^0.42.4-0, @polkadot/extension-dapp@workspace:packages/extension-dapp":
"@polkadot/extension-dapp@^0.42.4, @polkadot/extension-dapp@workspace:packages/extension-dapp":
version: 0.0.0-use.local
resolution: "@polkadot/extension-dapp@workspace:packages/extension-dapp"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/extension-inject": ^0.42.4-0
"@polkadot/extension-inject": ^0.42.4
"@polkadot/util": ^8.2.2
"@polkadot/util-crypto": ^8.2.2
peerDependencies:
Expand All @@ -2542,7 +2542,7 @@ __metadata:
languageName: unknown
linkType: soft

"@polkadot/extension-inject@^0.42.4-0, @polkadot/extension-inject@workspace:packages/extension-inject":
"@polkadot/extension-inject@^0.42.4, @polkadot/extension-inject@workspace:packages/extension-inject":
version: 0.0.0-use.local
resolution: "@polkadot/extension-inject@workspace:packages/extension-inject"
dependencies:
Expand All @@ -2557,7 +2557,7 @@ __metadata:
languageName: unknown
linkType: soft

"@polkadot/extension-mocks@^0.42.4-0, @polkadot/extension-mocks@workspace:packages/extension-mocks":
"@polkadot/extension-mocks@^0.42.4, @polkadot/extension-mocks@workspace:packages/extension-mocks":
version: 0.0.0-use.local
resolution: "@polkadot/extension-mocks@workspace:packages/extension-mocks"
dependencies:
Expand All @@ -2566,7 +2566,7 @@ __metadata:
languageName: unknown
linkType: soft

"@polkadot/extension-ui@^0.42.4-0, @polkadot/extension-ui@workspace:packages/extension-ui":
"@polkadot/extension-ui@^0.42.4, @polkadot/extension-ui@workspace:packages/extension-ui":
version: 0.0.0-use.local
resolution: "@polkadot/extension-ui@workspace:packages/extension-ui"
dependencies:
Expand All @@ -2576,10 +2576,11 @@ __metadata:
"@fortawesome/free-regular-svg-icons": ^5.15.4
"@fortawesome/free-solid-svg-icons": ^5.15.4
"@fortawesome/react-fontawesome": ^0.1.16
"@polkadot/extension-base": ^0.42.4-0
"@polkadot/extension-chains": ^0.42.4-0
"@polkadot/extension-dapp": ^0.42.4-0
"@polkadot/extension-inject": ^0.42.4-0
"@polkadot/extension-base": ^0.42.4
"@polkadot/extension-chains": ^0.42.4
"@polkadot/extension-dapp": ^0.42.4
"@polkadot/extension-inject": ^0.42.4
"@polkadot/extension-mocks": ^0.42.4
"@polkadot/hw-ledger": ^8.2.2
"@polkadot/keyring": ^8.2.2
"@polkadot/networks": ^8.2.2
Expand Down Expand Up @@ -2623,10 +2624,10 @@ __metadata:
resolution: "@polkadot/extension@workspace:packages/extension"
dependencies:
"@babel/runtime": ^7.16.5
"@polkadot/dev": ^0.64.22
"@polkadot/extension-base": ^0.42.4-0
"@polkadot/extension-inject": ^0.42.4-0
"@polkadot/extension-ui": ^0.42.4-0
"@polkadot/dev": ^0.64.23
"@polkadot/extension-base": ^0.42.4
"@polkadot/extension-inject": ^0.42.4
"@polkadot/extension-ui": ^0.42.4
babel-loader: ^8.2.3
browser-resolve: ^2.0.0
buffer: ^6.0.3
Expand Down Expand Up @@ -14210,7 +14211,7 @@ resolve@^2.0.0-next.3:
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@babel/core": ^7.16.5
"@polkadot/dev": ^0.64.22
"@polkadot/dev": ^0.64.23
"@types/jest": ^27.0.3
i18next-scanner: ^3.1.0
sinon-chrome: ^3.0.1
Expand Down

0 comments on commit 03db5ca

Please sign in to comment.