加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
workspace.json 19.01 KB
一键复制 编辑 原始数据 按行查看 历史
Tyler Myracle 提交于 2024-01-14 23:19 . stub teller backend
{
"version": 2,
"projects": {
"client": {
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "apps/client",
"sourceRoot": "apps/client",
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/next:build",
"outputs": ["{options.outputPath}"],
"options": {
"root": "apps/client",
"outputPath": "dist/apps/client"
},
"configurations": {
"production": {},
"development": {
"outputPath": "apps/client"
}
},
"defaultConfiguration": "production"
},
"serve": {
"executor": "@nrwl/next:server",
"options": {
"buildTarget": "client:build",
"dev": true
},
"configurations": {
"production": {
"buildTarget": "client:build:production",
"dev": false
},
"development": {
"buildTarget": "client:build:development",
"dev": true
}
},
"defaultConfiguration": "development"
},
"export": {
"executor": "@nrwl/next:export",
"options": {
"buildTarget": "client:build:production"
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/client"],
"options": {
"jestConfig": "apps/client/jest.config.ts",
"passWithNoTests": true
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/client/**/*.{ts,tsx,js,jsx}"]
}
},
"deploy": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/triggerClientDeploy.js"
}
}
},
"tags": ["scope:app"]
},
"client-features": {
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"root": "libs/client/features",
"sourceRoot": "libs/client/features/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/client/features/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/client/features"],
"options": {
"jestConfig": "libs/client/features/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": ["scope:client"]
},
"client-shared": {
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"root": "libs/client/shared",
"sourceRoot": "libs/client/shared/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/client/shared/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/client/shared"],
"options": {
"jestConfig": "libs/client/shared/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": ["scope:client-shared"]
},
"design-system": {
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "libs/design-system",
"sourceRoot": "libs/design-system/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/design-system",
"tsConfig": "libs/design-system/tsconfig.lib.json",
"project": "libs/design-system/package.json",
"entryFile": "libs/design-system/src/index.ts",
"external": ["react/jsx-runtime"],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"assets": [
{
"glob": "libs/design-system/README.md",
"input": ".",
"output": "."
}
]
},
"configurations": {
"production": {
"optimization": true,
"extractLicenses": true,
"inspect": false
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/design-system/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/design-system"],
"options": {
"jestConfig": "libs/design-system/jest.config.ts",
"passWithNoTests": true
}
},
"storybook": {
"executor": "@nrwl/storybook:storybook",
"options": {
"uiFramework": "@storybook/react",
"port": 4400,
"staticDir": ["libs/design-system/.storybook/public"],
"configDir": "libs/design-system/.storybook",
"docs": true
},
"configurations": {
"ci": {
"quiet": true
}
}
},
"build-storybook": {
"executor": "@nrwl/storybook:build",
"outputs": ["{options.outputDir}"],
"options": {
"uiFramework": "@storybook/react",
"staticDir": ["libs/design-system/.storybook/public"],
"configDir": "libs/design-system/.storybook",
"outputDir": "dist/storybook/design-system",
"docs": true
},
"configurations": {
"ci": {
"quiet": true
}
}
},
"deploy": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/triggerDesignSystemDeploy.js"
}
}
},
"tags": ["scope:client-shared"]
},
"e2e": {
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "apps/e2e",
"sourceRoot": "apps/e2e/src",
"projectType": "application",
"targets": {
"e2e": {
"executor": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/e2e/cypress.config.ts",
"tsConfig": "apps/e2e/tsconfig.json",
"testingType": "e2e"
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/e2e/**/*.{js,ts}"]
}
}
},
"tags": ["scope:app"],
"implicitDependencies": ["client", "server", "workers"]
},
"finicity-api": {
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "libs/finicity-api",
"sourceRoot": "libs/finicity-api/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/finicity-api/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/finicity-api"],
"options": {
"jestConfig": "libs/finicity-api/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": ["scope:shared"]
},
"server": {
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "apps/server",
"sourceRoot": "apps/server/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/webpack:webpack",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/server",
"main": "apps/server/src/main.ts",
"tsConfig": "apps/server/tsconfig.app.json",
"assets": ["apps/server/src/assets", "apps/server/src/app/admin/views"],
"target": "node",
"compiler": "tsc",
"generatePackageJson": true
},
"configurations": {
"production": {
"optimization": true,
"extractLicenses": true,
"inspect": false,
"fileReplacements": [
{
"replace": "apps/server/src/environments/environment.ts",
"with": "apps/server/src/environments/environment.prod.ts"
}
]
}
}
},
"serve": {
"executor": "@nrwl/node:node",
"options": {
"buildTarget": "server:build",
"inspect": true,
"port": 9228
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/server/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/server"],
"options": {
"jestConfig": "apps/server/jest.config.ts",
"passWithNoTests": true
}
},
"deploy": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/triggerServerDeploy.js"
}
}
},
"tags": ["scope:app"]
},
"server-features": {
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"root": "libs/server/features",
"sourceRoot": "libs/server/features/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/server/features/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/server/features"],
"options": {
"jestConfig": "libs/server/features/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": ["scope:server"]
},
"server-shared": {
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"root": "libs/server/shared",
"sourceRoot": "libs/server/shared/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/server/shared/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/server/shared"],
"options": {
"jestConfig": "libs/server/shared/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": ["scope:server-shared"]
},
"shared": {
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "libs/shared",
"sourceRoot": "libs/shared/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/shared/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/shared"],
"options": {
"jestConfig": "libs/shared/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": ["scope:shared"]
},
"teller-api": {
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "libs/teller-api",
"sourceRoot": "libs/teller-api/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/teller-api/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/teller-api/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": ["scope:shared"]
},
"workers": {
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "apps/workers",
"sourceRoot": "apps/workers/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/webpack:webpack",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/workers",
"main": "apps/workers/src/main.ts",
"tsConfig": "apps/workers/tsconfig.app.json",
"assets": ["apps/workers/src/assets"],
"target": "node",
"compiler": "tsc",
"generatePackageJson": true
},
"configurations": {
"production": {
"optimization": true,
"extractLicenses": true,
"inspect": false,
"fileReplacements": [
{
"replace": "apps/workers/src/environments/environment.ts",
"with": "apps/workers/src/environments/environment.prod.ts"
}
]
}
}
},
"serve": {
"executor": "@nrwl/node:node",
"options": {
"buildTarget": "workers:build",
"inspect": true,
"port": 9227
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/workers/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/workers"],
"options": {
"jestConfig": "apps/workers/jest.config.ts",
"passWithNoTests": true
}
},
"deploy": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/triggerWorkersDeploy.js"
}
}
},
"tags": ["scope:app"]
}
},
"$schema": "./node_modules/nx/schemas/workspace-schema.json"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化