Skip to content

Commit

Permalink
Merge pull request #430 from ladesa-ro/robozinho-do-ladesa/generated-…
Browse files Browse the repository at this point in the history
…integrations

chore: generate integrations
  • Loading branch information
guesant authored Dec 1, 2024
2 parents 016e905 + e8c6efb commit 1fb3983
Showing 1 changed file with 11 additions and 41 deletions.
52 changes: 11 additions & 41 deletions integrations/npm/api-client-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"version": "1.0.0-next.30",
"main": "dist/index.js",
"license": "MIT",
"files": [
"*.md",
"dist/**/*.*"
],
"files": ["*.md", "dist/**/*.*"],
"description": "LADESA - Biblioteca de integração a API - Pacote NPM.",
"scripts": {
"prebuild": "rimraf dist",
Expand All @@ -18,33 +15,21 @@
"cleanup:generated": "rimraf ./src/http/generated"
},
"nx": {
"tags": [
"integrations",
"integrations:npm"
],
"tags": ["integrations", "integrations:npm"],
"root": "integrations/npm/api-client-fetch",
"namedInputs": {
"default": [
"{projectRoot}/src/**/*",
"{projectRoot}/{package.json,openapi-ts.config.mjs,tsconfig.json}"
]
"default": ["{projectRoot}/src/**/*", "{projectRoot}/{package.json,openapi-ts.config.mjs,tsconfig.json}"]
},
"targets": {
"build": {
"executor": "nx:run-commands",
"inputs": [
"default"
],
"inputs": ["default"],
"options": {
"cwd": "{projectRoot}",
"command": "tsc -p tsconfig.json"
},
"outputs": [
"{projectRoot}/dist/**/*"
],
"dependsOn": [
"generate"
]
"outputs": ["{projectRoot}/dist/**/*"],
"dependsOn": ["generate"]
},
"generate": {
"cache": false,
Expand All @@ -55,26 +40,18 @@
"command": "echo noop"
},
"outputs": [],
"dependsOn": [
"generate:client"
]
"dependsOn": ["generate:client"]
},
"generate:client": {
"cache": true,
"executor": "nx:run-commands",
"inputs": [
"{workspaceRoot}/integrations/openapi-json/generated.json"
],
"inputs": ["{workspaceRoot}/integrations/openapi-json/generated.json"],
"options": {
"cwd": "{projectRoot}",
"command": "pnpm run cleanup:generated && openapi-ts && pnpm run -w code-static:fix $(pwd)"
},
"outputs": [
"{projectRoot}/src/http/generated/**/*"
],
"dependsOn": [
"@ladesa-ro/api.integrations.openapi-json:build"
]
"outputs": ["{projectRoot}/src/http/generated/**/*"],
"dependsOn": ["@ladesa-ro/api.integrations.openapi-json:build"]
}
}
},
Expand All @@ -96,12 +73,5 @@
"bugs": {
"url": "https://github.com/ladesa-ro/api/issues"
},
"keywords": [
"ladesa-ro",
"api",
"api-client",
"fetch",
"sisgha",
"sisgea"
]
"keywords": ["ladesa-ro", "api", "api-client", "fetch", "sisgha", "sisgea"]
}

0 comments on commit 1fb3983

Please sign in to comment.