Skip to content

Commit

Permalink
feat: sample seed data and dto
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoBasalo committed Oct 2, 2024
1 parent 64d83da commit da72c44
Show file tree
Hide file tree
Showing 15 changed files with 427 additions and 504 deletions.
27 changes: 27 additions & 0 deletions .ai/procedures/add-picocss.procedure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Add PicoCSS

1. install PicoCSS

```bash
npm install @picocss/pico
```

2. Import at angular.json

```json
"styles": [
"node_modules/@picocss/pico/css/pico.min.css",
"src/styles.css"
]
```

3. Change styles.css

```css
body {
padding: 1rem;
}
span {
margin-right: 0.5rem;
}
```
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion AstroBookings/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"bracketSameLine": true,
"endOfLine": "auto",
"printWidth": 100,
"semi": true,
Expand Down
27 changes: 6 additions & 21 deletions AstroBookings/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,10 @@
"outputPath": "dist/astro-bookings",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["node_modules/@picocss/pico/css/pico.min.css", "src/styles.css"],
"scripts": []
},
"configurations": {
Expand Down Expand Up @@ -77,18 +70,10 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": []
}
}
Expand Down
10 changes: 10 additions & 0 deletions AstroBookings/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions AstroBookings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@angular/platform-browser": "^16.2.0",
"@angular/platform-browser-dynamic": "^16.2.0",
"@angular/router": "^16.2.0",
"@picocss/pico": "^2.0.6",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
Expand Down
Loading

0 comments on commit da72c44

Please sign in to comment.