diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bcde8b2..9f1a248 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: release: + if: ${{ github.repository_owner == 'mattf96s' }} name: Release runs-on: ubuntu-latest steps: @@ -17,6 +18,8 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v3 + with: + version: 9 - name: Setup Node.js 20 uses: actions/setup-node@v4 @@ -26,28 +29,15 @@ jobs: cache: "pnpm" - name: Install Dependencies - run: pnpm install --frozen-lockfile + run: pnpm install - name: Create Release Pull Request uses: changesets/action@v1 id: changesets with: - commit: "chore: publish new release" - title: "chore: publish new release" + commit: "chore(release): version packages" + title: "chore(release): version packages" + publish: pnpm release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Get current branch - id: get_branch - run: echo "CURRENT_BRANCH=$(git branch --show-current)" >> $GITHUB_ENV - - - name: Update lock file - if: env.CURRENT_BRANCH == 'changeset-release/main' - run: pnpm install --lockfile-only - - - name: Commit lock file - if: env.CURRENT_BRANCH == 'changeset-release/main' - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: "chore: update lock file" - branch: changeset-release/main + NODE_ENV: "production" diff --git a/apps/web/knip.json b/apps/web/knip.json deleted file mode 100644 index 6fa480a..0000000 --- a/apps/web/knip.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://unpkg.com/knip@5/schema.json", - "entry": [ - "app/**/*.{ts,tsx,js,tsx}", - "server.js" - ], - "project": [ - "app/**/*.{ts,tsx,js,tsx}", - "server.js" - ] -} \ No newline at end of file diff --git a/apps/web/package.json b/apps/web/package.json index b93de93..1992835 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -50,7 +50,7 @@ "@remix-run/serve": "^2.9.2", "@sentry/profiling-node": "^7.114.0", "@sentry/remix": "^7.114.0", - "@tanstack/react-table": "^8.17.0", + "@tanstack/react-table": "^8.17.3", "@uidotdev/usehooks": "^2.4.1", "@vercel/analytics": "^1.2.2", "@vercel/remix": "2.9.2-patch.2", @@ -65,7 +65,7 @@ "date-fns": "^3.6.0", "dompurify": "^3.1.3", "embla-carousel-react": "^8.0.4", - "framer-motion": "^11.1.9", + "framer-motion": "^11.2.0", "idb-keyval": "^6.2.1", "idle-task": "^4.3.0", "isbot": "^5.1.6", @@ -85,7 +85,7 @@ "react-virtuoso": "^4.7.10", "remix-themes": "^1.3.1", "remix-utils": "^7.6.0", - "shiki": "^1.5.1", + "shiki": "^1.5.2", "sonner": "^1.4.41", "spin-delay": "^2.0.0", "tailwind-merge": "^2.3.0", @@ -118,7 +118,6 @@ "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-tailwindcss": "^3.15.1", - "knip": "^5.15.1", "postcss": "^8.4.38", "prettier": "^3.2.5", "prettier-plugin-tailwindcss": "^0.5.14", diff --git a/package.json b/package.json index f91f04c..5e1555e 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "apps/*", "packages/*" ], + "packageManager": "pnpm@9.1.0", "description": "QuackDB - An online DuckDB SQL playground and editor", "scripts": { "build": "turbo run build", @@ -26,7 +27,7 @@ "set-node-v": "pnpm env use --global 20", "typecheck": "turbo run typecheck", "knip": "knip", - "release": "changeset version" + "release": "turbo build && changeset version" }, "devDependencies": { "@biomejs/biome": "^1.7.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7367c31..c3f70de 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -162,8 +162,8 @@ importers: specifier: ^7.114.0 version: 7.114.0(@remix-run/node@2.9.2(typescript@5.4.5))(@remix-run/react@2.9.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.4.5))(react@18.3.1) '@tanstack/react-table': - specifier: ^8.17.0 - version: 8.17.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^8.17.3 + version: 8.17.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@uidotdev/usehooks': specifier: ^2.4.1 version: 2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -207,8 +207,8 @@ importers: specifier: ^8.0.4 version: 8.0.4(react@18.3.1) framer-motion: - specifier: ^11.1.9 - version: 11.1.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^11.2.0 + version: 11.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) idb-keyval: specifier: ^6.2.1 version: 6.2.1 @@ -267,8 +267,8 @@ importers: specifier: ^7.6.0 version: 7.6.0(@remix-run/node@2.9.2(typescript@5.4.5))(@remix-run/react@2.9.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.4.5))(@remix-run/router@1.16.1)(crypto-js@4.2.0)(react@18.3.1)(zod@3.23.8) shiki: - specifier: ^1.5.1 - version: 1.5.1 + specifier: ^1.5.2 + version: 1.5.2 sonner: specifier: ^1.4.41 version: 1.4.41(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -360,9 +360,6 @@ importers: eslint-plugin-tailwindcss: specifier: ^3.15.1 version: 3.15.1(tailwindcss@3.4.3(ts-node@10.9.2(@types/node@20.12.11)(typescript@5.4.5))) - knip: - specifier: ^5.15.1 - version: 5.15.1(@types/node@20.12.11)(typescript@5.4.5) postcss: specifier: ^8.4.38 version: 8.4.38 @@ -2099,8 +2096,8 @@ packages: resolution: {integrity: sha512-RSIyeqFG3PR5iJsZnagQxzOhM22z1Kh9DG+HQQsfVrxokzrWKRu/G17O2MIDh2I5iYEaL0Fkd/9RAXE4/b0aVg==} engines: {node: '>= 14'} - '@shikijs/core@1.5.1': - resolution: {integrity: sha512-xjV63pRUBvxA1LsxOUhRKLPh0uUjwBLzAKLdEuYSLIylo71sYuwDcttqNP01Ib1TZlLfO840CXHPlgUUsYFjzg==} + '@shikijs/core@1.5.2': + resolution: {integrity: sha512-wSAOgaz48GmhILFElMCeQypSZmj6Ru6DttOOtl3KNkdJ17ApQuGNCfzpk4cClasVrnIu45++2DBwG4LNMQAfaA==} '@snyk/github-codeowners@1.1.0': resolution: {integrity: sha512-lGFf08pbkEac0NYgVf4hdANpAgApRjNByLXB+WBip3qj1iendOIyAwP2GKkKbQMNVy2r1xxDf0ssfWscoiC+Vw==} @@ -2130,15 +2127,15 @@ packages: peerDependencies: tailwindcss: '>=3.0.0 || insiders' - '@tanstack/react-table@8.17.0': - resolution: {integrity: sha512-LSJxTDzlKGs8EN7/UHB1l3yLR9HUIxoHFkTbTjHaUUGL4kgYZFYhsQsdDJSIykG86qpIA/6gSWmtwNfy5Iprhw==} + '@tanstack/react-table@8.17.3': + resolution: {integrity: sha512-5gwg5SvPD3lNAXPuJJz1fOCEZYk9/GeBFH3w/hCgnfyszOIzwkwgp5I7Q4MJtn0WECp84b5STQUDdmvGi8m3nA==} engines: {node: '>=12'} peerDependencies: react: '>=16.8' react-dom: '>=16.8' - '@tanstack/table-core@8.16.0': - resolution: {integrity: sha512-dCG8vQGk4js5v88/k83tTedWOwjGnIyONrKpHpfmSJB8jwFHl8GSu1sBBxbtACVAPtAQgwNxl0rw1d3RqRM1Tg==} + '@tanstack/table-core@8.17.3': + resolution: {integrity: sha512-mPBodDGVL+fl6d90wUREepHa/7lhsghg2A3vFpakEhrhtbIlgNAZiMr7ccTgak5qbHqF14Fwy+W1yFWQt+WmYQ==} engines: {node: '>=12'} '@ts-morph/common@0.11.1': @@ -2684,8 +2681,8 @@ packages: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} - caniuse-lite@1.0.30001617: - resolution: {integrity: sha512-mLyjzNI9I+Pix8zwcrpxEbGlfqOkF9kM3ptzmKNw5tizSyYwMe+nGLTqMK9cO+0E+Bh6TsBxNAaHWEM8xwSsmA==} + caniuse-lite@1.0.30001618: + resolution: {integrity: sha512-p407+D1tIkDvsEAPS22lJxLQQaG8OTBEqo0KhzfABGk0TU4juBNDSfH0hyAp/HRyx+M8L17z/ltyhxh27FTfQg==} ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -3281,8 +3278,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.4.763: - resolution: {integrity: sha512-k4J8NrtJ9QrvHLRo8Q18OncqBCB7tIUyqxRcJnlonQ0ioHKYB988GcDFF3ZePmnb8eHEopDs/wPHR/iGAFgoUQ==} + electron-to-chromium@1.4.767: + resolution: {integrity: sha512-nzzHfmQqBss7CE3apQHkHjXW77+8w3ubGCIoEijKCJebPufREaFETgGXWTkh32t259F3Kcq+R8MZdFdOJROgYw==} embla-carousel-react@8.0.4: resolution: {integrity: sha512-3NlOmBmRhaGhtI0It9243yg9fz2wPRML5gGLDIE69Oyb/CuGsJnxpcgG74j905NQBDgReTEfFJwzOtIFAjeBfg==} @@ -3668,8 +3665,8 @@ packages: fraction.js@4.3.7: resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} - framer-motion@11.1.9: - resolution: {integrity: sha512-flECDIPV4QDNcOrDafVFiIazp8X01HFpzc01eDKJsdNH/wrATcYydJSH9JbPWMS8UD5lZlw+J1sK8LG2kICgqw==} + framer-motion@11.2.0: + resolution: {integrity: sha512-LRfLVPEwtO9IXJCAsWvtj3XZxrdZDcTxNNkZEq30aQ8p7/wimfUkDy67TDWdtzPiyKDkqOHDhaQC6XVrQ4Fh7A==} peerDependencies: '@emotion/is-prop-valid': '*' react: ^18.0.0 @@ -5092,6 +5089,9 @@ packages: picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -5757,8 +5757,8 @@ packages: shell-quote-word@1.0.1: resolution: {integrity: sha512-lT297f1WLAdq0A4O+AknIFRP6kkiI3s8C913eJ0XqBxJbZPGWUNkRQk2u8zk4bEAjUJ5i+fSLwB6z1HzeT+DEg==} - shiki@1.5.1: - resolution: {integrity: sha512-vx4Ds3M3B9ZEmLeSXqBAB85osBWV8ErZfP69kuFQZozPgHc33m7spLTCUkcjwEjFm3gk3F9IdXMv8kX+v9xDHA==} + shiki@1.5.2: + resolution: {integrity: sha512-fpPbuSaatinmdGijE7VYUD3hxLozR3ZZ+iAx8Iy2X6REmJGyF5hQl94SgmiUNTospq346nXUVZx0035dyGvIVw==} side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} @@ -6309,8 +6309,8 @@ packages: unplugin@1.0.1: resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==} - update-browserslist-db@1.0.15: - resolution: {integrity: sha512-K9HWH62x3/EalU1U6sjSZiylm9C8tgq2mSvshZpqc7QE69RaA2qjhkW2HlNA0tFpEbtyFz7HTqbSdN4MSwUodA==} + update-browserslist-db@1.0.16: + resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' @@ -8274,7 +8274,7 @@ snapshots: lodash.debounce: 4.0.8 minimatch: 9.0.4 ora: 5.4.1 - picocolors: 1.0.0 + picocolors: 1.0.1 picomatch: 2.3.1 pidtree: 0.6.0 postcss: 8.4.38 @@ -8604,7 +8604,7 @@ snapshots: - encoding - supports-color - '@shikijs/core@1.5.1': {} + '@shikijs/core@1.5.2': {} '@snyk/github-codeowners@1.1.0': dependencies: @@ -8637,13 +8637,13 @@ snapshots: postcss-selector-parser: 6.0.10 tailwindcss: 3.4.3(ts-node@10.9.2(@types/node@20.12.11)(typescript@5.4.5)) - '@tanstack/react-table@8.17.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-table@8.17.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@tanstack/table-core': 8.16.0 + '@tanstack/table-core': 8.17.3 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@tanstack/table-core@8.16.0': {} + '@tanstack/table-core@8.17.3': {} '@ts-morph/common@0.11.1': dependencies: @@ -8855,7 +8855,7 @@ snapshots: deepmerge: 4.3.1 media-query-parser: 2.0.2 modern-ahocorasick: 1.0.1 - picocolors: 1.0.0 + picocolors: 1.0.1 transitivePeerDependencies: - babel-plugin-macros @@ -9137,10 +9137,10 @@ snapshots: autoprefixer@10.4.19(postcss@8.4.38): dependencies: browserslist: 4.23.0 - caniuse-lite: 1.0.30001617 + caniuse-lite: 1.0.30001618 fraction.js: 4.3.7 normalize-range: 0.1.2 - picocolors: 1.0.0 + picocolors: 1.0.1 postcss: 8.4.38 postcss-value-parser: 4.2.0 @@ -9245,10 +9245,10 @@ snapshots: browserslist@4.23.0: dependencies: - caniuse-lite: 1.0.30001617 - electron-to-chromium: 1.4.763 + caniuse-lite: 1.0.30001618 + electron-to-chromium: 1.4.767 node-releases: 2.0.14 - update-browserslist-db: 1.0.15(browserslist@4.23.0) + update-browserslist-db: 1.0.16(browserslist@4.23.0) buffer-from@1.1.2: {} @@ -9298,7 +9298,7 @@ snapshots: camelcase@5.3.1: {} - caniuse-lite@1.0.30001617: {} + caniuse-lite@1.0.30001618: {} ccount@2.0.1: {} @@ -9877,7 +9877,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.4.763: {} + electron-to-chromium@1.4.767: {} embla-carousel-react@8.0.4(react@18.3.1): dependencies: @@ -10493,7 +10493,7 @@ snapshots: fraction.js@4.3.7: {} - framer-motion@11.1.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + framer-motion@11.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: tslib: 2.6.2 optionalDependencies: @@ -12040,6 +12040,8 @@ snapshots: picocolors@1.0.0: {} + picocolors@1.0.1: {} + picomatch@2.3.1: {} picomatch@4.0.2: {} @@ -12143,7 +12145,7 @@ snapshots: postcss@8.4.38: dependencies: nanoid: 3.3.7 - picocolors: 1.0.0 + picocolors: 1.0.1 source-map-js: 1.2.0 postgres-semicolons@0.1.2: {} @@ -12686,9 +12688,9 @@ snapshots: shell-quote-word@1.0.1: {} - shiki@1.5.1: + shiki@1.5.2: dependencies: - '@shikijs/core': 1.5.1 + '@shikijs/core': 1.5.2 side-channel@1.0.6: dependencies: @@ -12960,7 +12962,7 @@ snapshots: micromatch: 4.0.5 normalize-path: 3.0.0 object-hash: 3.0.0 - picocolors: 1.0.0 + picocolors: 1.0.1 postcss: 8.4.38 postcss-import: 15.1.0(postcss@8.4.38) postcss-js: 4.0.1(postcss@8.4.38) @@ -13300,11 +13302,11 @@ snapshots: webpack-sources: 3.2.3 webpack-virtual-modules: 0.5.0 - update-browserslist-db@1.0.15(browserslist@4.23.0): + update-browserslist-db@1.0.16(browserslist@4.23.0): dependencies: browserslist: 4.23.0 escalade: 3.1.2 - picocolors: 1.0.0 + picocolors: 1.0.1 uri-js@4.4.1: dependencies: @@ -13382,7 +13384,7 @@ snapshots: cac: 6.7.14 debug: 4.3.4 pathe: 1.1.2 - picocolors: 1.0.0 + picocolors: 1.0.1 vite: 5.2.11(@types/node@20.12.11) transitivePeerDependencies: - '@types/node'