diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 2b45ee5c487..b9f5daddc47 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -70,7 +70,7 @@ jobs: run: npx playwright install --with-deps - name: Build CLI - run: pnpm build:cli + run: pnpm build - name: Build E2E test studio on next if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} diff --git a/.github/workflows/formatCheck.yml b/.github/workflows/formatCheck.yml index 59b6bc083ab..49f965d1d60 100644 --- a/.github/workflows/formatCheck.yml +++ b/.github/workflows/formatCheck.yml @@ -46,4 +46,4 @@ jobs: run: pnpm install - name: Run format check - run: pnpm turbo run check:format + run: pnpm check:format diff --git a/dev/studio-e2e-testing/package.json b/dev/studio-e2e-testing/package.json index 15f32284b95..2db818ed2ba 100644 --- a/dev/studio-e2e-testing/package.json +++ b/dev/studio-e2e-testing/package.json @@ -17,7 +17,7 @@ "@sanity/google-maps-input": "^3.0.1", "@sanity/icons": "^2.11.0", "@sanity/ui": "^2.0.10", - "@sanity/vision": "3.32.0", + "@sanity/vision": "workspace:*", "react": "^18.2.0", "react-dom": "^18.2.0", "react-is": "^18.2.0", diff --git a/dev/test-studio/package.json b/dev/test-studio/package.json index b8a48dff488..72c77a53f6e 100644 --- a/dev/test-studio/package.json +++ b/dev/test-studio/package.json @@ -21,7 +21,7 @@ "@react-three/drei": "^9.80.1", "@react-three/fiber": "^8.13.6", "@sanity/assist": "^2.0.0", - "@sanity/block-tools": "3.32.0", + "@sanity/block-tools": "workspace:*", "@sanity/client": "^6.15.4", "@sanity/color": "^3.0.0", "@sanity/google-maps-input": "^3.0.1", diff --git a/examples/ecommerce-studio/package.json b/examples/ecommerce-studio/package.json index f78f44862f5..78357b75e64 100644 --- a/examples/ecommerce-studio/package.json +++ b/examples/ecommerce-studio/package.json @@ -29,7 +29,7 @@ "start": "sanity dev --port 3337" }, "dependencies": { - "@sanity/cli": "3.32.0", + "@sanity/cli": "workspace:*", "@sanity/ui": "^2.0.10", "react": "^18.2.0", "react-barcode": "^1.4.1", diff --git a/package.json b/package.json index 18d1fbdf9bd..8f14bc42821 100644 --- a/package.json +++ b/package.json @@ -4,23 +4,24 @@ "private": true, "scripts": { "bootstrap": "pnpm install && pnpm build:dts && pnpm build:cli", - "build": "turbo run build --filter='./packages/*' --filter='./packages/@sanity/*'", + "build": "pnpm --filter='./packages/*' --filter='./packages/@sanity/*' build", "build:clean": "lerna run clean", - "build:cli": "turbo run build --filter=@sanity/cli --filter=sanity", - "build:cli-only": "turbo run --filter=@sanity/cli build", + "build:cli": "pnpm --filter=@sanity/cli --filter=sanity build", + "build:cli-only": "pnpm --filter=@sanity/cli build", "build:dts": "tsc --build tsconfig.lib.json", "build:e2e": "pnpm e2e:build", - "build:performance-studio": "pnpm perf:studio:build", - "build:test-studio": "pnpm build --filter=sanity-test-studio", + "build:performance-studio": "run-s build perf:studio:build", + "build:test-studio:only": "pnpm run --filter=sanity-test-studio build", + "build:test-studio": "run-s build build:test-studio:only", "check": "npm-run-all build --parallel check:*", "check:deps": "pnpm --recursive --parallel exec depcheck", "check:format": "prettier . --check", - "check:lint": "turbo run lint -- --quiet", + "check:lint": "eslint --quiet .", "check:react-exhaustive-deps": "run-s check:lint -- --quiet --rule 'react-hooks/exhaustive-deps: [error, {additionalHooks: \"(useAsync|useMemoObservable|useObservableCallback)\"}]'", "check:test": "run-s test -- --silent", "check:types": "tsc --build", "chore:format:fix": "prettier --cache --write .", - "chore:lint:fix": "turbo run lint -- --quiet --fix", + "chore:lint:fix": "eslint --quiet --fix .", "chore:normalize-versions": "node -r esbuild-register scripts/normalizeDependencyVersions.ts", "clean": "run-s build:clean clean:deps", "clean:deps": "rimraf packages/@sanity/*/node_modules packages/*/node_modules node_modules", @@ -148,8 +149,7 @@ "rxjs": "^7.8.1", "sanity": "workspace:*", "semver": "^7.3.5", - "turbo": "^1.12.4", - "typescript": "5.3.3", + "typescript": "^5.4.2", "yargs": "^17.3.0" }, "optionalDependencies": { diff --git a/packages/@sanity/block-tools/package.json b/packages/@sanity/block-tools/package.json index 630f33b6719..85416b5439c 100644 --- a/packages/@sanity/block-tools/package.json +++ b/packages/@sanity/block-tools/package.json @@ -60,8 +60,8 @@ }, "devDependencies": { "@jest/globals": "^29.7.0", - "@sanity/schema": "3.32.0", - "@sanity/types": "3.32.0", + "@sanity/schema": "workspace:*", + "@sanity/types": "workspace:*", "@types/jsdom": "^20.0.0", "@types/lodash": "^4.14.149", "@types/react": "^18.2.37", diff --git a/packages/@sanity/cli/package.json b/packages/@sanity/cli/package.json index 8391835c033..4dec84d2ce6 100644 --- a/packages/@sanity/cli/package.json +++ b/packages/@sanity/cli/package.json @@ -64,7 +64,7 @@ "dependencies": { "@babel/traverse": "^7.23.5", "@sanity/telemetry": "^0.7.6", - "@sanity/util": "3.32.0", + "@sanity/util": "workspace:*", "chalk": "^4.1.2", "decompress": "^4.2.0", "esbuild": "^0.19.8", diff --git a/packages/@sanity/export/package.json b/packages/@sanity/export/package.json index db917ba974a..6f9f6a15a27 100644 --- a/packages/@sanity/export/package.json +++ b/packages/@sanity/export/package.json @@ -31,7 +31,7 @@ "test": "jest" }, "dependencies": { - "@sanity/util": "3.32.0", + "@sanity/util": "workspace:*", "archiver": "^7.0.0", "debug": "^4.3.4", "get-it": "^8.4.11", diff --git a/packages/@sanity/import-cli/package.json b/packages/@sanity/import-cli/package.json index 6302f3e2a9e..daec04cea25 100644 --- a/packages/@sanity/import-cli/package.json +++ b/packages/@sanity/import-cli/package.json @@ -32,7 +32,7 @@ ], "dependencies": { "@sanity/client": "^6.15.4", - "@sanity/import": "3.32.0", + "@sanity/import": "workspace:*", "get-it": "^8.4.11", "meow": "^9.0.0", "ora": "^5.4.1", diff --git a/packages/@sanity/import/package.json b/packages/@sanity/import/package.json index 980bcbfed84..22cfa464ae8 100644 --- a/packages/@sanity/import/package.json +++ b/packages/@sanity/import/package.json @@ -34,7 +34,7 @@ "dependencies": { "@sanity/asset-utils": "^1.2.5", "@sanity/generate-help-url": "^3.0.0", - "@sanity/mutator": "3.32.0", + "@sanity/mutator": "workspace:*", "@sanity/uuid": "^3.0.1", "debug": "^4.3.4", "file-url": "^2.0.2", diff --git a/packages/@sanity/migrate/package.json b/packages/@sanity/migrate/package.json index 741aa0ede66..74943b88daa 100644 --- a/packages/@sanity/migrate/package.json +++ b/packages/@sanity/migrate/package.json @@ -65,8 +65,8 @@ "dependencies": { "@bjoerge/mutiny": "^0.5.1", "@sanity/client": "^6.15.4", - "@sanity/types": "3.32.0", - "@sanity/util": "3.32.0", + "@sanity/types": "workspace:*", + "@sanity/util": "workspace:*", "arrify": "^2.0.1", "debug": "^4.3.4", "fast-fifo": "^1.3.2", diff --git a/packages/@sanity/migrate/tsconfig.json b/packages/@sanity/migrate/tsconfig.json index 731860a1337..81a4edb5053 100644 --- a/packages/@sanity/migrate/tsconfig.json +++ b/packages/@sanity/migrate/tsconfig.json @@ -7,5 +7,8 @@ "outDir": "./lib/dts", "declarationDir": "./lib/dts" }, - "references": [{"path": "../@sanity/types/tsconfig.lib.json"}] + "references": [ + {"path": "../types/tsconfig.lib.json"}, + {"path": "../util/tsconfig.lib.json"}, + ] } diff --git a/packages/@sanity/migrate/tsconfig.lib.json b/packages/@sanity/migrate/tsconfig.lib.json index cce946f5435..81a4edb5053 100644 --- a/packages/@sanity/migrate/tsconfig.lib.json +++ b/packages/@sanity/migrate/tsconfig.lib.json @@ -6,5 +6,9 @@ "rootDir": ".", "outDir": "./lib/dts", "declarationDir": "./lib/dts" - } + }, + "references": [ + {"path": "../types/tsconfig.lib.json"}, + {"path": "../util/tsconfig.lib.json"}, + ] } diff --git a/packages/@sanity/mutator/package.json b/packages/@sanity/mutator/package.json index af79bc4aa00..965aacf6de7 100644 --- a/packages/@sanity/mutator/package.json +++ b/packages/@sanity/mutator/package.json @@ -62,7 +62,7 @@ }, "devDependencies": { "@jest/globals": "^29.7.0", - "@sanity/types": "3.32.0", + "@sanity/types": "workspace:*", "@types/debug": "^4.1.5", "@types/lodash": "^4.14.149", "rimraf": "^3.0.2" diff --git a/packages/@sanity/portable-text-editor/package.json b/packages/@sanity/portable-text-editor/package.json index 3bb526670fc..e892c8b78c0 100644 --- a/packages/@sanity/portable-text-editor/package.json +++ b/packages/@sanity/portable-text-editor/package.json @@ -64,10 +64,10 @@ "watch": "pkg-utils watch --tsconfig tsconfig.lib.json" }, "dependencies": { - "@sanity/block-tools": "3.32.0", - "@sanity/schema": "3.32.0", - "@sanity/types": "3.32.0", - "@sanity/util": "3.32.0", + "@sanity/block-tools": "workspace:*", + "@sanity/schema": "workspace:*", + "@sanity/types": "workspace:*", + "@sanity/util": "workspace:*", "debug": "^3.2.7", "is-hotkey": "^0.2.0", "lodash": "^4.17.21", diff --git a/packages/@sanity/schema/package.json b/packages/@sanity/schema/package.json index 95c9b912599..15585d61b5e 100644 --- a/packages/@sanity/schema/package.json +++ b/packages/@sanity/schema/package.json @@ -75,7 +75,7 @@ }, "dependencies": { "@sanity/generate-help-url": "^3.0.0", - "@sanity/types": "3.32.0", + "@sanity/types": "workspace:*", "arrify": "^1.0.1", "groq-js": "^1.5.0-canary.1", "humanize-list": "^1.0.1", diff --git a/packages/@sanity/types/src/schema/test/alias.test.ts b/packages/@sanity/types/src/schema/test/alias.test.ts index e9fb4953ddc..cbad34d4387 100644 --- a/packages/@sanity/types/src/schema/test/alias.test.ts +++ b/packages/@sanity/types/src/schema/test/alias.test.ts @@ -95,7 +95,6 @@ describe('alias type test', () => { }) it('should support alias with preview', () => { - //@ts-expect-error error is not in select keys defineType({ type: 'custom-object', name: 'redefined', @@ -106,7 +105,6 @@ describe('alias type test', () => { }, }) - //@ts-expect-error error is not in select keys defineField({ type: 'custom-object', name: 'redefined', @@ -117,7 +115,6 @@ describe('alias type test', () => { }, }) - //@ts-expect-error error is not in select keys defineArrayMember({ type: 'custom-object', name: 'redefined', diff --git a/packages/@sanity/types/src/schema/test/array.test.ts b/packages/@sanity/types/src/schema/test/array.test.ts index fcefc9bceeb..9492313e572 100644 --- a/packages/@sanity/types/src/schema/test/array.test.ts +++ b/packages/@sanity/types/src/schema/test/array.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/block.test.ts b/packages/@sanity/types/src/schema/test/block.test.ts index 26f578685d0..031ce2271d0 100644 --- a/packages/@sanity/types/src/schema/test/block.test.ts +++ b/packages/@sanity/types/src/schema/test/block.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/boolean.test.ts b/packages/@sanity/types/src/schema/test/boolean.test.ts index 1af00941204..378d03eab8a 100644 --- a/packages/@sanity/types/src/schema/test/boolean.test.ts +++ b/packages/@sanity/types/src/schema/test/boolean.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/date.test.ts b/packages/@sanity/types/src/schema/test/date.test.ts index 02c4b32d99b..7c2239cd4dc 100644 --- a/packages/@sanity/types/src/schema/test/date.test.ts +++ b/packages/@sanity/types/src/schema/test/date.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/datetime.test.ts b/packages/@sanity/types/src/schema/test/datetime.test.ts index 4a65e140c5f..b05a0e2f75e 100644 --- a/packages/@sanity/types/src/schema/test/datetime.test.ts +++ b/packages/@sanity/types/src/schema/test/datetime.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/document.test.ts b/packages/@sanity/types/src/schema/test/document.test.ts index 1e33017e863..81f04776c1e 100644 --- a/packages/@sanity/types/src/schema/test/document.test.ts +++ b/packages/@sanity/types/src/schema/test/document.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/email.test.ts b/packages/@sanity/types/src/schema/test/email.test.ts index a679a71ece8..f444fc74a0a 100644 --- a/packages/@sanity/types/src/schema/test/email.test.ts +++ b/packages/@sanity/types/src/schema/test/email.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ import {type BooleanDefinition, type EmailDefinition} from '../definition' import {defineType} from '../types' diff --git a/packages/@sanity/types/src/schema/test/file.test.ts b/packages/@sanity/types/src/schema/test/file.test.ts index 284187d0b58..b000a6e1f30 100644 --- a/packages/@sanity/types/src/schema/test/file.test.ts +++ b/packages/@sanity/types/src/schema/test/file.test.ts @@ -1,10 +1,10 @@ -import {describe, it} from '@jest/globals' /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; * use of ts-expect-error serves the same purpose - TypeScript is the testrunner here */ import {type FileDefinition, type StringDefinition} from '_self_' +import {describe, it} from '@jest/globals' import {defineField, defineType} from '../types' diff --git a/packages/@sanity/types/src/schema/test/generic.test.tsx b/packages/@sanity/types/src/schema/test/generic.test.tsx index 7b7d9deb995..3ceb89e2838 100644 --- a/packages/@sanity/types/src/schema/test/generic.test.tsx +++ b/packages/@sanity/types/src/schema/test/generic.test.tsx @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/geopoint.test.ts b/packages/@sanity/types/src/schema/test/geopoint.test.ts index 7a0ad03f577..6452ee6956a 100644 --- a/packages/@sanity/types/src/schema/test/geopoint.test.ts +++ b/packages/@sanity/types/src/schema/test/geopoint.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/image.test.ts b/packages/@sanity/types/src/schema/test/image.test.ts index 159e95279ee..4622c28971e 100644 --- a/packages/@sanity/types/src/schema/test/image.test.ts +++ b/packages/@sanity/types/src/schema/test/image.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/number.test.ts b/packages/@sanity/types/src/schema/test/number.test.ts index 9cd156891fb..562c9c5452d 100644 --- a/packages/@sanity/types/src/schema/test/number.test.ts +++ b/packages/@sanity/types/src/schema/test/number.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/object.test.ts b/packages/@sanity/types/src/schema/test/object.test.ts index dba5e2b0f02..988afabbedc 100644 --- a/packages/@sanity/types/src/schema/test/object.test.ts +++ b/packages/@sanity/types/src/schema/test/object.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/reference.test.ts b/packages/@sanity/types/src/schema/test/reference.test.ts index ffd036b1d9e..d8bda1c34eb 100644 --- a/packages/@sanity/types/src/schema/test/reference.test.ts +++ b/packages/@sanity/types/src/schema/test/reference.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/slug.test.ts b/packages/@sanity/types/src/schema/test/slug.test.ts index 125fdf02919..5f892fdbde6 100644 --- a/packages/@sanity/types/src/schema/test/slug.test.ts +++ b/packages/@sanity/types/src/schema/test/slug.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/string.test.ts b/packages/@sanity/types/src/schema/test/string.test.ts index aa9261676fa..373e7705398 100644 --- a/packages/@sanity/types/src/schema/test/string.test.ts +++ b/packages/@sanity/types/src/schema/test/string.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/text.test.ts b/packages/@sanity/types/src/schema/test/text.test.ts index 0ebcf811fe1..115315a77ff 100644 --- a/packages/@sanity/types/src/schema/test/text.test.ts +++ b/packages/@sanity/types/src/schema/test/text.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/types/src/schema/test/url.test.ts b/packages/@sanity/types/src/schema/test/url.test.ts index e95800a7c1c..15b0760a8a9 100644 --- a/packages/@sanity/types/src/schema/test/url.test.ts +++ b/packages/@sanity/types/src/schema/test/url.test.ts @@ -1,4 +1,5 @@ import {describe, it} from '@jest/globals' + /* eslint-disable @typescript-eslint/no-unused-vars */ /** * Some of these tests have no expect statement; diff --git a/packages/@sanity/util/package.json b/packages/@sanity/util/package.json index 6d4511fb104..b7bf98e224c 100644 --- a/packages/@sanity/util/package.json +++ b/packages/@sanity/util/package.json @@ -163,7 +163,7 @@ }, "dependencies": { "@sanity/client": "^6.15.4", - "@sanity/types": "3.32.0", + "@sanity/types": "workspace:*", "get-random-values-esm": "1.0.2", "moment": "^2.29.4", "rxjs": "^7.8.1" diff --git a/packages/@sanity/util/src/content/__test__/isDeepEmpty.test.ts b/packages/@sanity/util/src/content/__test__/isDeepEmpty.test.ts index 3f0f6e41324..d62c92b8975 100644 --- a/packages/@sanity/util/src/content/__test__/isDeepEmpty.test.ts +++ b/packages/@sanity/util/src/content/__test__/isDeepEmpty.test.ts @@ -1,4 +1,5 @@ -import {it, expect} from '@jest/globals' +import {expect, it} from '@jest/globals' + import {isDeepEmpty} from '../isDeepEmpty' it('returns true for undefined', () => { diff --git a/packages/@sanity/util/test/PathUtils.test.ts b/packages/@sanity/util/test/PathUtils.test.ts index c97d16af787..b53a00ac007 100644 --- a/packages/@sanity/util/test/PathUtils.test.ts +++ b/packages/@sanity/util/test/PathUtils.test.ts @@ -1,4 +1,5 @@ import {expect, test} from '@jest/globals' + /* eslint-disable max-nested-callbacks, @typescript-eslint/ban-ts-comment */ import {fromString, get, resolveKeyedPath, toString} from '../src/paths' diff --git a/packages/@sanity/vision/src/codemirror/extensions.ts b/packages/@sanity/vision/src/codemirror/extensions.ts index 7cb17b2876b..d2d70d65ab0 100644 --- a/packages/@sanity/vision/src/codemirror/extensions.ts +++ b/packages/@sanity/vision/src/codemirror/extensions.ts @@ -8,7 +8,7 @@ import { syntaxHighlighting, } from '@codemirror/language' import {highlightSelectionMatches} from '@codemirror/search' -import {Extension} from '@codemirror/state' +import {type Extension} from '@codemirror/state' import { drawSelection, highlightActiveLine, diff --git a/packages/create-sanity/package.json b/packages/create-sanity/package.json index d328d7033f7..68566c37cab 100644 --- a/packages/create-sanity/package.json +++ b/packages/create-sanity/package.json @@ -26,7 +26,7 @@ "index.js" ], "dependencies": { - "@sanity/cli": "3.32.0", + "@sanity/cli": "workspace:*", "resolve-pkg": "^2.0.0" }, "engines": { diff --git a/packages/sanity/package.json b/packages/sanity/package.json index 13585e77fd6..39ebb9f6c1e 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -199,28 +199,28 @@ "@rexxars/react-json-inspector": "^8.0.1", "@sanity/asset-utils": "^1.2.5", "@sanity/bifur-client": "^0.3.1", - "@sanity/block-tools": "3.32.0", - "@sanity/cli": "3.32.0", + "@sanity/block-tools": "workspace:*", + "@sanity/cli": "workspace:*", "@sanity/client": "^6.15.4", "@sanity/color": "^3.0.0", - "@sanity/diff": "3.32.0", + "@sanity/diff": "workspace:*", "@sanity/diff-match-patch": "^3.1.1", "@sanity/eventsource": "^5.0.0", - "@sanity/export": "3.32.0", + "@sanity/export": "workspace:*", "@sanity/generate-help-url": "^3.0.0", "@sanity/icons": "^2.11.0", "@sanity/image-url": "^1.0.2", - "@sanity/import": "3.32.0", + "@sanity/import": "workspace:*", "@sanity/logos": "^2.1.4", - "@sanity/migrate": "3.32.0", - "@sanity/mutator": "3.32.0", - "@sanity/portable-text-editor": "3.32.0", + "@sanity/migrate": "workspace:*", + "@sanity/mutator": "workspace:*", + "@sanity/portable-text-editor": "workspace:*", "@sanity/presentation": "1.11.5", - "@sanity/schema": "3.32.0", + "@sanity/schema": "workspace:*", "@sanity/telemetry": "^0.7.6", - "@sanity/types": "3.32.0", + "@sanity/types": "workspace:*", "@sanity/ui": "^2.0.10", - "@sanity/util": "3.32.0", + "@sanity/util": "workspace:*", "@sanity/uuid": "^3.0.1", "@tanstack/react-virtual": "3.0.0-beta.54", "@types/is-hotkey": "^0.1.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c0d15ef711c..33438d3a46d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,13 +41,13 @@ importers: version: 6.15.4 '@sanity/eslint-config-i18n': specifier: ^1.0.0 - version: 1.0.0(eslint@8.57.0)(typescript@5.3.3) + version: 1.0.0(eslint@8.57.0)(typescript@5.4.2) '@sanity/eslint-config-studio': specifier: ^3.0.1 - version: 3.0.1(eslint@8.57.0)(typescript@5.3.3) + version: 3.0.1(eslint@8.57.0)(typescript@5.4.2) '@sanity/pkg-utils': specifier: ^3.3.2 - version: 3.3.8(@types/node@18.19.8)(typescript@5.3.3) + version: 3.3.8(@types/node@18.19.8)(typescript@5.4.2) '@sanity/test': specifier: 0.0.1-alpha.1 version: 0.0.1-alpha.1 @@ -77,10 +77,10 @@ importers: version: 17.0.32 '@typescript-eslint/eslint-plugin': specifier: ^6.18.1 - version: 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.57.0)(typescript@5.3.3) + version: 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.57.0)(typescript@5.4.2) '@typescript-eslint/parser': specifier: ^6.19.0 - version: 6.19.0(eslint@8.57.0)(typescript@5.3.3) + version: 6.19.0(eslint@8.57.0)(typescript@5.4.2) cac: specifier: ^6.7.12 version: 6.7.14 @@ -192,12 +192,9 @@ importers: semver: specifier: ^7.3.5 version: 7.5.4 - turbo: - specifier: ^1.12.4 - version: 1.12.4 typescript: - specifier: 5.3.3 - version: 5.3.3 + specifier: ^5.4.2 + version: 5.4.2 yargs: specifier: ^17.3.0 version: 17.7.2 @@ -320,7 +317,7 @@ importers: specifier: ^2.0.10 version: 2.0.10(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/vision': - specifier: 3.32.0 + specifier: workspace:* version: link:../../packages/@sanity/vision react: specifier: ^18.2.0 @@ -384,7 +381,7 @@ importers: specifier: ^2.0.0 version: 2.0.3(react-dom@18.2.0)(react@18.2.0)(sanity@packages+sanity)(styled-components@6.1.8) '@sanity/block-tools': - specifier: 3.32.0 + specifier: workspace:* version: link:../../packages/@sanity/block-tools '@sanity/client': specifier: ^6.15.4 @@ -559,7 +556,7 @@ importers: examples/ecommerce-studio: dependencies: '@sanity/cli': - specifier: 3.32.0 + specifier: workspace:* version: link:../../packages/@sanity/cli '@sanity/ui': specifier: ^2.0.10 @@ -611,10 +608,10 @@ importers: specifier: ^29.7.0 version: 29.7.0 '@sanity/schema': - specifier: 3.32.0 + specifier: workspace:* version: link:../schema '@sanity/types': - specifier: 3.32.0 + specifier: workspace:* version: link:../types '@types/jsdom': specifier: ^20.0.0 @@ -638,7 +635,7 @@ importers: specifier: ^0.7.6 version: 0.7.7 '@sanity/util': - specifier: 3.32.0 + specifier: workspace:* version: link:../util chalk: specifier: ^4.1.2 @@ -850,7 +847,7 @@ importers: packages/@sanity/export: dependencies: '@sanity/util': - specifier: 3.32.0 + specifier: workspace:* version: link:../util archiver: specifier: ^7.0.0 @@ -893,7 +890,7 @@ importers: specifier: ^3.0.0 version: 3.0.0 '@sanity/mutator': - specifier: 3.32.0 + specifier: workspace:* version: link:../mutator '@sanity/uuid': specifier: ^3.0.1 @@ -957,7 +954,7 @@ importers: specifier: ^6.15.4 version: 6.15.4 '@sanity/import': - specifier: 3.32.0 + specifier: workspace:* version: link:../import get-it: specifier: ^8.4.11 @@ -981,10 +978,10 @@ importers: specifier: ^6.15.4 version: 6.15.4 '@sanity/types': - specifier: 3.32.0 + specifier: workspace:* version: link:../types '@sanity/util': - specifier: 3.32.0 + specifier: workspace:* version: link:../util arrify: specifier: ^2.0.1 @@ -1034,7 +1031,7 @@ importers: specifier: ^29.7.0 version: 29.7.0 '@sanity/types': - specifier: 3.32.0 + specifier: workspace:* version: link:../types '@types/debug': specifier: ^4.1.5 @@ -1049,16 +1046,16 @@ importers: packages/@sanity/portable-text-editor: dependencies: '@sanity/block-tools': - specifier: 3.32.0 + specifier: workspace:* version: link:../block-tools '@sanity/schema': - specifier: 3.32.0 + specifier: workspace:* version: link:../schema '@sanity/types': - specifier: 3.32.0 + specifier: workspace:* version: link:../types '@sanity/util': - specifier: 3.32.0 + specifier: workspace:* version: link:../util debug: specifier: ^3.2.7 @@ -1170,7 +1167,7 @@ importers: specifier: ^3.0.0 version: 3.0.0 '@sanity/types': - specifier: 3.32.0 + specifier: workspace:* version: link:../types arrify: specifier: ^1.0.1 @@ -1223,7 +1220,7 @@ importers: specifier: ^6.15.4 version: 6.15.4 '@sanity/types': - specifier: 3.32.0 + specifier: workspace:* version: link:../types get-random-values-esm: specifier: 1.0.2 @@ -1327,7 +1324,7 @@ importers: packages/create-sanity: dependencies: '@sanity/cli': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/cli resolve-pkg: specifier: ^2.0.0 @@ -1365,10 +1362,10 @@ importers: specifier: ^0.3.1 version: 0.3.1 '@sanity/block-tools': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/block-tools '@sanity/cli': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/cli '@sanity/client': specifier: ^6.15.4 @@ -1377,7 +1374,7 @@ importers: specifier: ^3.0.0 version: 3.0.0 '@sanity/diff': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/diff '@sanity/diff-match-patch': specifier: ^3.1.1 @@ -1386,7 +1383,7 @@ importers: specifier: ^5.0.0 version: 5.0.1 '@sanity/export': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/export '@sanity/generate-help-url': specifier: ^3.0.0 @@ -1398,37 +1395,37 @@ importers: specifier: ^1.0.2 version: 1.0.2 '@sanity/import': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/import '@sanity/logos': specifier: ^2.1.4 version: 2.1.6(@sanity/color@3.0.0)(react@18.2.0) '@sanity/migrate': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/migrate '@sanity/mutator': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/mutator '@sanity/portable-text-editor': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/portable-text-editor '@sanity/presentation': specifier: 1.11.5 version: 1.11.5(@sanity/client@6.15.4)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/schema': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/schema '@sanity/telemetry': specifier: ^0.7.6 version: 0.7.7 '@sanity/types': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/types '@sanity/ui': specifier: ^2.0.10 version: 2.0.10(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@6.1.8) '@sanity/util': - specifier: 3.32.0 + specifier: workspace:* version: link:../@sanity/util '@sanity/uuid': specifier: ^3.0.1 @@ -5796,12 +5793,12 @@ packages: resolution: {integrity: sha512-dSZqGeYjHKGIkqAzGqLcG92LZyJGX+nYbs/FWawhBbTBDWi21kvQ0hsL3DJThuFVWtZMWTQijN3z6Cnd44Pf2g==} engines: {node: '>=14.18'} - /@sanity/eslint-config-i18n@1.0.0(eslint@8.57.0)(typescript@5.3.3): + /@sanity/eslint-config-i18n@1.0.0(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-BIeD9IVT7O5I6vDyDaICoidN02qeImdXDRAW062iHY9gV4JrGScWBFio2HQLso7C+Z6SrQB8jOft6SzeYqDhdQ==} dependencies: '@rushstack/eslint-patch': 1.7.0 '@sanity/eslint-plugin-i18n': 1.0.0 - '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.4.2) eslint-plugin-i18next: 6.0.3 transitivePeerDependencies: - eslint @@ -5809,26 +5806,6 @@ packages: - typescript dev: true - /@sanity/eslint-config-studio@3.0.1(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-N7IFd/VZuL0UyJ2T5t5WWWf9DrhgY6lt0bnnScwwyX4ijA7WMFtxR5rgL2EDGdhI2eYyxOeleeBaK9QEXgiA1A==} - dependencies: - '@babel/core': 7.24.0 - '@babel/eslint-parser': 7.23.3(@babel/core@7.24.0)(eslint@8.57.0) - '@babel/preset-env': 7.24.0(@babel/core@7.24.0) - '@babel/preset-react': 7.23.3(@babel/core@7.24.0) - '@rushstack/eslint-patch': 1.7.0 - '@typescript-eslint/eslint-plugin': 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.3.3) - confusing-browser-globals: 1.0.11 - eslint-plugin-jsx-a11y: 6.8.0(eslint@8.57.0) - eslint-plugin-react: 7.33.2(eslint@8.57.0) - eslint-plugin-react-hooks: 4.6.0(eslint@8.57.0) - transitivePeerDependencies: - - eslint - - supports-color - - typescript - dev: true - /@sanity/eslint-config-studio@3.0.1(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-N7IFd/VZuL0UyJ2T5t5WWWf9DrhgY6lt0bnnScwwyX4ijA7WMFtxR5rgL2EDGdhI2eYyxOeleeBaK9QEXgiA1A==} dependencies: @@ -6019,7 +5996,7 @@ packages: - '@types/node' - supports-color - /@sanity/pkg-utils@3.3.8(@types/node@18.19.8)(typescript@5.3.3): + /@sanity/pkg-utils@3.3.8(@types/node@18.19.8)(typescript@5.4.2): resolution: {integrity: sha512-PKQVdY6yvmLFzJzM3ukSHGpa044zIcBWxD2P4Rs/MPfKrxwxQfwewuCDXrLd6X9udqduiiUTYAr/gCZ3XEMjYQ==} engines: {node: '>=16.0.0'} hasBin: true @@ -6062,7 +6039,7 @@ packages: rollup-plugin-esbuild: 6.1.1(esbuild@0.19.12)(rollup@4.13.0) rxjs: 7.8.1 treeify: 1.1.0 - typescript: 5.3.3 + typescript: 5.4.2 uuid: 9.0.1 zod: 3.22.4 transitivePeerDependencies: @@ -6246,7 +6223,7 @@ packages: '@sanity/client': 6.15.4 '@sanity/color': 2.2.5 '@sanity/icons': 2.11.2(react@18.2.0) - '@sanity/pkg-utils': 3.3.8(@types/node@18.19.8)(typescript@5.3.3) + '@sanity/pkg-utils': 3.3.8(@types/node@18.19.8)(typescript@5.4.2) '@sanity/ui': 1.9.3(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@5.3.11) '@types/cpx': 1.5.5 '@vitejs/plugin-react': 4.2.1(vite@4.5.2) @@ -7164,35 +7141,6 @@ packages: '@types/yargs-parser': 21.0.3 dev: true - /@typescript-eslint/eslint-plugin@6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-DUCUkQNklCQYnrBSSikjVChdc84/vMPDQSgJTHBZ64G9bA9w0Crc0rd2diujKbTdp6w2J47qkeHQLoi0rpLCdg==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 6.19.0 - '@typescript-eslint/type-utils': 6.19.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.19.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.19.0 - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.57.0 - graphemer: 1.4.0 - ignore: 5.3.1 - natural-compare: 1.4.0 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/eslint-plugin@6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-DUCUkQNklCQYnrBSSikjVChdc84/vMPDQSgJTHBZ64G9bA9w0Crc0rd2diujKbTdp6w2J47qkeHQLoi0rpLCdg==} engines: {node: ^16.0.0 || >=18.0.0} @@ -7222,27 +7170,6 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.19.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-1DyBLG5SH7PYCd00QlroiW60YJ4rWMuUGa/JBV0iZuqi4l4IK3twKPq5ZkEebmGqRjXWVgsUzfd3+nZveewgow==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/scope-manager': 6.19.0 - '@typescript-eslint/types': 6.19.0 - '@typescript-eslint/typescript-estree': 6.19.0(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.19.0 - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.57.0 - typescript: 5.3.3 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/parser@6.19.0(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-1DyBLG5SH7PYCd00QlroiW60YJ4rWMuUGa/JBV0iZuqi4l4IK3twKPq5ZkEebmGqRjXWVgsUzfd3+nZveewgow==} engines: {node: ^16.0.0 || >=18.0.0} @@ -7272,26 +7199,6 @@ packages: '@typescript-eslint/visitor-keys': 6.19.0 dev: true - /@typescript-eslint/type-utils@6.19.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-mcvS6WSWbjiSxKCwBcXtOM5pRkPQ6kcDds/juxcy/727IQr3xMEcwr/YLHW2A2+Fp5ql6khjbKBzOyjuPqGi/w==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/typescript-estree': 6.19.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.19.0(eslint@8.57.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@5.5.0) - eslint: 8.57.0 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/type-utils@6.19.0(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-mcvS6WSWbjiSxKCwBcXtOM5pRkPQ6kcDds/juxcy/727IQr3xMEcwr/YLHW2A2+Fp5ql6khjbKBzOyjuPqGi/w==} engines: {node: ^16.0.0 || >=18.0.0} @@ -7317,28 +7224,6 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.19.0(typescript@5.3.3): - resolution: {integrity: sha512-o/zefXIbbLBZ8YJ51NlkSAt2BamrK6XOmuxSR3hynMIzzyMY33KuJ9vuMdFSXW+H0tVvdF9qBPTHA91HDb4BIQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 6.19.0 - '@typescript-eslint/visitor-keys': 6.19.0 - debug: 4.3.4(supports-color@5.5.0) - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/typescript-estree@6.19.0(typescript@5.4.2): resolution: {integrity: sha512-o/zefXIbbLBZ8YJ51NlkSAt2BamrK6XOmuxSR3hynMIzzyMY33KuJ9vuMdFSXW+H0tVvdF9qBPTHA91HDb4BIQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -7361,25 +7246,6 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.19.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-QR41YXySiuN++/dC9UArYOg4X86OAYP83OWTewpVx5ct1IZhjjgTLocj7QNxGhWoTqknsgpl7L+hGygCO+sdYw==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.6 - '@typescript-eslint/scope-manager': 6.19.0 - '@typescript-eslint/types': 6.19.0 - '@typescript-eslint/typescript-estree': 6.19.0(typescript@5.3.3) - eslint: 8.57.0 - semver: 7.5.4 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - /@typescript-eslint/utils@6.19.0(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-QR41YXySiuN++/dC9UArYOg4X86OAYP83OWTewpVx5ct1IZhjjgTLocj7QNxGhWoTqknsgpl7L+hGygCO+sdYw==} engines: {node: ^16.0.0 || >=18.0.0} @@ -10091,8 +9957,8 @@ packages: eslint-plugin-react: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.57.0)(typescript@5.4.2) + '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.4.2) eslint: 8.57.0 eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-react: 7.33.2(eslint@8.57.0) @@ -10152,7 +10018,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.4.2) debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 @@ -10198,7 +10064,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.19.0(eslint@8.57.0)(typescript@5.4.2) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -10329,7 +10195,7 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.57.0)(typescript@5.4.2) eslint: 8.57.0 eslint-rule-composer: 0.3.0 dev: true @@ -17814,15 +17680,6 @@ packages: resolution: {integrity: sha512-mzss4MeyzUkYBppn4x5cdAqrhBHFEuVmMMgLMTyFV23x6GvQMyo+/R5E5Lsbrt7WSt5RfvewjcwD1DChRTA9lA==} dev: false - /ts-api-utils@1.0.3(typescript@5.3.3): - resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} - engines: {node: '>=16.13.0'} - peerDependencies: - typescript: '>=4.2.0' - dependencies: - typescript: 5.3.3 - dev: true - /ts-api-utils@1.0.3(typescript@5.4.2): resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} engines: {node: '>=16.13.0'} @@ -17897,66 +17754,6 @@ packages: - react dev: false - /turbo-darwin-64@1.12.4: - resolution: {integrity: sha512-dBwFxhp9isTa9RS/fz2gDVk5wWhKQsPQMozYhjM7TT4jTrnYn0ZJMzr7V3B/M/T8QF65TbniW7w1gtgxQgX5Zg==} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /turbo-darwin-arm64@1.12.4: - resolution: {integrity: sha512-1Uo5iI6xsJ1j9ObsqxYRsa3W26mEbUe6fnj4rQYV6kDaqYD54oAMJ6hM53q9rB8JvFxwdrUXGp3PwTw9A0qqkA==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /turbo-linux-64@1.12.4: - resolution: {integrity: sha512-ONg2aSqKP7LAQOg7ysmU5WpEQp4DGNxSlAiR7um+LKtbmC/UxogbR5+T+Uuq6zGuQ5kJyKjWJ4NhtvUswOqBsA==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /turbo-linux-arm64@1.12.4: - resolution: {integrity: sha512-9FPufkwdgfIKg/9jj87Cdtftw8o36y27/S2vLN7FTR2pp9c0MQiTBOLVYadUr1FlShupddmaMbTkXEhyt9SdrA==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /turbo-windows-64@1.12.4: - resolution: {integrity: sha512-2mOtxHW5Vjh/5rDVu/aFwsMzI+chs8XcEuJHlY1sYOpEymYTz+u6AXbnzRvwZFMrLKr7J7fQOGl+v96sLKbNdA==} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /turbo-windows-arm64@1.12.4: - resolution: {integrity: sha512-nOY5wae9qnxPOpT1fRuYO0ks6dTwpKMPV6++VkDkamFDLFHUDVM/9kmD2UTeh1yyrKnrZksbb9zmShhmfj1wog==} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /turbo@1.12.4: - resolution: {integrity: sha512-yUJ7elEUSToiGwFZogXpYKJpQ0BvaMbkEuQECIWtkBLcmWzlMOt6bActsIm29oN83mRU0WbzGt4e8H1KHWedhg==} - hasBin: true - optionalDependencies: - turbo-darwin-64: 1.12.4 - turbo-darwin-arm64: 1.12.4 - turbo-linux-64: 1.12.4 - turbo-linux-arm64: 1.12.4 - turbo-windows-64: 1.12.4 - turbo-windows-arm64: 1.12.4 - dev: true - /type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} diff --git a/test/e2e/tests/inputs/date.spec.ts b/test/e2e/tests/inputs/date.spec.ts index 8bc58d6abc0..b9a20ac26e2 100644 --- a/test/e2e/tests/inputs/date.spec.ts +++ b/test/e2e/tests/inputs/date.spec.ts @@ -1,5 +1,5 @@ -import {test} from '@sanity/test' import {expect} from '@playwright/test' +import {test} from '@sanity/test' test(`date input shows validation on selecting date from datepicker`, async ({ page, diff --git a/test/e2e/tests/inputs/datetime.spec.ts b/test/e2e/tests/inputs/datetime.spec.ts index 11f3a31b00d..ac6b36e69e8 100644 --- a/test/e2e/tests/inputs/datetime.spec.ts +++ b/test/e2e/tests/inputs/datetime.spec.ts @@ -1,5 +1,5 @@ -import {test} from '@sanity/test' import {expect} from '@playwright/test' +import {test} from '@sanity/test' test(`datetime input shows validation on selecting date from datepicker`, async ({ page, diff --git a/tsconfig.settings.json b/tsconfig.settings.json index 370bdc3cd87..4792ffea54b 100644 --- a/tsconfig.settings.json +++ b/tsconfig.settings.json @@ -8,7 +8,7 @@ "declaration": true, "declarationMap": true, "sourceMap": true, - + "emitDeclarationOnly": true, // Settings "preserveConstEnums": true, "useUnknownInCatchVariables": false,