diff --git a/package.json b/package.json index 733dbeda12b..745e4439038 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "@sanity/eslint-config-i18n": "1.0.0", "@sanity/eslint-config-studio": "^4.0.0", "@sanity/mutate": "^0.12.1", - "@sanity/pkg-utils": "6.13.4", + "@sanity/pkg-utils": "7.0.1", "@sanity/prettier-config": "^1.0.3", "@sanity/test": "0.0.1-alpha.1", "@sanity/tsdoc": "1.0.169", diff --git a/packages/sanity/package.json b/packages/sanity/package.json index e7dce82c053..c20848afd80 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -281,7 +281,7 @@ "@repo/test-config": "workspace:*", "@sanity/codegen": "3.70.0", "@sanity/generate-help-url": "^3.0.0", - "@sanity/pkg-utils": "6.13.4", + "@sanity/pkg-utils": "7.0.1", "@sanity/tsdoc": "1.0.169", "@sanity/ui-workshop": "^1.2.11", "@sanity/visual-editing-csm": "^1.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 24ccb0f6361..42aec50bd34 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -50,8 +50,8 @@ importers: specifier: ^0.12.1 version: 0.12.1(debug@4.4.0) '@sanity/pkg-utils': - specifier: 6.13.4 - version: 6.13.4(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-e552027-20250112)(typescript@5.7.3) + specifier: 7.0.1 + version: 7.0.1(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-e552027-20250112)(debug@4.4.0)(typescript@5.7.3) '@sanity/prettier-config': specifier: ^1.0.3 version: 1.0.3(prettier@3.4.2) @@ -1720,8 +1720,8 @@ importers: specifier: ^3.0.0 version: 3.0.0 '@sanity/pkg-utils': - specifier: 6.13.4 - version: 6.13.4(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-e552027-20250112)(debug@4.4.0)(typescript@5.7.3) + specifier: 7.0.1 + version: 7.0.1(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-e552027-20250112)(debug@4.4.0)(typescript@5.7.3) '@sanity/tsdoc': specifier: 1.0.169 version: 1.0.169(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-e552027-20250112)(debug@4.4.0)(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.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.37.0)(yaml@2.6.1) @@ -3607,6 +3607,9 @@ packages: '@microsoft/api-extractor-model@7.30.1': resolution: {integrity: sha512-CTS2PlASJHxVY8hqHORVb1HdECWOEMcMnM6/kDkPr0RZapAFSIHhg9D4jxuE8g+OWYHtPc10LCpmde5pylTRlA==} + '@microsoft/api-extractor-model@7.30.2': + resolution: {integrity: sha512-3/t2F+WhkJgBzSNwlkTIL0tBgUoBqDqL66pT+nh2mPbM0NIDGVGtpqbGWPgHIzn/mn7kGS/Ep8D8po58e8UUIw==} + '@microsoft/api-extractor@7.48.1': resolution: {integrity: sha512-HN9Osa1WxqLM66RaqB5nPAadx+nTIQmY/XtkFdaJvusjG8Tus++QqZtD7KPZDSkhEMGHsYeSyeU8qUzCDUXPjg==} hasBin: true @@ -3615,6 +3618,10 @@ packages: resolution: {integrity: sha512-X5b462k0/yl8qWdGx3siq5vyI8fTDU9fRnwqTMlGHqFhLxpASmLWA2EU6nft+ZG8cQM2HRZlr4HSo62UqiAnug==} hasBin: true + '@microsoft/api-extractor@7.49.1': + resolution: {integrity: sha512-jRTR/XbQF2kb+dYn8hfYSicOGA99+Fo00GrsdMwdfE3eIgLtKdH6Qa2M3wZV9S2XmbgCaGX1OdPtYctbfu5jQg==} + hasBin: true + '@microsoft/tsdoc-config@0.17.0': resolution: {integrity: sha512-v/EYRXnCAIHxOHW+Plb6OWuUoMotxTN0GLatnpOb1xq0KuTNw/WI3pamJx/UbsoJP5k9MCw1QxvvhPcF9pH3Zg==} @@ -4427,6 +4434,14 @@ packages: '@types/node': optional: true + '@rushstack/node-core-library@5.10.2': + resolution: {integrity: sha512-xOF/2gVJZTfjTxbo4BDj9RtQq/HFnrrKdtem4JkyRLnwsRz2UDTg8gA1/et10fBx5RxmZD9bYVGST69W8ME5OQ==} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + '@rushstack/rig-package@0.5.3': resolution: {integrity: sha512-olzSSjYrvCNxUFZowevC3uz8gvKr3WTpHQ7BkpjtRpA3wK+T0ybep/SRUMfr195gBzJm5gaXw0ZMgjIyHqJUow==} @@ -4438,9 +4453,20 @@ packages: '@types/node': optional: true + '@rushstack/terminal@0.14.5': + resolution: {integrity: sha512-TEOpNwwmsZVrkp0omnuTUTGZRJKTr6n6m4OITiNjkqzLAkcazVpwR1SOtBg6uzpkIBLgrcNHETqI8rbw3uiUfw==} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + '@rushstack/ts-command-line@4.23.2': resolution: {integrity: sha512-JJ7XZX5K3ThBBva38aomgsPv1L7FV6XmSOcR6HtM7HDFZJkepqT65imw26h9ggGqMjsY0R9jcl30tzKcVj9aOQ==} + '@rushstack/ts-command-line@4.23.3': + resolution: {integrity: sha512-HazKL8fv4HMQMzrKJCrOrhyBPPdzk7iajUXgsASwjQ8ROo1cmgyqxt/k9+SdmrNLGE1zATgRqMUH3s/6smbRMA==} + '@sanity/asset-utils@2.2.1': resolution: {integrity: sha512-dBsZWH5X6ANcvclFRnQT9Y+NNvoWTJZIMKR5HT6hzoRpRb48p7+vWn+wi1V1wPvqgZg2ScsOQQcGXWXskbPbQQ==} engines: {node: '>=18'} @@ -4614,6 +4640,17 @@ packages: babel-plugin-react-compiler: optional: true + '@sanity/pkg-utils@7.0.1': + resolution: {integrity: sha512-c65oXA0st+tGVsywu1Lwf7qXHWJgFQnsSe5lFL8pi6xiMi1sX357Ztchj0Bq2RaiehX108BSdK/trSaCmw0xSQ==} + engines: {node: '>=18.17.0'} + hasBin: true + peerDependencies: + babel-plugin-react-compiler: '*' + typescript: 5.4.x || 5.5.x || 5.6.x || 5.7.x + peerDependenciesMeta: + babel-plugin-react-compiler: + optional: true + '@sanity/presentation-comlink@1.0.0': resolution: {integrity: sha512-Su4TJEbtJok/Pw7Yj8+zsvpWF7HBwA0f2M7qeShYa4hKoHOCrMiAmBH7qlzEbWZ8GCd62TkXPY5SCM4bbZdoMA==} engines: {node: '>=18'} @@ -13700,6 +13737,14 @@ snapshots: transitivePeerDependencies: - '@types/node' + '@microsoft/api-extractor-model@7.30.2(@types/node@22.10.2)': + dependencies: + '@microsoft/tsdoc': 0.15.1 + '@microsoft/tsdoc-config': 0.17.1 + '@rushstack/node-core-library': 5.10.2(@types/node@22.10.2) + transitivePeerDependencies: + - '@types/node' + '@microsoft/api-extractor@7.48.1(@types/node@22.10.2)': dependencies: '@microsoft/api-extractor-model': 7.30.1(@types/node@22.10.2) @@ -13736,6 +13781,24 @@ snapshots: transitivePeerDependencies: - '@types/node' + '@microsoft/api-extractor@7.49.1(@types/node@22.10.2)': + dependencies: + '@microsoft/api-extractor-model': 7.30.2(@types/node@22.10.2) + '@microsoft/tsdoc': 0.15.1 + '@microsoft/tsdoc-config': 0.17.1 + '@rushstack/node-core-library': 5.10.2(@types/node@22.10.2) + '@rushstack/rig-package': 0.5.3 + '@rushstack/terminal': 0.14.5(@types/node@22.10.2) + '@rushstack/ts-command-line': 4.23.3(@types/node@22.10.2) + lodash: 4.17.21 + minimatch: 3.0.8 + resolve: 1.22.9 + semver: 7.5.4 + source-map: 0.6.1 + typescript: 5.7.2 + transitivePeerDependencies: + - '@types/node' + '@microsoft/tsdoc-config@0.17.0': dependencies: '@microsoft/tsdoc': 0.15.0 @@ -14646,6 +14709,19 @@ snapshots: optionalDependencies: '@types/node': 22.10.2 + '@rushstack/node-core-library@5.10.2(@types/node@22.10.2)': + dependencies: + ajv: 8.13.0 + ajv-draft-04: 1.0.0(ajv@8.13.0) + ajv-formats: 3.0.1(ajv@8.13.0) + fs-extra: 7.0.1 + import-lazy: 4.0.0 + jju: 1.4.0 + resolve: 1.22.9 + semver: 7.5.4 + optionalDependencies: + '@types/node': 22.10.2 + '@rushstack/rig-package@0.5.3': dependencies: resolve: 1.22.9 @@ -14658,6 +14734,13 @@ snapshots: optionalDependencies: '@types/node': 22.10.2 + '@rushstack/terminal@0.14.5(@types/node@22.10.2)': + dependencies: + '@rushstack/node-core-library': 5.10.2(@types/node@22.10.2) + supports-color: 8.1.1 + optionalDependencies: + '@types/node': 22.10.2 + '@rushstack/ts-command-line@4.23.2(@types/node@22.10.2)': dependencies: '@rushstack/terminal': 0.14.4(@types/node@22.10.2) @@ -14667,6 +14750,15 @@ snapshots: transitivePeerDependencies: - '@types/node' + '@rushstack/ts-command-line@4.23.3(@types/node@22.10.2)': + dependencies: + '@rushstack/terminal': 0.14.5(@types/node@22.10.2) + '@types/argparse': 1.0.38 + argparse: 1.0.10 + string-argv: 0.3.2 + transitivePeerDependencies: + - '@types/node' + '@sanity/asset-utils@2.2.1': {} '@sanity/assist@3.1.0(@emotion/is-prop-valid@1.3.1)(@sanity/mutator@packages+@sanity+mutator)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.14(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': @@ -15095,6 +15187,58 @@ snapshots: - debug - supports-color + '@sanity/pkg-utils@7.0.1(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-e552027-20250112)(debug@4.4.0)(typescript@5.7.3)': + dependencies: + '@babel/core': 7.26.0 + '@babel/preset-typescript': 7.26.0(@babel/core@7.26.0) + '@babel/types': 7.26.3 + '@microsoft/api-extractor': 7.49.1(@types/node@22.10.2) + '@microsoft/tsdoc-config': 0.17.1 + '@optimize-lodash/rollup-plugin': 5.0.0(rollup@4.30.1) + '@rollup/plugin-alias': 5.1.1(rollup@4.30.1) + '@rollup/plugin-babel': 6.0.4(@babel/core@7.26.0)(@types/babel__core@7.20.5)(rollup@4.30.1) + '@rollup/plugin-commonjs': 28.0.2(rollup@4.30.1) + '@rollup/plugin-json': 6.1.0(rollup@4.30.1) + '@rollup/plugin-node-resolve': 16.0.0(rollup@4.30.1) + '@rollup/plugin-replace': 6.0.2(rollup@4.30.1) + '@rollup/plugin-terser': 0.4.4(rollup@4.30.1) + '@sanity/browserslist-config': 1.0.5 + browserslist: 4.24.4 + cac: 6.7.14 + chalk: 4.1.2 + chokidar: 4.0.3 + esbuild: 0.24.2 + esbuild-register: 3.6.0(esbuild@0.24.2) + find-config: 1.0.0 + get-latest-version: 5.1.0(debug@4.4.0) + git-url-parse: 16.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.4.2 + pretty-bytes: 5.6.0 + prompts: 2.4.2 + recast: 0.23.9 + rimraf: 4.4.1 + rollup: 4.30.1 + rollup-plugin-esbuild: 6.1.1(esbuild@0.24.2)(rollup@4.30.1) + rxjs: 7.8.1 + treeify: 1.1.0 + typescript: 5.7.3 + uuid: 11.0.5 + zod: 3.24.1 + zod-validation-error: 3.4.0(zod@3.24.1) + optionalDependencies: + babel-plugin-react-compiler: 19.0.0-beta-e552027-20250112 + transitivePeerDependencies: + - '@types/babel__core' + - '@types/node' + - debug + - supports-color + '@sanity/presentation-comlink@1.0.0(@sanity/client@6.25.0(debug@4.4.0))(@sanity/types@packages+@sanity+types)': dependencies: '@sanity/client': 6.25.0(debug@4.4.0)