@raycast/api 1.103.7 → 1.103.9
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/commands/publish/index.js +193 -193
- package/dist/commands/pull-contributions/index.js +2 -2
- package/dist/commands/version/index.js +1 -1
- package/dist/utils/publish/git.js +3 -3
- package/dist/utils/publish/publish-to-public-repo.js +17 -17
- package/dist/utils/publish/pull-contributions.js +2 -2
- package/dist/utils/publish/setup-github-fork.js +2 -2
- package/oclif.manifest.json +28 -28
- package/package.json +1 -1
|
@@ -26,8 +26,8 @@ ${r}`,$c=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),Wc=Objec
|
|
|
26
26
|
`;return this.stop(),this.#i.write(P),this}};function So(e){return new wo(e)}var PD=(0,Y.blue)((0,Y.dim)("internal only"));function Pe(e,r,o){console.log(Du[e]+r),typeof o?.exit<"u"&&process.exit(o.exit)}async function Ft(e,r,o){if(!hf){Pe("wait",e);try{let u=await r();u&&console.log(u),Pe("success",e);return}catch(u){return Pe("error",e),o?.printError!==!1&&console.log((0,Y.red)(u.message)),u}}let i=So({spinner:"simpleDots",prefixText:Du.wait+e}).start();try{let u=await r();i.stop(),Pe("success",e),u&&console.log(u)}catch(u){return i.stop(),Pe("error",e),o?.printError!==!1&&console.error(u.message),u}}var Du={wait:`\u{1F550}${(0,Y.blue)("wait")} - `,info:`${process.env.GITHUB_ACTIONS==="true"?"\u2139\uFE0F":"\u2139\uFE0F "}${(0,Y.cyan)("info")} - `,success:`\u2705${(0,Y.green)("ready")} - `,warn:`${process.env.GITHUB_ACTIONS==="true"?"\u26A0\uFE0F":"\u26A0\uFE0F "}${(0,Y.yellow)("warn")} - `,error:`\u{1F4A5}${(0,Y.red)("error")} - `,event:`\u26A1\uFE0F${(0,Y.magenta)("event")} - `,paymentPrompt:`\u{1F4B0}${(0,Y.yellowBright)("plan")} - `},hf=!0;var vo=require("child_process");var hu=x(require("path"));var mu="-",Xt;function et(e){Xt=e}function k(e,r){return new Promise((o,i)=>{r.verbose&&console.log(`Running git command${Xt?` in ${Xt}`:"in current directory"}: ${e}`),(0,vo.exec)(e,{cwd:Xt},(u,l,f)=>{if(r.throwOnError&&u){i(new Error(`failed running git ${u.message.replace(/oauth2:gho_[a-zA-Z0-9]+@/g,"oauth2:gho_xxxxx")}
|
|
27
27
|
${l.trim()}
|
|
28
28
|
${f.trim()}`));return}r.verbose&&console.log(`${l.trim()}
|
|
29
|
-
${f.trim()}`),o(l.trim())})})}async function pu(e){let o=(await k("git rev-list --max-parents=0 HEAD",{...e,throwOnError:!0})).split(/\r?\n/).filter(Boolean);return o[o.length-1]}function mf(){return new Promise(e=>{(0,vo.exec)("git --version",r=>{e(r===null)})})}async function bu(e){return await mf()?await k("git rev-parse --is-inside-work-tree",{...e,throwOnError:!1})==="true":(Pe("info","git is not installed"),!1)}async function er(e){return(await k("git status --porcelain",{...e,throwOnError:!0})).split(`
|
|
30
|
-
`).filter(i=>i.startsWith("
|
|
29
|
+
${f.trim()}`),o(l.trim())})})}async function pu(e){let o=(await k("git rev-list --max-parents=0 HEAD",{...e,throwOnError:!0})).split(/\r?\n/).filter(Boolean);return o[o.length-1]}function mf(){return new Promise(e=>{(0,vo.exec)("git --version",r=>{e(r===null)})})}async function bu(e){return await mf()?await k("git rev-parse --is-inside-work-tree",{...e,throwOnError:!1})==="true":(Pe("info","git is not installed"),!1)}async function er(e){return(await k("git status --porcelain=2",{...e,throwOnError:!0})).split(`
|
|
30
|
+
`).filter(i=>i.startsWith("1")||i.startsWith("2")||i.startsWith("u")||i.startsWith("?")).length>0}async function gu(e){return await pf(e)?k("git rev-parse HEAD",{...e,throwOnError:!0}):""}async function Fu(e,r,o){Xt=hu.default.dirname(r),await k(`git clone --filter=blob:none --no-checkout ${e} "${r}"`,{...o,throwOnError:!0})}async function _u(e,r,o){try{await k(`git remote set-url ${e} ${r}`,{...o,throwOnError:!0})}catch{await k(`git remote add ${e} ${r}`,{...o,throwOnError:!0})}}function Ao(e,r){return k(`git config --get ${e}`,{...r,throwOnError:!0})}function Ro(e,r,o){return k(`git config --local ${e} "${r}"`,{...o,throwOnError:!0})}function yu(e,r){return k(`git sparse-checkout set ${e}`,{...r,throwOnError:!0})}function Oe(e,r){return k(`git checkout ${e}`,{...r,throwOnError:!0})}function _t(e,r){return k(`git checkout -b ${e} || git checkout ${e}`,{...r,throwOnError:!0})}function Bo(e,r){return k(`git branch -D ${e}`,{...r,throwOnError:!1})}async function Eu(e,r){return await Bo(e,r),k(`git push origin -d ${e}`,{...r,throwOnError:!1})}async function tn(e,r){return await k(`git ls-remote --heads origin ${e}`,{...r,throwOnError:!1})!==""}function To(e,r,o){return k(`git fetch ${e} ${r} --depth=1`,{...o,throwOnError:!1})}function Cu(e,r){return k(`git reset --hard ${e}`,{...r,throwOnError:!0})}async function wu(e,r){let o=await k(`git rev-parse ${e}`,{...r,throwOnError:!0}),i=await k(`git rev-parse origin/${e}`,{...r,throwOnError:!0});return o===i?!0:await k(`git merge-base --is-ancestor ${i} ${o} && echo "success"`,{...r,throwOnError:!1})==="success"}async function Su(e,r){return await k(`git tag -l ${e}`,{...r,throwOnError:!1})!==""}function vu(e,r,o){return k(`git tag -f -a ${e} -m "${r}"`,{...o,throwOnError:!0})}function Au(e,r){return k(`git add . && git commit -m "${e}"`,{...r,throwOnError:!0})}async function Po(e,r){try{return await k(`git pull origin ${e} --ff`,{...r,throwOnError:!0})}catch(o){if(o instanceof Error&&o.message.includes("fatal: refusing to merge unrelated histories"))return await k("git fetch --deepen=1",{...r,throwOnError:!0}),await Po(e,r);throw o}}function Ru(e,r){return k(`git merge ${e}`,{...r,throwOnError:!0})}function Bu(e){return{latestPullTag:"__raycast_latest_pull_"+e+"__",latestPublishTag:"__raycast_latest_publish_"+e+"__"}}async function pf(e){try{return await k("git remote get-url origin",{...e,throwOnError:!1}),!0}catch{return!1}}var xo=x(require("path")),tt=x(require("fs"));function ko(e,r,o=[".git",".github","node_modules","raycast-env.d.ts",".raycast-swift-build",".swiftpm","compiled_raycast_swift","compiled_raycast_rust"]){let i=tt.default.readdirSync(e);try{tt.default.mkdirSync(r,{recursive:!0})}catch{}for(let u of i){let l=xo.default.join(e,u),f=xo.default.join(r,u);if(tt.default.lstatSync(l).isDirectory()){if(!o.includes(u)){try{tt.default.mkdirSync(f,{recursive:!0})}catch{}ko(l,f,o)}}else o.includes(u)||tt.default.copyFileSync(l,f,tt.default.constants.COPYFILE_FICLONE)}}var ai=x(require("path")),Ia=x(require("fs"));var tr=x(require("node:fs")),$o=x(require("node:path")),Pu=x(require("node:os"));var Tu={production:{url:"https://www.raycast.com",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},staging:{url:"https://www.rayca.st",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},development:{url:"http://localhost:3000",clientID:"rOCD_LhnXFObSLu9v7788qOGu25FZDqEzGjet4Q45ZY"}}[process.env.API_ENV||"production"],bf="e69bae0ec90f5e838555",H={},gf;function pe(e){switch(e){case"raycastApiURL":return process.env.RAY_APIURL||H.APIURL||Tu.url;case"raycastAccessToken":return process.env.RAY_TOKEN||H.Token||H.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||H.ClientID||Tu.clientID;case"githubClientId":return process.env.RAY_GithubClientID||H.GithubClientID||bf;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||H.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target?process.env.RAY_Target:typeof H.Target<"u"?H.Target:Io(process.platform==="win32"?"x":"release")}}function rn(e,r){switch(e){case"raycastApiURL":r===void 0?delete H.APIURL:H.APIURL=r;break;case"raycastAccessToken":r===void 0?delete H.Token:H.Token=r,delete H.AccessToken;break;case"raycastClientId":r===void 0?delete H.ClientID:H.ClientID=r;break;case"githubAccessToken":r===void 0?delete H.GithubAccessToken:H.GithubAccessToken=r;break;case"flavorName":r===void 0?delete H.Target:H.Target=r;break}let o=Wo();tr.writeFileSync($o.join(o,"config.json"),JSON.stringify(H,null," "),"utf8")}function Io(e){switch(e){case"debug":return"debug";case"internal":return"internal";case"release":return"";case"x":return"x";case"x-internal":return"x-internal";case"x-development":return"x-development";case void 0:return pe("flavorName")}}function Ff(){let e=Io(gf);return e==""?"raycast":`raycast-${e}`}function Wo(){let e=$o.join(Pu.default.homedir(),".config",Ff());return tr.mkdirSync(e,{recursive:!0}),e}var Ca=require("@oclif/core"),wa=x(aa()),Sa=x(Ea());async function Ie(e,r){let o;try{o=await(0,wa.default)(e,{method:r.method||"GET",headers:{"Content-Type":"application/json",Accept:"application/json",...r.token?{Authorization:`Bearer ${r.token}`}:void 0},body:r.body})}catch(i){throw new Error(`HTTP request: ${i.message}`)}if(!o.ok){switch(o.status){case 401:throw new He(o,"not authorized - please log in first using `npx ray login`");case 403:throw new He(o,"forbidden - you don't have permissions to perform the request");case 402:throw new He(o,"the limit of free commands has been reached")}let i=await o.text(),u;try{u=JSON.parse(i)}catch{throw new He(o,`HTTP error: ${o.status} - ${i}`)}throw Array.isArray(u.errors)&&u.errors.length>0?new He(o,`error: ${u.errors[0].status} - ${u.errors[0].title}`):new He(o,`HTTP error: ${o.status} - ${i}`)}return await o.json()}var He=class extends Error{constructor(r,o){let i=r.headers.get("X-Request-Id");i?super(`${o} (${r.url} RequestID: ${i})`):super(o),this.name="HTTPError"}};function va(e){(0,Sa.default)(e).catch(r=>{Ca.ux.error(new Error(`failed opening browser to URL ${e}: ${r.message}`),{exit:1})})}var si=x(require("path"));async function Aa(){if(pe("githubAccessToken"))return;let e=pe("githubClientId"),r=await Ie("https://github.com/login/device/code",{method:"POST",body:JSON.stringify({client_id:e,scope:"repo"})});Pe("info",`
|
|
31
31
|
|
|
32
32
|
\u{1F510} Raycast extensions are published on GitHub.
|
|
33
33
|
To automate this process, you have to authenticate with GitHub.
|
|
@@ -26,8 +26,8 @@ ${r}`,Ec=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),Cc=Objec
|
|
|
26
26
|
`;return this.stop(),this.#i.write(P),this}};function yo(e){return new _o(e)}var pD=(0,G.blue)((0,G.dim)("internal only"));function Pe(e,r,o){console.log(ou[e]+r),typeof o?.exit<"u"&&process.exit(o.exit)}async function Qr(e,r,o){if(!Xc){Pe("wait",e);try{let u=await r();u&&console.log(u),Pe("success",e);return}catch(u){return Pe("error",e),o?.printError!==!1&&console.log((0,G.red)(u.message)),u}}let i=yo({spinner:"simpleDots",prefixText:ou.wait+e}).start();try{let u=await r();i.stop(),Pe("success",e),u&&console.log(u)}catch(u){return i.stop(),Pe("error",e),o?.printError!==!1&&console.error(u.message),u}}var ou={wait:`\u{1F550}${(0,G.blue)("wait")} - `,info:`${process.env.GITHUB_ACTIONS==="true"?"\u2139\uFE0F":"\u2139\uFE0F "}${(0,G.cyan)("info")} - `,success:`\u2705${(0,G.green)("ready")} - `,warn:`${process.env.GITHUB_ACTIONS==="true"?"\u26A0\uFE0F":"\u26A0\uFE0F "}${(0,G.yellow)("warn")} - `,error:`\u{1F4A5}${(0,G.red)("error")} - `,event:`\u26A1\uFE0F${(0,G.magenta)("event")} - `,paymentPrompt:`\u{1F4B0}${(0,G.yellowBright)("plan")} - `},Xc=!0;var iu=$(require("path"));var Vt;function Kr(e){Vt=e}function K(e,r){return new Promise((o,i)=>{r.verbose&&console.log(`Running git command${Vt?` in ${Vt}`:"in current directory"}: ${e}`),(0,Eo.exec)(e,{cwd:Vt},(u,l,f)=>{if(r.throwOnError&&u){i(new Error(`failed running git ${u.message.replace(/oauth2:gho_[a-zA-Z0-9]+@/g,"oauth2:gho_xxxxx")}
|
|
27
27
|
${l.trim()}
|
|
28
28
|
${f.trim()}`));return}r.verbose&&console.log(`${l.trim()}
|
|
29
|
-
${f.trim()}`),o(l.trim())})})}function ef(){return new Promise(e=>{(0,Eo.exec)("git --version",r=>{e(r===null)})})}async function su(e){return await ef()?await K("git rev-parse --is-inside-work-tree",{...e,throwOnError:!1})==="true":(Pe("info","git is not installed"),!1)}async function uu(e){return(await K("git status --porcelain",{...e,throwOnError:!0})).split(`
|
|
30
|
-
`).filter(i=>i.startsWith("
|
|
29
|
+
${f.trim()}`),o(l.trim())})})}function ef(){return new Promise(e=>{(0,Eo.exec)("git --version",r=>{e(r===null)})})}async function su(e){return await ef()?await K("git rev-parse --is-inside-work-tree",{...e,throwOnError:!1})==="true":(Pe("info","git is not installed"),!1)}async function uu(e){return(await K("git status --porcelain=2",{...e,throwOnError:!0})).split(`
|
|
30
|
+
`).filter(i=>i.startsWith("1")||i.startsWith("2")||i.startsWith("u")||i.startsWith("?")).length>0}async function au(e){return await tf(e)?K("git rev-parse HEAD",{...e,throwOnError:!0}):""}async function lu(e,r,o){Vt=iu.default.dirname(r),await K(`git clone --filter=blob:none --no-checkout ${e} "${r}"`,{...o,throwOnError:!0})}async function cu(e,r,o){try{await K(`git remote set-url ${e} ${r}`,{...o,throwOnError:!0})}catch{await K(`git remote add ${e} ${r}`,{...o,throwOnError:!0})}}function Co(e,r){return K(`git config --get ${e}`,{...r,throwOnError:!0})}function wo(e,r,o){return K(`git config --local ${e} "${r}"`,{...o,throwOnError:!0})}function fu(e,r){return K(`git sparse-checkout set ${e}`,{...r,throwOnError:!0})}function du(e,r){return K(`git checkout ${e}`,{...r,throwOnError:!0})}function Jr(e,r){return K(`git checkout -b ${e} || git checkout ${e}`,{...r,throwOnError:!0})}function So(e,r){return K(`git branch -D ${e}`,{...r,throwOnError:!1})}async function Du(e,r){return await So(e,r),K(`git push origin -d ${e}`,{...r,throwOnError:!1})}async function hu(e,r){return await K(`git ls-remote --heads origin ${e}`,{...r,throwOnError:!1})!==""}function vo(e,r,o){return K(`git fetch ${e} ${r} --depth=1`,{...o,throwOnError:!1})}function mu(e,r){return K(`git reset --hard ${e}`,{...r,throwOnError:!0})}async function tf(e){try{return await K("git remote get-url origin",{...e,throwOnError:!1}),!0}catch{return!1}}var Qt=$(require("node:fs")),Ro=$(require("node:path")),gu=$(require("node:os"));var bu={production:{url:"https://www.raycast.com",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},staging:{url:"https://www.rayca.st",clientID:"KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I"},development:{url:"http://localhost:3000",clientID:"rOCD_LhnXFObSLu9v7788qOGu25FZDqEzGjet4Q45ZY"}}[process.env.API_ENV||"production"],rf="e69bae0ec90f5e838555",U={},nf;function pe(e){switch(e){case"raycastApiURL":return process.env.RAY_APIURL||U.APIURL||bu.url;case"raycastAccessToken":return process.env.RAY_TOKEN||U.Token||U.AccessToken||"";case"raycastClientId":return process.env.RAY_CLIENT_ID||U.ClientID||bu.clientID;case"githubClientId":return process.env.RAY_GithubClientID||U.GithubClientID||rf;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||U.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target?process.env.RAY_Target:typeof U.Target<"u"?U.Target:Ao(process.platform==="win32"?"x":"release")}}function Zr(e,r){switch(e){case"raycastApiURL":r===void 0?delete U.APIURL:U.APIURL=r;break;case"raycastAccessToken":r===void 0?delete U.Token:U.Token=r,delete U.AccessToken;break;case"raycastClientId":r===void 0?delete U.ClientID:U.ClientID=r;break;case"githubAccessToken":r===void 0?delete U.GithubAccessToken:U.GithubAccessToken=r;break;case"flavorName":r===void 0?delete U.Target:U.Target=r;break}let o=Bo();Qt.writeFileSync(Ro.join(o,"config.json"),JSON.stringify(U,null," "),"utf8")}function Ao(e){switch(e){case"debug":return"debug";case"internal":return"internal";case"release":return"";case"x":return"x";case"x-internal":return"x-internal";case"x-development":return"x-development";case void 0:return pe("flavorName")}}function of(){let e=Ao(nf);return e==""?"raycast":`raycast-${e}`}function Bo(){let e=Ro.join(gu.default.homedir(),".config",of());return Qt.mkdirSync(e,{recursive:!0}),e}var ca=require("@oclif/core"),fa=$(Qu()),da=$(la());async function ke(e,r){let o;try{o=await(0,fa.default)(e,{method:r.method||"GET",headers:{"Content-Type":"application/json",Accept:"application/json",...r.token?{Authorization:`Bearer ${r.token}`}:void 0},body:r.body})}catch(i){throw new Error(`HTTP request: ${i.message}`)}if(!o.ok){switch(o.status){case 401:throw new Ue(o,"not authorized - please log in first using `npx ray login`");case 403:throw new Ue(o,"forbidden - you don't have permissions to perform the request");case 402:throw new Ue(o,"the limit of free commands has been reached")}let i=await o.text(),u;try{u=JSON.parse(i)}catch{throw new Ue(o,`HTTP error: ${o.status} - ${i}`)}throw Array.isArray(u.errors)&&u.errors.length>0?new Ue(o,`error: ${u.errors[0].status} - ${u.errors[0].title}`):new Ue(o,`HTTP error: ${o.status} - ${i}`)}return await o.json()}var Ue=class extends Error{constructor(r,o){let i=r.headers.get("X-Request-Id");i?super(`${o} (${r.url} RequestID: ${i})`):super(o),this.name="HTTPError"}};function Da(e){(0,da.default)(e).catch(r=>{ca.ux.error(new Error(`failed opening browser to URL ${e}: ${r.message}`),{exit:1})})}var Zo=$(require("path"));async function ha(){if(pe("githubAccessToken"))return;let e=pe("githubClientId"),r=await ke("https://github.com/login/device/code",{method:"POST",body:JSON.stringify({client_id:e,scope:"repo"})});Pe("info",`
|
|
31
31
|
|
|
32
32
|
\u{1F510} Raycast extensions are published on GitHub.
|
|
33
33
|
To automate this process, you have to authenticate with GitHub.
|
package/oclif.manifest.json
CHANGED
|
@@ -555,11 +555,18 @@
|
|
|
555
555
|
"index.js"
|
|
556
556
|
]
|
|
557
557
|
},
|
|
558
|
-
"
|
|
558
|
+
"profile": {
|
|
559
559
|
"aliases": [],
|
|
560
560
|
"args": {},
|
|
561
|
-
"description": "
|
|
561
|
+
"description": "Show profile of the currently logged in user",
|
|
562
562
|
"flags": {
|
|
563
|
+
"json": {
|
|
564
|
+
"description": "Format output as json.",
|
|
565
|
+
"helpGroup": "GLOBAL",
|
|
566
|
+
"name": "json",
|
|
567
|
+
"allowNo": false,
|
|
568
|
+
"type": "boolean"
|
|
569
|
+
},
|
|
563
570
|
"exit-on-error": {
|
|
564
571
|
"aliases": [
|
|
565
572
|
"exitOnError"
|
|
@@ -610,46 +617,29 @@
|
|
|
610
617
|
"x-internal"
|
|
611
618
|
],
|
|
612
619
|
"type": "option"
|
|
613
|
-
},
|
|
614
|
-
"path": {
|
|
615
|
-
"char": "p",
|
|
616
|
-
"description": "Path to extension root",
|
|
617
|
-
"name": "path",
|
|
618
|
-
"default": ".",
|
|
619
|
-
"hasDynamicHelp": false,
|
|
620
|
-
"multiple": false,
|
|
621
|
-
"type": "option"
|
|
622
620
|
}
|
|
623
621
|
},
|
|
624
622
|
"hasDynamicHelp": false,
|
|
625
623
|
"hiddenAliases": [],
|
|
626
|
-
"id": "
|
|
624
|
+
"id": "profile",
|
|
627
625
|
"pluginAlias": "ray",
|
|
628
626
|
"pluginName": "ray",
|
|
629
627
|
"pluginType": "core",
|
|
630
628
|
"strict": true,
|
|
631
|
-
"
|
|
632
|
-
"enableJsonFlag": false,
|
|
629
|
+
"enableJsonFlag": true,
|
|
633
630
|
"isESM": false,
|
|
634
631
|
"relativePath": [
|
|
635
632
|
"dist",
|
|
636
633
|
"commands",
|
|
637
|
-
"
|
|
634
|
+
"profile",
|
|
638
635
|
"index.js"
|
|
639
636
|
]
|
|
640
637
|
},
|
|
641
|
-
"
|
|
638
|
+
"migrate": {
|
|
642
639
|
"aliases": [],
|
|
643
640
|
"args": {},
|
|
644
|
-
"description": "
|
|
641
|
+
"description": "Migrate the extension to a newer version of the Raycast API\nInternally, the command makes use of https://www.npmjs.com/package/@raycast/migration",
|
|
645
642
|
"flags": {
|
|
646
|
-
"json": {
|
|
647
|
-
"description": "Format output as json.",
|
|
648
|
-
"helpGroup": "GLOBAL",
|
|
649
|
-
"name": "json",
|
|
650
|
-
"allowNo": false,
|
|
651
|
-
"type": "boolean"
|
|
652
|
-
},
|
|
653
643
|
"exit-on-error": {
|
|
654
644
|
"aliases": [
|
|
655
645
|
"exitOnError"
|
|
@@ -700,21 +690,31 @@
|
|
|
700
690
|
"x-internal"
|
|
701
691
|
],
|
|
702
692
|
"type": "option"
|
|
693
|
+
},
|
|
694
|
+
"path": {
|
|
695
|
+
"char": "p",
|
|
696
|
+
"description": "Path to extension root",
|
|
697
|
+
"name": "path",
|
|
698
|
+
"default": ".",
|
|
699
|
+
"hasDynamicHelp": false,
|
|
700
|
+
"multiple": false,
|
|
701
|
+
"type": "option"
|
|
703
702
|
}
|
|
704
703
|
},
|
|
705
704
|
"hasDynamicHelp": false,
|
|
706
705
|
"hiddenAliases": [],
|
|
707
|
-
"id": "
|
|
706
|
+
"id": "migrate",
|
|
708
707
|
"pluginAlias": "ray",
|
|
709
708
|
"pluginName": "ray",
|
|
710
709
|
"pluginType": "core",
|
|
711
710
|
"strict": true,
|
|
712
|
-
"
|
|
711
|
+
"summary": "Migrate the extension to a newer version of the Raycast API",
|
|
712
|
+
"enableJsonFlag": false,
|
|
713
713
|
"isESM": false,
|
|
714
714
|
"relativePath": [
|
|
715
715
|
"dist",
|
|
716
716
|
"commands",
|
|
717
|
-
"
|
|
717
|
+
"migrate",
|
|
718
718
|
"index.js"
|
|
719
719
|
]
|
|
720
720
|
},
|
|
@@ -1144,5 +1144,5 @@
|
|
|
1144
1144
|
]
|
|
1145
1145
|
}
|
|
1146
1146
|
},
|
|
1147
|
-
"version": "1.103.
|
|
1147
|
+
"version": "1.103.9"
|
|
1148
1148
|
}
|