fix(trading,governance,explorer): peer deps for published packages (#4721)
This commit is contained in:
parent
78aff54360
commit
707c00def2
@ -22,7 +22,6 @@ export const EpochTotalRewards = ({ currentEpoch }: EpochTotalRewardsProps) => {
|
|||||||
const { param: marketCreationQuantumMultiple } = useNetworkParam(
|
const { param: marketCreationQuantumMultiple } = useNetworkParam(
|
||||||
'rewards_marketCreationQuantumMultiple'
|
'rewards_marketCreationQuantumMultiple'
|
||||||
);
|
);
|
||||||
console.log(marketCreationQuantumMultiple);
|
|
||||||
const [page, setPage] = useState(1);
|
const [page, setPage] = useState(1);
|
||||||
const { data, loading, error, refetch } = useEpochAssetsRewardsQuery({
|
const { data, loading, error, refetch } = useEpochAssetsRewardsQuery({
|
||||||
notifyOnNetworkStatusChange: true,
|
notifyOnNetworkStatusChange: true,
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/announcements",
|
"name": "@vegaprotocol/announcements",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3"
|
||||||
"peerDependencies": {
|
|
||||||
"react": "18.2.0",
|
|
||||||
"react-dom": "18.2.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,13 @@
|
|||||||
"tsConfig": "libs/announcements/tsconfig.lib.json",
|
"tsConfig": "libs/announcements/tsconfig.lib.json",
|
||||||
"project": "libs/announcements/package.json",
|
"project": "libs/announcements/package.json",
|
||||||
"entryFile": "libs/announcements/src/index.ts",
|
"entryFile": "libs/announcements/src/index.ts",
|
||||||
"external": ["react/jsx-runtime"],
|
"external": [
|
||||||
|
"react",
|
||||||
|
"react-dom",
|
||||||
|
"react/jsx-runtime",
|
||||||
|
"@vegaprotocol/react-helpers",
|
||||||
|
"@vegaprotocol/ui-toolkit"
|
||||||
|
],
|
||||||
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
||||||
"compiler": "babel",
|
"compiler": "babel",
|
||||||
"assets": [
|
"assets": [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/i18n",
|
"name": "@vegaprotocol/i18n",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"type": "commonjs"
|
"type": "commonjs"
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"executor": "@nx/js:tsc",
|
"executor": "@nx/js:tsc",
|
||||||
"outputs": ["{options.outputPath}"],
|
"outputs": ["{options.outputPath}"],
|
||||||
|
"format": ["esm", "cjs"],
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist/libs/i18n",
|
"outputPath": "dist/libs/i18n",
|
||||||
"main": "libs/i18n/src/index.ts",
|
"main": "libs/i18n/src/index.ts",
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/react-helpers",
|
"name": "@vegaprotocol/react-helpers",
|
||||||
"version": "0.2.5",
|
"version": "0.2.6"
|
||||||
"peerDependencies": {
|
|
||||||
"react": "18.2.0",
|
|
||||||
"react-dom": "18.2.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -9,12 +9,17 @@
|
|||||||
"executor": "@nx/rollup:rollup",
|
"executor": "@nx/rollup:rollup",
|
||||||
"outputs": ["{options.outputPath}"],
|
"outputs": ["{options.outputPath}"],
|
||||||
"options": {
|
"options": {
|
||||||
"buildableProjectDepsInPackageJsonType": "dependencies",
|
|
||||||
"outputPath": "dist/libs/react-helpers",
|
"outputPath": "dist/libs/react-helpers",
|
||||||
"tsConfig": "libs/react-helpers/tsconfig.lib.json",
|
"tsConfig": "libs/react-helpers/tsconfig.lib.json",
|
||||||
"project": "libs/react-helpers/package.json",
|
"project": "libs/react-helpers/package.json",
|
||||||
"entryFile": "libs/react-helpers/src/index.ts",
|
"entryFile": "libs/react-helpers/src/index.ts",
|
||||||
"external": ["react/jsx-runtime"],
|
"external": [
|
||||||
|
"react",
|
||||||
|
"react-dom",
|
||||||
|
"react/jsx-runtime",
|
||||||
|
"@vegaprotocol/tailwindcss-config",
|
||||||
|
"@vegaprotocol/utils"
|
||||||
|
],
|
||||||
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
||||||
"compiler": "babel",
|
"compiler": "babel",
|
||||||
"format": ["esm", "cjs"],
|
"format": ["esm", "cjs"],
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/tailwindcss-config",
|
"name": "@vegaprotocol/tailwindcss-config",
|
||||||
"version": "0.0.4"
|
"version": "0.0.5"
|
||||||
}
|
}
|
||||||
|
@ -12,8 +12,7 @@
|
|||||||
"outputPath": "dist/libs/tailwindcss-config",
|
"outputPath": "dist/libs/tailwindcss-config",
|
||||||
"main": "libs/tailwindcss-config/src/index.js",
|
"main": "libs/tailwindcss-config/src/index.js",
|
||||||
"tsConfig": "libs/tailwindcss-config/tsconfig.lib.json",
|
"tsConfig": "libs/tailwindcss-config/tsconfig.lib.json",
|
||||||
"assets": ["libs/tailwindcss-config/*.md"],
|
"assets": ["libs/tailwindcss-config/*.md"]
|
||||||
"buildableProjectDepsInPackageJsonType": "dependencies"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/types",
|
"name": "@vegaprotocol/types",
|
||||||
"version": "0.0.5"
|
"version": "0.0.6"
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
"tsConfig": "libs/types/tsconfig.lib.json",
|
"tsConfig": "libs/types/tsconfig.lib.json",
|
||||||
"project": "libs/types/package.json",
|
"project": "libs/types/package.json",
|
||||||
"entryFile": "libs/types/src/index.ts",
|
"entryFile": "libs/types/src/index.ts",
|
||||||
"external": ["react/jsx-runtime"],
|
|
||||||
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
||||||
"compiler": "babel",
|
"compiler": "babel",
|
||||||
"format": ["esm", "cjs"],
|
"format": ["esm", "cjs"],
|
||||||
@ -23,8 +22,7 @@
|
|||||||
"input": ".",
|
"input": ".",
|
||||||
"output": "."
|
"output": "."
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"buildableProjectDepsInPackageJsonType": "dependencies"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/ui-toolkit",
|
"name": "@vegaprotocol/ui-toolkit",
|
||||||
"version": "0.12.8",
|
"version": "0.12.9"
|
||||||
"peerDependencies": {
|
|
||||||
"react": "18.2.0",
|
|
||||||
"react-dom": "18.2.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -9,12 +9,19 @@
|
|||||||
"executor": "@nx/rollup:rollup",
|
"executor": "@nx/rollup:rollup",
|
||||||
"outputs": ["{options.outputPath}"],
|
"outputs": ["{options.outputPath}"],
|
||||||
"options": {
|
"options": {
|
||||||
"buildableProjectDepsInPackageJsonType": "dependencies",
|
|
||||||
"outputPath": "dist/libs/ui-toolkit",
|
"outputPath": "dist/libs/ui-toolkit",
|
||||||
"tsConfig": "libs/ui-toolkit/tsconfig.lib.json",
|
"tsConfig": "libs/ui-toolkit/tsconfig.lib.json",
|
||||||
"project": "libs/ui-toolkit/package.json",
|
"project": "libs/ui-toolkit/package.json",
|
||||||
"entryFile": "libs/ui-toolkit/src/index.ts",
|
"entryFile": "libs/ui-toolkit/src/index.ts",
|
||||||
"external": ["react/jsx-runtime"],
|
"external": [
|
||||||
|
"react",
|
||||||
|
"react-dom",
|
||||||
|
"react/jsx-runtime",
|
||||||
|
"@vegaprotocol/i18n",
|
||||||
|
"@vegaprotocol/react-helpers",
|
||||||
|
"@vegaprotocol/tailwindcss-config",
|
||||||
|
"@vegaprotocol/utils"
|
||||||
|
],
|
||||||
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
||||||
"compiler": "babel",
|
"compiler": "babel",
|
||||||
"format": ["esm", "cjs"],
|
"format": ["esm", "cjs"],
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/utils",
|
"name": "@vegaprotocol/utils",
|
||||||
"version": "0.0.8",
|
"version": "0.0.9",
|
||||||
"type": "commonjs"
|
"type": "commonjs"
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
"outputPath": "dist/libs/utils",
|
"outputPath": "dist/libs/utils",
|
||||||
"main": "libs/utils/src/index.ts",
|
"main": "libs/utils/src/index.ts",
|
||||||
"tsConfig": "libs/utils/tsconfig.lib.json",
|
"tsConfig": "libs/utils/tsconfig.lib.json",
|
||||||
"assets": ["libs/utils/*.md"]
|
"assets": ["libs/utils/*.md"],
|
||||||
|
"external": ["@vegaprotocol/i18n", "@vegaprotocol/types"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publish": {
|
"publish": {
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/wallet",
|
"name": "@vegaprotocol/wallet",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2"
|
||||||
"peerDependencies": {
|
|
||||||
"react": "18.2.0",
|
|
||||||
"react-dom": "18.2.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,17 @@
|
|||||||
"tsConfig": "libs/wallet/tsconfig.lib.json",
|
"tsConfig": "libs/wallet/tsconfig.lib.json",
|
||||||
"project": "libs/wallet/package.json",
|
"project": "libs/wallet/package.json",
|
||||||
"entryFile": "libs/wallet/src/index.ts",
|
"entryFile": "libs/wallet/src/index.ts",
|
||||||
"external": ["react", "react-dom", "react/jsx-runtime"],
|
"external": [
|
||||||
|
"react",
|
||||||
|
"react-dom",
|
||||||
|
"react/jsx-runtime",
|
||||||
|
"@vegaprotocol/i18n",
|
||||||
|
"@vegaprotocol/react-helpers",
|
||||||
|
"@vegaprotocol/types",
|
||||||
|
"@vegaprotocol/ui-toolkit",
|
||||||
|
"@vegaprotocol/utils",
|
||||||
|
"@vegaprotocol/wallet-client"
|
||||||
|
],
|
||||||
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
||||||
"compiler": "babel",
|
"compiler": "babel",
|
||||||
"format": ["esm", "cjs"],
|
"format": ["esm", "cjs"],
|
||||||
|
Loading…
Reference in New Issue
Block a user