From 1628249c377f415c64b166fdd3dc771f10df0780 Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Fri, 6 Dec 2024 15:38:15 +0100 Subject: [PATCH 1/2] Make docs use published versions of start --- package.json | 4 +-- pnpm-lock.yaml | 78 +++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 76 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 2ebe397dd..fecbe91b9 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@kobalte/utils": "^0.9.0", "@solidjs/meta": "^0.29.0", "@solidjs/router": "^0.15.0", - "@solidjs/start": "workspace:*", + "@solidjs/start": "^1.0.10", "@tailwindcss/typography": "^0.5.9", "@vinxi/plugin-mdx": "^3.7.1", "autoprefixer": "^10.4.19", @@ -46,7 +46,7 @@ "rimraf": "^3.0.2", "solid-js": "^1.9.2", "solid-mdx": "^0.0.7", - "solid-start-mdx": "workspace:*", + "solid-start-mdx": "^0.3.11", "solid-transition-group": "^0.2.3", "tailwind-merge": "^2.3.0", "tailwindcss": "^3.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 94cbbb500..3b8f123e5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,8 +34,8 @@ importers: specifier: ^0.15.0 version: 0.15.0(solid-js@1.9.3) '@solidjs/start': - specifier: workspace:* - version: link:packages/start + specifier: ^1.0.10 + version: 1.0.10(@testing-library/jest-dom@6.6.2)(solid-js@1.9.3)(vinxi@0.4.3(@opentelemetry/api@1.9.0)(@types/node@22.8.1)(debug@4.3.7)(ioredis@5.4.1)(lightningcss@1.27.0)(terser@5.36.0))(vite@5.4.10(@types/node@22.8.1)(lightningcss@1.27.0)(terser@5.36.0)) '@tailwindcss/typography': specifier: ^0.5.9 version: 0.5.15(tailwindcss@3.4.14) @@ -76,8 +76,8 @@ importers: specifier: ^0.0.7 version: 0.0.7(solid-js@1.9.3)(vite@5.4.10(@types/node@22.8.1)(lightningcss@1.27.0)(terser@5.36.0)) solid-start-mdx: - specifier: workspace:* - version: link:packages/mdx + specifier: ^0.3.11 + version: 0.3.11(rollup@4.24.2)(solid-js@1.9.3)(typescript@5.3.3)(vite@5.4.10(@types/node@22.8.1)(lightningcss@1.27.0)(terser@5.36.0)) solid-transition-group: specifier: ^0.2.3 version: 0.2.3(solid-js@1.9.3) @@ -1987,6 +1987,11 @@ packages: '@mdx-js/mdx@3.1.0': resolution: {integrity: sha512-/QxEhPAvGwbQmy1Px8F899L5Uc2KZ6JtXwlCgJmjSTBedwOZkByYcBG4GceIGPXRDsmfxhHazuS+hlOShRLeDw==} + '@mdx-js/rollup@2.3.0': + resolution: {integrity: sha512-wLvRfJS/M4UmdqTd+WoaySEE7q4BIejYf1xAHXYvtT1du/1Tl/z2450Gg2+Hu7fh05KwRRiehiTP9Yc/Dtn0fA==} + peerDependencies: + rollup: '>=2' + '@netlify/functions@2.7.0': resolution: {integrity: sha512-4pXC/fuj3eGQ86wbgPiM4zY8+AsNrdz6vcv6FEdUJnZW+LqF8IWjQcY3S0d1hLeLKODYOqq4CkrzGyCpce63Nw==} engines: {node: '>=14.0.0'} @@ -6021,6 +6026,9 @@ packages: peerDependencies: solid-js: ^1.3 + solid-start-mdx@0.3.11: + resolution: {integrity: sha512-bLYZ3k/AgFHiRqA/VdCJiJOaR528aEuwU277bPlCUVhUCBo8qcjJQhUlc4QInnAZTGPR+/yOMHSTEjBKdIyCpw==} + solid-styled@0.11.1: resolution: {integrity: sha512-QZN9hj+lt3gai0HPqzN5kFTn3zHIlyKWXVcYJfiuPGgprRuEB3UvUNqNcOncknJrjHLdZAn/ItA01rs9sqh8hg==} engines: {node: '>=12'} @@ -8175,6 +8183,16 @@ snapshots: - acorn - supports-color + '@mdx-js/rollup@2.3.0(rollup@4.24.2)': + dependencies: + '@mdx-js/mdx': 2.3.0 + '@rollup/pluginutils': 5.1.3(rollup@4.24.2) + rollup: 4.24.2 + source-map: 0.7.4 + vfile: 5.3.7 + transitivePeerDependencies: + - supports-color + '@netlify/functions@2.7.0(@opentelemetry/api@1.9.0)': dependencies: '@netlify/serverless-functions-api': 1.18.1(@opentelemetry/api@1.9.0) @@ -12832,6 +12850,21 @@ snapshots: unified: 11.0.5 vfile: 6.0.3 + remark-shiki-twoslash@3.1.3(typescript@5.3.3): + dependencies: + '@types/unist': 2.0.10 + '@typescript/twoslash': 3.1.0 + '@typescript/vfs': 1.3.4 + fenceparser: 1.1.1 + regenerator-runtime: 0.13.11 + shiki: 0.10.1 + shiki-twoslash: 3.1.2(typescript@5.3.3) + tslib: 2.1.0 + typescript: 5.3.3 + unist-util-visit: 2.0.3 + transitivePeerDependencies: + - supports-color + remark-shiki-twoslash@3.1.3(typescript@5.6.3): dependencies: '@types/unist': 2.0.10 @@ -13055,6 +13088,16 @@ snapshots: shebang-regex@3.0.0: {} + shiki-twoslash@3.1.2(typescript@5.3.3): + dependencies: + '@typescript/twoslash': 3.1.0 + '@typescript/vfs': 1.3.4 + fenceparser: 1.1.1 + shiki: 0.10.1 + typescript: 5.3.3 + transitivePeerDependencies: + - supports-color + shiki-twoslash@3.1.2(typescript@5.6.3): dependencies: '@typescript/twoslash': 3.1.0 @@ -13139,6 +13182,33 @@ snapshots: '@babel/types': 7.24.5 solid-js: 1.9.3 + solid-start-mdx@0.3.11(rollup@4.24.2)(solid-js@1.9.3)(typescript@5.3.3)(vite@5.4.10(@types/node@22.8.1)(lightningcss@1.27.0)(terser@5.36.0)): + dependencies: + '@mdx-js/mdx': 2.3.0 + '@mdx-js/rollup': 2.3.0(rollup@4.24.2) + '@types/mdast': 3.0.15 + acorn: 8.14.0 + estree-util-is-identifier-name: 2.1.0 + estree-util-value-to-estree: 1.3.0 + github-slugger: 1.5.0 + mdast: 3.0.0 + mdast-util-mdx: 2.0.1 + rehype-raw: 6.1.1 + rehype-slug: 5.1.0 + remark-frontmatter: 4.0.1 + remark-mdx-frontmatter: 2.1.1 + remark-shiki-twoslash: 3.1.3(typescript@5.3.3) + solid-mdx: 0.0.7(solid-js@1.9.3)(vite@5.4.10(@types/node@22.8.1)(lightningcss@1.27.0)(terser@5.36.0)) + unified: 10.1.2 + unist-util-visit: 4.1.2 + yaml: 2.6.0 + transitivePeerDependencies: + - rollup + - solid-js + - supports-color + - typescript + - vite + solid-styled@0.11.1(solid-js@1.9.3): dependencies: '@babel/core': 7.24.4 From 5c96b78bb6363bba32a2a2f69057b438c4ccdfaf Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Fri, 6 Dec 2024 15:39:30 +0100 Subject: [PATCH 2/2] don't build to make docs --- .github/workflows/docs.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 17bea77ae..12f1f0eac 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -39,9 +39,6 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Build start - run: pnpm run build - - name: Build docs run: pnpm run docs:build env: