Compare commits

...
Author SHA1 Message Date
madalinaraicu 068d263e01 fix make tailwind module 2022-08-04 14:33:45 +01:00
madalinaraicu 69b331ba3d chore: [nx migration] update-external-emotion-jsx-runtime-14.1.0 2022-08-04 13:23:48 +01:00
madalinaraicu 2977d5a3a2 chore: [nx migration] replace-testing-library-react-hook-14.0.0 2022-08-04 13:23:48 +01:00
madalinaraicu 1ce19399e2 chore: [nx migration] update-to-export-default 2022-08-04 13:23:47 +01:00
madalinaraicu 834e42cfb7 chore: [nx migration] update-jest-config-extensions 2022-08-04 13:23:47 +01:00
madalinaraicu 538078b0ef chore: [nx migration] 14.3.4-create-target-defaults 2022-08-04 13:23:45 +01:00
madalinaraicu 51e1e6c9de chore: [nx migration] 14-2-0-remove-default-collection 2022-08-04 13:23:45 +01:00
madalinaraicu 92c605528c chore: [nx migration] 14-2-0-add-json-schema 2022-08-04 13:23:45 +01:00
madalinaraicu f7d0b5a8bb chore: [nx migration] 14-0-6-remove-root 2022-08-04 13:23:44 +01:00
madalinaraicu a9140a442c Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-08-04 13:19:56 +01:00
madalinaraicu af4a4dcd09 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-08-02 20:35:43 +01:00
madalinaraicu 1bec73bc85 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-26 23:39:27 +01:00
madalinaraicu 3e7746b87b Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-26 14:44:35 +01:00
madalinaraicu d5a00c1059 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-26 09:35:23 +01:00
madalinaraicu 490c60bebe Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-23 10:01:25 +02:00
madalinaraicu d07cf39169 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-21 13:06:52 +03:00
madalinaraicu 955755d6bd Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-19 14:33:13 +02:00
madalinaraicu e9c1668da1 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-17 15:10:54 +02:00
madalinaraicu e5efa417a0 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-14 12:19:13 +03:00
madalinaraicu 5f3d57e948 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-09 15:13:00 +03:00
madalinaraicu c178ba831a Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-08 16:39:51 +03:00
madalinaraicu 11d345af2f Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-07-06 15:01:20 +03:00
madalinaraicu b62d06d8d4 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-30 15:24:05 +01:00
madalinaraicu 2f48a0a0a9 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-29 13:58:56 +01:00
madalinaraicu e6eda21a33 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-27 15:38:20 +01:00
madalinaraicu 865666f9e8 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-22 15:22:51 +02:00
madalinaraicu ac653194d4 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-21 15:29:05 +02:00
madalinaraicu 4df9633c98 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-21 13:49:26 +02:00
madalinaraicu f51681cb86 Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-13 12:32:44 +01:00
madalinaraicu aca871c8da Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-07 12:10:34 +01:00
madalinaraicu d6f5ece80f Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-06 19:43:45 +01:00
madalinaraicu c6284a91ef Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo 2022-06-02 10:19:29 +01:00
136 changed files with 3561 additions and 2913 deletions
+23
View File
@@ -0,0 +1,23 @@
{
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#65c89b",
"activityBar.activeBorder": "#945bc4",
"activityBar.background": "#65c89b",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#945bc4",
"activityBarBadge.foreground": "#e7e7e7",
"sash.hoverBorder": "#65c89b",
"statusBar.background": "#42b883",
"statusBar.foreground": "#15202b",
"statusBarItem.hoverBackground": "#359268",
"statusBarItem.remoteBackground": "#42b883",
"statusBarItem.remoteForeground": "#15202b",
"titleBar.activeBackground": "#42b883",
"titleBar.activeForeground": "#15202b",
"titleBar.inactiveBackground": "#42b88399",
"titleBar.inactiveForeground": "#15202b99"
},
"peacock.color": "#42b883",
"editor.formatOnSave": true
}
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/explorer-e2e", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/explorer-e2e/src", "sourceRoot": "apps/explorer-e2e/src",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'explorer', displayName: 'explorer',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+3 -3
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/explorer", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/explorer/src", "sourceRoot": "apps/explorer/src",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -62,12 +62,12 @@
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/explorer"], "outputs": ["coverage/apps/explorer"],
"options": { "options": {
"jestConfig": "apps/explorer/jest.config.js", "jestConfig": "apps/explorer/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
}, },
"build-netlify": { "build-netlify": {
"builder": "@nrwl/workspace:run-commands", "executor": "@nrwl/workspace:run-commands",
"options": { "options": {
"commands": [ "commands": [
"cp apps/explorer/netlify.toml netlify.toml", "cp apps/explorer/netlify.toml netlify.toml",
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,7 +14,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
], ],
"files": [ "files": [
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts", "../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/simple-trading-app-e2e", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/simple-trading-app-e2e/src", "sourceRoot": "apps/simple-trading-app-e2e/src",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'simple-trading-app', displayName: 'simple-trading-app',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+3 -3
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/simple-trading-app", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/simple-trading-app/src", "sourceRoot": "apps/simple-trading-app/src",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -65,12 +65,12 @@
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/simple-trading-app"], "outputs": ["coverage/apps/simple-trading-app"],
"options": { "options": {
"jestConfig": "apps/simple-trading-app/jest.config.js", "jestConfig": "apps/simple-trading-app/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
}, },
"build-netlify": { "build-netlify": {
"builder": "@nrwl/workspace:run-commands", "executor": "@nrwl/workspace:run-commands",
"options": { "options": {
"commands": [ "commands": [
"cp apps/simple-trading-app/netlify.toml netlify.toml", "cp apps/simple-trading-app/netlify.toml netlify.toml",
@@ -1,4 +1,4 @@
import { renderHook } from '@testing-library/react-hooks'; import { renderHook } from '@testing-library/react';
import useMarketPositions from './use-market-positions'; import useMarketPositions from './use-market-positions';
let mockNotEmptyData = { let mockNotEmptyData = {
@@ -1,4 +1,4 @@
import { renderHook } from '@testing-library/react-hooks'; import { renderHook } from '@testing-library/react';
import { useQuery } from '@apollo/client'; import { useQuery } from '@apollo/client';
import { BigNumber } from 'bignumber.js'; import { BigNumber } from 'bignumber.js';
import type { Order } from '@vegaprotocol/orders'; import type { Order } from '@vegaprotocol/orders';
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -17,6 +17,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
+2 -3
View File
@@ -1,6 +1,6 @@
{ {
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application", "projectType": "application",
"root": "apps/static",
"sourceRoot": "apps/static/src", "sourceRoot": "apps/static/src",
"tags": [], "tags": [],
"targets": { "targets": {
@@ -46,9 +46,8 @@
} }
} }
}, },
"build-netlify": { "build-netlify": {
"builder": "@nrwl/workspace:run-commands", "executor": "@nrwl/workspace:run-commands",
"options": { "options": {
"commands": [ "commands": [
"cp apps/static/netlify.toml netlify.toml", "cp apps/static/netlify.toml netlify.toml",
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/stats-e2e", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/stats-e2e/src", "sourceRoot": "apps/stats-e2e/src",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'stats', displayName: 'stats',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/stats", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/stats/src", "sourceRoot": "apps/stats/src",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -61,7 +61,7 @@
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/stats"], "outputs": ["coverage/apps/stats"],
"options": { "options": {
"jestConfig": "apps/stats/jest.config.js", "jestConfig": "apps/stats/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,7 +14,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
], ],
"files": [ "files": [
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts", "../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/token-e2e", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/token-e2e/src", "sourceRoot": "apps/token-e2e/src",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'token', displayName: 'token',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+3 -3
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/token", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/token/src", "sourceRoot": "apps/token/src",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -62,12 +62,12 @@
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/token"], "outputs": ["coverage/apps/token"],
"options": { "options": {
"jestConfig": "apps/token/jest.config.js", "jestConfig": "apps/token/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
}, },
"build-netlify": { "build-netlify": {
"builder": "@nrwl/workspace:run-commands", "executor": "@nrwl/workspace:run-commands",
"options": { "options": {
"commands": [ "commands": [
"cp apps/token/netlify.toml netlify.toml", "cp apps/token/netlify.toml netlify.toml",
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,7 +14,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
], ],
"files": [ "files": [
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts", "../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/trading-e2e", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/trading-e2e/src", "sourceRoot": "apps/trading-e2e/src",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'trading', displayName: 'trading',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"root": "apps/trading", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/trading", "sourceRoot": "apps/trading",
"projectType": "application", "projectType": "application",
"targets": { "targets": {
@@ -41,7 +41,7 @@
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/trading"], "outputs": ["coverage/apps/trading"],
"options": { "options": {
"jestConfig": "apps/trading/jest.config.js", "jestConfig": "apps/trading/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
}, },
+1 -1
View File
@@ -13,5 +13,5 @@
"incremental": true "incremental": true
}, },
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "next-env.d.ts"], "include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "next-env.d.ts"],
"exclude": ["node_modules"] "exclude": ["node_modules", "jest.config.ts"]
} }
+1 -1
View File
@@ -1,5 +1,5 @@
const { getJestProjects } = require('@nrwl/jest'); const { getJestProjects } = require('@nrwl/jest');
module.exports = { export default {
projects: getJestProjects(), projects: getJestProjects(),
}; };
+1 -1
View File
@@ -1,3 +1,3 @@
const nxPreset = require('@nrwl/jest/preset'); const nxPreset = require('@nrwl/jest/preset').default;
module.exports = { ...nxPreset }; module.exports = { ...nxPreset };
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'positions', displayName: 'positions',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
globals: { globals: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/accounts", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/accounts/src", "sourceRoot": "libs/accounts/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/accounts", "outputPath": "dist/libs/accounts",
"tsConfig": "libs/accounts/tsconfig.lib.json", "tsConfig": "libs/accounts/tsconfig.lib.json",
"project": "libs/accounts/package.json", "project": "libs/accounts/package.json",
"entryFile": "libs/accounts/src/index.ts", "entryFile": "libs/accounts/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/accounts/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/accounts/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/accounts"], "outputs": [
"coverage/libs/accounts"
],
"options": { "options": {
"jestConfig": "libs/accounts/jest.config.js", "jestConfig": "libs/accounts/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -15,6 +15,7 @@
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts", "**/*.d.ts",
"../react-helpers/src/lib/grid-cells/summary-row.spec.ts" "../react-helpers/src/lib/grid-cells/summary-row.spec.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'candles-chart', displayName: 'candles-chart',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/candles-chart", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/candles-chart/src", "sourceRoot": "libs/candles-chart/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/candles-chart", "outputPath": "dist/libs/candles-chart",
"tsConfig": "libs/candles-chart/tsconfig.lib.json", "tsConfig": "libs/candles-chart/tsconfig.lib.json",
"project": "libs/candles-chart/package.json", "project": "libs/candles-chart/package.json",
"entryFile": "libs/candles-chart/src/index.ts", "entryFile": "libs/candles-chart/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/candles-chart/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/candles-chart/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/candles-chart"], "outputs": [
"coverage/libs/candles-chart"
],
"options": { "options": {
"jestConfig": "libs/candles-chart/jest.config.js", "jestConfig": "libs/candles-chart/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'cypress', displayName: 'cypress',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
globals: { globals: {
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"root": "libs/cypress", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/cypress/src", "sourceRoot": "libs/cypress/src",
"projectType": "library", "projectType": "library",
"targets": { "targets": {
@@ -14,7 +14,7 @@
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/cypress"], "outputs": ["coverage/libs/cypress"],
"options": { "options": {
"jestConfig": "libs/cypress/jest.config.js", "jestConfig": "libs/cypress/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+1 -1
View File
@@ -6,5 +6,5 @@
"types": ["cypress", "node"] "types": ["cypress", "node"]
}, },
"include": ["**/*.ts"], "include": ["**/*.ts"],
"exclude": ["**/*.spec.ts"] "exclude": ["**/*.spec.ts", "jest.config.ts"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'deal-ticket', displayName: 'deal-ticket',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/deal-ticket", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/deal-ticket/src", "sourceRoot": "libs/deal-ticket/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/deal-ticket", "outputPath": "dist/libs/deal-ticket",
"tsConfig": "libs/deal-ticket/tsconfig.lib.json", "tsConfig": "libs/deal-ticket/tsconfig.lib.json",
"project": "libs/deal-ticket/package.json", "project": "libs/deal-ticket/package.json",
"entryFile": "libs/deal-ticket/src/index.ts", "entryFile": "libs/deal-ticket/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/deal-ticket/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/deal-ticket/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/deal-ticket"], "outputs": [
"coverage/libs/deal-ticket"
],
"options": { "options": {
"jestConfig": "libs/deal-ticket/jest.config.js", "jestConfig": "libs/deal-ticket/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'deposits', displayName: 'deposits',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/deposits", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/deposits/src", "sourceRoot": "libs/deposits/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/deposits", "outputPath": "dist/libs/deposits",
"tsConfig": "libs/deposits/tsconfig.lib.json", "tsConfig": "libs/deposits/tsconfig.lib.json",
"project": "libs/deposits/package.json", "project": "libs/deposits/package.json",
"entryFile": "libs/deposits/src/index.ts", "entryFile": "libs/deposits/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/deposits/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/deposits/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/deposits"], "outputs": [
"coverage/libs/deposits"
],
"options": { "options": {
"jestConfig": "libs/deposits/jest.config.js", "jestConfig": "libs/deposits/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'environment', displayName: 'environment',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/environment", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/environment/src", "sourceRoot": "libs/environment/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/environment", "outputPath": "dist/libs/environment",
"tsConfig": "libs/environment/tsconfig.lib.json", "tsConfig": "libs/environment/tsconfig.lib.json",
"project": "libs/environment/package.json", "project": "libs/environment/package.json",
"entryFile": "libs/environment/src/index.ts", "entryFile": "libs/environment/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/environment/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/environment/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/environment"], "outputs": [
"coverage/libs/environment"
],
"options": { "options": {
"jestConfig": "libs/environment/jest.config.js", "jestConfig": "libs/environment/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -15,6 +15,7 @@
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts", "**/*.d.ts",
"**/__mocks__/*.tsx" "**/__mocks__/*.tsx",
"jest.config.ts"
] ]
} }
+2 -1
View File
@@ -13,7 +13,8 @@
"../**/*.spec.ts", "../**/*.spec.ts",
"../**/*.spec.js", "../**/*.spec.js",
"../**/*.spec.tsx", "../**/*.spec.tsx",
"../**/*.spec.jsx" "../**/*.spec.jsx",
"jest.config.ts"
], ],
"include": ["../src/**/*", "*.js"] "include": ["../src/**/*", "*.js"]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'fills', displayName: 'fills',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
globals: { globals: {
+20 -8
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/fills", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/fills/src", "sourceRoot": "libs/fills/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/fills", "outputPath": "dist/libs/fills",
"tsConfig": "libs/fills/tsconfig.lib.json", "tsConfig": "libs/fills/tsconfig.lib.json",
"project": "libs/fills/package.json", "project": "libs/fills/package.json",
"entryFile": "libs/fills/src/index.ts", "entryFile": "libs/fills/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/fills/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/fills/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/fills"], "outputs": [
"coverage/libs/fills"
],
"options": { "options": {
"jestConfig": "libs/fills/jest.config.js", "jestConfig": "libs/fills/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
}, },
@@ -56,7 +66,9 @@
}, },
"build-storybook": { "build-storybook": {
"executor": "@nrwl/storybook:build", "executor": "@nrwl/storybook:build",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"uiFramework": "@storybook/react", "uiFramework": "@storybook/react",
"outputPath": "dist/storybook/fills", "outputPath": "dist/storybook/fills",
+2 -1
View File
@@ -20,7 +20,8 @@
"**/*.stories.ts", "**/*.stories.ts",
"**/*.stories.js", "**/*.stories.js",
"**/*.stories.jsx", "**/*.stories.jsx",
"**/*.stories.tsx" "**/*.stories.tsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
+2 -1
View File
@@ -13,7 +13,8 @@
"../**/*.spec.ts", "../**/*.spec.ts",
"../**/*.spec.js", "../**/*.spec.js",
"../**/*.spec.tsx", "../**/*.spec.tsx",
"../**/*.spec.jsx" "../**/*.spec.jsx",
"jest.config.ts"
], ],
"include": ["../src/**/*", "*.js"] "include": ["../src/**/*", "*.js"]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'market-depth', displayName: 'market-depth',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+20 -8
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/market-depth", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/market-depth/src", "sourceRoot": "libs/market-depth/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/market-depth", "outputPath": "dist/libs/market-depth",
"tsConfig": "libs/market-depth/tsconfig.lib.json", "tsConfig": "libs/market-depth/tsconfig.lib.json",
"project": "libs/market-depth/package.json", "project": "libs/market-depth/package.json",
"entryFile": "libs/market-depth/src/index.ts", "entryFile": "libs/market-depth/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/market-depth/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/market-depth/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/market-depth"], "outputs": [
"coverage/libs/market-depth"
],
"options": { "options": {
"jestConfig": "libs/market-depth/jest.config.js", "jestConfig": "libs/market-depth/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
}, },
@@ -56,7 +66,9 @@
}, },
"build-storybook": { "build-storybook": {
"executor": "@nrwl/storybook:build", "executor": "@nrwl/storybook:build",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"uiFramework": "@storybook/react", "uiFramework": "@storybook/react",
"outputPath": "dist/storybook/market-depth", "outputPath": "dist/storybook/market-depth",
+2 -1
View File
@@ -20,7 +20,8 @@
"**/*.stories.ts", "**/*.stories.ts",
"**/*.stories.js", "**/*.stories.js",
"**/*.stories.jsx", "**/*.stories.jsx",
"**/*.stories.tsx" "**/*.stories.tsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'market-list', displayName: 'market-list',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/market-list", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/market-list/src", "sourceRoot": "libs/market-list/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/market-list", "outputPath": "dist/libs/market-list",
"tsConfig": "libs/market-list/tsconfig.lib.json", "tsConfig": "libs/market-list/tsconfig.lib.json",
"project": "libs/market-list/package.json", "project": "libs/market-list/package.json",
"entryFile": "libs/market-list/src/index.ts", "entryFile": "libs/market-list/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/market-list/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/market-list/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/market-list"], "outputs": [
"coverage/libs/market-list"
],
"options": { "options": {
"jestConfig": "libs/market-list/jest.config.js", "jestConfig": "libs/market-list/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'network-info', displayName: 'network-info',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/network-info", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/network-info/src", "sourceRoot": "libs/network-info/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/network-info", "outputPath": "dist/libs/network-info",
"tsConfig": "libs/network-info/tsconfig.lib.json", "tsConfig": "libs/network-info/tsconfig.lib.json",
"project": "libs/network-info/package.json", "project": "libs/network-info/package.json",
"entryFile": "libs/network-info/src/index.ts", "entryFile": "libs/network-info/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/network-info/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/network-info/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/network-info"], "outputs": [
"coverage/libs/network-info"
],
"options": { "options": {
"jestConfig": "libs/network-info/jest.config.js", "jestConfig": "libs/network-info/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'network-stats', displayName: 'network-stats',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/network-stats", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/network-stats/src", "sourceRoot": "libs/network-stats/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/network-stats", "outputPath": "dist/libs/network-stats",
"tsConfig": "libs/network-stats/tsconfig.lib.json", "tsConfig": "libs/network-stats/tsconfig.lib.json",
"project": "libs/network-stats/package.json", "project": "libs/network-stats/package.json",
"entryFile": "libs/network-stats/src/index.ts", "entryFile": "libs/network-stats/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/network-stats/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/network-stats/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/network-stats"], "outputs": [
"coverage/libs/network-stats"
],
"options": { "options": {
"jestConfig": "libs/network-stats/jest.config.js", "jestConfig": "libs/network-stats/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
+2 -1
View File
@@ -13,7 +13,8 @@
"../**/*.spec.ts", "../**/*.spec.ts",
"../**/*.spec.js", "../**/*.spec.js",
"../**/*.spec.tsx", "../**/*.spec.tsx",
"../**/*.spec.jsx" "../**/*.spec.jsx",
"jest.config.ts"
], ],
"include": ["../src/**/*", "*.js"] "include": ["../src/**/*", "*.js"]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'orders', displayName: 'orders',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+20 -8
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/orders", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/orders/src", "sourceRoot": "libs/orders/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/orders", "outputPath": "dist/libs/orders",
"tsConfig": "libs/orders/tsconfig.lib.json", "tsConfig": "libs/orders/tsconfig.lib.json",
"project": "libs/orders/package.json", "project": "libs/orders/package.json",
"entryFile": "libs/orders/src/index.ts", "entryFile": "libs/orders/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/orders/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/orders/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/orders"], "outputs": [
"coverage/libs/orders"
],
"options": { "options": {
"jestConfig": "libs/orders/jest.config.js", "jestConfig": "libs/orders/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
}, },
@@ -56,7 +66,9 @@
}, },
"build-storybook": { "build-storybook": {
"executor": "@nrwl/storybook:build", "executor": "@nrwl/storybook:build",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"uiFramework": "@storybook/react", "uiFramework": "@storybook/react",
"outputPath": "dist/storybook/orders", "outputPath": "dist/storybook/orders",
+2 -1
View File
@@ -20,7 +20,8 @@
"**/*.stories.ts", "**/*.stories.ts",
"**/*.stories.js", "**/*.stories.js",
"**/*.stories.jsx", "**/*.stories.jsx",
"**/*.stories.tsx" "**/*.stories.tsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'positions', displayName: 'positions',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
globals: { globals: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/positions", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/positions/src", "sourceRoot": "libs/positions/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"outputPath": "dist/libs/positions", "outputPath": "dist/libs/positions",
"tsConfig": "libs/positions/tsconfig.lib.json", "tsConfig": "libs/positions/tsconfig.lib.json",
"project": "libs/positions/package.json", "project": "libs/positions/package.json",
"entryFile": "libs/positions/src/index.ts", "entryFile": "libs/positions/src/index.ts",
"external": ["react/jsx-runtime"], "external": [
"react/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/positions/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/positions/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/positions"], "outputs": [
"coverage/libs/positions"
],
"options": { "options": {
"jestConfig": "libs/positions/jest.config.js", "jestConfig": "libs/positions/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'react-helpers', displayName: 'react-helpers',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+17 -7
View File
@@ -1,18 +1,22 @@
{ {
"root": "libs/react-helpers", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/react-helpers/src", "sourceRoot": "libs/react-helpers/src",
"projectType": "library", "projectType": "library",
"tags": [], "tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/web:rollup", "executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"], "outputs": [
"{options.outputPath}"
],
"options": { "options": {
"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/jsx-runtime"
],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"assets": [ "assets": [
@@ -26,16 +30,22 @@
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"], "outputs": [
"{options.outputFile}"
],
"options": { "options": {
"lintFilePatterns": ["libs/react-helpers/**/*.{ts,tsx,js,jsx}"] "lintFilePatterns": [
"libs/react-helpers/**/*.{ts,tsx,js,jsx}"
]
} }
}, },
"test": { "test": {
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/react-helpers"], "outputs": [
"coverage/libs/react-helpers"
],
"options": { "options": {
"jestConfig": "libs/react-helpers/jest.config.js", "jestConfig": "libs/react-helpers/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
@@ -1,5 +1,5 @@
import { useApplyGridTransaction } from './use-apply-grid-transaction'; import { useApplyGridTransaction } from './use-apply-grid-transaction';
import { renderHook } from '@testing-library/react-hooks'; import { renderHook } from '@testing-library/react';
type Items = Array<{ id: string; value: number }>; type Items = Array<{ id: string; value: number }>;
+2 -1
View File
@@ -16,7 +16,8 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.js", "**/*.test.js",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.test.jsx" "**/*.test.jsx",
"jest.config.ts"
], ],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
} }
+2 -1
View File
@@ -14,6 +14,7 @@
"**/*.spec.js", "**/*.spec.js",
"**/*.test.jsx", "**/*.test.jsx",
"**/*.spec.jsx", "**/*.spec.jsx",
"**/*.d.ts" "**/*.d.ts",
"jest.config.ts"
] ]
} }
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'smart-contracts', displayName: 'smart-contracts',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
transform: { transform: {
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"root": "libs/smart-contracts", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/smart-contracts/src", "sourceRoot": "libs/smart-contracts/src",
"targets": { "targets": {
"build": { "build": {
@@ -23,7 +23,7 @@
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/smart-contracts"], "outputs": ["coverage/libs/smart-contracts"],
"options": { "options": {
"jestConfig": "libs/smart-contracts/jest.config.js", "jestConfig": "libs/smart-contracts/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
+1 -1
View File
@@ -6,5 +6,5 @@
"types": [] "types": []
}, },
"include": ["**/*.ts"], "include": ["**/*.ts"],
"exclude": ["**/*.spec.ts", "**/*.test.ts"] "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"]
} }
+1 -1
View File
@@ -5,5 +5,5 @@
"module": "commonjs", "module": "commonjs",
"types": ["jest", "node"] "types": ["jest", "node"]
}, },
"include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"] "include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts", "jest.config.ts"]
} }
+2
View File
@@ -0,0 +1,2 @@
declare module 'tailwindcss/defaultTheme';
declare module 'tailwindcss/plugin';
@@ -1,4 +1,5 @@
module.exports = { /* eslint-disable */
export default {
displayName: 'tailwindcss-config', displayName: 'tailwindcss-config',
preset: '../../jest.preset.js', preset: '../../jest.preset.js',
globals: { globals: {
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "@vegaprotocol/tailwindcss-config", "name": "@vegaprotocol/tailwindcss-config",
"version": "0.0.1", "version": "0.0.1",
"type": "commonjs" "type": "module"
} }
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"root": "libs/tailwindcss-config", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/tailwindcss-config/src", "sourceRoot": "libs/tailwindcss-config/src",
"projectType": "library", "projectType": "library",
"targets": { "targets": {
@@ -24,7 +24,7 @@
"executor": "@nrwl/jest:jest", "executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/tailwindcss-config"], "outputs": ["coverage/libs/tailwindcss-config"],
"options": { "options": {
"jestConfig": "libs/tailwindcss-config/jest.config.js", "jestConfig": "libs/tailwindcss-config/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
} }
-9
View File
@@ -1,9 +0,0 @@
const theme = require('./theme');
const themelite = require('./theme-lite');
const vegaCustomClasses = require('./vega-custom-classes');
module.exports = {
theme,
themelite,
plugins: [vegaCustomClasses],
};
+9
View File
@@ -0,0 +1,9 @@
import theme from './theme';
import themelite from './theme-lite';
import vegaCustomClasses from './vega-custom-classes';
export default {
theme,
themelite,
plugins: [vegaCustomClasses],
};

Some files were not shown because too many files have changed in this diff Show More