@sanity/pkg-utils 6.6.4 → 6.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/pkg-utils",
3
- "version": "6.6.4",
3
+ "version": "6.6.6",
4
4
  "description": "Simple utilities for modern npm packages.",
5
5
  "keywords": [
6
6
  "sanity-io",
@@ -92,7 +92,7 @@
92
92
  "pretty-bytes": "^5.6.0",
93
93
  "prompts": "^2.4.2",
94
94
  "rimraf": "^4.4.1",
95
- "rollup": "^4.14.2",
95
+ "rollup": "^4.14.3",
96
96
  "rollup-plugin-esbuild": "^6.1.1",
97
97
  "rxjs": "^7.8.1",
98
98
  "treeify": "^1.1.0",
@@ -101,8 +101,8 @@
101
101
  "zod-validation-error": "3.1.0"
102
102
  },
103
103
  "devDependencies": {
104
- "@commitlint/cli": "^19.2.1",
105
- "@commitlint/config-conventional": "^19.1.0",
104
+ "@commitlint/cli": "^19.2.2",
105
+ "@commitlint/config-conventional": "^19.2.2",
106
106
  "@types/babel__core": "^7.20.5",
107
107
  "@types/cpx": "^1.5.5",
108
108
  "@types/find-config": "^1.0.4",
@@ -114,8 +114,8 @@
114
114
  "@types/semver": "^7.5.8",
115
115
  "@types/treeify": "^1.0.3",
116
116
  "@types/uuid": "^9.0.8",
117
- "@typescript-eslint/eslint-plugin": "^7.6.0",
118
- "@typescript-eslint/parser": "^7.6.0",
117
+ "@typescript-eslint/eslint-plugin": "^7.7.0",
118
+ "@typescript-eslint/parser": "^7.7.0",
119
119
  "browserslist-to-esbuild": "2.1.1",
120
120
  "commitizen": "^4.3.0",
121
121
  "cpx": "^1.5.0",
@@ -136,12 +136,12 @@
136
136
  "typescript": "5.4.5",
137
137
  "vitest": "^1.5.0",
138
138
  "vitest-github-actions-reporter": "^0.11.1",
139
- "@sanity/pkg-utils": "6.6.4"
139
+ "@sanity/pkg-utils": "6.6.6"
140
140
  },
141
141
  "peerDependencies": {
142
142
  "typescript": "5.4.x"
143
143
  },
144
- "packageManager": "pnpm@8.15.6",
144
+ "packageManager": "pnpm@8.15.7",
145
145
  "engines": {
146
146
  "node": ">=18.17.0"
147
147
  },
@@ -37,9 +37,7 @@ export async function buildTypes(options: {
37
37
  const errors = allDiagnostics.filter((diag) => diag.category === ts.DiagnosticCategory.Error)
38
38
 
39
39
  if (errors.length) {
40
- if (strict) {
41
- throw new Error('failed to compile TypeScript definitions')
42
- }
40
+ throw new Error('failed to compile TypeScript definitions')
43
41
  }
44
42
  }
45
43
  }