From 5a2ce2ff865ab1226b2f4ae0a1cc59d2e6ef1fd2 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Tue, 9 Dec 2025 11:41:52 +1100 Subject: [PATCH] ci: prepare for trusted publishing --- .github/FUNDING.yml | 4 +- .github/ISSUE_TEMPLATE/config.yml | 7 +- .github/pull_request_template.md | 2 +- .github/workflows/autofix.yml | 2 +- .github/workflows/pr.yml | 8 +-- .github/workflows/release.yml | 3 +- package.json | 6 +- packages/devtools-client/package.json | 4 +- packages/devtools-ui/package.json | 4 +- packages/devtools-utils/package.json | 4 +- packages/devtools-vite/package.json | 4 +- packages/devtools/package.json | 2 +- packages/event-bus-client/package.json | 4 +- packages/event-bus/package.json | 4 +- packages/preact-devtools/package.json | 2 +- packages/react-devtools/package.json | 2 +- packages/solid-devtools/package.json | 2 +- packages/vue-devtools/package.json | 2 +- pnpm-lock.yaml | 92 +++++++++++++------------- tsconfig.json | 2 +- 20 files changed, 80 insertions(+), 80 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index e2ea8ad3..0cd9457a 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1 @@ -# These are supported funding model platforms - -github: tannerlinsley +github: [tannerlinsley] diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index d0b013fa..ed81789c 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,8 +1,11 @@ blank_issues_enabled: false contact_links: - - name: Feature Requests & Questions + - name: 🤔 Feature Requests & Questions url: https://github.com/TanStack/devtools/discussions about: Please ask and answer questions here. - - name: Community Chat + - name: 💬 Community Chat url: https://discord.gg/mQd7egN about: A dedicated discord server hosted by TanStack + - name: 🦋 TanStack Bluesky + url: https://bsky.app/profile/tanstack.com + about: Stay up to date with new releases of our libraries diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 5f528ecd..2e0f91c1 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,7 +4,7 @@ ## ✅ Checklist -- [ ] I have followed the steps in the [Contributing guide](https://github.com/TanStack/config/blob/main/CONTRIBUTING.md). +- [ ] I have followed the steps in the [Contributing guide](https://github.com/TanStack/devtools/blob/main/CONTRIBUTING.md). - [ ] I have tested this code locally with `pnpm test:pr`. ## 🚀 Release Impact diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 3c088095..d538ef03 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5.0.0 + uses: actions/checkout@v6.0.1 - name: Setup Tools uses: tanstack/config/.github/setup@main - name: Fix formatting diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ff331ff5..1ec5c3d1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -23,13 +23,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5.0.0 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Setup Tools uses: tanstack/config/.github/setup@main - name: Get base and head commits for `nx affected` - uses: nrwl/nx-set-shas@v4.3.3 + uses: nrwl/nx-set-shas@v4.4.0 with: main-branch-name: main - name: Run Checks @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5.0.0 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Setup Tools @@ -53,7 +53,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5.0.0 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Check Provenance diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0858f39c..6acd360e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5.0.0 + uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Setup Tools @@ -39,4 +39,3 @@ jobs: title: 'ci: Version Packages' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 04f4a63a..a538d0bb 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,9 @@ "private": true, "repository": { "type": "git", - "url": "https://github.com/tanstack/devtools.git" + "url": "git+https://github.com/TanStack/devtools.git" }, - "packageManager": "pnpm@10.17.0", + "packageManager": "pnpm@10.24.0", "type": "module", "scripts": { "build": "nx affected --targets=build --exclude=examples/** && size-limit", @@ -72,7 +72,7 @@ "jsdom": "^27.0.0", "knip": "^5.64.0", "markdown-link-extractor": "^4.0.2", - "nx": "^21.5.3", + "nx": "22.1.3", "premove": "^4.0.0", "prettier": "^3.6.2", "prettier-plugin-svelte": "^3.4.0", diff --git a/packages/devtools-client/package.json b/packages/devtools-client/package.json index 689051f7..8f75af99 100644 --- a/packages/devtools-client/package.json +++ b/packages/devtools-client/package.json @@ -6,8 +6,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", - "directory": "packages/devtools" + "url": "git+https://github.com/TanStack/devtools.git", + "directory": "packages/devtools-client" }, "homepage": "https://tanstack.com/devtools", "funding": { diff --git a/packages/devtools-ui/package.json b/packages/devtools-ui/package.json index e5613d63..55b41793 100644 --- a/packages/devtools-ui/package.json +++ b/packages/devtools-ui/package.json @@ -6,8 +6,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", - "directory": "packages/devtools" + "url": "git+https://github.com/TanStack/devtools.git", + "directory": "packages/devtools-ui" }, "homepage": "https://tanstack.com/devtools", "funding": { diff --git a/packages/devtools-utils/package.json b/packages/devtools-utils/package.json index 1808cd7a..9182bd49 100644 --- a/packages/devtools-utils/package.json +++ b/packages/devtools-utils/package.json @@ -6,8 +6,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", - "directory": "packages/devtools" + "url": "git+https://github.com/TanStack/devtools.git", + "directory": "packages/devtools-utils" }, "homepage": "https://tanstack.com/devtools", "funding": { diff --git a/packages/devtools-vite/package.json b/packages/devtools-vite/package.json index 49f03b5c..c3ea2e2c 100644 --- a/packages/devtools-vite/package.json +++ b/packages/devtools-vite/package.json @@ -6,8 +6,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", - "directory": "packages/devtools" + "url": "git+https://github.com/TanStack/devtools.git", + "directory": "packages/devtools-vite" }, "homepage": "https://tanstack.com/devtools", "funding": { diff --git a/packages/devtools/package.json b/packages/devtools/package.json index 15f2a0f7..2443d412 100644 --- a/packages/devtools/package.json +++ b/packages/devtools/package.json @@ -6,7 +6,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", + "url": "git+https://github.com/TanStack/devtools.git", "directory": "packages/devtools" }, "homepage": "https://tanstack.com/devtools", diff --git a/packages/event-bus-client/package.json b/packages/event-bus-client/package.json index 3e18843d..752e0669 100644 --- a/packages/event-bus-client/package.json +++ b/packages/event-bus-client/package.json @@ -6,8 +6,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", - "directory": "packages/devtools" + "url": "git+https://github.com/TanStack/devtools.git", + "directory": "packages/devtools-event-client" }, "homepage": "https://tanstack.com/devtools", "funding": { diff --git a/packages/event-bus/package.json b/packages/event-bus/package.json index f264e415..31784e98 100644 --- a/packages/event-bus/package.json +++ b/packages/event-bus/package.json @@ -6,8 +6,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", - "directory": "packages/devtools" + "url": "git+https://github.com/TanStack/devtools.git", + "directory": "packages/devtools-event-bus" }, "homepage": "https://tanstack.com/devtools", "funding": { diff --git a/packages/preact-devtools/package.json b/packages/preact-devtools/package.json index fc93b058..0ca08a47 100644 --- a/packages/preact-devtools/package.json +++ b/packages/preact-devtools/package.json @@ -6,7 +6,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", + "url": "git+https://github.com/TanStack/devtools.git", "directory": "packages/preact-devtools" }, "homepage": "https://tanstack.com/devtools", diff --git a/packages/react-devtools/package.json b/packages/react-devtools/package.json index 04381f6f..364f9084 100644 --- a/packages/react-devtools/package.json +++ b/packages/react-devtools/package.json @@ -6,7 +6,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", + "url": "git+https://github.com/TanStack/devtools.git", "directory": "packages/react-devtools" }, "homepage": "https://tanstack.com/devtools", diff --git a/packages/solid-devtools/package.json b/packages/solid-devtools/package.json index b431ad2b..abfdaac0 100644 --- a/packages/solid-devtools/package.json +++ b/packages/solid-devtools/package.json @@ -6,7 +6,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", + "url": "git+https://github.com/TanStack/devtools.git", "directory": "packages/solid-devtools" }, "homepage": "https://tanstack.com/devtools", diff --git a/packages/vue-devtools/package.json b/packages/vue-devtools/package.json index d3f35a3c..463a50e9 100644 --- a/packages/vue-devtools/package.json +++ b/packages/vue-devtools/package.json @@ -6,7 +6,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/TanStack/devtools.git", + "url": "git+https://github.com/TanStack/devtools.git", "directory": "packages/vue-devtools" }, "homepage": "https://tanstack.com/devtools", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 471ad58c..ef792d74 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: ^4.0.2 version: 4.0.3 nx: - specifier: ^21.5.3 - version: 21.6.10 + specifier: 22.1.3 + version: 22.1.3 premove: specifier: ^4.0.0 version: 4.0.0 @@ -2180,53 +2180,53 @@ packages: '@nothing-but/utils@0.17.0': resolution: {integrity: sha512-TuCHcHLOqDL0SnaAxACfuRHBNRgNJcNn9X0GiH5H3YSDBVquCr3qEIG3FOQAuMyZCbu9w8nk2CHhOsn7IvhIwQ==} - '@nx/nx-darwin-arm64@21.6.10': - resolution: {integrity: sha512-4K8oZdzil6zpY3zxugSbVDS4dF8o82KCeyT1IYH7t+aWD/tUnYhw/zmdNx6Jq80oxYgPrPWhxmuZ/UCN0LSYLw==} + '@nx/nx-darwin-arm64@22.1.3': + resolution: {integrity: sha512-4D/jXGsr3jcQ0vBo8aXXZMdfmC3n4OsZ1zjFaOXlF62Ujug+RqI/IvKxycT9r7Lr09PmW2OqBC01NfIWKoBLhg==} cpu: [arm64] os: [darwin] - '@nx/nx-darwin-x64@21.6.10': - resolution: {integrity: sha512-WqFIRjxtOHoJob2f24YiKfgqTcgtVb/CKYvnuMAmKccarOi91DeABQO35gXUwvE89TjhlR5slG5YLZt7E5UCaQ==} + '@nx/nx-darwin-x64@22.1.3': + resolution: {integrity: sha512-XmdccOBp1Lx9DXUzYDX65mkFqFvXaxUKm1d63bfA43vxIYUpR59SASB81KRQ/Q4dgvvU27C0EJuxSJbXsSkSYw==} cpu: [x64] os: [darwin] - '@nx/nx-freebsd-x64@21.6.10': - resolution: {integrity: sha512-EqrBLRA0WRek+x3kH6/YL+fRa6xKvj9e9nRfOYyo0GSbUwew5ofGWODGoYtoHC+oCuL4qtpKGRhU27NFwhOM8A==} + '@nx/nx-freebsd-x64@22.1.3': + resolution: {integrity: sha512-O+o4mqPwhKxfdsri4KxDbXbjwIwr04GfTSfA0TwgXs6hFf68qmc45FAmPGrPSvxIJg9+mUVDeFirdS8GcUE0jQ==} cpu: [x64] os: [freebsd] - '@nx/nx-linux-arm-gnueabihf@21.6.10': - resolution: {integrity: sha512-CdbPy4s1I4f57DOncoSsnJX9dB2f7sZhdPXHKZ9tgCMcBpy6uYHhkzmrwCdiBjl/2JQLM/GwEkqoYxpzIlAJbA==} + '@nx/nx-linux-arm-gnueabihf@22.1.3': + resolution: {integrity: sha512-ZIPDgzLq8qmvrZ3Bp+bWXam5uKwahjcChBNtORVtrHQfm4mxov2RMUMKTg2ZsVAWVP64zK+gmzG5LuoZjPMm4Q==} cpu: [arm] os: [linux] - '@nx/nx-linux-arm64-gnu@21.6.10': - resolution: {integrity: sha512-4ZSjvCjnBT0WpGdF12hvgLWmok4WftaE09fOWWrMm4b2m8F/5yKgU6usPFTehQa5oqTp08KW60kZMLaOQHOJQg==} + '@nx/nx-linux-arm64-gnu@22.1.3': + resolution: {integrity: sha512-wgpPaTpQKl+cCkSuE5zamTVrg14mRvT+bLAeN/yHSUgMztvGxwl3Ll+K9DgEcktBo1PLECTWNkVaW8IAsJm4Rg==} cpu: [arm64] os: [linux] - '@nx/nx-linux-arm64-musl@21.6.10': - resolution: {integrity: sha512-lNzlTsgr7nY56ddIpLTzYZTuNA3FoeWb9Ald07pCWc0EHSZ0W4iatJ+NNnj/QLINW8HWUehE9mAV5qZlhVFBmg==} + '@nx/nx-linux-arm64-musl@22.1.3': + resolution: {integrity: sha512-o9XmQehSPR2y0RD4evD+Ob3lNFuwsFOL5upVJqZ3rcE6GkJIFPg8SwEP5FaRIS5MwS04fxnek20NZ18BHjjV/g==} cpu: [arm64] os: [linux] - '@nx/nx-linux-x64-gnu@21.6.10': - resolution: {integrity: sha512-nJxUtzcHwk8TgDdcqUmbJnEMV3baQxmdWn77d1NTP4cG677A7jdV93hbnCcw+AQonaFLUzDwJOIX8eIPZ32GLw==} + '@nx/nx-linux-x64-gnu@22.1.3': + resolution: {integrity: sha512-ekcinyDNTa2huVe02T2SFMR8oArohozRbMGO19zftbObXXI4dLdoAuLNb3vK9Pe4vYOpkhfxBVkZvcWMmx7JdA==} cpu: [x64] os: [linux] - '@nx/nx-linux-x64-musl@21.6.10': - resolution: {integrity: sha512-+VwITTQW9wswP7EvFzNOucyaU86l2UcO6oYxFiwNvRioTlDOE5U7lxYmCgj3OHeGCmy9jhXlujdD+t3OhOT3gQ==} + '@nx/nx-linux-x64-musl@22.1.3': + resolution: {integrity: sha512-CqpRIJeIgELCqIgjtSsYnnLi6G0uqjbp/Pw9d7w4im4/NmJXqaE9gxpdHA1eowXLgAy9W1LkfzCPS8Q2IScPuQ==} cpu: [x64] os: [linux] - '@nx/nx-win32-arm64-msvc@21.6.10': - resolution: {integrity: sha512-kkK/0GNVs7pdcgksLfoMBT8k92XGfcePPuhhS1Tsyq+zc3gpsPo+vNIGfeIf2FumKBsUdWUHuChfpxBmjcVFVw==} + '@nx/nx-win32-arm64-msvc@22.1.3': + resolution: {integrity: sha512-YbuWb8KQsAR9G0+7b4HA16GV962/VWtRcdS7WY2yaScmPT2W5rObl528Y2j4DuB0j/MVZj12qJKrYfUyjL+UJA==} cpu: [arm64] os: [win32] - '@nx/nx-win32-x64-msvc@21.6.10': - resolution: {integrity: sha512-ddYZv1Z8wLhlHASwi044gTcM0+7OJ24V1yCwlVe3wsIqZDUZvVC1Lgk+wIQXUH8mBKm3NZti8B72nldoofOmSw==} + '@nx/nx-win32-x64-msvc@22.1.3': + resolution: {integrity: sha512-G90Sp409ypeOUbmj6nmEbdy043KJUKaZ7pffxmM6i63yEe2F2WdmMgdi525vUEgmq+pfB9zQQOX1sDR/rPFvtg==} cpu: [x64] os: [win32] @@ -6289,8 +6289,8 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - nx@21.6.10: - resolution: {integrity: sha512-iKSyAg0VGG1MEOnlyyseMOt4n9J7I955VC+0UPQbNQTLdIUW8ibIHubpQyjd8Qvq4CfrLxzm+iq1AmbZ5vEG4A==} + nx@22.1.3: + resolution: {integrity: sha512-8zS/jhz1ZYSlW3tDEkqIA3oXaS/BTnpuFNV6L3tGKAaIxdn1sD5BuOdxIVK+G/TaoxOhw2iKrGiZeSSpV7fILw==} hasBin: true peerDependencies: '@swc-node/register': ^1.8.0 @@ -9640,34 +9640,34 @@ snapshots: '@nothing-but/utils@0.17.0': {} - '@nx/nx-darwin-arm64@21.6.10': + '@nx/nx-darwin-arm64@22.1.3': optional: true - '@nx/nx-darwin-x64@21.6.10': + '@nx/nx-darwin-x64@22.1.3': optional: true - '@nx/nx-freebsd-x64@21.6.10': + '@nx/nx-freebsd-x64@22.1.3': optional: true - '@nx/nx-linux-arm-gnueabihf@21.6.10': + '@nx/nx-linux-arm-gnueabihf@22.1.3': optional: true - '@nx/nx-linux-arm64-gnu@21.6.10': + '@nx/nx-linux-arm64-gnu@22.1.3': optional: true - '@nx/nx-linux-arm64-musl@21.6.10': + '@nx/nx-linux-arm64-musl@22.1.3': optional: true - '@nx/nx-linux-x64-gnu@21.6.10': + '@nx/nx-linux-x64-gnu@22.1.3': optional: true - '@nx/nx-linux-x64-musl@21.6.10': + '@nx/nx-linux-x64-musl@22.1.3': optional: true - '@nx/nx-win32-arm64-msvc@21.6.10': + '@nx/nx-win32-arm64-msvc@22.1.3': optional: true - '@nx/nx-win32-x64-msvc@21.6.10': + '@nx/nx-win32-x64-msvc@22.1.3': optional: true '@oozcitak/dom@1.15.10': @@ -14115,7 +14115,7 @@ snapshots: dependencies: boolbase: 1.0.0 - nx@21.6.10: + nx@22.1.3: dependencies: '@napi-rs/wasm-runtime': 0.2.4 '@yarnpkg/lockfile': 1.1.0 @@ -14132,7 +14132,7 @@ snapshots: figures: 3.2.0 flat: 5.0.2 front-matter: 4.0.2 - ignore: 5.3.2 + ignore: 7.0.5 jest-diff: 30.1.2 jsonc-parser: 3.2.0 lines-and-columns: 2.0.3 @@ -14153,16 +14153,16 @@ snapshots: yargs: 17.7.2 yargs-parser: 21.1.1 optionalDependencies: - '@nx/nx-darwin-arm64': 21.6.10 - '@nx/nx-darwin-x64': 21.6.10 - '@nx/nx-freebsd-x64': 21.6.10 - '@nx/nx-linux-arm-gnueabihf': 21.6.10 - '@nx/nx-linux-arm64-gnu': 21.6.10 - '@nx/nx-linux-arm64-musl': 21.6.10 - '@nx/nx-linux-x64-gnu': 21.6.10 - '@nx/nx-linux-x64-musl': 21.6.10 - '@nx/nx-win32-arm64-msvc': 21.6.10 - '@nx/nx-win32-x64-msvc': 21.6.10 + '@nx/nx-darwin-arm64': 22.1.3 + '@nx/nx-darwin-x64': 22.1.3 + '@nx/nx-freebsd-x64': 22.1.3 + '@nx/nx-linux-arm-gnueabihf': 22.1.3 + '@nx/nx-linux-arm64-gnu': 22.1.3 + '@nx/nx-linux-arm64-musl': 22.1.3 + '@nx/nx-linux-x64-gnu': 22.1.3 + '@nx/nx-linux-x64-musl': 22.1.3 + '@nx/nx-win32-arm64-msvc': 22.1.3 + '@nx/nx-win32-x64-msvc': 22.1.3 transitivePeerDependencies: - debug diff --git a/tsconfig.json b/tsconfig.json index 533d8b6b..34b25124 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "forceConsistentCasingInFileNames": true, "isolatedModules": true, "lib": ["DOM", "DOM.Iterable", "ES2022"], - "module": "ES2022", + "module": "ESNext", "moduleResolution": "Bundler", "noEmit": true, "noImplicitReturns": true,