Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .eslintignore

This file was deleted.

160 changes: 0 additions & 160 deletions .eslintrc.json

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/main.yaml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/pr-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: PR Review Reminder

on:
pull_request:
types: [opened]

jobs:
reminder:
runs-on: ubuntu-latest

permissions:
issues: write
pull-requests: write

steps:
- name: Add review comment
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: `🧪 **Code Review Checklist**

Antes de hacer merge, revisa:

- [ ] He revisado mi propio código
- [ ] No hay errores evidentes
- [ ] He probado los cambios
- [ ] El código sigue buenas prácticas
- [ ] No introduzco bugs ni deuda técnica

💡 Recuerda: un buen PR = menos bugs en producción 🚀`})
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
npm-debug.log
yarn-error.log
package-lock.json
yarn.lock
bun.lockb
bun.lock

# IDEs and editors
.idea/
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx lint-staged
pnpm exec lint-staged
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"titleBar.inactiveForeground": "#e7e7e799"
},
"peacock.color": "#dd0531",
"npm.packageManager": "pnpm",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
Expand Down
28 changes: 21 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# ArchetypeAngular

This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.1.6.
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) and uses [pnpm](https://pnpm.io) as its package manager.

## Installation

```bash
pnpm install
```

## Development server

To start a local development server, run:

```bash
ng serve
pnpm start
```

Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
Expand All @@ -17,21 +23,21 @@ Once the server is running, open your browser and navigate to `http://localhost:
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:

```bash
ng generate component component-name
pnpm exec ng generate component component-name
```

For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:

```bash
ng generate --help
pnpm exec ng generate --help
```

## Building

To build the project run:

```bash
ng build
pnpm run build
```

This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
Expand All @@ -41,15 +47,23 @@ This will compile your project and store the build artifacts in the `dist/` dire
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:

```bash
ng test
pnpm test
```

## Linting and formatting

```bash
pnpm run lint
pnpm run format
pnpm run format:check
```

## Running end-to-end tests

For end-to-end (e2e) testing, run:

```bash
ng e2e
pnpm exec ng e2e
```

Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
Expand Down
26 changes: 13 additions & 13 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"builder": "@angular/build:application",
"options": {
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand All @@ -29,9 +27,7 @@
"input": "public"
}
],
"styles": [
"src/styles.scss"
]
"styles": ["src/styles.scss"]
},
"configurations": {
"production": {
Expand Down Expand Up @@ -75,10 +71,7 @@
"test": {
"builder": "@angular/build:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand All @@ -87,12 +80,19 @@
"input": "public"
}
],
"styles": [
"src/styles.scss"
]
"styles": ["src/styles.scss"]
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
}
}
}
},
"cli": {
"schematicCollections": ["angular-eslint"]
}
}
Loading
Loading