Skip to content

Commit 2b16114

Browse files
ci: more changes from other projects (#980)
1 parent 0786601 commit 2b16114

File tree

180 files changed

+2223
-1830
lines changed

Some content is hidden

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

180 files changed

+2223
-1830
lines changed

.github/workflows/autofix.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v5.0.1
21+
uses: actions/checkout@v6.0.1
2222
with:
2323
fetch-depth: 0
2424
- name: Setup Tools
2525
uses: tanstack/config/.github/setup@main
2626
- name: Fix formatting
2727
run: pnpm format
28+
- name: Regenerate docs
29+
run: pnpm build && pnpm generate-docs
2830
- name: Apply fixes
2931
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
3032
with:

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
actions: read # Required for Claude to read CI results on PRs
1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6.0.1
2222
with:
2323
fetch-depth: 0 # required for Claude Code
2424
- uses: anthropics/claude-code-action@v1

.github/workflows/docs-sync.yml

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

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6.0.1
1717

1818
- name: Setup pnpm
1919
uses: pnpm/action-setup@v4

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v5.0.1
26+
uses: actions/checkout@v6.0.1
2727
with:
2828
fetch-depth: 0
2929
- name: Setup Tools
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Checkout
42-
uses: actions/checkout@v5.0.1
42+
uses: actions/checkout@v6.0.1
4343
with:
4444
fetch-depth: 0
4545
- name: Setup Tools
@@ -67,7 +67,7 @@ jobs:
6767
runs-on: ubuntu-latest
6868
steps:
6969
- name: Checkout
70-
uses: actions/checkout@v5.0.1
70+
uses: actions/checkout@v6.0.1
7171
- name: Setup Tools
7272
uses: tanstack/config/.github/setup@main
7373
- name: Build Packages
@@ -81,7 +81,7 @@ jobs:
8181
runs-on: ubuntu-latest
8282
steps:
8383
- name: Checkout
84-
uses: actions/checkout@v5.0.1
84+
uses: actions/checkout@v6.0.1
8585
- name: Setup Tools
8686
uses: tanstack/config/.github/setup@main
8787
- name: Build Packages

.github/workflows/release.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v5.0.1
26+
uses: actions/checkout@v6.0.1
2727
with:
2828
fetch-depth: 0
2929
- name: Setup Tools
@@ -40,33 +40,6 @@ jobs:
4040
title: 'ci: Version Packages'
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
44-
- name: Generate Docs
45-
if: steps.changesets.outputs.published == 'true'
46-
run: pnpm generate-docs
47-
- name: Commit Generated Docs
48-
if: steps.changesets.outputs.published == 'true'
49-
run: |
50-
if [ -n "$(git status --porcelain)" ]; then
51-
git config user.name "github-actions[bot]"
52-
git config user.email "github-actions[bot]@users.noreply.github.com"
53-
54-
BRANCH="docs/auto-update-$(date +%s)"
55-
git checkout -b "$BRANCH"
56-
git add docs/
57-
git commit -m "docs: regenerate API documentation"
58-
git push origin "$BRANCH"
59-
60-
gh pr create \
61-
--title "docs: regenerate API documentation" \
62-
--body "Automated documentation update from release" \
63-
--base main \
64-
--head "$BRANCH"
65-
else
66-
echo "No changes in generated docs"
67-
fi
68-
env:
69-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7043
- name: Comment on PRs about release
7144
if: steps.changesets.outputs.published == 'true'
7245
uses: tanstack/config/.github/comment-on-release@main

.husky/pre-commit

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

docs/framework/angular/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install @tanstack/angular-db
1313

1414
See the [Angular Functions Reference](./reference/index.md) to see the full list of functions available in the Angular Adapter.
1515

16-
For comprehensive documentation on writing queries (filtering, joins, aggregations, etc.), see the [Live Queries Guide](../guides/live-queries).
16+
For comprehensive documentation on writing queries (filtering, joins, aggregations, etc.), see the [Live Queries Guide](../../guides/live-queries).
1717

1818
## Basic Usage
1919

docs/framework/angular/reference/functions/injectLiveQuery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Defined in: [index.ts:74](https://github.com/TanStack/db/blob/main/packages/angu
127127
function injectLiveQuery<TContext>(config): InjectLiveQueryResult<{ [K in string | number | symbol]: (TContext["result"] extends object ? any[any] : TContext["hasJoins"] extends true ? TContext["schema"] : TContext["schema"][TContext["fromSourceName"]])[K] }>;
128128
```
129129

130-
Defined in: [index.ts:77](https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L77)
130+
Defined in: [index.ts:79](https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L79)
131131

132132
### Type Parameters
133133

@@ -151,7 +151,7 @@ Defined in: [index.ts:77](https://github.com/TanStack/db/blob/main/packages/angu
151151
function injectLiveQuery<TResult, TKey, TUtils>(liveQueryCollection): InjectLiveQueryResult<TResult, TKey, TUtils>;
152152
```
153153

154-
Defined in: [index.ts:80](https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L80)
154+
Defined in: [index.ts:82](https://github.com/TanStack/db/blob/main/packages/angular-db/src/index.ts#L82)
155155

156156
### Type Parameters
157157

docs/framework/angular/reference/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ title: "@tanstack/angular-db"
77

88
## Interfaces
99

10-
- [InjectLiveQueryResult](./interfaces/InjectLiveQueryResult.md)
10+
- [InjectLiveQueryResult](interfaces/InjectLiveQueryResult.md)
1111

1212
## Functions
1313

14-
- [injectLiveQuery](./functions/injectLiveQuery.md)
14+
- [injectLiveQuery](functions/injectLiveQuery.md)

0 commit comments

Comments
 (0)