Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
9430548
refactor: add fetch common option based builer interface
danpacho Jul 23, 2025
c38d399
refactor: add common router configuration at router buildr
danpacho Jul 23, 2025
8336675
docs: update readme.md
danpacho Jul 23, 2025
bce2421
feat: Add and improve openapi-generator tests and fix recursion
danpacho Aug 20, 2025
591da5b
feat(openapi-generator): introduce parser and generator
danpacho Aug 20, 2025
7d4a9cc
test(openapi-generator): update tests and snapshots
danpacho Aug 20, 2025
c6b323c
refactor(openapi-generator): adapt to new parser and generator
danpacho Aug 20, 2025
cae7a32
chore(deps): update dependencies
danpacho Aug 20, 2025
91e8a30
docs(openapi-generator): add improvement plan
danpacho Aug 20, 2025
aa55b34
chore: change prettier/eslint into biome
danpacho Nov 24, 2025
42103ae
chore: update root package.json
danpacho Nov 24, 2025
f24cba3
config: use pkg config
danpacho Nov 24, 2025
dbf69bc
chore: change turbo config
danpacho Nov 24, 2025
8032ea6
chore: support coverage checking
danpacho Nov 24, 2025
4073715
chore: setup core fetch lib pkg.json, build config
danpacho Nov 24, 2025
0eeb713
assets: add fetch banner
danpacho Nov 24, 2025
1c08449
chore: add openapi fetch generator pkg.json add build config
danpacho Nov 24, 2025
67e6b11
refactor(fetch): adjust lint changes, use zod
danpacho Nov 24, 2025
42d6edb
feat(path): support ref resolve based openapi spec parsing
danpacho Nov 24, 2025
693e3e4
feat: add core erorr specs
danpacho Nov 24, 2025
ebe034c
refactor(router): adjust pkg name, use native js func
danpacho Nov 24, 2025
02278d3
feat(utils): add pascal case function
danpacho Nov 24, 2025
10dd3cd
test(utils): add pascal case util test suites
danpacho Nov 24, 2025
440b19f
test(error): add error test units
danpacho Nov 24, 2025
1d7d7c4
feat(schema): support all feature of openapi spec using zod native fe…
danpacho Nov 24, 2025
92b20de
test: add test mock data
danpacho Nov 24, 2025
2bca61f
test(schema): add enhanced edge-covered schema test suites
danpacho Nov 24, 2025
f2863dd
test(path): add yaml/json based path parsing test suites
danpacho Nov 24, 2025
37f8282
test(route): add route edge/implicit(generated)/basic usage covered t…
danpacho Nov 24, 2025
6db95b6
test(int): add integrate test suites for final gen
danpacho Nov 24, 2025
64b468c
refactor: remove prettier for format dependency, let user format
danpacho Nov 24, 2025
799ab5d
feat(web): add core web structure components using fumadocs
danpacho Nov 24, 2025
beefa28
chore(web): setup core web pkg.json and configs
danpacho Nov 24, 2025
954fe6a
docs: add commit convention
danpacho Nov 24, 2025
dabdd05
docs: add writing rules
danpacho Nov 24, 2025
0a211a6
feat(web): add feature components
danpacho Nov 24, 2025
5674227
feat(web): add feature components
danpacho Nov 24, 2025
26a0f5f
docs(web): add fetch/openapi-generator documentation
danpacho Nov 24, 2025
a91c6be
chore(web): add shadcn component config
danpacho Nov 24, 2025
cc921f6
remove: legacy files
danpacho Nov 24, 2025
718f2c4
docs: add contributing guidelines
danpacho Nov 24, 2025
b0e8e9e
docs: add main readme.md
danpacho Nov 24, 2025
ca1ec78
rename: to snake-case for files
danpacho Nov 24, 2025
991e52a
refactor(schema): enhance error feedback message for schema generation
danpacho Nov 24, 2025
20b5c00
fix(biome-error): resolve biome error
danpacho Nov 24, 2025
a303fb6
refactor: add lint rule for each components format.
danpacho Nov 24, 2025
3049ff0
chore: update pnpm-lock
danpacho Nov 24, 2025
b82ba38
chore(cli): change cli pkg name to create-freestyle-fetch
danpacho Nov 24, 2025
ce4f87f
chore: add changeset initilialize file
danpacho Nov 24, 2025
359c812
chore: update github workflow
danpacho Nov 24, 2025
1a00ab5
release: major v1 release for freestyle/fetch
danpacho Nov 24, 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
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
20 changes: 12 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
---
name: Bug report
about: Make a better open-source software with bug report
about: Make a better software with bug report
title: '[bug]'
labels: bug
assignees: danpacho
---

**Describe the bug**
A clear and concise description of what the bug is.
<!-- Please label current request as [bug] -->

**Expected behavior**
A clear and concise description of what you expected to happen.
## 1. Describe the bug

**Additional context**
Add any other context about the problem here.
> A clear and concise description of what the bug is.

## 2. Expected behavior

> A clear and concise description of what you expected to happen.

## 3. Additional context(screenshots, logs, etc.)

> Add any other context about the problem here.
17 changes: 6 additions & 11 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Feature request
about: Suggest an idea for this project
title: '[feature-request] Write your features'
labels: feature request
assignees: danpacho
---

<!---
Expand All @@ -17,20 +16,16 @@ Please read the following before submitting:

Closes # <!-- Github issue # here -->

## 📝 Description
## 1. Feature description

> Add a brief description
> What does this feature do? (Fix/Feature/Bugfix/Refactor)

## 💪 Current behavior
## 2. Changes

> Please describe the current behavior that you are modifying
> What it changes were made?

## 🦾 New behavior

> Please describe the behavior or changes this PR adds

## 💣 Breaking change (y/n):
## 3. Breaking change (y/n):

<!-- If Yes, please describe the impact and migration path for existing users. -->

## 📝 Additional Information
## 4. Additional Information(context, links, etc.)
22 changes: 15 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
## Description
## 1. Description

Please provide a meaningful description of what this change will do, or is for. Bonus points for including links to related issues, other PRs, or technical references.
> What does this PR do? (Fix/Feature/Bugfix/Refactor)

Note that by _not_ including a description, you are asking reviewers to do extra work to understand the context of this change, which may lead to your PR taking much longer to review, or result in it not being reviewed at all.
## 2. Changes

## Type of Change
> What it changes were made?

## 3. Breaking change (y/n):

<!-- If Yes, please describe the impact and migration path for existing users. -->

## 4. Additional Information(context, links, etc.)

## 5. Type of Change

- [ ] Bug Fix
- [ ] Enhancement
- [ ] Breaking API Changes
- [ ] Refactor
- [ ] Enhancement
- [ ] Documentation
- [ ] Breaking API Changes
- [ ] Other (please describe)

## Checklist
## 6. Checklist

- [ ] I have verified this change is not present in other open pull requests
- [ ] Existing issues have been referenced (where applicable)
Expand Down
70 changes: 39 additions & 31 deletions .github/release-drafter-config.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,49 @@
name-template: 'v$RESOLVED_VERSION 🔮'
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: 'New Features 🚀'
labels:
- 'feature'
- 'enhancement'
- title: 'Bug Fixes 🐛'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: 'Breaking 🤯'
labels:
- 'breaking'
- title: 'Maintenance 🍦'
labels:
- 'maintenance'
- title: 'New Features'
labels:
- 'feature'

- title: 'Bug Fixes'
labels:
- 'bugfix'
- 'bug'

- title: 'Breaking Changes'
labels:
- 'breaking'

- title: 'Maintenance'
labels:
- 'refactor'
category-template: '### $TITLE'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&'
no-changes-template: 'No changes'
exclude-labels:
- 'skip-changelog'
- 'skip-changelog'
version-resolver:
major:
labels:
- 'breaking'
minor:
labels:
- 'feature'
- 'enhancement'
patch:
labels:
- 'maintenance'
- 'patch'
default: 'patch'
major:
labels:
- 'breaking'
minor:
labels:
- 'feature'
patch:
labels:
- 'refactor'
- 'bugfix'
- 'bug'
default: 'patch'

template: |
$CHANGES
## What’s Changed

$CHANGES

## Contributors

$CONTRIBUTORS

**Full Changelog**: https://github.com/metal-ts/fetch/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Draft Release
name: Release Drafter

on:
push:
branches: [master]
branches: [main]
pull_request:
types: [opened, reopened, synchronize]

Expand Down
62 changes: 31 additions & 31 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: Test code
name: CI

on:
push:
branches: ['**']
pull_request:
branches: ['**']
push:
branches: ["**"]

jobs:
total-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 9
run_install: true

- name: Format checking
run: pnpm prettier && pnpm eslint

- name: Build testing for core
run: pnpm build

- name: Unit testing
run: pnpm test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout

- uses: actions/setup-node@v3
name: Setup Node.js
with:
node-version: 22

- uses: pnpm/action-setup@v4
name: Setup PNPM
with:
# Skip the default install so we can do our own
run_install: false

- name: Install dependencies
run: pnpm install --no-frozen-lockfile

- name: Format checking
run: pnpm check

- name: Build
run: pnpm build

- name: Test
run: pnpm test
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Local
*.local
@resources

# Build
dist
.turbo
benchmark
.obsidian
.vite
output.css
.source
.next

# Dependencies
node_modules/
Expand All @@ -18,13 +24,24 @@ node_modules/
coverage
ts-perf
tsconfig.tsbuildinfo
__snapshots__
large.*

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Environment variables
.env
.env.production

# Build output
dist/
.astro/
.store/
.legacy

# Editor
!.vscode/extensions.json
Expand Down
13 changes: 13 additions & 0 deletions .hintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": [
"development"
],
"hints": {
"axe/forms": [
"default",
{
"label": "off"
}
]
}
}
3 changes: 1 addition & 2 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"**/*.ts": ["prettier --write", "eslint --fix"],
"**/*.{md,json}": ["prettier --write"]
"**/*.ts": ["biome format --write"]
}
2 changes: 0 additions & 2 deletions .prettierignore

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

Loading
Loading