@sanity/cli 5.7.0-next.8 → 5.7.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/lib/_chunks-cjs/cli.js +2 -1
- package/lib/_chunks-cjs/cli.js.map +1 -1
- package/package.json +10 -10
package/lib/_chunks-cjs/cli.js
CHANGED
|
@@ -1832,7 +1832,7 @@ const BlueprintsAddExampleUsed = telemetry.defineEvent({
|
|
|
1832
1832
|
group: "blueprints",
|
|
1833
1833
|
...transformHelpText(runtimeCli.BlueprintsInitCommand, "sanity", "blueprints init"),
|
|
1834
1834
|
async action(args, context) {
|
|
1835
|
-
const { apiClient, output } = context, flags = { ...defaultFlags$8, ...args.extOptions }, [dir] = args.argsWithoutOptions, client2 = apiClient({
|
|
1835
|
+
const { apiClient, cliConfig, output } = context, flags = { ...defaultFlags$8, ...args.extOptions }, [dir] = args.argsWithoutOptions, client2 = apiClient({
|
|
1836
1836
|
requireUser: !0,
|
|
1837
1837
|
requireProject: !1
|
|
1838
1838
|
}), { token: token2 } = client2.config();
|
|
@@ -1855,6 +1855,7 @@ const BlueprintsAddExampleUsed = telemetry.defineEvent({
|
|
|
1855
1855
|
bin: "sanity",
|
|
1856
1856
|
log: utils$3.logger.Logger(output.print, { verbose: flags.verbose }),
|
|
1857
1857
|
token: token2,
|
|
1858
|
+
knownProjectId: cliConfig?.api?.projectId,
|
|
1858
1859
|
args: {
|
|
1859
1860
|
dir: dir ?? flags.dir
|
|
1860
1861
|
},
|