Skip to content

Commit 2ed400f

Browse files
committed
Merge branch 'main' into state
2 parents 46df471 + c15d713 commit 2ed400f

File tree

14 files changed

+142
-254
lines changed

14 files changed

+142
-254
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @lc-2025

.github/CONTRIBUTING.md

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/dependabot.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Please see the documentation for all configuration options:
2+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
3+
version: 2
4+
updates:
5+
- package-ecosystem: 'npm'
6+
directory: '/'
7+
schedule:
8+
interval: 'weekly'
9+
assignees:
10+
- 'lc-2025'
11+
commit-message:
12+
prefix: 'chore: '

.github/workflows/cd.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ env:
1818
jobs:
1919
deploy-backend:
2020
runs-on: ubuntu-latest
21+
permissions:
22+
contents: read
23+
deployments: write
24+
id-token: write
2125
env:
2226
SANITY_AUTH_TOKEN: ${{ secrets.SANITY_TOKEN_LC }}
2327
# Pipeline Check
@@ -55,6 +59,10 @@ jobs:
5559
run: npm run deploy
5660
deploy-frontend:
5761
runs-on: ubuntu-latest
62+
permissions:
63+
contents: read
64+
deployments: write
65+
id-token: write
5866
needs: deploy-backend
5967
steps:
6068
- name: Checkout repository
@@ -89,6 +97,7 @@ jobs:
8997
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN_LC }}
9098
failure:
9199
runs-on: ubuntu-latest
100+
permissions: {}
92101
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
93102
steps:
94103
- run: echo 'The triggering workflow failed'

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ run-name: LC 2.0 Continuous-Integration
33
on:
44
push:
55
branches: [main]
6-
# For collaborations
7-
pull_request:
8-
branches: [main]
6+
permissions:
7+
actions: write
8+
contents: write
99
env:
1010
# Frontend
1111
FRONTEND_URL: ${{ vars.FRONTEND_URL }}

.github/workflows/codeql.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: 'CodeQL Advanced'
2+
on:
3+
push:
4+
branches: ['main']
5+
pull_request:
6+
branches: ['main']
7+
schedule:
8+
- cron: '00 00 * * 1'
9+
jobs:
10+
analyze:
11+
name: Analyze (${{ matrix.language }})
12+
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
13+
runs-on: 'ubuntu-latest'
14+
permissions:
15+
# required for all workflows
16+
security-events: write
17+
# required to fetch internal or private CodeQL packs
18+
packages: read
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
include:
23+
- language: actions
24+
build-mode: none
25+
- language: javascript-typescript
26+
build-mode: none
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
# Initializes the CodeQL tools for scanning.
31+
- name: Initialize CodeQL
32+
uses: github/codeql-action/init@v3
33+
with:
34+
languages: ${{ matrix.language }}
35+
build-mode: ${{ matrix.build-mode }}
36+
- name: Perform CodeQL Analysis
37+
uses: github/codeql-action/analyze@v3
38+
with:
39+
category: '/language:${{matrix.language}}'

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
npm run lint
2+
git add .

README.md

Lines changed: 13 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ LC website version 2.0 (3).
1111

1212
## About
1313

14-
A full-stack website based on _NextJS_ and _Sanity_ consisting of a professional portfolio for personal branding.
14+
A JAMstack website based on _NextJS_ and _Sanity_ consisting of a professional portfolio for personal branding.
1515

16-
© LC 2025 <ↄ All Rights reserved.
16+
© LC <ↄ All Rights reserved.
1717

1818
## Features
1919

@@ -31,69 +31,17 @@ A full-stack website based on _NextJS_ and _Sanity_ consisting of a professional
3131

3232
## Stack
3333

34-
### Languages
35-
36-
- HTML
37-
- CSS
38-
- SASS
39-
- JavaScript
40-
- TypeScript
41-
- GROQ
42-
- YAML
43-
- Bash
44-
45-
### Environments
46-
47-
- DOM
48-
49-
### Libraries
50-
51-
- Headless UI
52-
- GSAP
53-
- TypedJS
54-
55-
### Frameworks
56-
57-
- React
58-
- NextJS
59-
- TailwindCSS
60-
- Sanity
61-
- Jest
62-
- Cypress
63-
64-
### Pre/Post-Processors
65-
66-
- PostCSS
67-
- Sass
68-
69-
### Linters/Plugins
70-
71-
- stylelint
72-
- ESLint
73-
- Prettier
74-
75-
### Compilers
76-
77-
- TypeScript
78-
79-
### Testing
80-
81-
- Jest
82-
- Cypress
83-
84-
### Versioning
85-
86-
- GitHub
87-
- Husky
88-
89-
### Continuous-integration/Delivery
90-
91-
- GitHub Actions
92-
93-
### Deployment
94-
95-
- Vercel
96-
- Sanity
34+
- **Languages**: HTML, CSS, SASS, JavaScript, Typescript, GraphQL, YAML, Bash
35+
- **Environments**: DOM
36+
- **Libraries**: Headless UI, GSAP, TypedJS, Testing Library
37+
- **Frameworks**: React, Next.js, TailwindCSS, Sanity, Jest, Cypress
38+
- **Pre/Post-Processors**: PostCSS, Sass
39+
- **Linters/Plugins**: stylelint, ESLint, Prettier
40+
- **Compilers**: TypeScript
41+
- **Testing**: Jest, Testing Library, Cypress
42+
- **Versioning**: GitHub, Husky
43+
- **Continuous-Integration/Delivery**: GitHub Actions
44+
- **Deployment**: Vercel, Sanity
9745

9846
## Getting Started
9947

@@ -141,7 +89,3 @@ npm run test
14189
```bash
14290
npm run deploy
14391
```
144-
145-
## Contributing
146-
147-
Please read more about required best practices on the specific [contributing reference document](./.github/CONTRIBUTING.md)

backend/README.md

Lines changed: 11 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,20 @@ LC 2.0 backend.
88

99
A server application that provides an UI and a **REST API** to access and manage the website data stored on the _Sanity_ headless CMS.
1010

11-
© LC 2025 <ↄ All Rights reserved.
11+
© LC <ↄ All Rights reserved.
1212

1313
## Stack
1414

15-
### Languages
16-
17-
- JavaScript
18-
- TypeScript
19-
20-
### Environments
21-
22-
- DOM
23-
24-
### Frameworks
25-
26-
- Sanity
27-
28-
### Compilers
29-
30-
- TypeScript
31-
32-
### Testing
33-
34-
- Jest
35-
- Cypress
36-
37-
### Versioning
38-
39-
- GitHub
40-
- Husky
41-
42-
### Continuous-Integration/Delivery
43-
44-
- GitHub Actions
45-
46-
### Deployment
47-
48-
- Sanity
15+
- **Languages**: JavaScript, Typescript, GraphQL
16+
- **Environments**: DOM
17+
- **Libraries**: Testing Library
18+
- **Frameworks**: Sanity
19+
- **Linters/Plugins**: ESLint, Prettier
20+
- **Compilers**: TypeScript
21+
- **Testing**: Jest, Testing Library
22+
- **Versioning**: GitHub, Husky
23+
- **Continuous-Integration/Delivery**: GitHub Actions
24+
- **Deployment**: Sanity
4925

5026
## Getting Started
5127

@@ -83,7 +59,3 @@ npm run deploy
8359
## Deploy
8460

8561
_LC Backend_ is integrated and delivered to production via _GitHub Actions_ workflows pipeline, where the server is being set up and built with _Sanity_.
86-
87-
## Contributing
88-
89-
Please read more about required best practices on the specific [contributing reference document](../.github/CONTRIBUTING.md)

0 commit comments

Comments
 (0)