nx/nx.json
Jonathan Cammisuli fecf7fb82f
feat(core): add native node bindings for hashing (#14476)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-01 14:43:40 -05:00

189 lines
4.9 KiB
JSON

{
"$schema": "packages/nx/schemas/nx-schema.json",
"affected": {
"defaultBase": "master"
},
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"accessToken": "MjEyM2IwYWQtMTEyMS00ZGFmLThkY2UtYjg4YWRiZTNjZmI5fHJlYWQtd3JpdGU=",
"cacheableOperations": [
"build",
"lint-base",
"lint",
"build-base",
"build-native",
"e2e",
"test",
"test-native",
"sitemap",
"build-storybook"
],
"cacheDirectory": "/tmp/nx-cache",
"parallel": 1,
"url": "https://staging.nx.app"
}
}
},
"workspaceLayout": {
"appsDir": "",
"libsDir": ""
},
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/.storybook/**/*",
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)"
],
"sharedGlobals": ["{workspaceRoot}/babel.config.json"],
"native": [
"{projectRoot}/**/*.rs",
"{projectRoot}/**/Cargo.*",
{
"runtime": "node -p 'process.platform'"
}
]
},
"targetDefaults": {
"build": {
"dependsOn": ["build-base"],
"inputs": ["production", "^production"]
},
"build-native": {
"inputs": ["native"]
},
"build-base": {
"dependsOn": ["^build-base", "build-native"],
"inputs": ["production", "^production"],
"executor": "@nrwl/js:tsc",
"options": {
"outputPath": "build/{projectRoot}",
"tsConfig": "{projectRoot}/tsconfig.lib.json",
"main": "{projectRoot}/index.ts",
"updateBuildableProjectDepsInPackageJson": false
},
"outputs": ["{options.outputPath}"]
},
"test-native": {
"inputs": ["native"],
"executor": "@monodon/rust:test",
"options": {}
},
"test": {
"dependsOn": ["test-native", "build-native", "^build-native"],
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "{projectRoot}/jest.config.ts",
"passWithNoTests": true
},
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"]
},
"lint": {
"dependsOn": ["build-native", "^build-native"],
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json",
"{workspaceRoot}/tools/eslint-rules/**/*"
],
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"{projectRoot}/**/*.{ts,tsx,js,jsx}",
"{projectRoot}/**/executors/**/schema.json",
"{projectRoot}/**/generators/**/schema.json",
"{projectRoot}/generators.json",
"{projectRoot}/executors.json",
"{projectRoot}/package.json",
"{projectRoot}/migrations.json"
]
},
"outputs": ["{options.outputFile}"]
},
"e2e": {
"executor": "nx:run-commands",
"inputs": [
"default",
"^production",
{
"env": "SELECTED_CLI"
},
{
"env": "SELECTED_PM"
},
{
"env": "NX_E2E_CI_CACHE_KEY"
}
],
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests {projectName}"
}
],
"parallel": false
}
},
"e2e-macos": {
"executor": "nx:run-commands",
"inputs": [
"default",
"^production",
{
"env": "SELECTED_CLI"
},
{
"env": "SELECTED_PM"
},
{
"env": "NX_E2E_CI_CACHE_KEY"
}
],
"options": {
"commands": [
{
"command": "yarn e2e-start-local-registry"
},
{
"command": "yarn e2e-build-package-publish"
},
{
"command": "nx run-e2e-tests {projectName}"
}
],
"parallel": false
}
},
"e2e-base": {
"inputs": ["default", "^production"]
},
"run-e2e-tests": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "{projectRoot}/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"]
},
"build-storybook": {
"inputs": ["default", "^production", "{workspaceRoot}/.storybook/**/*"]
}
},
"defaultProject": "@nrwl/nx-source",
"plugins": ["@monodon/rust"]
}