feat: [console-lite] - change app name (#1114)
* feat: [console-lite] - change app name * feat: [console-lite] - change app name Co-authored-by: maciek <maciek@vegaprotocol.io>
This commit is contained in:
parent
89dc20dd95
commit
4ae410eaab
@ -11,7 +11,7 @@ on:
|
|||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- explorer-e2e
|
- explorer-e2e
|
||||||
- simple-trading-app-e2e
|
- console-lite-e2e
|
||||||
- stats-e2e
|
- stats-e2e
|
||||||
- token-e2e
|
- token-e2e
|
||||||
- trading-e2e
|
- trading-e2e
|
||||||
|
@ -12,9 +12,8 @@ module.exports = defineConfig({
|
|||||||
supportFile: './src/support/index.ts',
|
supportFile: './src/support/index.ts',
|
||||||
video: true,
|
video: true,
|
||||||
videoUploadOnPasses: false,
|
videoUploadOnPasses: false,
|
||||||
videosFolder: '../../dist/cypress/apps/simple-trading-app-e2e/videos',
|
videosFolder: '../../dist/cypress/apps/console-lite-e2e/videos',
|
||||||
screenshotsFolder:
|
screenshotsFolder: '../../dist/cypress/apps/console-lite-e2e/screenshots',
|
||||||
'../../dist/cypress/apps/simple-trading-app-e2e/screenshots',
|
|
||||||
chromeWebSecurity: false,
|
chromeWebSecurity: false,
|
||||||
viewportWidth: 1440,
|
viewportWidth: 1440,
|
||||||
viewportHeight: 900,
|
viewportHeight: 900,
|
28
apps/console-lite-e2e/project.json
Normal file
28
apps/console-lite-e2e/project.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"root": "apps/console-lite-e2e",
|
||||||
|
"sourceRoot": "apps/console-lite-e2e/src",
|
||||||
|
"projectType": "application",
|
||||||
|
"targets": {
|
||||||
|
"e2e": {
|
||||||
|
"executor": "@nrwl/cypress:cypress",
|
||||||
|
"options": {
|
||||||
|
"cypressConfig": "apps/console-lite-e2e/cypress.config.js",
|
||||||
|
"devServerTarget": "console-lite:serve"
|
||||||
|
},
|
||||||
|
"configurations": {
|
||||||
|
"production": {
|
||||||
|
"devServerTarget": "console-lite:serve:production"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lint": {
|
||||||
|
"executor": "@nrwl/linter:eslint",
|
||||||
|
"outputs": ["{options.outputFile}"],
|
||||||
|
"options": {
|
||||||
|
"lintFilePatterns": ["apps/console-lite-e2e/**/*.{js,ts}"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tags": [],
|
||||||
|
"implicitDependencies": ["console-lite"]
|
||||||
|
}
|
@ -1,11 +1,11 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
displayName: 'simple-trading-app',
|
displayName: 'console-lite',
|
||||||
preset: '../../jest.preset.js',
|
preset: '../../jest.preset.js',
|
||||||
transform: {
|
transform: {
|
||||||
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nrwl/react/plugins/jest',
|
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nrwl/react/plugins/jest',
|
||||||
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage/apps/simple-trading-app',
|
coverageDirectory: '../../coverage/apps/console-lite',
|
||||||
setupFilesAfterEnv: ['./setup-tests.ts'],
|
setupFilesAfterEnv: ['./setup-tests.ts'],
|
||||||
};
|
};
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"root": "apps/simple-trading-app",
|
"root": "apps/console-lite",
|
||||||
"sourceRoot": "apps/simple-trading-app/src",
|
"sourceRoot": "apps/console-lite/src",
|
||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"targets": {
|
"targets": {
|
||||||
"build": {
|
"build": {
|
||||||
@ -9,17 +9,17 @@
|
|||||||
"defaultConfiguration": "production",
|
"defaultConfiguration": "production",
|
||||||
"options": {
|
"options": {
|
||||||
"compiler": "babel",
|
"compiler": "babel",
|
||||||
"outputPath": "dist/apps/simple-trading-app",
|
"outputPath": "dist/apps/console-lite",
|
||||||
"index": "apps/simple-trading-app/src/index.html",
|
"index": "apps/console-lite/src/index.html",
|
||||||
"baseHref": "/",
|
"baseHref": "/",
|
||||||
"main": "apps/simple-trading-app/src/main.tsx",
|
"main": "apps/console-lite/src/main.tsx",
|
||||||
"polyfills": "apps/simple-trading-app/src/polyfills.ts",
|
"polyfills": "apps/console-lite/src/polyfills.ts",
|
||||||
"tsConfig": "apps/simple-trading-app/tsconfig.app.json",
|
"tsConfig": "apps/console-lite/tsconfig.app.json",
|
||||||
"assets": [
|
"assets": [
|
||||||
"apps/simple-trading-app/src/favicon.ico",
|
"apps/console-lite/src/favicon.ico",
|
||||||
"apps/simple-trading-app/src/assets"
|
"apps/console-lite/src/assets"
|
||||||
],
|
],
|
||||||
"styles": ["apps/simple-trading-app/src/styles.scss"],
|
"styles": ["apps/console-lite/src/styles.scss"],
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"webpackConfig": "@nrwl/react/plugins/webpack"
|
"webpackConfig": "@nrwl/react/plugins/webpack"
|
||||||
},
|
},
|
||||||
@ -27,8 +27,8 @@
|
|||||||
"production": {
|
"production": {
|
||||||
"fileReplacements": [
|
"fileReplacements": [
|
||||||
{
|
{
|
||||||
"replace": "apps/simple-trading-app/src/environments/environment.ts",
|
"replace": "apps/console-lite/src/environments/environment.ts",
|
||||||
"with": "apps/simple-trading-app/src/environments/environment.prod.ts"
|
"with": "apps/console-lite/src/environments/environment.prod.ts"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"optimization": true,
|
"optimization": true,
|
||||||
@ -43,13 +43,13 @@
|
|||||||
"serve": {
|
"serve": {
|
||||||
"executor": "./tools/executors/webpack:serve",
|
"executor": "./tools/executors/webpack:serve",
|
||||||
"options": {
|
"options": {
|
||||||
"buildTarget": "simple-trading-app:build",
|
"buildTarget": "console-lite:build",
|
||||||
"hmr": true,
|
"hmr": true,
|
||||||
"port": 4001
|
"port": 4001
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"buildTarget": "simple-trading-app:build:production",
|
"buildTarget": "console-lite:build:production",
|
||||||
"hmr": false
|
"hmr": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -58,14 +58,14 @@
|
|||||||
"executor": "@nrwl/linter:eslint",
|
"executor": "@nrwl/linter:eslint",
|
||||||
"outputs": ["{options.outputFile}"],
|
"outputs": ["{options.outputFile}"],
|
||||||
"options": {
|
"options": {
|
||||||
"lintFilePatterns": ["apps/simple-trading-app/**/*.{ts,tsx,js,jsx}"]
|
"lintFilePatterns": ["apps/console-lite/**/*.{ts,tsx,js,jsx}"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/apps/simple-trading-app"],
|
"outputs": ["coverage/apps/console-lite"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "apps/simple-trading-app/jest.config.js",
|
"jestConfig": "apps/console-lite/jest.config.js",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -73,8 +73,8 @@
|
|||||||
"builder": "@nrwl/workspace:run-commands",
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
"cp apps/simple-trading-app/netlify.toml netlify.toml",
|
"cp apps/console-lite/netlify.toml netlify.toml",
|
||||||
"nx build simple-trading-app"
|
"nx build console-lite"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user