[{"data":1,"prerenderedAt":1539,"buildId":1540},["ShallowReactive",2],{"page:\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fmanifest":3},{"id":4,"title":5,"body":6,"description":1520,"extension":1521,"frontmatter":1522,"heading":1529,"meta":1530,"navigation":1532,"order":1525,"path":1533,"seo":1534,"sitemap":1535,"source":1536,"stem":1537,"__hash__":1538},"docs\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fmanifest.md","kubb-extension.json - Extension manifest reference",{"type":7,"value":8,"toc":1486},"minimark",[9,54,67,423,428,431,711,714,724,971,974,993,1002,1014,1192,1200,1214,1218,1221,1224,1299,1309,1388,1392,1395],[10,11,12,16,17,22,23,22,29,22,35,41,42,46,47,53],"p",{},[13,14,15],"code",{},"kubb-extension.json"," describes your extension to the ",[18,19,21],"a",{"href":20},"\u002Fextensions","extension registry",", ",[18,24,26],{"href":25},"\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fadd",[13,27,28],{},"kubb add",[18,30,32],{"href":31},"\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Finit",[13,33,34],{},"kubb init",[18,36,38],{"href":37},"\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Flist",[13,39,40],{},"kubb list",", and the ",[18,43,45],{"href":44},"\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fstudio#plugins-in-studio","Studio"," agent. It sits at the package root and ships on npm. Generation reads the extension's ",[18,48,50],{"href":49},"\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fextensions#meta",[13,51,52],{},"meta"," instead.",[10,55,56,57,60,61,66],{},"Set ",[13,58,59],{},"$schema"," to ",[18,62,64],{"href":63},"https:\u002F\u002Fkubb.dev\u002Fschemas\u002Fkubb-extension.json",[13,65,63],{}," for editor validation and completion.",[68,69,73],"pre",{"language":70,"filename":15,"code":71,"class":72},"json","{\n \"$schema\": \"https:\u002F\u002Fkubb.dev\u002Fschemas\u002Fkubb-extension.json\",\n \"kind\": \"plugin\",\n \"name\": \"plugin-example\",\n \"export\": \"pluginExample\",\n \"displayName\": \"Example\",\n \"description\": \"Writes a comment with the HTTP method and path of every operation.\",\n \"category\": \"documentation\",\n \"icon\": { \"light\": \"https:\u002F\u002Fexample.com\u002Ficon.svg\" },\n \"tags\": [\"comments\", \"operations\"],\n \"docs\": \"https:\u002F\u002Fgithub.com\u002Facme\u002Fkubb-plugin-example#readme\",\n \"maintainers\": [{ \"name\": \"Acme\", \"github\": \"acme\" }],\n \"compatibility\": { \"kubb\": \">=5.8.3\", \"node\": \">=22\" },\n \"options\": [\n {\n \"key\": \"prefix\",\n \"path\": [\"prefix\"],\n \"label\": \"Prefix\",\n \"description\": \"Text written at the start of every comment.\",\n \"type\": \"text\"\n }\n ]\n}","highlights",[13,74,76,85,86,85,105,85,119,85,133,85,147,85,161,85,175,85,189,85,214,85,239,85,253,85,287,85,320,85,331,85,336,85,351,85,368,85,382,85,395,85,407,85,414,85,419],{"class":75},"language-json",[77,78,81],"span",{"class":79,"style":80},"line","display: inline",[77,82,84],{"style":83},"color:#005cc5;--hls-dark:#79b8ff","{","\n",[77,87,88,91,94,98,102],{"class":79,"style":80},[77,89,90],{"style":83}," ",[77,92,93],{"style":83},"\"$schema\"",[77,95,97],{"style":96},"color:#d73a49;--hls-dark:#f97583",": ",[77,99,101],{"style":100},"color:#032f62;--hls-dark:#9ecbff","\"https:\u002F\u002Fkubb.dev\u002Fschemas\u002Fkubb-extension.json\"",[77,103,104],{"style":96},",",[77,106,107,109,112,114,117],{"class":79,"style":80},[77,108,90],{"style":96},[77,110,111],{"style":83},"\"kind\"",[77,113,97],{"style":96},[77,115,116],{"style":100},"\"plugin\"",[77,118,104],{"style":96},[77,120,121,123,126,128,131],{"class":79,"style":80},[77,122,90],{"style":96},[77,124,125],{"style":83},"\"name\"",[77,127,97],{"style":96},[77,129,130],{"style":100},"\"plugin-example\"",[77,132,104],{"style":96},[77,134,135,137,140,142,145],{"class":79,"style":80},[77,136,90],{"style":96},[77,138,139],{"style":83},"\"export\"",[77,141,97],{"style":96},[77,143,144],{"style":100},"\"pluginExample\"",[77,146,104],{"style":96},[77,148,149,151,154,156,159],{"class":79,"style":80},[77,150,90],{"style":96},[77,152,153],{"style":83},"\"displayName\"",[77,155,97],{"style":96},[77,157,158],{"style":100},"\"Example\"",[77,160,104],{"style":96},[77,162,163,165,168,170,173],{"class":79,"style":80},[77,164,90],{"style":96},[77,166,167],{"style":83},"\"description\"",[77,169,97],{"style":96},[77,171,172],{"style":100},"\"Writes a comment with the HTTP method and path of every operation.\"",[77,174,104],{"style":96},[77,176,177,179,182,184,187],{"class":79,"style":80},[77,178,90],{"style":96},[77,180,181],{"style":83},"\"category\"",[77,183,97],{"style":96},[77,185,186],{"style":100},"\"documentation\"",[77,188,104],{"style":96},[77,190,191,193,196,198,201,204,206,209,212],{"class":79,"style":80},[77,192,90],{"style":96},[77,194,195],{"style":83},"\"icon\"",[77,197,97],{"style":96},[77,199,200],{"style":83},"{ ",[77,202,203],{"style":83},"\"light\"",[77,205,97],{"style":96},[77,207,208],{"style":100},"\"https:\u002F\u002Fexample.com\u002Ficon.svg\" ",[77,210,211],{"style":83},"}",[77,213,104],{"style":96},[77,215,216,218,221,223,226,229,231,234,237],{"class":79,"style":80},[77,217,90],{"style":96},[77,219,220],{"style":83},"\"tags\"",[77,222,97],{"style":96},[77,224,225],{"style":83},"[",[77,227,228],{"style":100},"\"comments\"",[77,230,22],{"style":96},[77,232,233],{"style":100},"\"operations\"",[77,235,236],{"style":83},"]",[77,238,104],{"style":96},[77,240,241,243,246,248,251],{"class":79,"style":80},[77,242,90],{"style":96},[77,244,245],{"style":83},"\"docs\"",[77,247,97],{"style":96},[77,249,250],{"style":100},"\"https:\u002F\u002Fgithub.com\u002Facme\u002Fkubb-plugin-example#readme\"",[77,252,104],{"style":96},[77,254,255,257,260,262,265,267,269,272,274,277,279,282,285],{"class":79,"style":80},[77,256,90],{"style":96},[77,258,259],{"style":83},"\"maintainers\"",[77,261,97],{"style":96},[77,263,264],{"style":83},"[{ ",[77,266,125],{"style":83},[77,268,97],{"style":96},[77,270,271],{"style":100},"\"Acme\"",[77,273,22],{"style":96},[77,275,276],{"style":83},"\"github\"",[77,278,97],{"style":96},[77,280,281],{"style":100},"\"acme\" ",[77,283,284],{"style":83},"}]",[77,286,104],{"style":96},[77,288,289,291,294,296,298,301,303,306,308,311,313,316,318],{"class":79,"style":80},[77,290,90],{"style":96},[77,292,293],{"style":83},"\"compatibility\"",[77,295,97],{"style":96},[77,297,200],{"style":83},[77,299,300],{"style":83},"\"kubb\"",[77,302,97],{"style":96},[77,304,305],{"style":100},"\">=5.8.3\"",[77,307,22],{"style":96},[77,309,310],{"style":83},"\"node\"",[77,312,97],{"style":96},[77,314,315],{"style":100},"\">=22\" ",[77,317,211],{"style":83},[77,319,104],{"style":96},[77,321,322,324,327,329],{"class":79,"style":80},[77,323,90],{"style":96},[77,325,326],{"style":83},"\"options\"",[77,328,97],{"style":96},[77,330,225],{"style":83},[77,332,333],{"class":79,"style":80},[77,334,335],{"style":83}," {",[77,337,338,341,344,346,349],{"class":79,"style":80},[77,339,340],{"style":83}," ",[77,342,343],{"style":83},"\"key\"",[77,345,97],{"style":96},[77,347,348],{"style":100},"\"prefix\"",[77,350,104],{"style":96},[77,352,353,355,358,360,362,364,366],{"class":79,"style":80},[77,354,340],{"style":96},[77,356,357],{"style":83},"\"path\"",[77,359,97],{"style":96},[77,361,225],{"style":83},[77,363,348],{"style":100},[77,365,236],{"style":83},[77,367,104],{"style":96},[77,369,370,372,375,377,380],{"class":79,"style":80},[77,371,340],{"style":96},[77,373,374],{"style":83},"\"label\"",[77,376,97],{"style":96},[77,378,379],{"style":100},"\"Prefix\"",[77,381,104],{"style":96},[77,383,384,386,388,390,393],{"class":79,"style":80},[77,385,340],{"style":96},[77,387,167],{"style":83},[77,389,97],{"style":96},[77,391,392],{"style":100},"\"Text written at the start of every comment.\"",[77,394,104],{"style":96},[77,396,397,399,402,404],{"class":79,"style":80},[77,398,340],{"style":96},[77,400,401],{"style":83},"\"type\"",[77,403,97],{"style":96},[77,405,406],{"style":100},"\"text\"",[77,408,409,412],{"class":79,"style":80},[77,410,411],{"style":100}," ",[77,413,211],{"style":83},[77,415,416],{"class":79,"style":80},[77,417,418],{"style":83}," ]",[77,420,421],{"class":79,"style":80},[77,422,211],{"style":83},[424,425,427],"h2",{"id":426},"fields","Fields",[10,429,430],{},"Readers ignore unknown top-level keys. Every URL must use HTTPS.",[432,433,434,440,445,450,470,475,496,501,511,517,523,528,531,536,543,548,552,557,561,566,569,574,577,582,586,591,606,612,629,634,657,662,683,688,698,703],"field-group",{},[435,436,438],"h3",{"id":437},"schema",[13,439,59],{},[441,442,444],"field",{"type":443},"string","The JSON Schema URL. Only editors read it.",[435,446,448],{"id":447},"kind",[13,449,447],{},[441,451,454,455,457,458,461,462,465,466,469],{"type":452,":required":453},"'plugin' | 'adapter' | 'parser'","true","What the package extends. ",[13,456,28],{}," adds a ",[13,459,460],{},"plugin"," or ",[13,463,464],{},"parser"," to the config, and prints the code for an ",[13,467,468],{},"adapter",".",[435,471,473],{"id":472},"name",[13,474,472],{},[441,476,477,478,481,482,22,485,488,489,492,493,495],{"type":443,":required":453},"The extension's ",[13,479,480],{},"meta.name",", such as ",[13,483,484],{},"plugin-zod",[13,486,487],{},"oas",", or ",[13,490,491],{},"typescript",". Kubb skips a manifest whose ",[13,494,472],{}," is not shaped like an npm package name.",[435,497,499],{"id":498},"export",[13,500,498],{},[441,502,503,504,481,507,510],{"type":443,":required":453},"The factory users call in ",[13,505,506],{},"kubb.config.ts",[13,508,509],{},"pluginZod",". It must be a JavaScript identifier.",[435,512,514],{"id":513},"displayname",[13,515,516],{},"displayName",[441,518,519,520,469],{"type":443,":required":453},"The human-readable name, such as ",[13,521,522],{},"Zod",[435,524,526],{"id":525},"description",[13,527,525],{},[441,529,530],{"type":443,":required":453},"One sentence on what the extension does.",[435,532,534],{"id":533},"category",[13,535,533],{},[441,537,538,539,542],{"type":443},"A category for filtering, such as ",[13,540,541],{},"validation",". The registry replaces it with the reviewer's pick.",[435,544,546],{"id":545},"icon",[13,547,545],{},[441,549,551],{"type":550},"{ light: string; dark?: string }","Icon URLs for light and dark backgrounds.",[435,553,555],{"id":554},"media",[13,556,554],{},[441,558,560],{"type":559},"Array\u003Cstring>","Screenshots or videos.",[435,562,564],{"id":563},"tags",[13,565,563],{},[441,567,568],{"type":559},"Search keywords.",[435,570,572],{"id":571},"docs",[13,573,571],{},[441,575,576],{"type":443},"The documentation URL.",[435,578,580],{"id":579},"maintainers",[13,581,579],{},[441,583,585],{"type":584},"Array\u003C{ name: string; github?: string }>","The people who maintain the extension, shown on its kubb.dev page.",[435,587,589],{"id":588},"dependencies",[13,590,588],{},[441,592,593,594,597,598,600,601,469],{"type":559},"The extensions that must be in the same config, such as ",[13,595,596],{},"[\"plugin-ts\"]",". ",[13,599,34],{}," checks that each one is chosen. At runtime, Kubb checks the plugin's own ",[18,602,604],{"href":603},"\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fextensions#dependencies",[13,605,588],{},[435,607,609],{"id":608},"optionaldependencies",[13,610,611],{},"optionalDependencies",[441,613,614,615,618,619,621,622,625,626,628],{"type":559},"The extensions the plugin uses when present, or needs only for some option values, such as ",[13,616,617],{},"[\"plugin-faker\"]",". List the runtime ",[13,620,588],{}," marked ",[13,623,624],{},"optional: true"," or picked from the options. ",[13,627,34],{}," does not require them.",[435,630,632],{"id":631},"compatibility",[13,633,631],{},[441,635,637,638,641,642,644,645,648,649,652,653,469],{"type":636},"{ kubb?: string; node?: string }","Semver ranges for Kubb (",[13,639,640],{},"@kubb\u002Fcore",") and Node.js. Any other key makes the manifest invalid. ",[13,643,28],{}," and ",[13,646,647],{},"kubb update"," check the ranges before they install. Kubb checks them at runtime through ",[13,650,651],{},"meta.compatibility",", so ",[18,654,656],{"href":655},"#import-compatibility-into-meta","import them from the manifest",[435,658,660],{"id":659},"role",[13,661,659],{},[441,663,665,666,669,670,597,673,676,677,597,680,682],{"type":664},"'client' | 'consumer'","Plugins only. ",[13,667,668],{},"client"," ships the HTTP client runtime, like ",[13,671,672],{},"@kubb\u002Fplugin-fetch",[13,674,675],{},"consumer"," calls a client but ships none, like ",[13,678,679],{},"@kubb\u002Fplugin-react-query",[13,681,34],{}," and Studio require a client next to a consumer.",[435,684,686],{"id":685},"beta",[13,687,685],{},[441,689,56,691,693,694,697],{"type":690},"boolean",[13,692,453],{}," while the extension is in beta: it works, but its options and output can still change in a minor release. kubb.dev and Kubb Studio show a Beta badge next to its name. Remove the field, or set ",[13,695,696],{},"false",", once it is stable.",[435,699,701],{"id":700},"options",[13,702,700],{},[441,704,706,707,469],{"type":705},"Array\u003CExtensionManifestOption>","The form fields Kubb Studio shows for the extension. See ",[18,708,710],{"href":709},"#option-entries","Option entries",[424,712,710],{"id":713},"option-entries",[10,715,716,717,719,720,723],{},"Each ",[13,718,700],{}," entry is one Studio form field that edits the value at ",[13,721,722],{},"path"," in the factory's options.",[725,726,727,746],"table",{},[728,729,730],"thead",{},[731,732,733,737,740,743],"tr",{},[734,735,736],"th",{},"Field",[734,738,739],{},"Type",[734,741,742],{},"Required",[734,744,745],{},"Description",[747,748,749,770,798,814,831,847,862,890,912,931,952],"tbody",{},[731,750,751,757,761,764],{},[752,753,754],"td",{},[13,755,756],{},"key",[752,758,759],{},[13,760,443],{},[752,762,763],{},"Yes",[752,765,766,767,469],{},"A stable key, unique within the manifest, such as ",[13,768,769],{},"enumType",[731,771,772,776,780,782],{},[752,773,774],{},[13,775,722],{},[752,777,778],{},[13,779,559],{},[752,781,763],{},[752,783,784,785,788,789,22,792,488,795,469],{},"Where the value lives, such as ",[13,786,787],{},"[\"enum\", \"type\"]",". No segment may be ",[13,790,791],{},"__proto__",[13,793,794],{},"constructor",[13,796,797],{},"prototype",[731,799,800,805,809,811],{},[752,801,802],{},[13,803,804],{},"label",[752,806,807],{},[13,808,443],{},[752,810,763],{},[752,812,813],{},"The field label.",[731,815,816,821,826,828],{},[752,817,818],{},[13,819,820],{},"type",[752,822,823],{},[13,824,825],{},"'select' | 'boolean' | 'text' | 'number' | 'list'",[752,827,763],{},[752,829,830],{},"The field type.",[731,832,833,837,841,844],{},[752,834,835],{},[13,836,525],{},[752,838,839],{},[13,840,443],{},[752,842,843],{},"No",[752,845,846],{},"Help text under the field.",[731,848,849,854,857,859],{},[752,850,851],{},[13,852,853],{},"default",[752,855,856],{},"any JSON value",[752,858,843],{},[752,860,861],{},"The plugin's runtime default, shown when unset.",[731,863,864,869,874,880],{},[752,865,866],{},[13,867,868],{},"choices",[752,870,871],{},[13,872,873],{},"Array\u003C{ label?: string; value: JSONValue }>",[752,875,876,877],{},"For ",[13,878,879],{},"select",[752,881,882,883,886,887,889],{},"At least one. A ",[13,884,885],{},"null"," value leaves the option unset. A ",[13,888,853],{}," must equal one of them.",[731,891,892,897,899,904],{},[752,893,894],{},[13,895,896],{},"trueValue",[752,898,856],{},[752,900,901,902],{},"No, for ",[13,903,690],{},[752,905,906,907,909,910,469],{},"The value written for ",[13,908,453],{},". Defaults to ",[13,911,453],{},[731,913,914,919,921,925],{},[752,915,916],{},[13,917,918],{},"falseValue",[752,920,856],{},[752,922,901,923],{},[13,924,690],{},[752,926,906,927,909,929,469],{},[13,928,696],{},[13,930,696],{},[731,932,933,938,940,945],{},[752,934,935],{},[13,936,937],{},"item",[752,939,856],{},[752,941,901,942],{},[13,943,944],{},"list",[752,946,947,948,951],{},"A template for each entry, where every ",[13,949,950],{},"\"$item\""," string becomes the entry. Without it, entries are strings.",[731,953,954,959,964,968],{},[752,955,956],{},[13,957,958],{},"itemCase",[752,960,961],{},[13,962,963],{},"'upper'",[752,965,901,966],{},[13,967,944],{},[752,969,970],{},"Uppercases each entry before writing it.",[424,972,973],{"id":541},"Validation",[10,975,976,977,980,981,597,984,987,988,992],{},"Kubb skips an invalid manifest, and the registry review lists its problems. To run Kubb's checks in your own code, call ",[13,978,979],{},"isExtensionManifest(value)"," from ",[13,982,983],{},"kubb\u002Fkit",[13,985,986],{},"manifestProblems(manifest)"," lists the option problems of a well-formed manifest. ",[18,989,991],{"href":990},"#manifest-validation","Manifest validation"," lists what each reader checks.",[424,994,996,997,999,1000],{"id":995},"import-compatibility-into-meta","Import ",[13,998,631],{}," into ",[13,1001,52],{},[10,1003,1004,1005,1007,1008,1010,1011,1013],{},"Import only ",[13,1006,631],{}," from the manifest into ",[13,1009,52],{},", so the ranges live in one file and a bundler leaves the rest, including ",[13,1012,700],{},", out of your build:",[68,1015,1018],{"language":491,"filename":1016,"code":1017,"class":72},"src\u002Fplugin.ts","import { defineExtension } from 'kubb\u002Fkit'\nimport { compatibility } from '..\u002Fkubb-extension.json'\nimport { version } from '..\u002Fpackage.json'\n\nexport const pluginExampleName = 'plugin-example'\n\nexport const pluginExample = defineExtension({\n kind: 'plugin',\n meta: { name: pluginExampleName, version, compatibility },\n setup(options) {\n return options\n },\n})",[13,1019,1021,85,1041,85,1057,85,1073,85,1075,85,1092,85,1094,85,1112,85,1125,85,1155,85,1170,85,1179,85,1187],{"class":1020},"language-typescript",[77,1022,1023,1026,1028,1032,1035,1038],{"class":79,"style":80},[77,1024,1025],{"style":96},"import ",[77,1027,200],{"style":83},[77,1029,1031],{"style":1030},"color:#24292e;--hls-dark:#e1e4e8","defineExtension ",[77,1033,1034],{"style":83},"} ",[77,1036,1037],{"style":96},"from ",[77,1039,1040],{"style":100},"'kubb\u002Fkit'",[77,1042,1043,1045,1047,1050,1052,1054],{"class":79,"style":80},[77,1044,1025],{"style":96},[77,1046,200],{"style":83},[77,1048,1049],{"style":1030},"compatibility ",[77,1051,1034],{"style":83},[77,1053,1037],{"style":96},[77,1055,1056],{"style":100},"'..\u002Fkubb-extension.json'",[77,1058,1059,1061,1063,1066,1068,1070],{"class":79,"style":80},[77,1060,1025],{"style":96},[77,1062,200],{"style":83},[77,1064,1065],{"style":1030},"version ",[77,1067,1034],{"style":83},[77,1069,1037],{"style":96},[77,1071,1072],{"style":100},"'..\u002Fpackage.json'",[77,1074],{"class":79,"style":80},[77,1076,1077,1080,1083,1086,1089],{"class":79,"style":80},[77,1078,1079],{"style":96},"export ",[77,1081,1082],{"style":96},"const ",[77,1084,1085],{"style":1030},"pluginExampleName ",[77,1087,1088],{"style":96},"= ",[77,1090,1091],{"style":100},"'plugin-example'",[77,1093],{"class":79,"style":80},[77,1095,1096,1098,1100,1103,1105,1109],{"class":79,"style":80},[77,1097,1079],{"style":96},[77,1099,1082],{"style":96},[77,1101,1102],{"style":1030},"pluginExample ",[77,1104,1088],{"style":96},[77,1106,1108],{"style":1107},"color:#6f42c1;--hls-dark:#b392f0","defineExtension",[77,1110,1111],{"style":83},"({",[77,1113,1114,1116,1118,1120,1123],{"class":79,"style":80},[77,1115,90],{"style":83},[77,1117,447],{"style":83},[77,1119,97],{"style":96},[77,1121,1122],{"style":100},"'plugin'",[77,1124,104],{"style":96},[77,1126,1127,1129,1131,1133,1135,1137,1139,1142,1144,1147,1149,1151,1153],{"class":79,"style":80},[77,1128,90],{"style":96},[77,1130,52],{"style":83},[77,1132,97],{"style":96},[77,1134,200],{"style":83},[77,1136,472],{"style":83},[77,1138,97],{"style":96},[77,1140,1141],{"style":1030},"pluginExampleName",[77,1143,22],{"style":96},[77,1145,1146],{"style":1030},"version",[77,1148,22],{"style":96},[77,1150,1049],{"style":1030},[77,1152,211],{"style":83},[77,1154,104],{"style":96},[77,1156,1157,1159,1162,1165,1167],{"class":79,"style":80},[77,1158,90],{"style":96},[77,1160,1161],{"style":1107},"setup",[77,1163,1164],{"style":83},"(",[77,1166,700],{"style":1030},[77,1168,1169],{"style":83},") {",[77,1171,1172,1174,1177],{"class":79,"style":80},[77,1173,411],{"style":83},[77,1175,1176],{"style":96},"return ",[77,1178,700],{"style":1030},[77,1180,1181,1183,1185],{"class":79,"style":80},[77,1182,90],{"style":1030},[77,1184,211],{"style":83},[77,1186,104],{"style":96},[77,1188,1189],{"class":79,"style":80},[77,1190,1191],{"style":83},"})",[10,1193,1194,1195,1197,1198,469],{},"Keep ",[13,1196,472],{}," as a typed constant, because a JSON import widens it to ",[13,1199,443],{},[1201,1202,1204,1205,644,1208,1211,1212,53],"blockquote",{"as":1203},"warning","Named JSON imports need a bundler that inlines them, such as tsdown. With plain ",[13,1206,1207],{},"tsc",[13,1209,1210],{},"\"module\": \"NodeNext\"",", write the ranges in ",[13,1213,651],{},[424,1215,1217],{"id":1216},"less-common-cases","Less common cases",[435,1219,991],{"id":1220},"manifest-validation",[10,1222,1223],{},"When Kubb skips your manifest or the registry review fails, see what each reader checks.",[725,1225,1226,1239],{},[728,1227,1228],{},[731,1229,1230,1233,1236],{},[734,1231,1232],{},"Reader",[734,1234,1235],{},"Checks",[734,1237,1238],{},"On failure",[747,1240,1241,1279],{},[731,1242,1243,1254,1276],{},[752,1244,1245,22,1247,22,1249,22,1251,1253],{},[13,1246,28],{},[13,1248,34],{},[13,1250,647],{},[13,1252,40],{},", the Studio agent",[752,1255,1256,1257,644,1259,1261,1262,644,1264,22,1266,22,1268,22,1270,1272,1273,1275],{},"The required fields and their shape, each ",[13,1258,579],{},[13,1260,700],{}," entry, extension names in ",[13,1263,588],{},[13,1265,611],{},[13,1267,659],{},[13,1269,685],{},[13,1271,631],{},", unique option keys, and ",[13,1274,879],{}," choices and defaults.",[752,1277,1278],{},"The manifest is skipped.",[731,1280,1281,1284,1296],{},[752,1282,1283],{},"The registry",[752,1285,1286,1287,1289,1290,1292,1293,1295],{},"The JSON Schema, unique option keys, ",[13,1288,868],{}," on every ",[13,1291,879],{},", and a ",[13,1294,879],{}," default that equals one of its choices.",[752,1297,1298],{},"The review pull request lists the problem, and the weekly bump keeps the previous pin.",[10,1300,1301,1302,980,1304,597,1306,1308],{},"To run Kubb's checks in your own code, call ",[13,1303,979],{},[13,1305,983],{},[13,1307,986],{}," lists the option problems of a well-formed manifest.",[725,1310,1311,1320],{},[728,1312,1313],{},[731,1314,1315,1317],{},[734,1316,736],{},[734,1318,1319],{},"Rule",[747,1321,1322,1353,1376],{},[731,1323,1324,1331],{},[752,1325,1326],{},[18,1327,1329],{"href":1328},"#name",[13,1330,472],{},[752,1332,1333,1334,1336,1337,22,1339,22,1342,1345,1346,1349,1350,469],{},"Kubb skips a manifest whose ",[13,1335,472],{}," is not shaped like an npm package name: lowercase letters, digits, ",[13,1338,469],{},[13,1340,1341],{},"_",[13,1343,1344],{},"~",", and ",[13,1347,1348],{},"-",", with an optional ",[13,1351,1352],{},"@scope\u002F",[731,1354,1355,1362],{},[752,1356,1357],{},[18,1358,1360],{"href":1359},"#compatibility",[13,1361,631],{},[752,1363,1364,1365,461,1368,1371,1372,1375],{},"Any key other than ",[13,1366,1367],{},"kubb",[13,1369,1370],{},"node"," makes the manifest invalid, so a typo such as ",[13,1373,1374],{},"nodejs"," cannot skip a check.",[731,1377,1378,1385],{},[752,1379,1380,1381],{},"Option ",[18,1382,1383],{"href":709},[13,1384,853],{},[752,1386,1387],{},"Studio does not write a value equal to it.",[435,1389,1391],{"id":1390},"manifest-readers","Manifest readers",[10,1393,1394],{},"When you fill in a manifest field, this is what reads it.",[725,1396,1397,1406],{},[728,1398,1399],{},[731,1400,1401,1403],{},[734,1402,736],{},[734,1404,1405],{},"Who reads it",[747,1407,1408,1417,1428,1437,1453,1462],{},[731,1409,1410,1414],{},[752,1411,1412],{},[13,1413,447],{},[752,1415,1416],{},"Studio builds a form for every kind and lets users switch plugins on and off.",[731,1418,1419,1423],{},[752,1420,1421],{},[13,1422,498],{},[752,1424,1425,1427],{},[13,1426,28],{}," imports it, and the Studio agent calls it.",[731,1429,1430,1434],{},[752,1431,1432],{},[13,1433,545],{},[752,1435,1436],{},"Studio shows a generic icon when the manifest has none.",[731,1438,1439,1443],{},[752,1440,1441],{},[13,1442,579],{},[752,1444,1445,1446,1448,1449,1452],{},"Each entry needs a ",[13,1447,472],{}," and can add a ",[13,1450,1451],{},"github"," username.",[731,1454,1455,1459],{},[752,1456,1457],{},[13,1458,588],{},[752,1460,1461],{},"kubb.dev lists them.",[731,1463,1464,1468],{},[752,1465,1466],{},[13,1467,611],{},[752,1469,1470,1471,621,1473,1475,1476,1478,1479,1482,1483,469],{},"They match the runtime ",[13,1472,588],{},[13,1474,624],{}," or picked from the options, such as ",[13,1477,617],{}," for ",[13,1480,1481],{},"@kubb\u002Fplugin-msw"," with ",[13,1484,1485],{},"parser: 'faker'",{"title":1487,"searchDepth":1488,"depth":1488,"links":1489},"",5,[1490,1512,1513,1514,1516],{"id":426,"depth":1491,"text":427,"children":1492},2,[1493,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511],{"id":437,"depth":1494,"text":59},3,{"id":447,"depth":1494,"text":447},{"id":472,"depth":1494,"text":472},{"id":498,"depth":1494,"text":498},{"id":513,"depth":1494,"text":516},{"id":525,"depth":1494,"text":525},{"id":533,"depth":1494,"text":533},{"id":545,"depth":1494,"text":545},{"id":554,"depth":1494,"text":554},{"id":563,"depth":1494,"text":563},{"id":571,"depth":1494,"text":571},{"id":579,"depth":1494,"text":579},{"id":588,"depth":1494,"text":588},{"id":608,"depth":1494,"text":611},{"id":631,"depth":1494,"text":631},{"id":659,"depth":1494,"text":659},{"id":685,"depth":1494,"text":685},{"id":700,"depth":1494,"text":700},{"id":713,"depth":1491,"text":710},{"id":541,"depth":1491,"text":973},{"id":995,"depth":1491,"text":1515},"Import compatibility into meta",{"id":1216,"depth":1491,"text":1217,"children":1517},[1518,1519],{"id":1220,"depth":1494,"text":991},{"id":1390,"depth":1494,"text":1391},"Reference for kubb-extension.json, the manifest a Kubb plugin, adapter, or parser ships on npm: its fields, Studio option entries, and validation.","md",{"layout":1523,"title":5,"description":1520,"outline":1524,"order":1525,"navigation":1526},"doc",[1491,1494],14,{"title":1527,"icon":1528},"Manifest","i-iconoir-page","Extension manifest",{"layout":1523,"outline":1531},[1491,1494],{"title":1527,"icon":1528},"\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fmanifest",{"title":5,"description":1520},{"loc":1533},"kubb-labs\u002Fkubb\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fmanifest.md","docs\u002F5.x\u002Freference\u002Fkit\u002Fmanifest","CldAltmbM0bLK_TNeZfmPiZfThkZfTKiO69fAb7UXc8",1795727678207,"1b64b1eb-29b7-4f90-ad41-6f24721e1669"]