@uniformdev/cli 19.146.1-alpha.3 → 19.147.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.mjs +5 -25
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -2053,7 +2053,6 @@ var CompositionListModule = {
|
|
|
2053
2053
|
yargs33.options({
|
|
2054
2054
|
offset: { describe: "Number of rows to skip before fetching", type: "number", default: 0 },
|
|
2055
2055
|
limit: { describe: "Number of rows to fetch", type: "number", default: 20 },
|
|
2056
|
-
search: { describe: "Search query", type: "string", default: "" },
|
|
2057
2056
|
resolvePatterns: {
|
|
2058
2057
|
type: "boolean",
|
|
2059
2058
|
default: false,
|
|
@@ -2092,7 +2091,6 @@ var CompositionListModule = {
|
|
|
2092
2091
|
proxy,
|
|
2093
2092
|
limit,
|
|
2094
2093
|
offset,
|
|
2095
|
-
search,
|
|
2096
2094
|
format,
|
|
2097
2095
|
filename,
|
|
2098
2096
|
onlyCompositions,
|
|
@@ -2108,7 +2106,6 @@ var CompositionListModule = {
|
|
|
2108
2106
|
const res = await client.getCompositionList({
|
|
2109
2107
|
limit,
|
|
2110
2108
|
offset,
|
|
2111
|
-
search: search.length > 0 ? search : void 0,
|
|
2112
2109
|
pattern: onlyCompositions ? false : onlyPatterns ? true : void 0,
|
|
2113
2110
|
state: convertStateOption(state),
|
|
2114
2111
|
skipPatternResolution: !resolvePatterns,
|
|
@@ -3555,11 +3552,7 @@ var EntryListModule = {
|
|
|
3555
3552
|
withApiOptions(
|
|
3556
3553
|
withProjectOptions(
|
|
3557
3554
|
withStateOptions(
|
|
3558
|
-
yargs33
|
|
3559
|
-
offset: { describe: "Number of rows to skip before fetching", type: "number", default: 0 },
|
|
3560
|
-
limit: { describe: "Number of rows to fetch", type: "number", default: 1e3 },
|
|
3561
|
-
search: { describe: "Search query", type: "string", default: "" }
|
|
3562
|
-
}),
|
|
3555
|
+
yargs33,
|
|
3563
3556
|
// for backwards compatibility, we default to the "published" state, unlike compositions
|
|
3564
3557
|
"published"
|
|
3565
3558
|
)
|
|
@@ -3567,25 +3560,12 @@ var EntryListModule = {
|
|
|
3567
3560
|
)
|
|
3568
3561
|
)
|
|
3569
3562
|
),
|
|
3570
|
-
handler: async ({
|
|
3571
|
-
apiHost,
|
|
3572
|
-
edgeApiHost,
|
|
3573
|
-
apiKey,
|
|
3574
|
-
proxy,
|
|
3575
|
-
format,
|
|
3576
|
-
filename,
|
|
3577
|
-
project: projectId,
|
|
3578
|
-
state,
|
|
3579
|
-
limit,
|
|
3580
|
-
offset,
|
|
3581
|
-
search
|
|
3582
|
-
}) => {
|
|
3563
|
+
handler: async ({ apiHost, edgeApiHost, apiKey, proxy, format, filename, project: projectId, state }) => {
|
|
3583
3564
|
const fetch3 = nodeFetchProxy(proxy);
|
|
3584
3565
|
const client = new ContentClient8({ apiKey, apiHost, edgeApiHost, fetch: fetch3, projectId, bypassCache: true });
|
|
3585
3566
|
const res = await client.getEntries({
|
|
3586
|
-
offset,
|
|
3587
|
-
limit,
|
|
3588
|
-
search: search.length > 0 ? search : void 0,
|
|
3567
|
+
offset: 0,
|
|
3568
|
+
limit: 1e3,
|
|
3589
3569
|
state: convertStateOption(state),
|
|
3590
3570
|
skipOverridesResolution: true,
|
|
3591
3571
|
skipPatternResolution: true,
|
|
@@ -6894,7 +6874,7 @@ import { PostHog } from "posthog-node";
|
|
|
6894
6874
|
// package.json
|
|
6895
6875
|
var package_default = {
|
|
6896
6876
|
name: "@uniformdev/cli",
|
|
6897
|
-
version: "19.
|
|
6877
|
+
version: "19.147.0",
|
|
6898
6878
|
description: "Uniform command line interface tool",
|
|
6899
6879
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
6900
6880
|
main: "./cli.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.147.0",
|
|
4
4
|
"description": "Uniform command line interface tool",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./cli.js",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@thi.ng/mime": "^2.2.23",
|
|
20
|
-
"@uniformdev/assets": "19.
|
|
21
|
-
"@uniformdev/canvas": "19.
|
|
22
|
-
"@uniformdev/context": "19.
|
|
23
|
-
"@uniformdev/files": "19.
|
|
24
|
-
"@uniformdev/project-map": "19.
|
|
25
|
-
"@uniformdev/redirect": "19.
|
|
20
|
+
"@uniformdev/assets": "19.147.0",
|
|
21
|
+
"@uniformdev/canvas": "19.147.0",
|
|
22
|
+
"@uniformdev/context": "19.147.0",
|
|
23
|
+
"@uniformdev/files": "19.147.0",
|
|
24
|
+
"@uniformdev/project-map": "19.147.0",
|
|
25
|
+
"@uniformdev/redirect": "19.147.0",
|
|
26
26
|
"call-bind": "^1.0.2",
|
|
27
27
|
"colorette": "2.0.20",
|
|
28
28
|
"cosmiconfig": "8.3.6",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "bdc172cb3eea065221b90993b142e6b34c4b93b1"
|
|
72
72
|
}
|