Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
58114ed
style: format tsconfig.json for improved readability
fabiendostie Apr 18, 2025
fce3d6c
fix: Resolve dependency and type errors for successful build
fabiendostie Apr 18, 2025
38d8124
fix(eslint): configure flat config and install dependencies
fabiendostie Apr 19, 2025
920287e
fix(lint): address explicit-any, unused-vars, and exhaustive-deps
fabiendostie Apr 19, 2025
5b01b65
Fix ESLint errors and improve type safety
fabiendostie Apr 19, 2025
ac545ce
Fix(api): Correct type annotation for GET route handler parameters
fabiendostie Apr 19, 2025
94f0d9c
Fix(api): Refactor GET handler parameter typing
fabiendostie Apr 19, 2025
c52a888
Fix(api): Correct GET handler parameter type with Promise
fabiendostie Apr 19, 2025
7e8e94c
Fix(api): Improve type safety for dynamic import constructor access
fabiendostie Apr 19, 2025
f8dd319
Fix(api): Correct import and usage of jsonc.parse
fabiendostie Apr 19, 2025
bb9569d
fix: correct jsonc import for build
fabiendostie Apr 19, 2025
b0af108
fix: use correct named import for jsonc v2.0.0
fabiendostie Apr 19, 2025
9d3ce91
fix: correct recharts type usage in chart component
fabiendostie Apr 19, 2025
5ce6cea
fix: use correct import for recharts LegendProps
fabiendostie Apr 19, 2025
74def7b
fix: replace ChartIndicator type with literal string
fabiendostie Apr 19, 2025
506d0f1
fix: add optional hide property to ChartConfig type
fabiendostie Apr 19, 2025
8d54124
fix: define and use actionTypes constant in use-toast
fabiendostie Apr 19, 2025
7131f5e
fix: throw error for unhandled action types in use-toast reducer
fabiendostie Apr 19, 2025
f73faec
feat: define ValidationResponse type
fabiendostie Apr 19, 2025
12594a3
fix: resolve ESLint errors and warnings
fabiendostie Apr 19, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache: "pnpm"

- name: Install dependencies
run: pnpm install
Expand Down
72 changes: 38 additions & 34 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: "CodeQL Analysis"

on:
push:
branches: [ main, develop ]
branches: [main, develop]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, develop ]
branches: [main, develop]
schedule:
- cron: '30 1 * * 1' # Run weekly on Monday at 01:30 UTC
- cron: "30 1 * * 1" # Run weekly on Monday at 01:30 UTC

permissions:
security-events: write # Required to upload CodeQL results
Expand All @@ -21,37 +21,41 @@ jobs:
fail-fast: false
matrix:
# Specify 'javascript-typescript' to analyze both JavaScript and TypeScript
language: [ 'javascript-typescript' ]
language: ["javascript-typescript"]
# Add other languages here if needed in the future

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here
# queries: security-extended,security-and-quality

# Install pnpm
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10 # Specify your pnpm version if needed

# Install dependencies using pnpm
- name: Install dependencies
run: pnpm install

# Build the project using pnpm
- name: Build project
run: pnpm build

# Perform CodeQL Analysis
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here
# queries: security-extended,security-and-quality

# Install pnpm
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10 # Specify your pnpm version if needed

# Install dependencies using pnpm
- name: Install dependencies
run: pnpm install

# Build the project using pnpm
- name: Build project
run: pnpm build

# # Add a step to run ESLint checks
# - name: Run ESLint
# run: pnpm eslint . --ext .js,.jsx,.ts,.tsx

# Perform CodeQL Analysis
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public/__schema_templates/schema.hbs
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ A modern web-based tool to validate CSV data against JSON schemas, edit CSVs, an
## 🚀 Getting Started

### Prerequisites

- Node.js (v18 or later recommended)
- pnpm (or npm/yarn)

Expand Down Expand Up @@ -125,4 +126,4 @@ MIT License © 2025 Fabien Dostie, [F]it

## 🔒 Security

See [SECURITY.md](./SECURITY.md) for vulnerability reporting and supported versions.
See [SECURITY.md](./SECURITY.md) for vulnerability reporting and supported versions.
6 changes: 3 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

We are committed to ensuring the security of the CSV Data Validator. Security updates are applied to the **latest released version** on the `main` branch.

| Version | Supported |
| ------- | ------------------ |
| Version | Supported |
| ------------------------ | ------------------ |
| >= 1.0.0 (Latest `main`) | :white_check_mark: |
| < 1.0.0 | :x: |
| < 1.0.0 | :x: |

> **Note:** Only the latest code on `main` is actively supported. Older versions do not receive security patches unless otherwise stated.

Expand Down
Loading
Loading