Skip to content

Commit

Permalink
Bump dev (w/ header fixes) (Koniverse#962)
Browse files Browse the repository at this point in the history
* Bump dev (w/ header fixes)

* mock path
  • Loading branch information
jacogr authored Jan 3, 2022
1 parent 0c17dd2 commit 9ab66ae
Show file tree
Hide file tree
Showing 17 changed files with 227 additions and 302 deletions.
34 changes: 0 additions & 34 deletions __mocks__/chrome.ts

This file was deleted.

5 changes: 0 additions & 5 deletions __mocks__/fileMock.js

This file was deleted.

24 changes: 0 additions & 24 deletions __mocks__/react-i18next.ts

This file was deleted.

2 changes: 1 addition & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
// eslint-disable-next-line sort-keys
'@polkadot/extension(.*)$': '<rootDir>/packages/extension/src/$1',
'\\.(css|less)$': 'empty/object',
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/__mocks__/fileMock.js'
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/packages/extension-mocks/src/fileMock.js'
},
testEnvironment: 'jsdom'
};
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@polkadot/dev": "^0.65.2",
"@polkadot/dev": "^0.65.5",
"@types/jest": "^27.4.0",
"i18next-scanner": "^3.1.0",
"sinon-chrome": "^3.0.1"
},
"resolutions": {
"@polkadot/api": "^7.1.2-1",
"@polkadot/api": "^7.2.1",
"@polkadot/keyring": "^8.2.2",
"@polkadot/networks": "^8.2.2",
"@polkadot/types": "^7.1.2-1",
"@polkadot/types": "^7.2.1",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"@polkadot/x-fetch": "^8.2.2",
Expand Down
12 changes: 6 additions & 6 deletions packages/extension-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/api": "^7.1.2-1",
"@polkadot/api": "^7.2.1",
"@polkadot/extension-chains": "^0.42.5-11",
"@polkadot/extension-dapp": "^0.42.5-11",
"@polkadot/extension-inject": "^0.42.5-11",
"@polkadot/keyring": "^8.2.2",
"@polkadot/networks": "^8.2.2",
"@polkadot/phishing": "^0.7.3",
"@polkadot/rpc-provider": "^7.1.2-1",
"@polkadot/types": "^7.1.2-1",
"@polkadot/ui-keyring": "^0.87.8-2",
"@polkadot/ui-settings": "^0.87.8-2",
"@polkadot/phishing": "^0.7.11",
"@polkadot/rpc-provider": "^7.2.1",
"@polkadot/types": "^7.2.1",
"@polkadot/ui-keyring": "^0.88.2-0",
"@polkadot/ui-settings": "^0.88.2-0",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"eventemitter3": "^4.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-compat-metamask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@babel/runtime": "^7.16.7",
"@metamask/detect-provider": "^1.2.0",
"@polkadot/extension-inject": "^0.42.5-11",
"@polkadot/types": "^7.1.2-1",
"@polkadot/types": "^7.2.1",
"@polkadot/util": "^8.2.2",
"web3": "^1.6.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-compat-metamask/src/bundle.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 @polkadot/extension-compat-metamask authors & contributors
// Copyright 2019-2022 @polkadot/extension-compat-metamask authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Injected, InjectedAccount, InjectedWindow } from '@polkadot/extension-inject/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-compat-metamask/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 @polkadot/extension-compat-metamask authors & contributors
// Copyright 2019-2022 @polkadot/extension-compat-metamask authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Since we inject into pages, we skip this
Expand Down
6 changes: 3 additions & 3 deletions packages/extension-inject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/rpc-provider": "^7.1.2-1",
"@polkadot/types": "^7.1.2-1",
"@polkadot/rpc-provider": "^7.2.1",
"@polkadot/types": "^7.2.1",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2"
},
"devDependencies": {
"@types/chrome": "^0.0.174",
"@types/firefox-webext-browser": "^94.0.0"
"@types/firefox-webext-browser": "^94.0.1"
},
"peerDependencies": {
"@polkadot/api": "*"
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-mocks/src/chrome.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 @polkadot/extension authors & contributors
// Copyright 2019-2022 @polkadot/extension-mocks authors & contributors
// SPDX-License-Identifier: Apache-2.0

/* eslint-disable @typescript-eslint/no-explicit-any */
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-mocks/src/fileMock.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 @polkadot/extension authors & contributors
// Copyright 2019-2022 @polkadot/extension-mocks authors & contributors
// SPDX-License-Identifier: Apache-2.0

// eslint-disable-line
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-mocks/src/react-i18next.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
// Copyright 2019-2022 @polkadot/extension-mocks authors & contributors
// SPDX-License-Identifier: Apache-2.0

import React from 'react';
Expand Down
14 changes: 7 additions & 7 deletions packages/extension-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@
"@polkadot/hw-ledger": "^8.2.2",
"@polkadot/keyring": "^8.2.2",
"@polkadot/networks": "^8.2.2",
"@polkadot/react-identicon": "^0.87.8-2",
"@polkadot/react-qr": "^0.87.8-2",
"@polkadot/types": "^7.1.2-1",
"@polkadot/types-augment": "^7.1.2-1",
"@polkadot/ui-keyring": "^0.87.8-2",
"@polkadot/ui-settings": "^0.87.8-2",
"@polkadot/react-identicon": "^0.88.2-0",
"@polkadot/react-qr": "^0.88.2-0",
"@polkadot/types": "^7.2.1",
"@polkadot/types-augment": "^7.2.1",
"@polkadot/ui-keyring": "^0.88.2-0",
"@polkadot/ui-settings": "^0.88.2-0",
"@polkadot/util": "^8.2.2",
"@polkadot/util-crypto": "^8.2.2",
"file-saver": "^2.0.5",
"i18next": "^21.6.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-dropzone": "^11.4.2",
"react-i18next": "^11.15.2",
"react-i18next": "^11.15.3",
"react-is": "^17.0.2",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@polkadot/extension-ui": "^0.42.5-11"
},
"devDependencies": {
"@polkadot/dev": "^0.65.2",
"@polkadot/dev": "^0.65.5",
"babel-loader": "^8.2.3",
"browser-resolve": "^2.0.0",
"buffer": "^6.0.3",
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"baseUrl": "./packages"
},
"include": [
"__mocks__/**/*",
"packages/**/src/**/*",
"packages/**/__mocks__/**/*",
"packages/**/*.js",
"packages/**/*.cjs"
],
Expand Down
Loading

0 comments on commit 9ab66ae

Please sign in to comment.