project.json•2.03 kB
{
"name": "pieces-azure-openai",
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/pieces/community/azure-openai/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": [
"{options.outputPath}"
],
"options": {
"outputPath": "dist/packages/pieces/community/azure-openai",
"tsConfig": "packages/pieces/community/azure-openai/tsconfig.lib.json",
"packageJson": "packages/pieces/community/azure-openai/package.json",
"main": "packages/pieces/community/azure-openai/src/index.ts",
"assets": [
"packages/pieces/community/azure-openai/*.md",
{
"input": "packages/pieces/community/azure-openai/src/i18n",
"output": "./src/i18n",
"glob": "**/!(i18n.json)"
}
],
"buildableProjectDepsInPackageJsonType": "dependencies",
"updateBuildableProjectDepsInPackageJson": true
},
"dependsOn": ["prebuild", "^build"]
},
"prebuild": {
"executor": "nx:run-commands",
"options": {
"cwd": "packages/pieces/community/azure-openai",
"command": "npm ci"
}
},
"build-with-deps": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx run pieces-azure-openai:prebuild",
"nx run pieces-azure-openai:build",
"nx run pieces-azure-openai:postbuild"
],
"parallel": false
}
},
"postbuild": {
"executor": "nx:run-commands",
"options": {
"cwd": "dist/packages/pieces/community/azure-openai",
"command": "npm install"
}
},
"publish": {
"command": "node tools/scripts/publish.mjs pieces-azure-openai {args.ver} {args.tag}",
"dependsOn": [
"build"
]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": [
"{options.outputFile}"
]
}
},
"tags": []
}