@sanity/pkg-utils 7.7.1-canary.3 → 7.7.1

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/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { cac } from "cac";
2
- var version = "7.7.1-canary.3";
2
+ var version = "7.7.1";
3
3
  const cli = cac();
4
4
  cli.command("", "Check").alias("check").option("--strict", "Strict mode").option("--tsconfig [tsconfig]", "[string] tsconfig.json").action(async (options) => {
5
5
  const { checkAction } = await import("./_chunks-es/checkAction.js");
package/dist/index.d.cts CHANGED
@@ -408,7 +408,7 @@ declare function loadConfig(options: {
408
408
  declare const DEFAULT_BROWSERSLIST_QUERY: string[];
409
409
  /** @alpha */
410
410
  interface PackageJSON {
411
- type?: 'commonjs' | 'module';
411
+ type?: 'commonjs' | 'module' | undefined;
412
412
  version: string;
413
413
  private?: boolean;
414
414
  author?: string | {
package/dist/index.d.ts CHANGED
@@ -408,7 +408,7 @@ declare function loadConfig(options: {
408
408
  declare const DEFAULT_BROWSERSLIST_QUERY: string[];
409
409
  /** @alpha */
410
410
  interface PackageJSON {
411
- type?: 'commonjs' | 'module';
411
+ type?: 'commonjs' | 'module' | undefined;
412
412
  version: string;
413
413
  private?: boolean;
414
414
  author?: string | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/pkg-utils",
3
- "version": "7.7.1-canary.3",
3
+ "version": "7.7.1",
4
4
  "description": "Simple utilities for modern npm packages.",
5
5
  "keywords": [
6
6
  "sanity-io",
@@ -140,7 +140,7 @@
140
140
  "tsx": "^4.20.3",
141
141
  "typescript": "5.8.3",
142
142
  "vitest": "^3.2.4",
143
- "@sanity/pkg-utils": "7.7.1-canary.3"
143
+ "@sanity/pkg-utils": "7.7.1"
144
144
  },
145
145
  "peerDependencies": {
146
146
  "babel-plugin-react-compiler": "*",
@@ -4,6 +4,7 @@
4
4
  "compilerOptions": {
5
5
  "allowJs": false,
6
6
  "checkJs": false,
7
- "isolatedDeclarations": true
7
+ "isolatedDeclarations": true,
8
+ "declaration": true
8
9
  }
9
10
  }
@@ -16,6 +16,9 @@
16
16
  "esModuleInterop": true,
17
17
  "forceConsistentCasingInFileNames": true,
18
18
  "skipLibCheck": true,
19
+ "noUncheckedIndexedAccess": true,
20
+ "exactOptionalPropertyTypes": true,
21
+ "isolatedModules": true,
19
22
  "erasableSyntaxOnly": true
20
23
  }
21
24
  }