Merge branch 'main' into feat/review-imports
This commit is contained in:
38
.gitea/workflows/publish.yml
Normal file
38
.gitea/workflows/publish.yml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
name: Publish npm package
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: npm run lint
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Configure Gitea registry auth
|
||||||
|
run: |
|
||||||
|
echo "//git.blassanto.me/api/packages/blas/npm/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.TOKEN }}
|
||||||
|
|
||||||
|
- name: Publish to Gitea
|
||||||
|
run: npm publish
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.TOKEN }}
|
||||||
8
.gitignore
vendored
8
.gitignore
vendored
@@ -1,29 +1,21 @@
|
|||||||
# Dependencias
|
|
||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
|
||||||
|
|
||||||
# Archivos temporales de generación
|
|
||||||
.temp-generated/
|
.temp-generated/
|
||||||
temp-generated/
|
temp-generated/
|
||||||
dist/
|
dist/
|
||||||
|
|
||||||
# Reportes
|
|
||||||
generation-report.json
|
generation-report.json
|
||||||
|
|
||||||
# Logs
|
|
||||||
*.log
|
*.log
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|
||||||
# Sistema operativo
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
# IDE
|
|
||||||
.idea/
|
.idea/
|
||||||
.vscode/
|
.vscode/
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
*~
|
*~
|
||||||
|
|
||||||
# Output de prueba
|
|
||||||
test-output/
|
test-output/
|
||||||
|
|||||||
1776
package-lock.json
generated
Normal file
1776
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "openapi-clean-arch-generator",
|
"name": "@blas/openapi-clean-arch-generator",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Generador de código Angular con Clean Architecture desde OpenAPI/Swagger",
|
"description": "Generador de código Angular con Clean Architecture desde OpenAPI/Swagger",
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
"clean-architecture",
|
"clean-architecture",
|
||||||
"code-generator"
|
"code-generator"
|
||||||
],
|
],
|
||||||
"author": "Blas",
|
"author": "Blas Santomé Ocampo",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
{
|
{
|
||||||
"name": "Diego Davila Freitas",
|
"name": "Diego Davila Freitas",
|
||||||
@@ -32,6 +32,9 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"publishConfig": {
|
||||||
|
"registry": "https://git.blassanto.me/api/packages/blas/npm/"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^4.1.2",
|
"chalk": "^4.1.2",
|
||||||
"commander": "^11.1.0",
|
"commander": "^11.1.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user