@sanity/cli-test 12.0.0 → 14.0.0

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.
@@ -0,0 +1,17 @@
1
+ import { Mock } from "vitest";
2
+ /** @internal */
3
+ declare const extractCoreAppManifest: Mock;
4
+ /** @internal */
5
+ declare const readIconFromPath: Mock;
6
+ /** @internal */
7
+ declare const resolveTitleUpdate: Mock;
8
+ /** @internal */
9
+ declare const extractManifest: Mock;
10
+ /** @internal */
11
+ declare const extractManifestSchemaTypes: Mock;
12
+ /** @internal */
13
+ declare const extractWorkspaceManifest: Mock;
14
+ /** @internal */
15
+ declare const writeManifestFile: Mock;
16
+ export { extractCoreAppManifest, extractManifest, extractManifestSchemaTypes, extractWorkspaceManifest, readIconFromPath, resolveTitleUpdate, writeManifestFile };
17
+ //# sourceMappingURL=manifest.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { vi } from 'vitest';
2
+ /** @internal */ export const extractCoreAppManifest = vi.fn();
3
+ /** @internal */ export const readIconFromPath = vi.fn();
4
+ /** @internal */ export const resolveTitleUpdate = vi.fn();
5
+ /** @internal */ export const extractManifest = vi.fn();
6
+ /** @internal */ export const extractManifestSchemaTypes = vi.fn();
7
+ /** @internal */ export const extractWorkspaceManifest = vi.fn();
8
+ /** @internal */ export const writeManifestFile = vi.fn();
9
+
10
+ //# sourceMappingURL=manifest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/mocks/cli-build/manifest.ts"],"sourcesContent":["import {type Mock, vi} from 'vitest'\n\n/** @internal */\nexport const extractCoreAppManifest: Mock = vi.fn()\n/** @internal */\nexport const readIconFromPath: Mock = vi.fn()\n/** @internal */\nexport const resolveTitleUpdate: Mock = vi.fn()\n/** @internal */\nexport const extractManifest: Mock = vi.fn()\n/** @internal */\nexport const extractManifestSchemaTypes: Mock = vi.fn()\n/** @internal */\nexport const extractWorkspaceManifest: Mock = vi.fn()\n/** @internal */\nexport const writeManifestFile: Mock = vi.fn()\n"],"names":["vi","extractCoreAppManifest","fn","readIconFromPath","resolveTitleUpdate","extractManifest","extractManifestSchemaTypes","extractWorkspaceManifest","writeManifestFile"],"mappings":"AAAA,SAAmBA,EAAE,QAAO,SAAQ;AAEpC,cAAc,GACd,OAAO,MAAMC,yBAA+BD,GAAGE,EAAE,GAAE;AACnD,cAAc,GACd,OAAO,MAAMC,mBAAyBH,GAAGE,EAAE,GAAE;AAC7C,cAAc,GACd,OAAO,MAAME,qBAA2BJ,GAAGE,EAAE,GAAE;AAC/C,cAAc,GACd,OAAO,MAAMG,kBAAwBL,GAAGE,EAAE,GAAE;AAC5C,cAAc,GACd,OAAO,MAAMI,6BAAmCN,GAAGE,EAAE,GAAE;AACvD,cAAc,GACd,OAAO,MAAMK,2BAAiCP,GAAGE,EAAE,GAAE;AACrD,cAAc,GACd,OAAO,MAAMM,oBAA0BR,GAAGE,EAAE,GAAE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/cli-test",
3
- "version": "12.0.0",
3
+ "version": "14.0.0",
4
4
  "description": "Sanity CLI test helpers and utilities",
5
5
  "keywords": [
6
6
  "cli",
@@ -33,6 +33,10 @@
33
33
  "source": "./src/index.ts",
34
34
  "default": "./dist/index.js"
35
35
  },
36
+ "./mocks/cli-build/manifest": {
37
+ "source": "./src/mocks/cli-build/manifest.ts",
38
+ "default": "./dist/mocks/cli-build/manifest.js"
39
+ },
36
40
  "./mocks/cli-core/apiClient": {
37
41
  "source": "./src/mocks/cli-core/apiClient.ts",
38
42
  "default": "./dist/mocks/cli-core/apiClient.js"
@@ -109,7 +113,7 @@
109
113
  "get-it": "^9.5.0",
110
114
  "nock": "^14.0.15",
111
115
  "tinyglobby": "^0.2.17",
112
- "@sanity/cli-core": "3.2.0"
116
+ "@sanity/cli-core": "3.4.0"
113
117
  },
114
118
  "devDependencies": {
115
119
  "@eslint/compat": "^2.1.0",
@@ -133,7 +137,7 @@
133
137
  "@oclif/core": "^4.0.0",
134
138
  "@sanity/client": "^8.1.0",
135
139
  "vitest": ">=3.0.0 <5.0.0",
136
- "@sanity/cli-core": "3.2.0"
140
+ "@sanity/cli-core": "3.4.0"
137
141
  },
138
142
  "engines": {
139
143
  "node": ">=22.12"