diff --git a/.github/workflows/capsule-cypress-manual-trigger.yml b/.github/workflows/capsule-cypress-manual-trigger.yml
index 15e5d55e6..4fa247cea 100644
--- a/.github/workflows/capsule-cypress-manual-trigger.yml
+++ b/.github/workflows/capsule-cypress-manual-trigger.yml
@@ -13,7 +13,6 @@ on:
- console-lite-e2e
- explorer-e2e
- liquidity-provision-dashboard-e2e
- - stats-e2e
- token-e2e
- trading-e2e
tags:
diff --git a/.github/workflows/capsule-cypress-night-run.yml b/.github/workflows/capsule-cypress-night-run.yml
index 239ef9a70..d5e5f7389 100644
--- a/.github/workflows/capsule-cypress-night-run.yml
+++ b/.github/workflows/capsule-cypress-night-run.yml
@@ -12,6 +12,6 @@ jobs:
uses: ./.github/workflows/tests-dispatcher.yml
secrets: inherit
with:
- project: '[console-lite-e2e, explorer-e2e, liquidity-provision-dashboard-e2e, stats-e2e, token-e2e, trading-e2e]'
+ project: '[console-lite-e2e, explorer-e2e, liquidity-provision-dashboard-e2e, token-e2e, trading-e2e]'
tags: --env.grepTags '[ @smoke, @regression, @slow ]'
night-run: true
diff --git a/.github/workflows/cypress-stats-e2e.yml b/.github/workflows/cypress-stats-e2e.yml
deleted file mode 100644
index 3e6a20f45..000000000
--- a/.github/workflows/cypress-stats-e2e.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-name: Cypress - stats
-
-on:
- workflow_call:
- inputs:
- trigger:
- required: true
- type: string
- default: 'false'
-
-jobs:
- stats-e2e:
- runs-on: self-hosted
- if: ${{ inputs.trigger == 'true' }}
- timeout-minutes: 10
- steps:
- # Checkout front ends
- - name: Checkout frontend mono repo
- uses: actions/checkout@v3
- with:
- fetch-depth: 0
- path: './frontend-monorepo'
-
- # Restore node_modules from cache if possible
- - name: Restore node_modules from cache
- uses: actions/cache@v3
- with:
- path: |
- frontend-monorepo/node_modules
- /home/runner/.cache/Cypress
- key: node_modules_cypress-${{ hashFiles('frontend-monorepo/yarn.lock') }}
-
- # Install frontend dependencies
- - name: Install root dependencies
- run: yarn install --frozen-lockfile
- working-directory: frontend-monorepo
-
- # To make sure that all Cypress binaries are installed properly
- - name: Install cypress bins
- run: yarn cypress install
- working-directory: frontend-monorepo
-
- - name: Run Cypress tests
- run: npx nx run stats-e2e:e2e --record --key ${{ secrets.CYPRESS_RECORD_KEY }} --browser chrome
- working-directory: frontend-monorepo
- env:
- CYPRESS_SLACK_WEBHOOK: ${{ secrets.CYPRESS_SLACK_WEBHOOK }}
diff --git a/.github/workflows/tests-dispatcher.yml b/.github/workflows/tests-dispatcher.yml
index e902798a5..17e5cc23f 100644
--- a/.github/workflows/tests-dispatcher.yml
+++ b/.github/workflows/tests-dispatcher.yml
@@ -38,12 +38,6 @@ jobs:
with:
trigger: ${{ contains(inputs.project, 'liquidity-provision-dashboard-e2e') || contains(inputs.project, 'liquidity-provision-dashboard') }}
- run-stats-e2e:
- uses: ./.github/workflows/cypress-stats-e2e.yml
- secrets: inherit
- with:
- trigger: ${{ contains(inputs.project, 'stats-e2e') || contains(inputs.project, 'stats') }}
-
run-token-e2e:
uses: ./.github/workflows/cypress-token-e2e.yml
secrets: inherit
diff --git a/README.md b/README.md
index f2aef576e..3702ec48d 100644
--- a/README.md
+++ b/README.md
@@ -22,10 +22,6 @@ The utility dApp for interacting with the Vega token and using its' utility. Thi
The block explorer for the Vega network, showing details of raw chain states and the state of markets on the Vega network.
-### [Stats](./apps/stats)
-
-An application for the status of the Vega network. Showing block height and other network activity.
-
### [Static](./apps/static)
Hosting for static content being shared across apps, for example fonts.
diff --git a/apps/stats-e2e/.env b/apps/stats-e2e/.env
deleted file mode 100644
index b63130085..000000000
--- a/apps/stats-e2e/.env
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables
-NX_VEGA_ENV=STAGNET3
-CYPRESS_VEGA_ENV=STAGNET3
diff --git a/apps/stats-e2e/.env.devnet b/apps/stats-e2e/.env.devnet
deleted file mode 100644
index b3a24296b..000000000
--- a/apps/stats-e2e/.env.devnet
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables
-NX_VEGA_ENV=DEVNET
-CYPRESS_VEGA_ENV=DEVNET
diff --git a/apps/stats-e2e/.env.mainnet b/apps/stats-e2e/.env.mainnet
deleted file mode 100644
index 07e20a88b..000000000
--- a/apps/stats-e2e/.env.mainnet
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables
-NX_VEGA_ENV=MAINNET
-CYPRESS_VEGA_ENV=MAINNET
diff --git a/apps/stats-e2e/.env.stagnet3 b/apps/stats-e2e/.env.stagnet3
deleted file mode 100644
index b63130085..000000000
--- a/apps/stats-e2e/.env.stagnet3
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables
-NX_VEGA_ENV=STAGNET3
-CYPRESS_VEGA_ENV=STAGNET3
diff --git a/apps/stats-e2e/.env.testnet b/apps/stats-e2e/.env.testnet
deleted file mode 100644
index 9e19154ea..000000000
--- a/apps/stats-e2e/.env.testnet
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables
-NX_VEGA_ENV=TESTNET
-CYPRESS_VEGA_ENV=TESTNET
diff --git a/apps/stats-e2e/.eslintrc.json b/apps/stats-e2e/.eslintrc.json
deleted file mode 100644
index 696cb8b12..000000000
--- a/apps/stats-e2e/.eslintrc.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "extends": ["plugin:cypress/recommended", "../../.eslintrc.json"],
- "ignorePatterns": ["!**/*"],
- "overrides": [
- {
- "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
- "rules": {}
- }
- ]
-}
diff --git a/apps/stats-e2e/cypress.config.js b/apps/stats-e2e/cypress.config.js
deleted file mode 100644
index ca0f53e7f..000000000
--- a/apps/stats-e2e/cypress.config.js
+++ /dev/null
@@ -1,30 +0,0 @@
-const { defineConfig } = require('cypress');
-module.exports = defineConfig({
- projectId: 'et4snf',
-
- e2e: {
- setupNodeEvents(on, config) {
- require('@cypress/grep/src/plugin')(config);
- return config;
- },
- baseUrl: 'http://localhost:3010',
- fileServerFolder: '.',
- fixturesFolder: false,
- specPattern: './src/integration/*.ts',
- excludeSpecPattern: '**/*.js',
- modifyObstructiveCode: false,
- supportFile: './src/support/index.ts',
- video: false,
- videoUploadOnPasses: false,
- videosFolder: '../../dist/cypress/apps/explorer-e2e/videos',
- screenshotsFolder: '../../dist/cypress/apps/explorer-e2e/screenshots',
- chromeWebSecurity: false,
- viewportWidth: 1440,
- viewportHeight: 900,
- },
- env: {
- grepTags: '@regression @smoke @slow',
- grepFilterSpecs: true,
- grepOmitFiltered: true,
- },
-});
diff --git a/apps/stats-e2e/project.json b/apps/stats-e2e/project.json
deleted file mode 100644
index d3acf7d55..000000000
--- a/apps/stats-e2e/project.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "sourceRoot": "apps/stats-e2e/src",
- "projectType": "application",
- "targets": {
- "e2e": {
- "executor": "@nrwl/cypress:cypress",
- "options": {
- "cypressConfig": "apps/stats-e2e/cypress.config.js",
- "devServerTarget": "stats:serve"
- },
- "configurations": {
- "production": {
- "devServerTarget": "stats:serve:production"
- }
- }
- },
- "lint": {
- "executor": "@nrwl/linter:eslint",
- "outputs": ["{options.outputFile}"],
- "options": {
- "lintFilePatterns": ["apps/stats-e2e/**/*.{js,ts}"]
- }
- },
- "build": {
- "executor": "@nrwl/workspace:run-commands",
- "outputs": [],
- "options": {
- "command": "yarn tsc --project ./apps/stats-e2e/"
- }
- }
- },
- "tags": [],
- "implicitDependencies": ["stats"]
-}
diff --git a/apps/stats-e2e/src/fixtures/example.json b/apps/stats-e2e/src/fixtures/example.json
deleted file mode 100644
index 294cbed6c..000000000
--- a/apps/stats-e2e/src/fixtures/example.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "name": "Using fixtures to represent data",
- "email": "hello@cypress.io"
-}
diff --git a/apps/stats-e2e/src/integration/app.test.ts b/apps/stats-e2e/src/integration/app.test.ts
deleted file mode 100644
index ce4ac8274..000000000
--- a/apps/stats-e2e/src/integration/app.test.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-const textToCheck = Cypress.env('VEGA_ENV');
-// breaking changes fail
-describe('stats', () => {
- beforeEach(() => cy.visit('/'));
-
- it.skip('should display header based on environment name', () => {
- cy.get('h3', { timeout: 10000 }).should('have.text', `/ ${textToCheck}`);
- });
-});
diff --git a/apps/stats-e2e/src/support/index.ts b/apps/stats-e2e/src/support/index.ts
deleted file mode 100644
index 5899bd57f..000000000
--- a/apps/stats-e2e/src/support/index.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-// ***********************************************************
-// This example support/index.js is processed and
-// loaded automatically before your test files.
-//
-// This is a great place to put global configuration and
-// behavior that modifies Cypress.
-//
-// You can change the location of this file or turn off
-// automatically serving support files with the
-// 'supportFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/configuration
-// ***********************************************************
-
-import '@vegaprotocol/cypress';
diff --git a/apps/stats-e2e/tsconfig.json b/apps/stats-e2e/tsconfig.json
deleted file mode 100644
index 6b19c9191..000000000
--- a/apps/stats-e2e/tsconfig.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "extends": "../../tsconfig.base.json",
- "compilerOptions": {
- "strict": true,
- "jsx": "react-jsx",
- "sourceMap": false,
- "allowSyntheticDefaultImports": true,
- "outDir": "../../dist/out-tsc",
- "allowJs": true,
- "types": ["cypress", "node", "@cypress/grep"]
- },
- "include": ["src/**/*.ts", "src/**/*.js"]
-}
diff --git a/apps/stats/.babelrc b/apps/stats/.babelrc
deleted file mode 100644
index 61641ec8a..000000000
--- a/apps/stats/.babelrc
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "presets": [
- [
- "@nrwl/react/babel",
- {
- "runtime": "automatic"
- }
- ]
- ],
- "plugins": []
-}
diff --git a/apps/stats/.browserslistrc b/apps/stats/.browserslistrc
deleted file mode 100644
index f1d12df4f..000000000
--- a/apps/stats/.browserslistrc
+++ /dev/null
@@ -1,16 +0,0 @@
-# This file is used by:
-# 1. autoprefixer to adjust CSS to support the below specified browsers
-# 2. babel preset-env to adjust included polyfills
-#
-# For additional information regarding the format and rule options, please see:
-# https://github.com/browserslist/browserslist#queries
-#
-# If you need to support different browsers in production, you may tweak the list below.
-
-last 1 Chrome version
-last 1 Firefox version
-last 2 Edge major versions
-last 2 Safari major version
-last 2 iOS major versions
-Firefox ESR
-not IE 9-11 # For IE 9-11 support, remove 'not'.
\ No newline at end of file
diff --git a/apps/stats/.env b/apps/stats/.env
deleted file mode 100644
index 09839cb09..000000000
--- a/apps/stats/.env
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables
-NX_VEGA_ENV=MAINNET
-NX_VEGA_URL=https://api.vega.xyz/query
diff --git a/apps/stats/.env.devnet b/apps/stats/.env.devnet
deleted file mode 100644
index 4a7d135c8..000000000
--- a/apps/stats/.env.devnet
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables
-NX_VEGA_ENV=DEVNET
-NX_VEGA_URL=https://api.n04.d.vega.xyz/graphql
diff --git a/apps/stats/.env.mainnet b/apps/stats/.env.mainnet
deleted file mode 100644
index ad3e827e6..000000000
--- a/apps/stats/.env.mainnet
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables. No overrides for default urls
-NX_VEGA_ENV=MAINNET
-NX_VEGA_URL=https://api.vega.xyz/query
diff --git a/apps/stats/.env.stagnet3 b/apps/stats/.env.stagnet3
deleted file mode 100644
index e0f1b7159..000000000
--- a/apps/stats/.env.stagnet3
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables
-NX_VEGA_URL=https://api.stagnet3.vega.xyz/graphql
-NX_VEGA_ENV=STAGNET3
diff --git a/apps/stats/.env.testnet b/apps/stats/.env.testnet
deleted file mode 100644
index af17e43cf..000000000
--- a/apps/stats/.env.testnet
+++ /dev/null
@@ -1,3 +0,0 @@
-# App configuration variables
-NX_VEGA_ENV=TESTNET
-NX_VEGA_URL=https://api.n11.testnet.vega.xyz/graphql
diff --git a/apps/stats/.eslintrc.json b/apps/stats/.eslintrc.json
deleted file mode 100644
index 734ddacee..000000000
--- a/apps/stats/.eslintrc.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"],
- "ignorePatterns": ["!**/*"],
- "overrides": [
- {
- "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
- "rules": {}
- },
- {
- "files": ["*.ts", "*.tsx"],
- "rules": {}
- },
- {
- "files": ["*.js", "*.jsx"],
- "rules": {}
- }
- ]
-}
diff --git a/apps/stats/.fleek.json b/apps/stats/.fleek.json
deleted file mode 100644
index 13a05dab9..000000000
--- a/apps/stats/.fleek.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "site": {
- "id": "2365cbf8-20f8-4d3a-8014-19e813eab683",
- "team": "886f256a-fd19-40d5-9551-bcd71a7c8100",
- "platform": "ipfs",
- "source": "github",
- "name": "vega-status"
- },
- "build": {
- "baseDir": "",
- "publicDir": "dist/apps/stats/",
- "command": "yarn && yarn nx run build:stats static",
- "rootDir": ""
- }
-}
diff --git a/apps/stats/README.md b/apps/stats/README.md
deleted file mode 100644
index cdc999913..000000000
--- a/apps/stats/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# Stats viewer
-
-https://status.vega.xyz
-
-# LICENSE
-
-MIT
diff --git a/apps/stats/jest.config.ts b/apps/stats/jest.config.ts
deleted file mode 100644
index 63b4728e5..000000000
--- a/apps/stats/jest.config.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/* eslint-disable */
-export default {
- displayName: 'stats',
- preset: '../../jest.preset.js',
- transform: {
- '^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nrwl/react/plugins/jest',
- '^.+\\.[tj]sx?$': 'babel-jest',
- },
- moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
- coverageDirectory: '../../coverage/apps/stats',
- setupFilesAfterEnv: ['./src/setup-tests.ts'],
-};
diff --git a/apps/stats/postcss.config.js b/apps/stats/postcss.config.js
deleted file mode 100644
index cbdd9c22c..000000000
--- a/apps/stats/postcss.config.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const { join } = require('path');
-
-module.exports = {
- plugins: {
- tailwindcss: {
- config: join(__dirname, 'tailwind.config.js'),
- },
- autoprefixer: {},
- },
-};
diff --git a/apps/stats/project.json b/apps/stats/project.json
deleted file mode 100644
index a91297962..000000000
--- a/apps/stats/project.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "sourceRoot": "apps/stats/src",
- "projectType": "application",
- "targets": {
- "build": {
- "executor": "./tools/executors/webpack:build",
- "outputs": ["{options.outputPath}"],
- "defaultConfiguration": "production",
- "options": {
- "compiler": "babel",
- "outputPath": "dist/apps/stats",
- "index": "apps/stats/src/index.html",
- "main": "apps/stats/src/main.tsx",
- "polyfills": "apps/stats/src/polyfills.ts",
- "tsConfig": "apps/stats/tsconfig.app.json",
- "assets": ["apps/stats/src/assets"],
- "styles": ["apps/stats/src/styles/styles.css"],
- "scripts": [],
- "webpackConfig": "@nrwl/react/plugins/webpack"
- },
- "configurations": {
- "production": {
- "fileReplacements": [
- {
- "replace": "apps/stats/src/environments/environment.ts",
- "with": "apps/stats/src/environments/environment.prod.ts"
- }
- ],
- "optimization": true,
- "outputHashing": "all",
- "sourceMap": false,
- "namedChunks": false,
- "extractLicenses": true,
- "vendorChunk": false
- }
- }
- },
- "serve": {
- "executor": "./tools/executors/webpack:serve",
- "options": {
- "port": 3010,
- "buildTarget": "stats:build:development",
- "hmr": true
- },
- "configurations": {
- "production": {
- "buildTarget": "stats:build:production",
- "hmr": false
- }
- }
- },
- "lint": {
- "executor": "@nrwl/linter:eslint",
- "outputs": ["{options.outputFile}"],
- "options": {
- "lintFilePatterns": ["apps/stats/**/*.{ts,tsx,js,jsx}"]
- }
- },
- "test": {
- "executor": "@nrwl/jest:jest",
- "outputs": ["coverage/apps/stats"],
- "options": {
- "jestConfig": "apps/stats/jest.config.ts",
- "passWithNoTests": true
- }
- },
- "build-spec": {
- "executor": "@nrwl/workspace:run-commands",
- "outputs": [],
- "options": {
- "command": "yarn tsc --project ./apps/stats/tsconfig.spec.json"
- }
- }
- },
- "tags": []
-}
diff --git a/apps/stats/src/app.tsx b/apps/stats/src/app.tsx
deleted file mode 100644
index 8149dbf06..000000000
--- a/apps/stats/src/app.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import { EnvironmentProvider, NetworkLoader } from '@vegaprotocol/environment';
-import { Header } from './components/header';
-import { StatsManager } from '@vegaprotocol/network-stats';
-
-function App() {
- return (
-