-
-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,281 changed files
with
126,142 additions
and
24,711 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"configMigration": true, | ||
"extends": [ | ||
"config:recommended", | ||
"group:allNonMajor", | ||
"schedule:weekly", | ||
":approveMajorUpdates", | ||
":automergeMinor", | ||
":disablePeerDependencies", | ||
":maintainLockFilesMonthly", | ||
":semanticCommits", | ||
":semanticCommitTypeAll(chore)" | ||
], | ||
"ignorePresets": [":ignoreModulesAndTests"], | ||
"labels": ["dependencies"], | ||
"rangeStrategy": "bump", | ||
"postUpdateOptions": ["pnpmDedupe"], | ||
"ignoreDeps": [ | ||
"@types/node", | ||
"@types/react", | ||
"@types/react-dom", | ||
"node", | ||
"react", | ||
"react-dom", | ||
"react-server-dom-webpack", | ||
"temp-react", | ||
"temp-react-dom", | ||
"typescript", | ||
"typescript52", | ||
"typescript53", | ||
"typescript54", | ||
"typescript55", | ||
"typescript56", | ||
"unplugin", | ||
"use-sync-external-store", | ||
"waku" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: autofix.ci # needed to securely identify the workflow | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [main, alpha, beta] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
autofix: | ||
name: autofix | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Setup Tools | ||
uses: tanstack/config/.github/setup@main | ||
- name: Fix formatting | ||
run: pnpm prettier:write | ||
- name: Apply fixes | ||
uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c | ||
with: | ||
commit-message: 'ci: apply automated fixes' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
description: override release tag | ||
required: false | ||
push: | ||
branches: ['main', 'alpha', 'beta'] | ||
branches: [main, alpha, beta] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | ||
|
@@ -16,29 +16,24 @@ concurrency: | |
env: | ||
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | ||
|
||
permissions: | ||
contents: write | ||
id-token: write | ||
|
||
jobs: | ||
test-and-publish: | ||
name: Test & Publish | ||
if: github.repository == 'TanStack/router' | ||
if: github.repository_owner == 'TanStack' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '0' | ||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
fetch-depth: 0 | ||
- name: Start Nx Agents | ||
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml" | ||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile --prefer-offline | ||
- name: Setup Tools | ||
uses: tanstack/config/.github/setup@main | ||
- name: Run Tests | ||
run: pnpm run test:ci --parallel=3 | ||
- name: Stop Nx Agents | ||
|
@@ -51,8 +46,6 @@ jobs: | |
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" | ||
pnpm run cipublish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
TAG: ${{ inputs.tag }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,6 @@ name: pr | |
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'media/**' | ||
- '**/*.md' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | ||
|
@@ -14,70 +10,42 @@ concurrency: | |
env: | ||
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@v4.2.2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
- name: Start Nx Agents | ||
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml" | ||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile --prefer-offline | ||
- name: Setup Tools | ||
uses: tanstack/config/.github/setup@main | ||
- name: Get base and head commits for `nx affected` | ||
uses: nrwl/nx-set-shas@v3 | ||
uses: nrwl/nx-set-shas@v4.1.2 | ||
with: | ||
main-branch-name: 'main' | ||
main-branch-name: main | ||
- name: Run Checks | ||
run: pnpm run test:pr --parallel=3 | ||
- name: Stop Nx Agents | ||
if: ${{ always() }} | ||
run: npx nx-cloud stop-all-agents | ||
type-test-matrix: | ||
name: Type Test Matrix | ||
preview: | ||
name: Preview | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
typescript-version: | ||
- '~5.4.0' | ||
- '~5.3.0' | ||
- '~5.2.0' | ||
- '~5.1.0' | ||
- '~5.0.0' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile --prefer-offline | ||
- name: Get base and head commits for `nx affected` | ||
uses: nrwl/nx-set-shas@v3 | ||
with: | ||
main-branch-name: 'main' | ||
- name: install other ts versions | ||
run: pnpm add -Dw typescript@${{ matrix.typescript-version }} | ||
- name: Start Type Test | ||
run: TS_VERSION=${{ matrix.typescript-version }} pnpm run test:types | ||
- name: Setup Tools | ||
uses: tanstack/config/.github/setup@main | ||
- name: Build Packages | ||
run: pnpm run build:all | ||
- name: Publish Previews | ||
run: pnpx pkg-pr-new publish --pnpm --compact './packages/*' --template './examples/*/*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.