Skip to content

Commit ce9a952

Browse files
authored
fix(deps): update pkg-utils to v7 (#384)
1 parent 032e09f commit ce9a952

File tree

7 files changed

+760
-428
lines changed

7 files changed

+760
-428
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@repo/config-eslint": "workspace:*",
4747
"@repo/config-test": "workspace:*",
4848
"@repo/tsconfig": "workspace:*",
49-
"@sanity/pkg-utils": "^6.13.4",
49+
"@sanity/pkg-utils": "^7.2.2",
5050
"@sanity/prettier-config": "^1.0.3",
5151
"@types/node": "^22.10.5",
5252
"@vitest/coverage-v8": "3.1.1",

packages/@repo/package.config/src/package.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import {defineConfig} from '@sanity/pkg-utils'
22

33
export const basePackageConfig = defineConfig({
4-
legacyExports: false,
54
extract: {
65
rules: {
7-
'ae-forgotten-export': 'off',
86
'ae-internal-missing-underscore': 'off',
97
},
108
customTags: [

packages/@repo/tsconfig/base.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
// 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
4141
"moduleResolution": "Bundler",
4242
"esModuleInterop": true,
43-
"resolveJsonModule": true
43+
"resolveJsonModule": true,
44+
45+
"erasableSyntaxOnly": false
4446
}
4547
}

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"build": "pkg build --strict --clean --check",
4444
"clean": "rimraf dist",
4545
"dev": "pkg watch",
46-
"docs": "typedoc --out docs --tsconfig ../../tsconfig.tsdoc.json",
46+
"docs": "typedoc --out docs --tsconfig ./tsconfig.dist.json",
4747
"format": "prettier --write --cache --ignore-unknown .",
4848
"lint": "eslint .",
4949
"prepublishOnly": "pnpm run build",
@@ -72,7 +72,7 @@
7272
"@repo/package.config": "workspace:*",
7373
"@repo/tsconfig": "workspace:*",
7474
"@sanity/browserslist-config": "^1.0.5",
75-
"@sanity/pkg-utils": "^6.13.4",
75+
"@sanity/pkg-utils": "^7.2.2",
7676
"@sanity/prettier-config": "^1.0.3",
7777
"@vitest/coverage-v8": "3.1.1",
7878
"eslint": "^9.22.0",

packages/react-internal/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"build": "pkg build --strict --clean --check",
4949
"clean": "rimraf dist",
5050
"dev": "pkg watch",
51-
"docs": "typedoc --out docs --tsconfig ../../tsconfig.tsdoc.json",
51+
"docs": "typedoc --out docs --tsconfig ./tsconfig.dist.json",
5252
"format": "prettier --write --cache --ignore-unknown .",
5353
"lint": "eslint .",
5454
"prepublishOnly": "pnpm run build",
@@ -71,7 +71,7 @@
7171
"@repo/package.config": "workspace:*",
7272
"@repo/tsconfig": "workspace:*",
7373
"@sanity/browserslist-config": "^1.0.5",
74-
"@sanity/pkg-utils": "^6.13.4",
74+
"@sanity/pkg-utils": "^7.2.2",
7575
"@sanity/prettier-config": "^1.0.3",
7676
"@testing-library/jest-dom": "^6.6.3",
7777
"@testing-library/react": "^16.3.0",

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"build": "pkg build --strict --clean --check",
4444
"clean": "rimraf dist",
4545
"dev": "pkg watch",
46-
"docs": "typedoc --out docs --tsconfig ../../tsconfig.tsdoc.json",
46+
"docs": "typedoc --out docs --tsconfig ./tsconfig.dist.json",
4747
"format": "prettier --write --cache --ignore-unknown .",
4848
"lint": "eslint .",
4949
"prepublishOnly": "pnpm run build",
@@ -72,7 +72,7 @@
7272
"@sanity/browserslist-config": "^1.0.5",
7373
"@sanity/client": "^6.28.4",
7474
"@sanity/comlink": "^3.0.1",
75-
"@sanity/pkg-utils": "^6.13.4",
75+
"@sanity/pkg-utils": "^7.2.2",
7676
"@sanity/prettier-config": "^1.0.3",
7777
"@testing-library/jest-dom": "^6.6.3",
7878
"@testing-library/react": "^16.3.0",

0 commit comments

Comments
 (0)