mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
53a3803ba4
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7691 GitOrigin-RevId: 4e3926b4105f0bc15dce75b154f6ef60292c5074
48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
{
|
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/nx/unplugin-dynamic-asset-loader/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/js:swc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/nx/unplugin-dynamic-asset-loader",
|
|
"main": "libs/nx/unplugin-dynamic-asset-loader/src/index.ts",
|
|
"tsConfig": "libs/nx/unplugin-dynamic-asset-loader/tsconfig.lib.json",
|
|
"assets": ["libs/nx/unplugin-dynamic-asset-loader/*.md"],
|
|
"external": "none",
|
|
"buildableProjectDepsInPackageJsonType": "dependencies"
|
|
}
|
|
},
|
|
"publish": {
|
|
"executor": "@nrwl/workspace:run-commands",
|
|
"options": {
|
|
"command": "node tools/scripts/publish.mjs nx-unplugin-dynamic-asset-loader {args.ver} {args.tag}"
|
|
},
|
|
"dependsOn": [
|
|
{
|
|
"projects": "self",
|
|
"target": "build"
|
|
}
|
|
]
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/nx/unplugin-dynamic-asset-loader/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/nx/unplugin-dynamic-asset-loader"],
|
|
"options": {
|
|
"jestConfig": "libs/nx/unplugin-dynamic-asset-loader/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|