groq 5.13.0-next.9 → 5.13.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/package.json +6 -6
- package/lib/groq.d.cts +0 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groq",
|
|
3
|
-
"version": "5.13.0
|
|
3
|
+
"version": "5.13.0",
|
|
4
4
|
"description": "Tagged template literal for Sanity.io GROQ-queries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
"./package.json": "./package.json"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@sanity/pkg-utils": "^10.4.
|
|
44
|
+
"@sanity/pkg-utils": "^10.4.5",
|
|
45
45
|
"@types/node": "^24.3.0",
|
|
46
46
|
"@typescript/native-preview": "7.0.0-dev.20260112.1",
|
|
47
47
|
"eslint": "^9.39.2",
|
|
48
48
|
"rimraf": "^5.0.10",
|
|
49
|
-
"@repo/
|
|
50
|
-
"@repo/
|
|
51
|
-
"@repo/
|
|
49
|
+
"@repo/package.config": "5.13.0",
|
|
50
|
+
"@repo/tsconfig": "5.13.0",
|
|
51
|
+
"@repo/eslint-config": "5.13.0"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=20.19 <22 || >=22.12"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
|
-
"build": "pkg-utils build --strict --check --clean",
|
|
57
|
+
"build": "pkg-utils build --strict --check --clean && rimraf lib/groq.d.cts",
|
|
58
58
|
"check:types": "(cd ../.. && tsgo --project packages/groq/tsconfig.lib.json --erasableSyntaxOnly)",
|
|
59
59
|
"clean": "rimraf lib",
|
|
60
60
|
"lint": "eslint .",
|
package/lib/groq.d.cts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Define a GROQ query. This is a no-op, but it helps editor integrations
|
|
3
|
-
* understand that a string represents a GROQ query in order to provide syntax highlighting
|
|
4
|
-
* and other features.
|
|
5
|
-
*
|
|
6
|
-
* Ideally the `groq` template tag would be used, but we cannot infer types from it until
|
|
7
|
-
* microsoft/TypeScript#33304 is resolved. Otherwise, there is no difference between this
|
|
8
|
-
* and the `groq` template tag.
|
|
9
|
-
*
|
|
10
|
-
* @param query - The GROQ query
|
|
11
|
-
* @returns The same string as the input
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
declare function defineQuery<const Q extends string>(query: Q): Q;
|
|
15
|
-
/**
|
|
16
|
-
* Pass-through groq template tag. This is a no-op, but it helps editor integrations
|
|
17
|
-
* understand that a string represents a GROQ query in order to provide syntax highlighting
|
|
18
|
-
* and other features.
|
|
19
|
-
*
|
|
20
|
-
* @param strings - Template string parts
|
|
21
|
-
* @param keys - Template string keys
|
|
22
|
-
* @returns The same string as the input
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
25
|
-
declare function groq(strings: TemplateStringsArray, ...keys: any[]): string;
|
|
26
|
-
export { type groq as default, type defineQuery };
|