diff --git a/package.json b/package.json index e057cb52557..74d33d749dd 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "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", - "depcheck": "pnpm exec -r depcheck", + "depcheck": "pnpm check:deps", "deploy:movies": "pnpm build && cd examples/movies-studio && sanity deploy", "deploy:test": "pnpm build && cd dev/test-studio && sanity deploy", "dev": "pnpm start", @@ -102,16 +102,13 @@ "@sanity/pkg-utils": "^3.3.2", "@sanity/test": "0.0.1-alpha.1", "@sanity/tsdoc": "1.0.0-alpha.38", - "@sanity/types": "3.25.0", "@sanity/uuid": "^3.0.2", "@types/node": "^18.19.8", "@types/react": "^18.2.37", "@types/semver": "^7.5.6", - "@types/tmp": "^0.2.3", "@types/yargs": "^17.0.7", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.19.0", - "babel-jest": "^29.7.0", "cac": "^6.7.12", "chalk": "^4.1.2", "depcheck": "^1.4.7", @@ -137,7 +134,7 @@ "husky": "^7.0.4", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", - "jest-environment-node": "^29.7.0", + "js-yaml": "^4.1.0", "lerna": "^8.1.2", "lint-staged": "^12.1.2", "lodash": "^4.17.21", @@ -145,8 +142,6 @@ "npm-run-all": "^4.1.5", "ora": "^6.3.1", "prettier": "^3.1.0", - "prettier-plugin-packagejson": "^2.4.6", - "pretty-quick": "^3.1.3", "rimraf": "^3.0.2", "rxjs": "^7.8.1", "sanity": "^3.25.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5c8d853e2ec..68e1ff6132d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,9 +54,6 @@ importers: '@sanity/tsdoc': specifier: 1.0.0-alpha.38 version: 1.0.0-alpha.38(@sanity/pkg-utils@3.3.8)(@types/node@18.19.8)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(sanity@packages+sanity)(styled-components@5.3.11) - '@sanity/types': - specifier: 3.25.0 - version: 3.25.0 '@sanity/uuid': specifier: ^3.0.2 version: 3.0.2 @@ -69,9 +66,6 @@ importers: '@types/semver': specifier: ^7.5.6 version: 7.5.6 - '@types/tmp': - specifier: ^0.2.3 - version: 0.2.6 '@types/yargs': specifier: ^17.0.7 version: 17.0.32 @@ -81,9 +75,6 @@ importers: '@typescript-eslint/parser': specifier: ^6.19.0 version: 6.19.0(eslint@8.56.0)(typescript@5.3.3) - babel-jest: - specifier: ^29.7.0 - version: 29.7.0(@babel/core@7.23.7) cac: specifier: ^6.7.12 version: 6.7.14 @@ -159,9 +150,9 @@ importers: jest-environment-jsdom: specifier: ^29.7.0 version: 29.7.0 - jest-environment-node: - specifier: ^29.7.0 - version: 29.7.0 + js-yaml: + specifier: ^4.1.0 + version: 4.1.0 lerna: specifier: ^8.1.2 version: 8.1.2 @@ -183,12 +174,6 @@ importers: prettier: specifier: ^3.1.0 version: 3.2.4 - prettier-plugin-packagejson: - specifier: ^2.4.6 - version: 2.4.9(prettier@3.2.4) - pretty-quick: - specifier: ^3.1.3 - version: 3.3.1(prettier@3.2.4) rimraf: specifier: ^3.0.2 version: 3.0.2 @@ -6216,15 +6201,6 @@ packages: - terser dev: true - /@sanity/types@3.25.0: - resolution: {integrity: sha512-82UssrPv+Teb0ozPS+hsdbvDVsmVH+d4zBlIYuR+TKh2WLvMD7jx510dBDq9PdE0Fot6WQEtpJ8YBxwtM6qD4A==} - dependencies: - '@sanity/client': 6.12.4 - '@types/react': 18.2.48 - transitivePeerDependencies: - - supports-color - dev: true - /@sanity/types@3.28.0: resolution: {integrity: sha512-k3y7mD9QLN4PQVla5kkRKUu/JcEzByYhAAp8kFYRyZPBpJO3/BWZQVufWzbIfmyHrH5fu+O0XDP/MVATyYwoGQ==} dependencies: @@ -7072,10 +7048,6 @@ packages: '@types/node': 18.19.8 dev: true - /@types/tmp@0.2.6: - resolution: {integrity: sha512-chhaNf2oKHlRkDGt+tiKE2Z5aJ6qalm7Z9rlLdBwmOiAAf09YQvvoLXjWK4HWPF1xU/fqvMgfNfpVoBscA/tKA==} - dev: true - /@types/tough-cookie@4.0.5: resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} dev: true @@ -10396,21 +10368,6 @@ packages: signal-exit: 3.0.7 strip-final-newline: 2.0.0 - /execa@4.1.0: - resolution: {integrity: sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==} - engines: {node: '>=10'} - dependencies: - cross-spawn: 7.0.3 - get-stream: 5.2.0 - human-signals: 1.1.1 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.7 - strip-final-newline: 2.0.0 - dev: true - /execa@5.0.0: resolution: {integrity: sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ==} engines: {node: '>=10'} @@ -11841,11 +11798,6 @@ packages: transitivePeerDependencies: - supports-color - /human-signals@1.1.1: - resolution: {integrity: sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==} - engines: {node: '>=8.12.0'} - dev: true - /human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} @@ -14278,11 +14230,6 @@ packages: /moment@2.30.1: resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} - /mri@1.2.0: - resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} - engines: {node: '>=4'} - dev: true - /ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} @@ -15346,11 +15293,6 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - /picomatch@3.0.1: - resolution: {integrity: sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==} - engines: {node: '>=10'} - dev: true - /pidtree@0.3.1: resolution: {integrity: sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==} engines: {node: '>=0.10'} @@ -15552,23 +15494,6 @@ packages: parse-ms: 2.1.0 dev: false - /pretty-quick@3.3.1(prettier@3.2.4): - resolution: {integrity: sha512-3b36UXfYQ+IXXqex6mCca89jC8u0mYLqFAN5eTQKoXO6oCQYcIVYZEB/5AlBHI7JPYygReM2Vv6Vom/Gln7fBg==} - engines: {node: '>=10.13'} - hasBin: true - peerDependencies: - prettier: ^2.0.0 - dependencies: - execa: 4.1.0 - find-up: 4.1.0 - ignore: 5.3.0 - mri: 1.2.0 - picocolors: 1.0.0 - picomatch: 3.0.1 - prettier: 3.2.4 - tslib: 2.6.2 - dev: true - /prismjs@1.27.0: resolution: {integrity: sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==} engines: {node: '>=6'}