@sanity/cli-test 4.0.0 → 6.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.
package/dist/index.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // Instead, add them to the relevant granular export files laid out in package.json exports.
3
3
  export * from './test/constants.js';
4
4
  export * from './test/createMockHttpServer.js';
5
+ /** DEPRECATED */ export { createMockSpinner } from './test/createMockSpinner.js';
5
6
  export * from './test/createMockWatcher.js';
6
7
  export * from './test/createTestClient.js';
7
8
  export * from './test/createTestToken.js';
@@ -13,6 +14,5 @@ export * from './test/testCommand.js';
13
14
  export * from './test/testFixture.js';
14
15
  export * from './test/testHook.js';
15
16
  export * from './utils/paths.js';
16
- /** DEPRECATED */ export { createMockSpinner } from './test/createMockSpinner.js';
17
17
 
18
18
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// DO NOT ADD NEW EXPORTS HERE!\n// Instead, add them to the relevant granular export files laid out in package.json exports.\nexport * from './test/constants.js'\nexport * from './test/createMockHttpServer.js'\nexport * from './test/createMockWatcher.js'\nexport * from './test/createTestClient.js'\nexport * from './test/createTestToken.js'\nexport * from './test/mockApi.js'\nexport * from './test/mockSanityCommand.js'\nexport * from './test/mockTelemetry.js'\nexport * from './test/setupFixtures.js'\nexport * from './test/testCommand.js'\nexport * from './test/testFixture.js'\nexport * from './test/testHook.js'\nexport * from './utils/paths.js'\n\n/** DEPRECATED */\nexport {createMockSpinner} from './test/createMockSpinner.js'\n"],"names":["createMockSpinner"],"mappings":"AAAA,+BAA+B;AAC/B,4FAA4F;AAC5F,cAAc,sBAAqB;AACnC,cAAc,iCAAgC;AAC9C,cAAc,8BAA6B;AAC3C,cAAc,6BAA4B;AAC1C,cAAc,4BAA2B;AACzC,cAAc,oBAAmB;AACjC,cAAc,8BAA6B;AAC3C,cAAc,0BAAyB;AACvC,cAAc,0BAAyB;AACvC,cAAc,wBAAuB;AACrC,cAAc,wBAAuB;AACrC,cAAc,qBAAoB;AAClC,cAAc,mBAAkB;AAEhC,eAAe,GACf,SAAQA,iBAAiB,QAAO,8BAA6B"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// DO NOT ADD NEW EXPORTS HERE!\n// Instead, add them to the relevant granular export files laid out in package.json exports.\nexport * from './test/constants.js'\nexport * from './test/createMockHttpServer.js'\n/** DEPRECATED */\nexport {createMockSpinner} from './test/createMockSpinner.js'\nexport * from './test/createMockWatcher.js'\nexport * from './test/createTestClient.js'\nexport * from './test/createTestToken.js'\nexport * from './test/mockApi.js'\nexport * from './test/mockSanityCommand.js'\nexport * from './test/mockTelemetry.js'\nexport * from './test/setupFixtures.js'\nexport * from './test/testCommand.js'\nexport * from './test/testFixture.js'\nexport * from './test/testHook.js'\n\nexport * from './utils/paths.js'\n"],"names":["createMockSpinner"],"mappings":"AAAA,+BAA+B;AAC/B,4FAA4F;AAC5F,cAAc,sBAAqB;AACnC,cAAc,iCAAgC;AAC9C,eAAe,GACf,SAAQA,iBAAiB,QAAO,8BAA6B;AAC7D,cAAc,8BAA6B;AAC3C,cAAc,6BAA4B;AAC1C,cAAc,4BAA2B;AACzC,cAAc,oBAAmB;AACjC,cAAc,8BAA6B;AAC3C,cAAc,0BAAyB;AACvC,cAAc,0BAAyB;AACvC,cAAc,wBAAuB;AACrC,cAAc,wBAAuB;AACrC,cAAc,qBAAoB;AAElC,cAAc,mBAAkB"}
@@ -16,10 +16,10 @@
16
16
  "@sanity/sdk-react": "^2.13.0",
17
17
  "react": "^19.2.5",
18
18
  "react-dom": "^19.2.5",
19
- "sanity": "^6.1.0"
19
+ "sanity": "^6.5.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/react": "^19.2.14",
23
- "typescript": "^5.9.3"
23
+ "typescript": "^6.0.3"
24
24
  }
25
25
  }
@@ -9,6 +9,6 @@
9
9
  "@sanity/functions": "^1.3.1"
10
10
  },
11
11
  "devDependencies": {
12
- "sanity": "^6.1.0"
12
+ "sanity": "^6.5.0"
13
13
  }
14
14
  }
@@ -15,14 +15,14 @@
15
15
  "start": "sanity start"
16
16
  },
17
17
  "dependencies": {
18
- "@sanity/vision": "^6.1.0",
18
+ "@sanity/vision": "^6.5.0",
19
19
  "react": "^19.2.5",
20
20
  "react-dom": "^19.2.5",
21
- "sanity": "^6.1.0",
21
+ "sanity": "^6.5.0",
22
22
  "styled-components": "^6.4.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/react": "^19.2.14",
26
- "typescript": "^5.9.3"
26
+ "typescript": "^6.0.3"
27
27
  }
28
28
  }
@@ -19,6 +19,6 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/react": "^19.2.14",
22
- "typescript": "^5.9.3"
22
+ "typescript": "^6.0.3"
23
23
  }
24
24
  }
@@ -12,14 +12,14 @@
12
12
  "deploy-graphql": "sanity graphql deploy"
13
13
  },
14
14
  "dependencies": {
15
- "@sanity/vision": "^6.1.0",
15
+ "@sanity/vision": "^6.5.0",
16
16
  "react": "^19.2.5",
17
17
  "react-dom": "^19.2.5",
18
- "sanity": "^6.1.0",
18
+ "sanity": "^6.5.0",
19
19
  "styled-components": "^6.4.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/react": "^19.2.14",
23
- "typescript": "^5.9.3"
23
+ "typescript": "^6.0.3"
24
24
  }
25
25
  }
@@ -15,14 +15,14 @@
15
15
  "start": "sanity start"
16
16
  },
17
17
  "dependencies": {
18
- "@sanity/vision": "^6.1.0",
18
+ "@sanity/vision": "^6.5.0",
19
19
  "react": "^19.2.5",
20
20
  "react-dom": "^19.2.5",
21
- "sanity": "^6.1.0",
21
+ "sanity": "^6.5.0",
22
22
  "styled-components": "^6.4.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/react": "^19.2.14",
26
- "typescript": "^5.9.3"
26
+ "typescript": "^6.0.3"
27
27
  }
28
28
  }
@@ -13,6 +13,6 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/react": "^19.2.14",
16
- "typescript": "^5.9.3"
16
+ "typescript": "^6.0.3"
17
17
  }
18
18
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es5",
3
+ "target": "ES2017",
4
4
  "lib": ["dom", "dom.iterable", "esnext"],
5
5
  "allowJs": true,
6
6
  "skipLibCheck": true,
@@ -16,10 +16,10 @@
16
16
  "@sanity/sdk-react": "^2.13.0",
17
17
  "react": "^19.2.5",
18
18
  "react-dom": "^19.2.5",
19
- "sanity": "^6.1.0"
19
+ "sanity": "^6.5.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/react": "^19.2.14",
23
- "typescript": "^5.9.3"
23
+ "typescript": "^6.0.3"
24
24
  }
25
25
  }
@@ -15,11 +15,11 @@
15
15
  "dependencies": {
16
16
  "react": "^19.2.5",
17
17
  "react-dom": "^19.2.5",
18
- "sanity": "^6.1.0",
18
+ "sanity": "^6.5.0",
19
19
  "styled-components": "^6.4.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/react": "^19.2.14",
23
- "typescript": "^5.9.3"
23
+ "typescript": "^6.0.3"
24
24
  }
25
25
  }
@@ -16,10 +16,10 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@sanity/code-input": "^7.1.2",
19
- "@sanity/vision": "^6.1.0",
19
+ "@sanity/vision": "^6.5.0",
20
20
  "react": "^19.2.5",
21
21
  "react-dom": "^19.2.5",
22
- "sanity": "^6.1.0",
22
+ "sanity": "^6.5.0",
23
23
  "sanity-plugin-media": "^4.3.1",
24
24
  "styled-components": "^6.4.0",
25
25
  "vite-tsconfig-paths": "^6.1.1"
@@ -27,7 +27,7 @@
27
27
  "devDependencies": {
28
28
  "@sanity/color": "^3.0.6",
29
29
  "@types/react": "^19.2.14",
30
- "typescript": "^5.9.3",
31
- "vite": "^8.1.3"
30
+ "typescript": "^6.0.3",
31
+ "vite": "^8.1.5"
32
32
  }
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/cli-test",
3
- "version": "4.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "Sanity CLI test helpers and utilities",
5
5
  "keywords": [
6
6
  "cli",
@@ -103,36 +103,36 @@
103
103
  "access": "public"
104
104
  },
105
105
  "dependencies": {
106
- "@swc/core": "^1.15.41",
106
+ "@swc/core": "^1.15.43",
107
107
  "ansis": "^4.2.0",
108
108
  "esbuild": "^0.28.1",
109
109
  "nock": "^14.0.15",
110
110
  "tinyglobby": "^0.2.17",
111
- "@sanity/cli-core": "2.3.0"
111
+ "@sanity/cli-core": "2.5.0"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@eslint/compat": "^2.1.0",
115
- "@oclif/core": "^4.11.7",
116
- "@sanity/client": "^7.23.0",
117
- "@sanity/pkg-utils": "^10.8.1",
115
+ "@oclif/core": "^4.11.14",
116
+ "@sanity/client": "^7.23.2",
117
+ "@sanity/pkg-utils": "^11.0.9",
118
118
  "@swc/cli": "^0.8.1",
119
119
  "@types/node": "^22.20.0",
120
- "eslint": "^10.4.1",
120
+ "eslint": "^10.7.0",
121
121
  "publint": "^0.3.21",
122
122
  "rimraf": "^6.0.1",
123
- "tsx": "^4.22.4",
124
- "typescript": "^5.9.3",
125
- "vitest": "^4.1.9",
123
+ "tsx": "^4.23.1",
124
+ "typescript": "^6.0.3",
125
+ "vitest": "^4.1.10",
126
126
  "yaml": "^2.9.0",
127
127
  "@repo/package.config": "0.0.1",
128
128
  "@repo/tsconfig": "3.70.0",
129
- "@sanity/eslint-config-cli": "1.1.2"
129
+ "@sanity/eslint-config-cli": "1.1.3"
130
130
  },
131
131
  "peerDependencies": {
132
132
  "@oclif/core": "^4.0.0",
133
133
  "@sanity/client": "^7.0.0",
134
134
  "vitest": ">=3.0.0 <5.0.0",
135
- "@sanity/cli-core": "2.3.0"
135
+ "@sanity/cli-core": "2.5.0"
136
136
  },
137
137
  "engines": {
138
138
  "node": ">=22.12"