forked from sanity-io/sanity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
194 lines (194 loc) · 8.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"name": "sanity-root",
"version": "0.0.0",
"private": true,
"scripts": {
"bootstrap": "pnpm install && pnpm build:cli",
"build": "turbo run build --filter='./packages/*' --filter='./packages/@sanity/*'",
"build:bundle": "turbo run build:bundle --filter='./packages/*' --filter='./packages/@sanity/*'",
"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:e2e": "pnpm e2e:build",
"build:performance-studio": "pnpm perf:studio:build",
"build:test-studio": "pnpm build --filter=sanity-test-studio",
"bundle:upload": "node -r esbuild-register scripts/uploadBundles",
"check": "npm-run-all build --parallel check:*",
"check:deps": "pnpm --recursive --parallel exec depcheck",
"check:format": "prettier . --check",
"check:lint": "turbo run lint --continue -- --quiet",
"check:react-compiler": "eslint --no-inline-config --no-eslintrc --ext .cjs,.mjs,.js,.jsx,.ts,.tsx --parser @typescript-eslint/parser --plugin react-compiler --rule 'react-compiler/react-compiler: [warn]' --ignore-path .eslintignore.react-compiler --max-warnings 7 .",
"check:test": "run-s test -- --silent",
"check:types": "tsc && turbo run check:types --filter='./packages/*' --filter='./packages/@sanity/*'",
"chore:format:fix": "prettier --cache --write .",
"chore:lint:fix": "turbo run lint -- --quiet --fix",
"chore:normalize-versions": "node -r esbuild-register scripts/normalizeDependencyVersions.ts",
"clean": "run-s build:clean clean:deps",
"clean:deps": "rimraf packages/@repo/*/node_modules packages/@sanity/*/node_modules packages/*/node_modules dev/*/node_modules node_modules",
"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 dev:test-studio",
"generate:docs": "tsx --env-file=.env.local ./scripts/generate-documents/cli.ts",
"dev:cli": "pnpm watch",
"dev:design-studio": "pnpm --filter design-studio dev",
"dev:embedded-studio": "pnpm --filter embedded-studio dev",
"dev:i18n": "SANITY_STUDIO_DEBUG_I18N=triangles pnpm start",
"dev:i18n:reverse": "SANITY_STUDIO_DEBUG_I18N=reverse pnpm start",
"dev:page-building-studio": "pnpm --filter sanity-page-building-studio dev",
"dev:starter-studio": "pnpm --filter sanity-starter-studio dev",
"dev:strict-studio": "pnpm --filter sanity-strict-studio dev",
"dev:test-studio": "pnpm --filter sanity-test-studio dev",
"dev:test-studio-production-profiling": "REACT_PRODUCTION_PROFILING=true turbo run start --filter=sanity-test-studio",
"dev:next-studio": "pnpm --filter sanity-test-next-studio dev",
"dev:compiled-studio": "REACT_COMPILER=true pnpm dev:next-studio",
"dev:turbo-studio": "pnpm dev:next-studio --turbo",
"docs:report": "node -r dotenv-flow/config -r esbuild-register scripts/doc-report/docReport",
"docs:report:cleanup": "node -r dotenv-flow/config -r esbuild-register scripts/doc-report/docReportCleanup",
"docs:report:create": "node -r dotenv-flow/config -r esbuild-register scripts/doc-report/docReportCreate",
"e2e:build": "pnpm --filter studio-e2e-testing build",
"e2e:cleanup": "node -r dotenv-flow/config -r esbuild-register scripts/e2e/cleanup",
"e2e:codegen": "node -r dotenv-flow/config ./node_modules/.bin/sanity-test codegen",
"e2e:dev": "pnpm --filter studio-e2e-testing dev",
"e2e:preview": "pnpm e2e:build && pnpm --filter studio-e2e-testing preview",
"e2e:setup": "node -r dotenv-flow/config -r esbuild-register scripts/e2e/setup",
"e2e:start": "pnpm --filter studio-e2e-testing preview",
"etl": "node -r dotenv-flow/config -r esbuild-register scripts/etl",
"efps:test": "cd perf/efps && pnpm test",
"example:blog-studio": "cd examples/blog-studio && pnpm start",
"example:clean-studio": "cd examples/blog-studio && pnpm start",
"example:ecommerce-studio": "cd examples/blog-studio && pnpm start",
"example:example-studio": "cd examples/blog-studio && pnpm start",
"prepublishOnly": "pnpm build",
"example:movies-studio": "cd examples/blog-studio && pnpm start",
"install:deps": "pnpm install",
"lint": "run-s check:lint",
"lint:fix": "run-s chore:lint:fix",
"list:deps-updates": "npm-check-updates --workspaces --root -m",
"normalize-pkgfields": "node -r esbuild-register scripts/normalizePackageFields",
"normalize:versions": "node -r esbuild-register scripts/normalizeDependencyVersions.ts",
"perf:codegen": "cd perf/tests && pnpm perf:codegen",
"perf:studio": "cd perf/studio && pnpm preview",
"perf:studio:build": "pnpm build --filter=perf-studio",
"perf:studio:dev": "cd perf/studio && pnpm dev",
"perf:test": "cd perf/tests && pnpm perf:test",
"preinstall": "npx only-allow pnpm",
"postinstall": "husky",
"prettier": "prettier --cache .",
"prettify": "lerna run clean && prettier --cache --write .",
"publish:tarball": "node -r esbuild-register scripts/publish/tarball",
"release": "pnpm build && lerna publish --exact --force-publish",
"release:canary": "RELEASE_TAG=canary pnpm release:tag",
"release:current-branch": "RELEASE_TAG=`git rev-parse --abbrev-ref HEAD | sed 's/\\//\\_/g'` pnpm release:tag",
"release:notes": "node -r esbuild-register scripts/printReleaseNotesTemplate",
"release:rc": "pnpm build && lerna publish --force-publish --dist-tag=dev-preview --preid=rc --exact",
"release:tag": "RELEASE_TAG=\"${RELEASE_TAG:-canary}\"; pnpm build && lerna publish --canary --force-publish --no-git-tag-version --dist-tag=$RELEASE_TAG --preid=$RELEASE_TAG --exact",
"start": "run-s dev",
"test": "run-s test:vitest test:jest",
"test:jest": "jest --forceExit",
"test:vitest": "vitest --run",
"test:e2e": "playwright test",
"test:exports": "turbo run test --filter=@repo/test-exports",
"tsdoc:dev": "sanity-tsdoc dev",
"updated": "lerna updated",
"watch": "lerna run --parallel --stream --scope '{@sanity/*,sanity}' watch"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --quiet --fix"
]
},
"prettier": "@sanity/prettier-config",
"devDependencies": {
"@google-cloud/storage": "^7.11.0",
"@playwright/test": "1.44.1",
"@repo/dev-aliases": "workspace:*",
"@repo/package.config": "workspace:*",
"@repo/test-config": "workspace:*",
"@repo/tsconfig": "workspace:*",
"@sanity/client": "^6.22.1",
"@sanity/eslint-config-i18n": "1.0.0",
"@sanity/eslint-config-studio": "^4.0.0",
"@sanity/mutate": "^0.10.0",
"@sanity/pkg-utils": "6.11.2",
"@sanity/prettier-config": "^1.0.2",
"@sanity/test": "0.0.1-alpha.1",
"@sanity/tsdoc": "1.0.105",
"@sanity/ui": "^2.8.9",
"@sanity/uuid": "^3.0.2",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.17.7",
"@types/node": "^18.19.8",
"@types/react": "^18.3.5",
"@types/semver": "^7.5.6",
"@types/yargs": "^17.0.7",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^4.3.1",
"cac": "^6.7.12",
"chalk": "^4.1.2",
"depcheck": "^1.4.7",
"dotenv": "^16.0.3",
"dotenv-flow": "^3.2.0",
"esbuild": "0.21.5",
"esbuild-register": "^3.6.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-sanity": "^7.1.2",
"eslint-config-turbo": "^2.1.2",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-boundaries": "^4.2.2",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-compiler": "0.0.0-experimental-9ed098e-20240725",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-tsdoc": "^0.3.0",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-unused-imports": "^3.2.0",
"execa": "^2.0.0",
"glob": "^7.2.0",
"globby": "^10.0.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"js-yaml": "^4.1.0",
"lerna": "^8.1.8",
"lint-staged": "^12.1.2",
"lodash": "^4.17.21",
"minimist": "^1.2.5",
"npm-run-all2": "^6.2.3",
"ora": "^8.0.1",
"prettier": "^3.3.3",
"rimraf": "^3.0.2",
"rxjs": "^7.8.1",
"sanity": "workspace:*",
"semver": "^7.3.5",
"turbo": "^2.1.3",
"typescript": "5.6.2",
"vite": "^4.5.3",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^2.1.1",
"yargs": "^17.3.0"
},
"optionalDependencies": {
"node-notifier": "^10.0.0"
},
"packageManager": "pnpm@9.10.0",
"pnpm": {
"peerDependencyRules": {
"allowAny": [
"react",
"react-dom",
"react-is"
]
},
"overrides": {
"@npmcli/arborist": "^7.5.4",
"@sanity/ui@2": "$@sanity/ui",
"@typescript-eslint/eslint-plugin": "$@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser": "$@typescript-eslint/parser"
}
},
"isSanityMonorepo": true
}