mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-15 14:11:02 +00:00
Use tsconfig references (#561)
* Use tsconfig references * Adjust * tesconfig.eslint.json * Bumps
This commit is contained in:
+2
-8
@@ -6,19 +6,13 @@ const base = require('@polkadot/dev/config/eslint.cjs');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
...base,
|
...base,
|
||||||
ignorePatterns: [
|
ignorePatterns: [
|
||||||
'.eslintrc.js',
|
...base.ignorePatterns,
|
||||||
'.github/**',
|
|
||||||
'.vscode/**',
|
|
||||||
'.yarn/**',
|
|
||||||
'**/build/*',
|
|
||||||
'**/coverage/*',
|
|
||||||
'**/node_modules/*',
|
|
||||||
'**/*.d.ts'
|
'**/*.d.ts'
|
||||||
],
|
],
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
...base.parserOptions,
|
...base.parserOptions,
|
||||||
project: [
|
project: [
|
||||||
'./tsconfig.json'
|
'./tsconfig.eslint.json'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
|||||||
+4
-4
@@ -32,10 +32,10 @@
|
|||||||
"test:one": "polkadot-dev-run-test"
|
"test:one": "polkadot-dev-run-test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.16.0",
|
"@babel/core": "^7.16.5",
|
||||||
"@babel/runtime": "^7.16.3",
|
"@babel/runtime": "^7.16.5",
|
||||||
"@polkadot/dev": "^0.63.40",
|
"@polkadot/dev": "^0.64.3",
|
||||||
"@polkadot/ts": "^0.4.19",
|
"@polkadot/ts": "^0.4.20",
|
||||||
"@polkadot/x-bundle": "^8.1.2",
|
"@polkadot/x-bundle": "^8.1.2",
|
||||||
"@types/jest": "^27.0.3",
|
"@types/jest": "^27.0.3",
|
||||||
"babel-loader": "^8.2.3",
|
"babel-loader": "^8.2.3",
|
||||||
|
|||||||
@@ -17,6 +17,6 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3"
|
"@babel/runtime": "^7.16.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": [
|
||||||
|
{ "path": "../react-identicon" },
|
||||||
|
{ "path": "../ui-keyring" }
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -17,6 +17,6 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3"
|
"@babel/runtime": "^7.16.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": [
|
||||||
|
{ "path": "../ui-keyring" },
|
||||||
|
{ "path": "../vue-identicon" }
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -39,11 +39,11 @@
|
|||||||
"stream-http": "^3.2.0"
|
"stream-http": "^3.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.16.0",
|
"@babel/core": "^7.16.5",
|
||||||
"@babel/runtime": "^7.16.3",
|
"@babel/runtime": "^7.16.5",
|
||||||
"@react-native-community/cli-platform-ios": "^6.2.0",
|
"@react-native-community/cli-platform-ios": "^6.2.0",
|
||||||
"@types/react-test-renderer": "17.0.1",
|
"@types/react-test-renderer": "17.0.1",
|
||||||
"babel-jest": "^27.4.4",
|
"babel-jest": "^27.4.5",
|
||||||
"metro-react-native-babel-preset": "^0.66.2",
|
"metro-react-native-babel-preset": "^0.66.2",
|
||||||
"react-test-renderer": "17.0.2"
|
"react-test-renderer": "17.0.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "."
|
||||||
|
},
|
||||||
|
"references": [
|
||||||
|
{ "path": "../reactnative-identicon" },
|
||||||
|
{ "path": "../ui-keyring" },
|
||||||
|
{ "path": "../ui-settings" }
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3",
|
"@babel/runtime": "^7.16.5",
|
||||||
"@polkadot/keyring": "^8.1.2",
|
"@polkadot/keyring": "^8.1.2",
|
||||||
"@polkadot/ui-settings": "0.87.6-1",
|
"@polkadot/ui-settings": "0.87.6-1",
|
||||||
"@polkadot/ui-shared": "0.87.6-1",
|
"@polkadot/ui-shared": "0.87.6-1",
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react-copy-to-clipboard": "^5.0.2",
|
"@types/react-copy-to-clipboard": "^5.0.2",
|
||||||
"@types/react-dom": "^17.0.11",
|
"@types/react-dom": "^17.0.11",
|
||||||
"@types/styled-components": "^5.1.17",
|
"@types/styled-components": "^5.1.18",
|
||||||
"styled-components": "^5.3.3",
|
"styled-components": "^5.3.3",
|
||||||
"xmlserializer": "^0.6.1"
|
"xmlserializer": "^0.6.1"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": [
|
||||||
|
{ "path": "../ui-shared" },
|
||||||
|
{ "path": "../ui-settings" }
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3",
|
"@babel/runtime": "^7.16.5",
|
||||||
"@polkadot/util": "^8.1.2",
|
"@polkadot/util": "^8.1.2",
|
||||||
"@polkadot/util-crypto": "^8.1.2",
|
"@polkadot/util-crypto": "^8.1.2",
|
||||||
"qrcode-generator": "^1.4.4",
|
"qrcode-generator": "^1.4.4",
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react-qr-reader": "^2.1.4",
|
"@types/react-qr-reader": "^2.1.4",
|
||||||
"@types/styled-components": "^5.1.17"
|
"@types/styled-components": "^5.1.18"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@polkadot/util": "*",
|
"@polkadot/util": "*",
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": [
|
||||||
|
{ "path": "../ui-settings" }
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -20,14 +20,14 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3",
|
"@babel/runtime": "^7.16.5",
|
||||||
"@polkadot/ui-shared": "0.87.6-1",
|
"@polkadot/ui-shared": "0.87.6-1",
|
||||||
"@polkadot/util": "^8.1.2",
|
"@polkadot/util": "^8.1.2",
|
||||||
"@polkadot/util-crypto": "^8.1.2",
|
"@polkadot/util-crypto": "^8.1.2",
|
||||||
"react-native-svg": "^12.2.0"
|
"react-native-svg": "^12.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react-native": "^0.66.8"
|
"@types/react-native": "^0.66.9"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@polkadot/util": "*",
|
"@polkadot/util": "*",
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": [
|
||||||
|
{ "path": "../ui-shared" }
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -16,6 +16,6 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3"
|
"@babel/runtime": "^7.16.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": []
|
||||||
|
}
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3",
|
"@babel/runtime": "^7.16.5",
|
||||||
"@polkadot/hw-ledger": "^8.1.2",
|
"@polkadot/hw-ledger": "^8.1.2",
|
||||||
"@polkadot/keyring": "^8.1.2",
|
"@polkadot/keyring": "^8.1.2",
|
||||||
"@polkadot/ui-settings": "0.87.6-1",
|
"@polkadot/ui-settings": "0.87.6-1",
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": [
|
||||||
|
{ "path": "../ui-settings" }
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3",
|
"@babel/runtime": "^7.16.5",
|
||||||
"@polkadot/networks": "^8.1.2",
|
"@polkadot/networks": "^8.1.2",
|
||||||
"@polkadot/util": "^8.1.2",
|
"@polkadot/util": "^8.1.2",
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": []
|
||||||
|
}
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3",
|
"@babel/runtime": "^7.16.5",
|
||||||
"color": "^3.2.1"
|
"color": "^3.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": []
|
||||||
|
}
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"version": "0.87.6-1",
|
"version": "0.87.6-1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.16.3",
|
"@babel/runtime": "^7.16.5",
|
||||||
"@polkadot/ui-shared": "0.87.6-1",
|
"@polkadot/ui-shared": "0.87.6-1",
|
||||||
"@polkadot/util": "^8.1.2",
|
"@polkadot/util": "^8.1.2",
|
||||||
"@polkadot/util-crypto": "^8.1.2",
|
"@polkadot/util-crypto": "^8.1.2",
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "..",
|
||||||
|
"outDir": "./build",
|
||||||
|
"rootDir": "./src"
|
||||||
|
},
|
||||||
|
"references": [
|
||||||
|
{ "path": "../ui-shared" }
|
||||||
|
]
|
||||||
|
}
|
||||||
+4
-4
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"extends": "@polkadot/dev/config/tsconfig.json",
|
"extends": "@polkadot/dev/config/tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@polkadot/react-identicon": [ "react-identicon/src" ],
|
"@polkadot/react-identicon": [ "react-identicon/src" ],
|
||||||
"@polkadot/react-identicon/*": [ "react-identicon/src/*" ],
|
"@polkadot/react-identicon/*": [ "react-identicon/src/*" ],
|
||||||
"@polkadot/react-qr": [ "react-qr/src" ],
|
"@polkadot/react-qr": [ "react-qr/src" ],
|
||||||
@@ -25,5 +25,5 @@
|
|||||||
"./node_modules/@polkadot/ts",
|
"./node_modules/@polkadot/ts",
|
||||||
"./node_modules/@types"
|
"./node_modules/@types"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"extends": "./tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "./packages"
|
||||||
|
},
|
||||||
|
"include": ["packages/**/src/**/*", "packages/**/*.js"],
|
||||||
|
"exclue": ["**/node_modules/**/*"]
|
||||||
|
}
|
||||||
+16
-7
@@ -1,10 +1,19 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.base.json",
|
|
||||||
"exclude": [
|
|
||||||
"build/**/*",
|
|
||||||
"**/build/**/*"
|
|
||||||
],
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "./packages"
|
"composite": true
|
||||||
}
|
},
|
||||||
|
"files": [],
|
||||||
|
"references": [
|
||||||
|
{ "path": "./packages/example-react" },
|
||||||
|
{ "path": "./packages/example-vue" },
|
||||||
|
{ "path": "./packages/exampleReactNative" },
|
||||||
|
{ "path": "./packages/react-identicon" },
|
||||||
|
{ "path": "./packages/react-qr" },
|
||||||
|
{ "path": "./packages/reactnative-identicon" },
|
||||||
|
{ "path": "./packages/ui-assets" },
|
||||||
|
{ "path": "./packages/ui-keyring" },
|
||||||
|
{ "path": "./packages/ui-settings" },
|
||||||
|
{ "path": "./packages/ui-shared" },
|
||||||
|
{ "path": "./packages/vue-identicon" }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user