Skip to content

Commit ce67f00

Browse files
authored
Merge pull request #2 from freestylejs/docs/web
[feature] support `create-freestyle-fetch`, documentation site
2 parents b3333f6 + 1a00ab5 commit ce67f00

File tree

189 files changed

+35512
-3689
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+35512
-3689
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf
Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
---
22
name: Bug report
3-
about: Make a better open-source software with bug report
3+
about: Make a better software with bug report
44
title: '[bug]'
55
labels: bug
6-
assignees: danpacho
76
---
87

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

12-
**Expected behavior**
13-
A clear and concise description of what you expected to happen.
10+
## 1. Describe the bug
1411

15-
**Additional context**
16-
Add any other context about the problem here.
12+
> A clear and concise description of what the bug is.
13+
14+
## 2. Expected behavior
15+
16+
> A clear and concise description of what you expected to happen.
17+
18+
## 3. Additional context(screenshots, logs, etc.)
19+
20+
> Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Feature request
33
about: Suggest an idea for this project
44
title: '[feature-request] Write your features'
55
labels: feature request
6-
assignees: danpacho
76
---
87

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

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

20-
## 📝 Description
19+
## 1. Feature description
2120

22-
> Add a brief description
21+
> What does this feature do? (Fix/Feature/Bugfix/Refactor)
2322
24-
## 💪 Current behavior
23+
## 2. Changes
2524

26-
> Please describe the current behavior that you are modifying
25+
> What it changes were made?
2726
28-
## 🦾 New behavior
29-
30-
> Please describe the behavior or changes this PR adds
31-
32-
## 💣 Breaking change (y/n):
27+
## 3. Breaking change (y/n):
3328

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

36-
## 📝 Additional Information
31+
## 4. Additional Information(context, links, etc.)

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
1-
## Description
1+
## 1. Description
22

3-
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.
3+
> What does this PR do? (Fix/Feature/Bugfix/Refactor)
44
5-
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.
5+
## 2. Changes
66

7-
## Type of Change
7+
> What it changes were made?
8+
9+
## 3. Breaking change (y/n):
10+
11+
<!-- If Yes, please describe the impact and migration path for existing users. -->
12+
13+
## 4. Additional Information(context, links, etc.)
14+
15+
## 5. Type of Change
816

917
- [ ] Bug Fix
10-
- [ ] Enhancement
11-
- [ ] Breaking API Changes
1218
- [ ] Refactor
19+
- [ ] Enhancement
1320
- [ ] Documentation
21+
- [ ] Breaking API Changes
1422
- [ ] Other (please describe)
1523

16-
## Checklist
24+
## 6. Checklist
1725

1826
- [ ] I have verified this change is not present in other open pull requests
1927
- [ ] Existing issues have been referenced (where applicable)

.github/release-drafter-config.yml

Lines changed: 39 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,49 @@
1-
name-template: 'v$RESOLVED_VERSION 🔮'
1+
name-template: 'v$RESOLVED_VERSION'
22
tag-template: 'v$RESOLVED_VERSION'
33
categories:
4-
- title: 'New Features 🚀'
5-
labels:
6-
- 'feature'
7-
- 'enhancement'
8-
- title: 'Bug Fixes 🐛'
9-
labels:
10-
- 'fix'
11-
- 'bugfix'
12-
- 'bug'
13-
- title: 'Breaking 🤯'
14-
labels:
15-
- 'breaking'
16-
- title: 'Maintenance 🍦'
17-
labels:
18-
- 'maintenance'
4+
- title: 'New Features'
5+
labels:
6+
- 'feature'
7+
8+
- title: 'Bug Fixes'
9+
labels:
10+
- 'bugfix'
11+
- 'bug'
12+
13+
- title: 'Breaking Changes'
14+
labels:
15+
- 'breaking'
16+
17+
- title: 'Maintenance'
18+
labels:
19+
- 'refactor'
1920
category-template: '### $TITLE'
2021
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
2122
change-title-escapes: '\<*_&'
2223
no-changes-template: 'No changes'
2324
exclude-labels:
24-
- 'skip-changelog'
25+
- 'skip-changelog'
2526
version-resolver:
26-
major:
27-
labels:
28-
- 'breaking'
29-
minor:
30-
labels:
31-
- 'feature'
32-
- 'enhancement'
33-
patch:
34-
labels:
35-
- 'maintenance'
36-
- 'patch'
37-
default: 'patch'
27+
major:
28+
labels:
29+
- 'breaking'
30+
minor:
31+
labels:
32+
- 'feature'
33+
patch:
34+
labels:
35+
- 'refactor'
36+
- 'bugfix'
37+
- 'bug'
38+
default: 'patch'
39+
3840
template: |
39-
$CHANGES
41+
## What’s Changed
42+
43+
$CHANGES
44+
45+
## Contributors
46+
47+
$CONTRIBUTORS
4048
41-
**Full Changelog**: https://github.com/metal-ts/fetch/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
49+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Draft Release
1+
name: Release Drafter
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66
pull_request:
77
types: [opened, reopened, synchronize]
88

.github/workflows/test.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
name: Test code
1+
name: CI
22

33
on:
4-
push:
5-
branches: ['**']
6-
pull_request:
7-
branches: ['**']
4+
push:
5+
branches: ["**"]
86

97
jobs:
10-
total-test:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v3
14-
name: Checkout
15-
16-
- name: Setup Node.js
17-
uses: actions/setup-node@v3
18-
with:
19-
node-version: 20
20-
21-
- uses: pnpm/action-setup@v2
22-
name: Install pnpm
23-
id: pnpm-install
24-
with:
25-
version: 9
26-
run_install: true
27-
28-
- name: Format checking
29-
run: pnpm prettier && pnpm eslint
30-
31-
- name: Build testing for core
32-
run: pnpm build
33-
34-
- name: Unit testing
35-
run: pnpm test
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
name: Checkout
13+
14+
- uses: actions/setup-node@v3
15+
name: Setup Node.js
16+
with:
17+
node-version: 22
18+
19+
- uses: pnpm/action-setup@v4
20+
name: Setup PNPM
21+
with:
22+
# Skip the default install so we can do our own
23+
run_install: false
24+
25+
- name: Install dependencies
26+
run: pnpm install --no-frozen-lockfile
27+
28+
- name: Format checking
29+
run: pnpm check
30+
31+
- name: Build
32+
run: pnpm build
33+
34+
- name: Test
35+
run: pnpm test

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# Local
22
*.local
3+
@resources
34

45
# Build
56
dist
67
.turbo
78
benchmark
9+
.obsidian
10+
.vite
11+
output.css
12+
.source
13+
.next
814

915
# Dependencies
1016
node_modules/
@@ -18,13 +24,24 @@ node_modules/
1824
coverage
1925
ts-perf
2026
tsconfig.tsbuildinfo
27+
__snapshots__
28+
large.*
2129

2230
# Logs
2331
npm-debug.log*
2432
yarn-debug.log*
2533
yarn-error.log*
2634
pnpm-debug.log*
2735

36+
# Environment variables
37+
.env
38+
.env.production
39+
40+
# Build output
41+
dist/
42+
.astro/
43+
.store/
44+
.legacy
2845

2946
# Editor
3047
!.vscode/extensions.json

0 commit comments

Comments
 (0)