Jest config cleanup (#518)

* Jest config cleanup

* Bump
This commit is contained in:
Jaco
2021-09-01 19:43:01 +03:00
committed by GitHub
parent eeca1f8f50
commit c8f2f119f0
14 changed files with 386 additions and 397 deletions
+1 -15
View File
@@ -12,19 +12,5 @@ module.exports = {
'\\.(css|less)$': 'empty/object',
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': 'empty/object'
},
modulePathIgnorePatterns: [
'<rootDir>/packages/example-react/build',
'<rootDir>/packages/example-vue/build',
'<rootDir>/packages/exampleReactNative/build',
'<rootDir>/packages/react-identicon/build',
'<rootDir>/packages/react-qr/build',
'<rootDir>/packages/reactnative-identicon/build',
'<rootDir>/packages/ui-assets/build',
'<rootDir>/packages/ui-keyring/build',
'<rootDir>/packages/ui-settings/build',
'<rootDir>/packages/ui-shared/build',
'<rootDir>/packages/vue-identicon/build'
],
testEnvironment: 'jsdom',
transformIgnorePatterns: ['/node_modules/(?!@polkadot|@babel/runtime/helpers/esm/)']
testEnvironment: 'jsdom'
};
+2 -2
View File
@@ -30,7 +30,7 @@
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@polkadot/dev": "^0.62.62",
"@polkadot/dev": "^0.62.65",
"@polkadot/ts": "^0.4.6",
"@polkadot/x-bundle": "^7.3.1",
"@types/jest": "^27.0.1",
@@ -45,6 +45,6 @@
"webpack-cli": "^3.3.12",
"webpack-serve": "^3.2.0"
},
"version": "0.85.3",
"version": "0.85.4-0",
"packageManager": "yarn@3.0.1"
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/example-react",
"version": "0.85.3",
"version": "0.85.4-0",
"description": "A very basic example with ui-* & react-* packages",
"main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/example-vue",
"version": "0.85.3",
"version": "0.85.4-0",
"description": "A very basic example with ui-* & vue-* packages",
"main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>",
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "exampleReactNative",
"version": "0.85.3",
"version": "0.85.4-0",
"private": true,
"scripts": {
"copy-workspace-packages": "yarn copy-identicon && yarn copy-ui-shared",
@@ -13,9 +13,9 @@
},
"dependencies": {
"@polkadot/keyring": "^7.3.1",
"@polkadot/reactnative-identicon": "0.85.3",
"@polkadot/ui-keyring": "0.85.3",
"@polkadot/ui-settings": "0.85.3",
"@polkadot/reactnative-identicon": "0.85.4-0",
"@polkadot/ui-keyring": "0.85.4-0",
"@polkadot/ui-settings": "0.85.4-0",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"@react-native-community/async-storage": "^1.12.1",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/react-identicon",
"version": "0.85.3",
"version": "0.85.4-0",
"type": "module",
"description": "Renders an SVG picture representing an address",
"main": "index.js",
@@ -14,8 +14,8 @@
"dependencies": {
"@babel/runtime": "^7.15.3",
"@polkadot/keyring": "^7.3.1",
"@polkadot/ui-settings": "0.85.3",
"@polkadot/ui-shared": "0.85.3",
"@polkadot/ui-settings": "0.85.4-0",
"@polkadot/ui-shared": "0.85.4-0",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"color": "^3.2.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/react-qr",
"version": "0.85.3",
"version": "0.85.4-0",
"type": "module",
"description": "Generates and reads QR codes",
"main": "index.js",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/reactnative-identicon",
"version": "0.85.3",
"version": "0.85.4-0",
"type": "module",
"description": "Renders an SVG picture representing an address",
"main": "index.js",
@@ -13,10 +13,10 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.15.3",
"@polkadot/ui-shared": "0.85.3",
"@polkadot/ui-shared": "0.85.4-0",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"react-native-svg": "^12.1.1"
"react-native-svg": "^12.2.0"
},
"peerDependencies": {
"@polkadot/util": "*",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/ui-assets",
"version": "0.85.3",
"version": "0.85.4-0",
"description": "Static assets shared accross projects",
"main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/ui-keyring",
"version": "0.85.3",
"version": "0.85.4-0",
"type": "module",
"main": "index.js",
"sideEffects": [
@@ -16,7 +16,7 @@
"@babel/runtime": "^7.15.3",
"@polkadot/hw-ledger": "^7.3.1",
"@polkadot/keyring": "^7.3.1",
"@polkadot/ui-settings": "0.85.3",
"@polkadot/ui-settings": "0.85.4-0",
"@polkadot/util": "^7.3.1",
"mkdirp": "^1.0.4",
"rxjs": "^7.3.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/ui-settings",
"version": "0.85.3",
"version": "0.85.4-0",
"type": "module",
"description": "Manages app settings",
"main": "index.js",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/ui-shared",
"version": "0.85.3",
"version": "0.85.4-0",
"type": "module",
"description": "Shared logic that is usable accross all frameworks-specific areas",
"main": "index.js",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/vue-identicon",
"version": "0.85.3",
"version": "0.85.4-0",
"type": "module",
"description": "Renders an SVG picture representing an address",
"author": "Jaco Greeff <jacogr@gmail.com>",
@@ -13,7 +13,7 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.15.3",
"@polkadot/ui-shared": "0.85.3",
"@polkadot/ui-shared": "0.85.4-0",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"jdenticon": "3.1.1"
+363 -360
View File
File diff suppressed because it is too large Load Diff