diff --git a/package.json b/package.json index d838873e4047..0764a88c0c35 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "@sanity/pkg-utils": "6.11.0", "@sanity/prettier-config": "^1.0.2", "@sanity/test": "0.0.1-alpha.1", - "@sanity/tsdoc": "1.0.101", + "@sanity/tsdoc": "1.0.103", "@sanity/ui": "^2.8.9", "@sanity/uuid": "^3.0.2", "@types/glob": "^7.2.0", diff --git a/packages/sanity/package.json b/packages/sanity/package.json index 9933ec96d410..d2db28bde9aa 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -274,7 +274,7 @@ "@sanity/codegen": "3.57.2", "@sanity/generate-help-url": "^3.0.0", "@sanity/pkg-utils": "6.11.0", - "@sanity/tsdoc": "1.0.101", + "@sanity/tsdoc": "1.0.103", "@sanity/ui-workshop": "^1.2.11", "@sentry/types": "^8.12.0", "@testing-library/jest-dom": "^6.4.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a906c2cc3428..80e1856c5d6d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,7 +59,7 @@ importers: version: 0.10.0(debug@4.3.6) '@sanity/pkg-utils': specifier: 6.11.0 - version: 6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.5.4) + version: 6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(typescript@5.5.4) '@sanity/prettier-config': specifier: ^1.0.2 version: 1.0.2(prettier@3.3.3) @@ -67,8 +67,8 @@ importers: specifier: 0.0.1-alpha.1 version: 0.0.1-alpha.1 '@sanity/tsdoc': - specifier: 1.0.101 - version: 1.0.101(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))(terser@5.31.6) + specifier: 1.0.103 + version: 1.0.103(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))(terser@5.31.6) '@sanity/ui': specifier: ^2.8.9 version: 2.8.9(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522)) @@ -1719,10 +1719,10 @@ importers: version: 3.0.0 '@sanity/pkg-utils': specifier: 6.11.0 - version: 6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.5.4) + version: 6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.6.2) '@sanity/tsdoc': - specifier: 1.0.101 - version: 1.0.101(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.31.6) + specifier: 1.0.103 + version: 1.0.103(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.31.6) '@sanity/ui-workshop': specifier: ^1.2.11 version: 1.2.11(@sanity/icons@3.4.0(react@18.3.1))(@sanity/ui@2.8.9(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/node@18.19.44)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.31.6) @@ -4408,6 +4408,13 @@ packages: peerDependencies: typescript: 5.4.x || 5.5.x + '@sanity/pkg-utils@6.11.1': + resolution: {integrity: sha512-HYmZStWTAgUpuGzeffTxbMbTv+Ib6Ix2ZQo1pT1FmlZxPhiupNyuQrl/zOu1TV/+I0x9+X8ipdKaI8Tbie7y/A==} + engines: {node: '>=18.17.0'} + hasBin: true + peerDependencies: + typescript: 5.4.x || 5.5.x || 5.6.x + '@sanity/presentation@1.16.4': resolution: {integrity: sha512-NuphMX/XW3TpCfmVRevuna7ExjpvKZu4dXBu6sZKcE09JZh4wRvBDySfWUm/a1qwN8elm05TC24kEwv8RHxRrQ==} engines: {node: '>=16.14'} @@ -4452,6 +4459,16 @@ packages: sanity: ^3 styled-components: ^5.2 || ^6 + '@sanity/tsdoc@1.0.103': + resolution: {integrity: sha512-waN+skICcbzUdWTO6FAGlEUAUsvaVGhQKYt3MM+vnTzzMBEWdl8SolpR3aYRUOkuzrhfzqdnip744uwShkJevQ==} + engines: {node: '>=14.0.0'} + hasBin: true + peerDependencies: + react: ^18 + react-dom: ^18 + sanity: ^3 + styled-components: ^5.2 || ^6 + '@sanity/types@3.37.2': resolution: {integrity: sha512-1EfKkNlJ86wIDtc7oFHb79JI8lKDOxKDYrkmwhvuHgJY83GpSABc1kFdbwAtWZfrWVWyqVXUv/KlNwA3b99y/g==} @@ -10934,6 +10951,11 @@ packages: engines: {node: '>=14.17'} hasBin: true + typescript@5.6.2: + resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==} + engines: {node: '>=14.17'} + hasBin: true + uglify-js@3.19.2: resolution: {integrity: sha512-S8KA6DDI47nQXJSi2ctQ629YzwOVs+bQML6DAtvy0wgNdpi+0ySpQK0g2pxBq2xfF2z3YCscu7NNA8nXT9PlIQ==} engines: {node: '>=0.8.0'} @@ -14316,7 +14338,58 @@ snapshots: transitivePeerDependencies: - supports-color - '@sanity/pkg-utils@6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.5.4)': + '@sanity/pkg-utils@6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.6.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) + '@babel/types': 7.25.6 + '@microsoft/api-extractor': 7.47.7(@types/node@18.19.44) + '@microsoft/tsdoc-config': 0.17.0 + '@optimize-lodash/rollup-plugin': 5.0.0(rollup@4.21.2) + '@rollup/plugin-alias': 5.1.0(rollup@4.21.2) + '@rollup/plugin-babel': 6.0.4(@babel/core@7.25.2)(@types/babel__core@7.20.5)(rollup@4.21.2) + '@rollup/plugin-commonjs': 26.0.1(rollup@4.21.2) + '@rollup/plugin-json': 6.1.0(rollup@4.21.2) + '@rollup/plugin-node-resolve': 15.2.3(rollup@4.21.2) + '@rollup/plugin-replace': 5.0.7(rollup@4.21.2) + '@rollup/plugin-terser': 0.4.4(rollup@4.21.2) + '@sanity/browserslist-config': 1.0.3 + babel-plugin-react-compiler: 0.0.0-experimental-e68eda9-20240829 + browserslist: 4.23.3 + cac: 6.7.14 + chalk: 4.1.2 + chokidar: 3.6.0 + esbuild: 0.23.1 + esbuild-register: 3.6.0(esbuild@0.23.1) + find-config: 1.0.0 + get-latest-version: 5.1.0(debug@4.3.6) + git-url-parse: 15.0.0 + globby: 11.1.0 + jsonc-parser: 3.3.1 + mkdirp: 3.0.1 + outdent: 0.8.0 + parse-git-config: 3.0.0 + pkg-up: 3.1.0 + prettier: 3.3.3 + pretty-bytes: 5.6.0 + prompts: 2.4.2 + recast: 0.23.9 + rimraf: 4.4.1 + rollup: 4.21.2 + rollup-plugin-esbuild: 6.1.1(esbuild@0.23.1)(rollup@4.21.2) + rxjs: 7.8.1 + treeify: 1.1.0 + typescript: 5.6.2 + uuid: 10.0.0 + zod: 3.23.8 + zod-validation-error: 3.3.1(zod@3.23.8) + transitivePeerDependencies: + - '@types/babel__core' + - '@types/node' + - debug + - supports-color + + '@sanity/pkg-utils@6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(typescript@5.5.4)': dependencies: '@babel/core': 7.25.2 '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) @@ -14367,6 +14440,57 @@ snapshots: - debug - supports-color + '@sanity/pkg-utils@6.11.1(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.6.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) + '@babel/types': 7.25.6 + '@microsoft/api-extractor': 7.47.7(@types/node@18.19.44) + '@microsoft/tsdoc-config': 0.17.0 + '@optimize-lodash/rollup-plugin': 5.0.0(rollup@4.21.2) + '@rollup/plugin-alias': 5.1.0(rollup@4.21.2) + '@rollup/plugin-babel': 6.0.4(@babel/core@7.25.2)(@types/babel__core@7.20.5)(rollup@4.21.2) + '@rollup/plugin-commonjs': 26.0.1(rollup@4.21.2) + '@rollup/plugin-json': 6.1.0(rollup@4.21.2) + '@rollup/plugin-node-resolve': 15.2.3(rollup@4.21.2) + '@rollup/plugin-replace': 5.0.7(rollup@4.21.2) + '@rollup/plugin-terser': 0.4.4(rollup@4.21.2) + '@sanity/browserslist-config': 1.0.3 + babel-plugin-react-compiler: 0.0.0-experimental-e68eda9-20240829 + browserslist: 4.23.3 + cac: 6.7.14 + chalk: 4.1.2 + chokidar: 3.6.0 + esbuild: 0.23.1 + esbuild-register: 3.6.0(esbuild@0.23.1) + find-config: 1.0.0 + get-latest-version: 5.1.0(debug@4.3.6) + git-url-parse: 15.0.0 + globby: 11.1.0 + jsonc-parser: 3.3.1 + mkdirp: 3.0.1 + outdent: 0.8.0 + parse-git-config: 3.0.0 + pkg-up: 3.1.0 + prettier: 3.3.3 + pretty-bytes: 5.6.0 + prompts: 2.4.2 + recast: 0.23.9 + rimraf: 4.4.1 + rollup: 4.21.2 + rollup-plugin-esbuild: 6.1.1(esbuild@0.23.1)(rollup@4.21.2) + rxjs: 7.8.1 + treeify: 1.1.0 + typescript: 5.6.2 + uuid: 10.0.0 + zod: 3.23.8 + zod-validation-error: 3.3.1(zod@3.23.8) + transitivePeerDependencies: + - '@types/babel__core' + - '@types/node' + - debug + - supports-color + '@sanity/presentation@1.16.4(@sanity/client@6.21.3(debug@4.3.6))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@sanity/client': 6.21.3(debug@4.3.6) @@ -14429,7 +14553,7 @@ snapshots: transitivePeerDependencies: - debug - '@sanity/tsdoc@1.0.101(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.31.6)': + '@sanity/tsdoc@1.0.101(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.31.6)': dependencies: '@microsoft/api-extractor': 7.47.7(@types/node@18.19.44) '@microsoft/api-extractor-model': 7.29.6(@types/node@18.19.44) @@ -14440,8 +14564,8 @@ snapshots: '@sanity/client': 6.21.3(debug@4.3.6) '@sanity/color': 3.0.6 '@sanity/icons': 3.4.0(react@18.3.1) - '@sanity/pkg-utils': 6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.5.4) - '@sanity/ui': 2.8.9(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/pkg-utils': 6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(typescript@5.5.4) + '@sanity/ui': 2.8.9(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@types/cpx': 1.5.5 '@vitejs/plugin-react': 4.3.1(vite@5.4.3(@types/node@18.19.44)(terser@5.31.6)) cac: 6.7.14 @@ -14482,7 +14606,7 @@ snapshots: - supports-color - terser - '@sanity/tsdoc@1.0.101(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.31.6)': + '@sanity/tsdoc@1.0.103(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.31.6)': dependencies: '@microsoft/api-extractor': 7.47.7(@types/node@18.19.44) '@microsoft/api-extractor-model': 7.29.6(@types/node@18.19.44) @@ -14493,8 +14617,8 @@ snapshots: '@sanity/client': 6.21.3(debug@4.3.6) '@sanity/color': 3.0.6 '@sanity/icons': 3.4.0(react@18.3.1) - '@sanity/pkg-utils': 6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.5.4) - '@sanity/ui': 2.8.9(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/pkg-utils': 6.11.1(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.6.2) + '@sanity/ui': 2.8.9(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@types/cpx': 1.5.5 '@vitejs/plugin-react': 4.3.1(vite@5.4.3(@types/node@18.19.44)(terser@5.31.6)) cac: 6.7.14 @@ -14519,7 +14643,7 @@ snapshots: slugify: 1.6.6 styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) tmp: 0.2.3 - typescript: 5.5.4 + typescript: 5.6.2 vite: 5.4.3(@types/node@18.19.44)(terser@5.31.6) transitivePeerDependencies: - '@types/babel__core' @@ -14535,7 +14659,7 @@ snapshots: - supports-color - terser - '@sanity/tsdoc@1.0.101(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))(terser@5.31.6)': + '@sanity/tsdoc@1.0.103(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))(terser@5.31.6)': dependencies: '@microsoft/api-extractor': 7.47.7(@types/node@18.19.44) '@microsoft/api-extractor-model': 7.29.6(@types/node@18.19.44) @@ -14546,7 +14670,7 @@ snapshots: '@sanity/client': 6.21.3(debug@4.3.6) '@sanity/color': 3.0.6 '@sanity/icons': 3.4.0(react@19.0.0-rc-f994737d14-20240522) - '@sanity/pkg-utils': 6.11.0(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.5.4) + '@sanity/pkg-utils': 6.11.1(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.6)(typescript@5.6.2) '@sanity/ui': 2.8.9(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522)) '@types/cpx': 1.5.5 '@vitejs/plugin-react': 4.3.1(vite@5.4.3(@types/node@18.19.44)(terser@5.31.6)) @@ -14572,7 +14696,7 @@ snapshots: slugify: 1.6.6 styled-components: 6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522) tmp: 0.2.3 - typescript: 5.5.4 + typescript: 5.6.2 vite: 5.4.3(@types/node@18.19.44)(terser@5.31.6) transitivePeerDependencies: - '@types/babel__core' @@ -22587,6 +22711,8 @@ snapshots: typescript@5.5.4: {} + typescript@5.6.2: {} + uglify-js@3.19.2: optional: true