-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Migrate all packages to use TanStack Config (#34)
* chore: WIP migrate all packages to use TanStack Config * chore: add missing scripts to root * chore: fix prettier usage in windows * chore: apply prettier * chore: fix TSC usage in Windows * chore: fix CI and ESLint+TSC
- Loading branch information
1 parent
6b16bff
commit 5dfb993
Showing
47 changed files
with
2,458 additions
and
2,405 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,27 +1,43 @@ | ||
name: pr | ||
on: [pull_request] | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'media/**' | ||
- '**/*.md' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | ||
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }} | ||
|
||
jobs: | ||
test: | ||
name: 'Test' | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '0' | ||
- name: Setup Pnpm | ||
uses: pnpm/action-setup@v2.2.4 | ||
fetch-depth: 0 | ||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
version: 8 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16.19.0 | ||
cache: 'pnpm' | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
- name: Install dependencies | ||
run: pnpm --filter "./packages/**" --prefer-offline install --no-frozen-lockfile | ||
- name: Build & Test | ||
run: npx nx run-many --targets=test,build --projects=@tanstack/* --exclude=@tanstack/react-start | ||
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: Run Checks | ||
run: pnpm run test:pr |
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 |
---|---|---|
@@ -1 +1 @@ | ||
//registry.npmjs.org/:_authToken=${NPM_TOKEN} | ||
prefer-workspace-packages=true |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v14.17.6 | ||
v18.19.0 |
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,9 @@ | ||
**/.next | ||
**/.nx/cache | ||
**/.svelte-kit | ||
**/build | ||
**/coverage | ||
**/dist | ||
**/docs | ||
**/codemods/**/__testfixtures__ | ||
pnpm-lock.yaml |
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
Oops, something went wrong.