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/
|
||||
package-lock.json
|
||||
|
||||
# Archivos temporales de generación
|
||||
.temp-generated/
|
||||
temp-generated/
|
||||
dist/
|
||||
|
||||
# Reportes
|
||||
generation-report.json
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# Sistema operativo
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Output de prueba
|
||||
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",
|
||||
"description": "Generador de código Angular con Clean Architecture desde OpenAPI/Swagger",
|
||||
"main": "dist/main.js",
|
||||
@@ -23,7 +23,7 @@
|
||||
"clean-architecture",
|
||||
"code-generator"
|
||||
],
|
||||
"author": "Blas",
|
||||
"author": "Blas Santomé Ocampo",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Diego Davila Freitas",
|
||||
@@ -32,6 +32,9 @@
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"registry": "https://git.blassanto.me/api/packages/blas/npm/"
|
||||
},
|
||||
"dependencies": {
|
||||
"chalk": "^4.1.2",
|
||||
"commander": "^11.1.0",
|
||||
|
||||
Reference in New Issue
Block a user