Skip to content

Commit 83f65fd

Browse files
committed
chore(release): version 1.0.0
0 parents  commit 83f65fd

Some content is hidden

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

42 files changed

+8790
-0
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/config@3.1.2/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+
}

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
lint:
9+
uses: ./.github/workflows/lint.yml
10+
secrets: inherit
11+
12+
test:
13+
needs: lint
14+
uses: ./.github/workflows/test.yml
15+
secrets: inherit

.github/workflows/lint.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Quality Assurance
2+
on:
3+
workflow_call:
4+
workflow_dispatch:
5+
6+
jobs:
7+
typecheck:
8+
name: typecheck
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 22
21+
22+
- name: Setup Bun
23+
uses: oven-sh/setup-bun@v2
24+
25+
- name: Cache Bun Dependencies
26+
uses: actions/cache@v4
27+
with:
28+
path: ~/.bun/install/cache
29+
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
30+
restore-keys: |
31+
${{ runner.os }}-bun-
32+
33+
- name: Install Dependencies
34+
run: bun install --frozen-lockfile
35+
36+
- name: Run Type Checker
37+
run: |
38+
bun run typecheck
39+
40+
lint:
41+
name: lint
42+
runs-on: ubuntu-latest
43+
44+
steps:
45+
- name: Checkout Repository
46+
uses: actions/checkout@v4
47+
with:
48+
fetch-depth: 0
49+
50+
- name: Setup Node.js
51+
uses: actions/setup-node@v4
52+
with:
53+
node-version: 22
54+
55+
- name: Setup Bun
56+
uses: oven-sh/setup-bun@v2
57+
58+
- name: Cache Bun Dependencies
59+
uses: actions/cache@v4
60+
with:
61+
path: ~/.bun/install/cache
62+
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
63+
restore-keys: |
64+
${{ runner.os }}-bun-
65+
66+
- name: Install Dependencies
67+
run: bun install --frozen-lockfile
68+
69+
- name: Run Linter
70+
run: |
71+
bun run lint

.github/workflows/test.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Tests
2+
on:
3+
workflow_call:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test:
8+
name: test
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 22
21+
22+
- name: Setup Bun
23+
uses: oven-sh/setup-bun@v2
24+
25+
- name: Cache Bun Dependencies
26+
uses: actions/cache@v4
27+
with:
28+
path: ~/.bun/install/cache
29+
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
30+
restore-keys: |
31+
${{ runner.os }}-bun-
32+
33+
- name: Install Dependencies
34+
run: bun install --frozen-lockfile
35+
36+
- name: Run Tests
37+
run: |
38+
bun run test

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# dependencies (bun install)
2+
node_modules
3+
4+
# output
5+
out
6+
dist
7+
*.tgz
8+
9+
# code coverage
10+
coverage
11+
*.lcov
12+
13+
# logs
14+
logs
15+
_.log
16+
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
17+
18+
# dotenv environment variable files
19+
.env
20+
.env.development.local
21+
.env.test.local
22+
.env.production.local
23+
.env.local
24+
25+
# caches
26+
.eslintcache
27+
.cache
28+
*.tsbuildinfo
29+
30+
# IntelliJ based IDEs
31+
.idea
32+
33+
# Finder (MacOS) folder config
34+
.DS_Store
35+
36+
# References
37+
/references
38+
39+
# local smoke scripts
40+
/src/test.ts

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx commitlint --edit "$1"

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bun run typecheck && bun run lint && bun run test

.vscode/settings.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"[javascript]": {
3+
"editor.defaultFormatter": "biomejs.biome"
4+
},
5+
"[typescript]": {
6+
"editor.defaultFormatter": "biomejs.biome"
7+
},
8+
"[typescriptreact]": {
9+
"editor.defaultFormatter": "biomejs.biome"
10+
},
11+
"editor.codeActionsOnSave": {
12+
"source.fixAll.biome": "explicit",
13+
"source.organizeImports.biome": "explicit"
14+
},
15+
"editor.defaultFormatter": "biomejs.biome",
16+
"editor.formatOnSave": true,
17+
"files.autoSave": "onFocusChange",
18+
"search.exclude": {
19+
"**/node_modules": true
20+
},
21+
"terminal.integrated.localEchoStyle": "dim",
22+
"typescript.enablePromptUseWorkspaceTsdk": true,
23+
"typescript.preferences.autoImportFileExcludePatterns": [
24+
"next/router.d.ts",
25+
"next/dist/client/router.d.ts"
26+
],
27+
"typescript.tsdk": "node_modules/typescript/lib"
28+
}

AGENTS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# QueryForge TypeScript
2+
3+
## Rules
4+
5+
- Keep one class/interface per file.
6+
- Validate against Doctrine's test suite where possible, and add any missing tests to this project as needed.
7+
- What is async by nature should be async and awaited - PHP is fully synchronous but Node is not, so embrace async/await where it makes sense and don't try to force sync patterns on async code.
8+
- Run "bun run format", "bun run lint", "bun run typecheck" and "bun run test" before submitting any changes to ensure code quality and test coverage.
9+
- Once validated add a summary of your changes in CHANGELOG.md

0 commit comments

Comments
 (0)