File tree Expand file tree Collapse file tree 7 files changed +760
-428
lines changed Expand file tree Collapse file tree 7 files changed +760
-428
lines changed Original file line number Diff line number Diff line change 46
46
"@repo/config-eslint" : " workspace:*" ,
47
47
"@repo/config-test" : " workspace:*" ,
48
48
"@repo/tsconfig" : " workspace:*" ,
49
- "@sanity/pkg-utils" : " ^6.13.4 " ,
49
+ "@sanity/pkg-utils" : " ^7.2.2 " ,
50
50
"@sanity/prettier-config" : " ^1.0.3" ,
51
51
"@types/node" : " ^22.10.5" ,
52
52
"@vitest/coverage-v8" : " 3.1.1" ,
Original file line number Diff line number Diff line change 1
1
import { defineConfig } from '@sanity/pkg-utils'
2
2
3
3
export const basePackageConfig = defineConfig ( {
4
- legacyExports : false ,
5
4
extract : {
6
5
rules : {
7
- 'ae-forgotten-export' : 'off' ,
8
6
'ae-internal-missing-underscore' : 'off' ,
9
7
} ,
10
8
customTags : [
Original file line number Diff line number Diff line change 40
40
// These options are already set by "module": "Preserve" but if someone loads the monorepo in an older TS version you'll get confusing errors and so we set them here as a fallback
41
41
"moduleResolution" : " Bundler" ,
42
42
"esModuleInterop" : true ,
43
- "resolveJsonModule" : true
43
+ "resolveJsonModule" : true ,
44
+
45
+ "erasableSyntaxOnly" : false
44
46
}
45
47
}
Original file line number Diff line number Diff line change 43
43
"build" : " pkg build --strict --clean --check" ,
44
44
"clean" : " rimraf dist" ,
45
45
"dev" : " pkg watch" ,
46
- "docs" : " typedoc --out docs --tsconfig ../../ tsconfig.tsdoc .json" ,
46
+ "docs" : " typedoc --out docs --tsconfig ./ tsconfig.dist .json" ,
47
47
"format" : " prettier --write --cache --ignore-unknown ." ,
48
48
"lint" : " eslint ." ,
49
49
"prepublishOnly" : " pnpm run build" ,
72
72
"@repo/package.config" : " workspace:*" ,
73
73
"@repo/tsconfig" : " workspace:*" ,
74
74
"@sanity/browserslist-config" : " ^1.0.5" ,
75
- "@sanity/pkg-utils" : " ^6.13.4 " ,
75
+ "@sanity/pkg-utils" : " ^7.2.2 " ,
76
76
"@sanity/prettier-config" : " ^1.0.3" ,
77
77
"@vitest/coverage-v8" : " 3.1.1" ,
78
78
"eslint" : " ^9.22.0" ,
Original file line number Diff line number Diff line change 48
48
"build" : " pkg build --strict --clean --check" ,
49
49
"clean" : " rimraf dist" ,
50
50
"dev" : " pkg watch" ,
51
- "docs" : " typedoc --out docs --tsconfig ../../ tsconfig.tsdoc .json" ,
51
+ "docs" : " typedoc --out docs --tsconfig ./ tsconfig.dist .json" ,
52
52
"format" : " prettier --write --cache --ignore-unknown ." ,
53
53
"lint" : " eslint ." ,
54
54
"prepublishOnly" : " pnpm run build" ,
71
71
"@repo/package.config" : " workspace:*" ,
72
72
"@repo/tsconfig" : " workspace:*" ,
73
73
"@sanity/browserslist-config" : " ^1.0.5" ,
74
- "@sanity/pkg-utils" : " ^6.13.4 " ,
74
+ "@sanity/pkg-utils" : " ^7.2.2 " ,
75
75
"@sanity/prettier-config" : " ^1.0.3" ,
76
76
"@testing-library/jest-dom" : " ^6.6.3" ,
77
77
"@testing-library/react" : " ^16.3.0" ,
Original file line number Diff line number Diff line change 43
43
"build" : " pkg build --strict --clean --check" ,
44
44
"clean" : " rimraf dist" ,
45
45
"dev" : " pkg watch" ,
46
- "docs" : " typedoc --out docs --tsconfig ../../ tsconfig.tsdoc .json" ,
46
+ "docs" : " typedoc --out docs --tsconfig ./ tsconfig.dist .json" ,
47
47
"format" : " prettier --write --cache --ignore-unknown ." ,
48
48
"lint" : " eslint ." ,
49
49
"prepublishOnly" : " pnpm run build" ,
72
72
"@sanity/browserslist-config" : " ^1.0.5" ,
73
73
"@sanity/client" : " ^6.28.4" ,
74
74
"@sanity/comlink" : " ^3.0.1" ,
75
- "@sanity/pkg-utils" : " ^6.13.4 " ,
75
+ "@sanity/pkg-utils" : " ^7.2.2 " ,
76
76
"@sanity/prettier-config" : " ^1.0.3" ,
77
77
"@testing-library/jest-dom" : " ^6.6.3" ,
78
78
"@testing-library/react" : " ^16.3.0" ,
You can’t perform that action at this time.
0 commit comments