Skip to content

Commit

Permalink
Merge pull request #395 from ladesa-ro/changeset-release/development
Browse files Browse the repository at this point in the history
chore: version packages (next)
  • Loading branch information
guesant authored Oct 31, 2024
2 parents aa8ec65 + f8636e4 commit ce8bc61
Show file tree
Hide file tree
Showing 11 changed files with 129 additions and 31 deletions.
4 changes: 3 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
"@ladesa-ro/api-client-fetch.docs": "1.0.0-alpha.27",
"@ladesa-ro/api.integrations.openapi-json": "1.0.0-alpha.27"
},
"changesets": []
"changesets": [
"olive-stingrays-camp"
]
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @ladesa-ro/api

## 1.0.0-next.28

### Minor Changes

- c5b9613: feat: v1 with a lot of new resources
7 changes: 7 additions & 0 deletions api-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @ladesa-ro/api.service

## 1.0.0-next.28

### Minor Changes

- c5b9613: feat: v1 with a lot of new resources
6 changes: 4 additions & 2 deletions api-service/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"name": "@ladesa-ro/api.service",
"version": "1.0.0-alpha.27",
"version": "1.0.0-next.28",
"private": true,
"files": ["dist/**/*"],
"files": [
"dist/**/*"
],
"scripts": {
"build": "nx build",
"generate:openapi": "nx generate:openapi",
Expand Down
7 changes: 7 additions & 0 deletions integrations/npm/api-client-fetch-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @ladesa-ro/api-client-fetch.docs

## 1.0.0-next.28

### Minor Changes

- c5b9613: feat: v1 with a lot of new resources
32 changes: 24 additions & 8 deletions integrations/npm/api-client-fetch-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "@ladesa-ro/api-client-fetch.docs",
"version": "1.0.0-alpha.27",
"files": ["dist/**/*.*"],
"version": "1.0.0-next.28",
"files": [
"dist/**/*.*"
],
"private": true,
"scripts": {
"generate": "nx generate",
Expand All @@ -10,10 +12,15 @@
"serve": "nx serve"
},
"nx": {
"tags": ["integrations", "integrations:npm"],
"tags": [
"integrations",
"integrations:npm"
],
"root": "integrations/npm/api-client-fetch-docs",
"namedInputs": {
"default": ["{projectRoot}/.config/**/*"]
"default": [
"{projectRoot}/.config/**/*"
]
},
"targets": {
"serve": {
Expand All @@ -23,7 +30,9 @@
"cwd": "{projectRoot}",
"command": "serve dist"
},
"dependsOn": ["build"]
"dependsOn": [
"build"
]
},
"build": {
"cache": false,
Expand All @@ -34,18 +43,25 @@
"command": "echo noop"
},
"outputs": [],
"dependsOn": ["generate"]
"dependsOn": [
"generate"
]
},
"generate": {
"cache": true,
"executor": "nx:run-commands",
"inputs": ["default", "^default"],
"inputs": [
"default",
"^default"
],
"options": {
"cwd": "{projectRoot}",
"command": "typedoc --options .config/typedoc.jsonc"
},
"outputs": [],
"dependsOn": ["@ladesa-ro/api-client-fetch:build"]
"dependsOn": [
"@ladesa-ro/api-client-fetch:build"
]
}
}
},
Expand Down
7 changes: 7 additions & 0 deletions integrations/npm/api-client-fetch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @ladesa-ro/api-client-fetch

## 1.0.0-next.28

### Minor Changes

- c5b9613: feat: v1 with a lot of new resources
54 changes: 42 additions & 12 deletions integrations/npm/api-client-fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"name": "@ladesa-ro/api-client-fetch",
"version": "1.0.0-alpha.27",
"version": "1.0.0-next.28",
"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 @@ -15,21 +18,33 @@
"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 @@ -40,18 +55,26 @@
"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 @@ -73,5 +96,12 @@
"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"
]
}
7 changes: 7 additions & 0 deletions integrations/openapi-json/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @ladesa-ro/api.integrations.openapi-json

## 1.0.0-next.28

### Minor Changes

- c5b9613: feat: v1 with a lot of new resources
23 changes: 17 additions & 6 deletions integrations/openapi-json/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "@ladesa-ro/api.integrations.openapi-json",
"version": "1.0.0-alpha.27",
"files": ["generated.json"],
"version": "1.0.0-next.28",
"files": [
"generated.json"
],
"scripts": {
"build": "nx build"
},
Expand All @@ -12,21 +14,30 @@
"typedoc-plugin-mdn-links": "^3.3.5"
},
"nx": {
"tags": ["integrations", "integrations:openapi-json"],
"tags": [
"integrations",
"integrations:openapi-json"
],
"root": "integrations/openapi-json",
"namedInputs": {
"default": []
},
"targets": {
"build": {
"executor": "nx:run-commands",
"inputs": ["default"],
"inputs": [
"default"
],
"options": {
"cwd": "{projectRoot}",
"command": "OUT_FILE=$(pwd)/generated.json pnpm run --filter '@ladesa-ro/api.service' generate:openapi && pnpm run -w code-static:fix $(pwd)/generated.json"
},
"outputs": ["{projectRoot}/generated.json"],
"dependsOn": ["@ladesa-ro/api.service:build"]
"outputs": [
"{projectRoot}/generated.json"
],
"dependsOn": [
"@ladesa-ro/api.service:build"
]
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ladesa-ro/api",
"version": "1.0.0-alpha.27",
"version": "1.0.0-next.28",
"private": true,
"scripts": {
"commit": "git-cz",
Expand Down Expand Up @@ -34,7 +34,9 @@
}
},
"commitlint": {
"extends": ["@commitlint/config-conventional"]
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*": "pnpm run code-static:fix"
Expand Down

0 comments on commit ce8bc61

Please sign in to comment.