@mehdad67/apitogo 0.1.25 → 0.1.27

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.
Files changed (89) hide show
  1. package/dist/cli/cli.js +36 -36
  2. package/dist/declarations/lib/ui/ActionButton.d.ts +1 -1
  3. package/dist/declarations/lib/ui/Command.d.ts +1 -1
  4. package/dist/declarations/lib/util/MdxComponents.d.ts +1 -1
  5. package/package.json +4 -4
  6. package/src/app/main.tsx +2 -2
  7. package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
  8. package/src/lib/authentication/components/SignIn.tsx +2 -2
  9. package/src/lib/authentication/components/SignUp.tsx +2 -2
  10. package/src/lib/authentication/providers/clerk.tsx +1 -1
  11. package/src/lib/authentication/ui/AuthCard.tsx +1 -1
  12. package/src/lib/authentication/ui/EmailLinkCallbackUi.tsx +5 -5
  13. package/src/lib/authentication/ui/EmailLinkSentUi.tsx +3 -3
  14. package/src/lib/authentication/ui/EmailLinkSignInUi.tsx +4 -4
  15. package/src/lib/authentication/ui/EmailVerificationUi.tsx +4 -4
  16. package/src/lib/authentication/ui/ZudokuAuthUi.tsx +6 -6
  17. package/src/lib/components/AiAssistantMenuItems.tsx +1 -1
  18. package/src/lib/components/Autocomplete.tsx +2 -2
  19. package/src/lib/components/DeveloperHint.tsx +1 -1
  20. package/src/lib/components/Header.tsx +2 -2
  21. package/src/lib/components/LandingLayout.tsx +1 -1
  22. package/src/lib/components/Layout.tsx +1 -1
  23. package/src/lib/components/Main.tsx +1 -1
  24. package/src/lib/components/Mermaid.tsx +1 -1
  25. package/src/lib/components/MobileTopNavigation.tsx +3 -3
  26. package/src/lib/components/MultiSelect.tsx +1 -1
  27. package/src/lib/components/TopNavigation.tsx +1 -1
  28. package/src/lib/components/context/ZudokuContext.ts +1 -1
  29. package/src/lib/components/navigation/NavigationCategory.tsx +1 -1
  30. package/src/lib/components/navigation/NavigationFilterInput.tsx +1 -1
  31. package/src/lib/components/navigation/NavigationItem.tsx +2 -2
  32. package/src/lib/core/RouteGuard.tsx +2 -2
  33. package/src/lib/errors/ErrorMessage.tsx +2 -2
  34. package/src/lib/plugins/api-catalog/Catalog.tsx +1 -1
  35. package/src/lib/plugins/api-keys/CreateApiKey.tsx +4 -4
  36. package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +1 -1
  37. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +3 -3
  38. package/src/lib/plugins/api-keys/settings/ApiKeyItem.tsx +5 -5
  39. package/src/lib/plugins/api-keys/settings/RevealApiKey.tsx +3 -3
  40. package/src/lib/plugins/markdown/MdxPage.tsx +3 -3
  41. package/src/lib/plugins/openapi/ApiHeader.tsx +1 -1
  42. package/src/lib/plugins/openapi/CollapsibleCode.tsx +2 -2
  43. package/src/lib/plugins/openapi/DownloadSchemaButton.tsx +3 -3
  44. package/src/lib/plugins/openapi/GeneratedExampleSidecarBox.tsx +2 -2
  45. package/src/lib/plugins/openapi/OperationListItem.tsx +2 -2
  46. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -2
  47. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +4 -4
  48. package/src/lib/plugins/openapi/SchemaInfo.tsx +1 -1
  49. package/src/lib/plugins/openapi/SchemaList.tsx +2 -2
  50. package/src/lib/plugins/openapi/Sidecar.tsx +4 -4
  51. package/src/lib/plugins/openapi/SidecarExamples.tsx +2 -2
  52. package/src/lib/plugins/openapi/components/EnumValues.tsx +1 -1
  53. package/src/lib/plugins/openapi/components/ResponseContent.tsx +3 -3
  54. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +4 -4
  55. package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +1 -1
  56. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +2 -2
  57. package/src/lib/plugins/openapi/playground/Headers.tsx +3 -3
  58. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +5 -5
  59. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +2 -2
  60. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +2 -2
  61. package/src/lib/plugins/openapi/playground/Playground.tsx +4 -4
  62. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +3 -3
  63. package/src/lib/plugins/openapi/playground/QueryParams.tsx +2 -2
  64. package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +4 -4
  65. package/src/lib/plugins/openapi/playground/request-panel/MultipartField.tsx +2 -2
  66. package/src/lib/plugins/openapi/playground/result-panel/AudioPlayer.tsx +1 -1
  67. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +5 -5
  68. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +2 -2
  69. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +1 -1
  70. package/src/lib/plugins/openapi/schema/SchemaView.tsx +2 -2
  71. package/src/lib/plugins/search-pagefind/IndexingDialog.tsx +2 -2
  72. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +4 -4
  73. package/src/lib/plugins/search-pagefind/ResultList.tsx +1 -1
  74. package/src/lib/ui/ActionButton.tsx +1 -1
  75. package/src/lib/ui/Command.tsx +1 -1
  76. package/src/lib/util/MdxComponents.tsx +2 -2
  77. package/src/vite/config.ts +4 -4
  78. package/src/vite/plugin-api-keys.ts +1 -1
  79. package/src/vite/plugin-api.ts +2 -2
  80. package/src/vite/plugin-auth.ts +1 -1
  81. package/src/vite/plugin-component.ts +5 -5
  82. package/src/vite/plugin-config.ts +1 -1
  83. package/src/vite/plugin-custom-pages.ts +1 -1
  84. package/src/vite/plugin-docs.ts +1 -1
  85. package/src/vite/plugin-mdx.ts +1 -1
  86. package/src/vite/plugin-modules.ts +2 -2
  87. package/src/vite/plugin-navigation.ts +1 -1
  88. package/src/vite/plugin-search.ts +2 -2
  89. package/src/vite/plugin.ts +1 -1
package/dist/cli/cli.js CHANGED
@@ -20,8 +20,8 @@ var init_package_json = __esm({
20
20
  path.posix.sep
21
21
  );
22
22
  getPackageJson = (pkgPath) => JSON.parse(readFileSync(pkgPath, "utf-8"));
23
- getZudokuPackageJson = () => getPackageJson(getPackageJsonPath("@lukoweb/apitogo"));
24
- getZudokuRootDir = () => path.dirname(getPackageJsonPath("@lukoweb/apitogo"));
23
+ getZudokuPackageJson = () => getPackageJson(getPackageJsonPath("@mehdad67/apitogo"));
24
+ getZudokuRootDir = () => path.dirname(getPackageJsonPath("@mehdad67/apitogo"));
25
25
  }
26
26
  });
27
27
 
@@ -4110,8 +4110,8 @@ import {
4110
4110
 
4111
4111
  // package.json
4112
4112
  var package_default = {
4113
- name: "@lukoweb/apitogo",
4114
- version: "0.1.25",
4113
+ name: "@mehdad67/apitogo",
4114
+ version: "0.1.27",
4115
4115
  type: "module",
4116
4116
  sideEffects: [
4117
4117
  "**/*.css",
@@ -4165,8 +4165,8 @@ var package_default = {
4165
4165
  "./plugins/search-inkeep": "./src/lib/plugins/search-inkeep/index.tsx",
4166
4166
  "./plugins/search-pagefind": "./src/lib/plugins/search-pagefind/index.tsx",
4167
4167
  "./plugins/api-catalog": "./src/lib/plugins/api-catalog/index.tsx",
4168
- "./modules/landing": "@lukoweb/apitogo-module-landing",
4169
- "./modules/user-panel": "@lukoweb/apitogo-module-user-panel",
4168
+ "./modules/landing": "@mehdad67/apitogo-module-landing",
4169
+ "./modules/user-panel": "@mehdad67/apitogo-module-user-panel",
4170
4170
  "./components": "./src/lib/components/index.ts",
4171
4171
  "./mermaid": "./src/lib/components/Mermaid.tsx",
4172
4172
  "./router": "./src/lib/core/router.ts",
@@ -4438,8 +4438,8 @@ var package_default = {
4438
4438
  types: "./dist/declarations/lib/plugins/api-catalog/index.d.ts",
4439
4439
  default: "./src/lib/plugins/api-catalog/index.tsx"
4440
4440
  },
4441
- "./modules/landing": "@lukoweb/apitogo-module-landing",
4442
- "./modules/user-panel": "@lukoweb/apitogo-module-user-panel",
4441
+ "./modules/landing": "@mehdad67/apitogo-module-landing",
4442
+ "./modules/user-panel": "@mehdad67/apitogo-module-user-panel",
4443
4443
  "./components": {
4444
4444
  types: "./dist/declarations/lib/components/index.d.ts",
4445
4445
  default: "./src/lib/components/index.ts"
@@ -4679,7 +4679,7 @@ var viteApiKeysPlugin = () => {
4679
4679
  const deploymentName = ZuploEnv.buildConfig?.deploymentName || getZuploSystemConfigurations(process.env.ZUPLO_SYSTEM_CONFIGURATIONS)?.__ZUPLO_DEPLOYMENT_NAME;
4680
4680
  const code = [
4681
4681
  `import config from "virtual:zudoku-config";`,
4682
- config2.__meta.mode === "internal" ? `import { apiKeyPlugin } from "${config2.__meta.moduleDir}/src/lib/plugins/api-keys/index.tsx";` : `import { apiKeyPlugin } from "@lukoweb/apitogo/plugins/api-keys";`,
4682
+ config2.__meta.mode === "internal" ? `import { apiKeyPlugin } from "${config2.__meta.moduleDir}/src/lib/plugins/api-keys/index.tsx";` : `import { apiKeyPlugin } from "@mehdad67/apitogo/plugins/api-keys";`,
4683
4683
  `export const configuredApiKeysPlugin = apiKeyPlugin({
4684
4684
  ...config.apiKeys,
4685
4685
  path: "${apiKeysPath}",
@@ -6389,7 +6389,7 @@ export const rules = ${rulesCode};`,
6389
6389
  if (hasMissingIcon) {
6390
6390
  collectedIcons.add("MissingIcon");
6391
6391
  }
6392
- const importStatement = collectedIcons.size > 0 ? `import { ${[...collectedIcons].join(", ")} } from "@lukoweb/apitogo/icons";
6392
+ const importStatement = collectedIcons.size > 0 ? `import { ${[...collectedIcons].join(", ")} } from "@mehdad67/apitogo/icons";
6393
6393
  ` : "";
6394
6394
  return [
6395
6395
  importStatement,
@@ -6515,7 +6515,7 @@ var viteApiPlugin = async () => {
6515
6515
  ];
6516
6516
  if (config2.apis) {
6517
6517
  code.push(
6518
- 'import { openApiPlugin } from "@lukoweb/apitogo/plugins/openapi";'
6518
+ 'import { openApiPlugin } from "@mehdad67/apitogo/plugins/openapi";'
6519
6519
  );
6520
6520
  code.push(
6521
6521
  `const apis = Array.isArray(config.apis) ? config.apis : [config.apis]`
@@ -6608,7 +6608,7 @@ var viteApiPlugin = async () => {
6608
6608
  }
6609
6609
  if (config2.catalogs) {
6610
6610
  code.push(
6611
- 'import { apiCatalogPlugin } from "@lukoweb/apitogo/plugins/api-catalog";'
6611
+ 'import { apiCatalogPlugin } from "@mehdad67/apitogo/plugins/api-catalog";'
6612
6612
  );
6613
6613
  const catalogs = ensureArray(config2.catalogs);
6614
6614
  const categories = apis.flatMap((api) => api.categories ?? []).reduce((acc, catalog) => {
@@ -6694,7 +6694,7 @@ var viteAuthPlugin = () => {
6694
6694
  ...${JSON.stringify(config2.authentication, null, 2)},
6695
6695
  basePath: ${config2.basePath ? JSON.stringify(config2.basePath) : "undefined"},
6696
6696
  };`,
6697
- config2.__meta.mode === "internal" ? `import authProvider from "${config2.__meta.moduleDir}/src/lib/authentication/providers/${config2.authentication.type}.tsx";` : `import authProvider from "@lukoweb/apitogo/auth/${config2.authentication.type}";`,
6697
+ config2.__meta.mode === "internal" ? `import authProvider from "${config2.__meta.moduleDir}/src/lib/authentication/providers/${config2.authentication.type}.tsx";` : `import authProvider from "@mehdad67/apitogo/auth/${config2.authentication.type}";`,
6698
6698
  `export const configuredAuthProvider = authProvider(config);`
6699
6699
  ].join("\n");
6700
6700
  }
@@ -6712,21 +6712,21 @@ var viteAliasPlugin = () => {
6712
6712
  config: () => {
6713
6713
  const config2 = getCurrentConfig();
6714
6714
  const replacements = [
6715
- ["@lukoweb/apitogo/components", "src/lib/components/index.ts"],
6715
+ ["@mehdad67/apitogo/components", "src/lib/components/index.ts"],
6716
6716
  [
6717
- "@lukoweb/apitogo/plugins/openapi",
6717
+ "@mehdad67/apitogo/plugins/openapi",
6718
6718
  "src/lib/plugins/openapi/index.tsx"
6719
6719
  ],
6720
6720
  [
6721
- "@lukoweb/apitogo/plugins/api-catalog",
6721
+ "@mehdad67/apitogo/plugins/api-catalog",
6722
6722
  "src/lib/plugins/api-catalog/index.tsx"
6723
6723
  ],
6724
6724
  [
6725
- "@lukoweb/apitogo/plugins/search-inkeep",
6725
+ "@mehdad67/apitogo/plugins/search-inkeep",
6726
6726
  "src/lib/plugins/search-inkeep/index.tsx"
6727
6727
  ],
6728
6728
  [
6729
- "@lukoweb/apitogo/plugins/search-pagefind",
6729
+ "@mehdad67/apitogo/plugins/search-pagefind",
6730
6730
  "src/lib/plugins/search-pagefind/index.tsx"
6731
6731
  ],
6732
6732
  [/^@lukoweb\/apitogo\/ui\/(.*)\.js/, "src/lib/ui/$1.tsx"]
@@ -6765,7 +6765,7 @@ var viteConfigPlugin = () => {
6765
6765
  }
6766
6766
  return `
6767
6767
  import rawConfig from "${normalizePath(configPath)}";
6768
- import { runPluginTransformConfig } from "@lukoweb/apitogo/plugins";
6768
+ import { runPluginTransformConfig } from "@mehdad67/apitogo/plugins";
6769
6769
 
6770
6770
  const config = await runPluginTransformConfig(rawConfig);
6771
6771
  export default config;
@@ -6821,7 +6821,7 @@ var viteCustomPagesPlugin = () => {
6821
6821
  }
6822
6822
  const code = [
6823
6823
  `import config from "virtual:zudoku-config";`,
6824
- config2.__meta.mode === "internal" ? `import { customPagesPlugin } from "${config2.__meta.moduleDir}/src/lib/plugins/custom-pages/index.tsx";` : `import { customPagesPlugin } from "@lukoweb/apitogo/plugins/custom-pages";`,
6824
+ config2.__meta.mode === "internal" ? `import { customPagesPlugin } from "${config2.__meta.moduleDir}/src/lib/plugins/custom-pages/index.tsx";` : `import { customPagesPlugin } from "@mehdad67/apitogo/plugins/custom-pages";`,
6825
6825
  `export const configuredCustomPagesPlugin = customPagesPlugin(config.navigation);`
6826
6826
  ];
6827
6827
  return code.join("\n");
@@ -7007,7 +7007,7 @@ var viteDocsPlugin = () => {
7007
7007
  const code = [
7008
7008
  // IMPORTANT! This path here is important, we MUST resolve
7009
7009
  // files here as Typescript from the appDir
7010
- config2.__meta.mode === "internal" ? `import { markdownPlugin } from "${config2.__meta.moduleDir}/src/lib/plugins/markdown/index.tsx";` : `import { markdownPlugin } from "@lukoweb/apitogo/plugins/markdown";`
7010
+ config2.__meta.mode === "internal" ? `import { markdownPlugin } from "${config2.__meta.moduleDir}/src/lib/plugins/markdown/index.tsx";` : `import { markdownPlugin } from "@mehdad67/apitogo/plugins/markdown";`
7011
7011
  ];
7012
7012
  const docsConfig = DocsConfigSchema.parse(config2.docs ?? {});
7013
7013
  const globImportBasePath = process.env.NODE_ENV === "development" ? config2.basePath ?? "" : "";
@@ -7622,7 +7622,7 @@ var viteMdxPlugin = async () => {
7622
7622
  return {
7623
7623
  enforce: "pre",
7624
7624
  ...mdx({
7625
- providerImportSource: config2.__meta.mode === "internal" || config2.__meta.mode === "standalone" ? "@mdx-js/react" : "@lukoweb/apitogo/components",
7625
+ providerImportSource: config2.__meta.mode === "internal" || config2.__meta.mode === "standalone" ? "@mdx-js/react" : "@mehdad67/apitogo/components",
7626
7626
  mdxExtensions: [".mdx"],
7627
7627
  format: "detect",
7628
7628
  remarkPlugins,
@@ -7637,8 +7637,8 @@ var plugin_mdx_default = viteMdxPlugin;
7637
7637
  init_loader();
7638
7638
  import path18 from "node:path";
7639
7639
  import { normalizePath as normalizePath2 } from "vite";
7640
- var getLandingModuleImport = (moduleDir, mode) => mode === "internal" ? normalizePath2(path18.join(moduleDir, "../module-landing/src/index.tsx")) : "@lukoweb/apitogo-module-landing";
7641
- var getUserPanelModuleImport = (moduleDir, mode) => mode === "internal" ? normalizePath2(path18.join(moduleDir, "../module-user-panel/src/index.tsx")) : "@lukoweb/apitogo-module-user-panel";
7640
+ var getLandingModuleImport = (moduleDir, mode) => mode === "internal" ? normalizePath2(path18.join(moduleDir, "../module-landing/src/index.tsx")) : "@mehdad67/apitogo-module-landing";
7641
+ var getUserPanelModuleImport = (moduleDir, mode) => mode === "internal" ? normalizePath2(path18.join(moduleDir, "../module-user-panel/src/index.tsx")) : "@mehdad67/apitogo-module-user-panel";
7642
7642
  var resolveProjectPageImport = (rootDir, pagePath) => normalizePath2(path18.resolve(rootDir, pagePath));
7643
7643
  var viteModulesPlugin = () => {
7644
7644
  const virtualModuleId4 = "virtual:zudoku-modules-plugin";
@@ -7783,7 +7783,7 @@ var viteSearchPlugin = () => {
7783
7783
  if (config2.search.type === "inkeep") {
7784
7784
  code.push(
7785
7785
  `import config from 'virtual:zudoku-config';`,
7786
- `import { inkeepSearchPlugin } from "@lukoweb/apitogo/plugins/search-inkeep";`,
7786
+ `import { inkeepSearchPlugin } from "@mehdad67/apitogo/plugins/search-inkeep";`,
7787
7787
  `export const configuredSearchPlugin = inkeepSearchPlugin(config.search);`
7788
7788
  );
7789
7789
  return code.join("\n");
@@ -7791,7 +7791,7 @@ var viteSearchPlugin = () => {
7791
7791
  if (config2.search.type === "pagefind") {
7792
7792
  code.push(
7793
7793
  `import config from 'virtual:zudoku-config';`,
7794
- `import { pagefindSearchPlugin } from "@lukoweb/apitogo/plugins/search-pagefind";`,
7794
+ `import { pagefindSearchPlugin } from "@mehdad67/apitogo/plugins/search-pagefind";`,
7795
7795
  `export const configuredSearchPlugin = pagefindSearchPlugin(config.search);`
7796
7796
  );
7797
7797
  return code.join("\n");
@@ -7901,7 +7901,7 @@ function vitePlugin() {
7901
7901
  viteSearchPlugin(),
7902
7902
  plugin_component_default(),
7903
7903
  plugin_markdown_export_default(),
7904
- vitePluginSsrCss({ entries: ["@lukoweb/apitogo/app/entry.server.tsx"] }),
7904
+ vitePluginSsrCss({ entries: ["@mehdad67/apitogo/app/entry.server.tsx"] }),
7905
7905
  viteThemePlugin(),
7906
7906
  tailwindcss()
7907
7907
  ];
@@ -8012,9 +8012,9 @@ async function getViteConfig(dir, configEnv) {
8012
8012
  emptyOutDir: true,
8013
8013
  rollupOptions: {
8014
8014
  input: configEnv.command === "build" ? configEnv.isSsrBuild ? [
8015
- "@lukoweb/apitogo/app/entry.server.tsx",
8015
+ "@mehdad67/apitogo/app/entry.server.tsx",
8016
8016
  config2.__meta.configPath
8017
- ] : "@lukoweb/apitogo/app/entry.client.tsx" : void 0,
8017
+ ] : "@mehdad67/apitogo/app/entry.client.tsx" : void 0,
8018
8018
  external: [joinUrl(config2.basePath, "/pagefind/pagefind.js")]
8019
8019
  },
8020
8020
  chunkSizeWarningLimit: 1500
@@ -8035,10 +8035,10 @@ async function getViteConfig(dir, configEnv) {
8035
8035
  target: "es2022"
8036
8036
  },
8037
8037
  entries: [path20.posix.join(getZudokuRootDir(), "src/{app,lib}/**")],
8038
- exclude: ["@lukoweb/apitogo"],
8038
+ exclude: ["@mehdad67/apitogo"],
8039
8039
  include: [
8040
8040
  "react-dom/client",
8041
- "@lukoweb/apitogo/icons",
8041
+ "@mehdad67/apitogo/icons",
8042
8042
  ...process.env.SENTRY_DSN ? ["@sentry/react"] : []
8043
8043
  ]
8044
8044
  },
@@ -8947,7 +8947,7 @@ jobs:
8947
8947
  run: npm ci
8948
8948
 
8949
8949
  - name: Install APIToGo CLI
8950
- run: npm install -g @lukoweb/apitogo@latest
8950
+ run: npm install -g @mehdad67/apitogo@latest
8951
8951
 
8952
8952
  - name: Check APIToGo version
8953
8953
  run: apitogo --version
@@ -8979,7 +8979,7 @@ jobs:
8979
8979
 
8980
8980
  steps:
8981
8981
  - name: Install APIToGo CLI
8982
- run: npm install -g @lukoweb/apitogo@latest
8982
+ run: npm install -g @mehdad67/apitogo@latest
8983
8983
 
8984
8984
  - name: Remove preview deployment
8985
8985
  env:
@@ -9011,7 +9011,7 @@ jobs:
9011
9011
  run: npm ci
9012
9012
 
9013
9013
  - name: Install APIToGo CLI
9014
- run: npm install -g @lukoweb/apitogo@latest
9014
+ run: npm install -g @mehdad67/apitogo@latest
9015
9015
 
9016
9016
  - name: Check APIToGo version
9017
9017
  run: apitogo --version
@@ -9721,7 +9721,7 @@ async function ensurePackageJson(dir) {
9721
9721
  const baseDeps = {
9722
9722
  react: ">=19.0.0",
9723
9723
  "react-dom": ">=19.0.0",
9724
- "@lukoweb/apitogo": apitogoVer
9724
+ "@mehdad67/apitogo": apitogoVer
9725
9725
  };
9726
9726
  const baseScripts = {
9727
9727
  dev: "apitogo dev",
@@ -10092,7 +10092,7 @@ var buildNewConfigContents = (pagesDir, openApiSpecRelative) => {
10092
10092
  input: "${openapiInputForConfig(openApiSpecRelative)}",
10093
10093
  path: "api",
10094
10094
  },`;
10095
- return `import type { ApitogoConfig } from "@lukoweb/apitogo";
10095
+ return `import type { ApitogoConfig } from "@mehdad67/apitogo";
10096
10096
 
10097
10097
  const config: ApitogoConfig = {
10098
10098
  docs: {
@@ -1,4 +1,4 @@
1
- import { type ButtonProps } from "@lukoweb/apitogo/ui/Button.js";
1
+ import { type ButtonProps } from "@mehdad67/apitogo/ui/Button.js";
2
2
  type ActionButtonProps = ButtonProps & {
3
3
  isPending?: boolean;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { DialogContent } from "@lukoweb/apitogo/ui/Dialog.js";
1
+ import { DialogContent } from "@mehdad67/apitogo/ui/Dialog.js";
2
2
  import type { DialogProps } from "@radix-ui/react-dialog";
3
3
  import { Command as CommandPrimitive } from "cmdk";
4
4
  import type { ComponentPropsWithoutRef } from "react";
@@ -1,4 +1,4 @@
1
- import { Alert } from "@lukoweb/apitogo/ui/Alert.js";
1
+ import { Alert } from "@mehdad67/apitogo/ui/Alert.js";
2
2
  import type { MDXComponents } from "mdx/types.js";
3
3
  import { Badge } from "../ui/Badge.js";
4
4
  export type MdxComponentsType = Readonly<MDXComponents> | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mehdad67/apitogo",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "**/*.css",
@@ -126,9 +126,9 @@
126
126
  "@types/react-dom": "19.2.3",
127
127
  "@vitejs/plugin-react": "5.1.4",
128
128
  "@x0k/json-schema-merge": "1.0.2",
129
- "@mehdad67/httpsnippet": "10.0.9",
130
- "@mehdad67/react-helmet-async": "2.0.5",
131
- "@mehdad67/mcp": "0.0.32",
129
+ "@zudoku/httpsnippet": "10.0.9",
130
+ "@zudoku/react-helmet-async": "2.0.5",
131
+ "@zuplo/mcp": "0.0.32",
132
132
  "bs58": "6.0.0",
133
133
  "class-variance-authority": "0.7.1",
134
134
  "clsx": "2.1.1",
package/src/app/main.tsx CHANGED
@@ -1,5 +1,5 @@
1
- import { Apitogo } from "@lukoweb/apitogo/components";
2
- import { Outlet } from "@lukoweb/apitogo/router";
1
+ import { Apitogo } from "@mehdad67/apitogo/components";
2
+ import { Outlet } from "@mehdad67/apitogo/router";
3
3
  import type { RouteObject } from "react-router";
4
4
  import type { HighlighterCore } from "shiki";
5
5
  import { configuredApiKeysPlugin } from "virtual:zudoku-api-keys-plugin";
@@ -1,4 +1,4 @@
1
- import { useZudoku } from "@lukoweb/apitogo/components";
1
+ import { useZudoku } from "@mehdad67/apitogo/components";
2
2
  import { useSuspenseQuery } from "@tanstack/react-query";
3
3
  import { Navigate } from "react-router";
4
4
  import { joinUrl } from "../../util/joinUrl.js";
@@ -1,11 +1,11 @@
1
- import { Spinner } from "@lukoweb/apitogo/components";
1
+ import { Spinner } from "@mehdad67/apitogo/components";
2
2
  import {
3
3
  Card,
4
4
  CardContent,
5
5
  CardDescription,
6
6
  CardHeader,
7
7
  CardTitle,
8
- } from "@lukoweb/apitogo/ui/Card.js";
8
+ } from "@mehdad67/apitogo/ui/Card.js";
9
9
  import { useEffect } from "react";
10
10
  import { useSearchParams } from "react-router";
11
11
  import { useLatest } from "../../util/useLatest.js";
@@ -1,11 +1,11 @@
1
- import { Button, Link } from "@lukoweb/apitogo/components";
1
+ import { Button, Link } from "@mehdad67/apitogo/components";
2
2
  import {
3
3
  Card,
4
4
  CardContent,
5
5
  CardDescription,
6
6
  CardHeader,
7
7
  CardTitle,
8
- } from "@lukoweb/apitogo/ui/Card.js";
8
+ } from "@mehdad67/apitogo/ui/Card.js";
9
9
  import { useEffect } from "react";
10
10
  import { useSearchParams } from "react-router";
11
11
  import { useLatest } from "../../util/useLatest.js";
@@ -1,5 +1,5 @@
1
1
  import type { Clerk } from "@clerk/clerk-js";
2
- import type { ApitogoPlugin } from "@lukoweb/apitogo/plugins";
2
+ import type { ApitogoPlugin } from "@mehdad67/apitogo/plugins";
3
3
  import type { ClerkAuthenticationConfig } from "../../../config/config.js";
4
4
  import type {
5
5
  AuthActionContext,
@@ -1,4 +1,4 @@
1
- import { Card } from "@lukoweb/apitogo/ui/Card.js";
1
+ import { Card } from "@mehdad67/apitogo/ui/Card.js";
2
2
  import createVariantComponent from "../../util/createVariantComponent.js";
3
3
 
4
4
  export const AuthCard = createVariantComponent(
@@ -1,17 +1,17 @@
1
- import { Spinner } from "@lukoweb/apitogo/components";
2
- import { ActionButton } from "@lukoweb/apitogo/ui/ActionButton.js";
1
+ import { Spinner } from "@mehdad67/apitogo/components";
2
+ import { ActionButton } from "@mehdad67/apitogo/ui/ActionButton.js";
3
3
  import {
4
4
  Alert,
5
5
  AlertDescription,
6
6
  AlertTitle,
7
- } from "@lukoweb/apitogo/ui/Alert.js";
7
+ } from "@mehdad67/apitogo/ui/Alert.js";
8
8
  import {
9
9
  CardContent,
10
10
  CardDescription,
11
11
  CardHeader,
12
12
  CardTitle,
13
- } from "@lukoweb/apitogo/ui/Card.js";
14
- import { Input } from "@lukoweb/apitogo/ui/Input.js";
13
+ } from "@mehdad67/apitogo/ui/Card.js";
14
+ import { Input } from "@mehdad67/apitogo/ui/Input.js";
15
15
  import { useMutation } from "@tanstack/react-query";
16
16
  import { useEffect, useRef, useState } from "react";
17
17
  import { useNavigate, useSearchParams } from "react-router";
@@ -2,14 +2,14 @@ import {
2
2
  Alert,
3
3
  AlertDescription,
4
4
  AlertTitle,
5
- } from "@lukoweb/apitogo/ui/Alert.js";
6
- import { Button } from "@lukoweb/apitogo/ui/Button.js";
5
+ } from "@mehdad67/apitogo/ui/Alert.js";
6
+ import { Button } from "@mehdad67/apitogo/ui/Button.js";
7
7
  import {
8
8
  CardContent,
9
9
  CardDescription,
10
10
  CardHeader,
11
11
  CardTitle,
12
- } from "@lukoweb/apitogo/ui/Card.js";
12
+ } from "@mehdad67/apitogo/ui/Card.js";
13
13
  import { useMutation } from "@tanstack/react-query";
14
14
  import { Mail, RefreshCw } from "lucide-react";
15
15
  import { useState } from "react";
@@ -1,16 +1,16 @@
1
- import { ActionButton } from "@lukoweb/apitogo/ui/ActionButton.js";
1
+ import { ActionButton } from "@mehdad67/apitogo/ui/ActionButton.js";
2
2
  import {
3
3
  Alert,
4
4
  AlertDescription,
5
5
  AlertTitle,
6
- } from "@lukoweb/apitogo/ui/Alert.js";
6
+ } from "@mehdad67/apitogo/ui/Alert.js";
7
7
  import {
8
8
  CardContent,
9
9
  CardDescription,
10
10
  CardHeader,
11
11
  CardTitle,
12
- } from "@lukoweb/apitogo/ui/Card.js";
13
- import { Input } from "@lukoweb/apitogo/ui/Input.js";
12
+ } from "@mehdad67/apitogo/ui/Card.js";
13
+ import { Input } from "@mehdad67/apitogo/ui/Input.js";
14
14
  import { useMutation } from "@tanstack/react-query";
15
15
  import { useForm } from "react-hook-form";
16
16
  import { Link, useNavigate, useSearchParams } from "react-router";
@@ -1,17 +1,17 @@
1
- import { ActionButton } from "@lukoweb/apitogo/ui/ActionButton.js";
1
+ import { ActionButton } from "@mehdad67/apitogo/ui/ActionButton.js";
2
2
  import {
3
3
  Alert,
4
4
  AlertDescription,
5
5
  AlertTitle,
6
- } from "@lukoweb/apitogo/ui/Alert.js";
7
- import { Button } from "@lukoweb/apitogo/ui/Button.js";
6
+ } from "@mehdad67/apitogo/ui/Alert.js";
7
+ import { Button } from "@mehdad67/apitogo/ui/Button.js";
8
8
  import {
9
9
  Card,
10
10
  CardContent,
11
11
  CardDescription,
12
12
  CardHeader,
13
13
  CardTitle,
14
- } from "@lukoweb/apitogo/ui/Card.js";
14
+ } from "@mehdad67/apitogo/ui/Card.js";
15
15
  import { useMutation, useQuery } from "@tanstack/react-query";
16
16
  import { CheckIcon, MailCheck, RefreshCw } from "lucide-react";
17
17
  import { Navigate, useSearchParams } from "react-router";
@@ -1,18 +1,18 @@
1
- import { ActionButton } from "@lukoweb/apitogo/ui/ActionButton.js";
1
+ import { ActionButton } from "@mehdad67/apitogo/ui/ActionButton.js";
2
2
  import {
3
3
  Alert,
4
4
  AlertDescription,
5
5
  AlertTitle,
6
- } from "@lukoweb/apitogo/ui/Alert.js";
7
- import { Button, type ButtonProps } from "@lukoweb/apitogo/ui/Button.js";
6
+ } from "@mehdad67/apitogo/ui/Alert.js";
7
+ import { Button, type ButtonProps } from "@mehdad67/apitogo/ui/Button.js";
8
8
  import {
9
9
  CardContent,
10
10
  CardDescription,
11
11
  CardHeader,
12
12
  CardTitle,
13
- } from "@lukoweb/apitogo/ui/Card.js";
14
- import { Input } from "@lukoweb/apitogo/ui/Input.js";
15
- import { Separator } from "@lukoweb/apitogo/ui/Separator.js";
13
+ } from "@mehdad67/apitogo/ui/Card.js";
14
+ import { Input } from "@mehdad67/apitogo/ui/Input.js";
15
+ import { Separator } from "@mehdad67/apitogo/ui/Separator.js";
16
16
  import { useMutation } from "@tanstack/react-query";
17
17
  import React from "react";
18
18
  import { useForm } from "react-hook-form";
@@ -1,4 +1,4 @@
1
- import { DropdownMenuItem } from "@lukoweb/apitogo/ui/DropdownMenu.js";
1
+ import { DropdownMenuItem } from "@mehdad67/apitogo/ui/DropdownMenu.js";
2
2
  import type { ReactNode } from "react";
3
3
  import type {
4
4
  AiAssistantCustom,
@@ -3,8 +3,8 @@ import {
3
3
  CommandInlineInput,
4
4
  CommandItem,
5
5
  CommandList,
6
- } from "@lukoweb/apitogo/ui/Command.js";
7
- import { Popover, PopoverContent } from "@lukoweb/apitogo/ui/Popover.js";
6
+ } from "@mehdad67/apitogo/ui/Command.js";
7
+ import { Popover, PopoverContent } from "@mehdad67/apitogo/ui/Popover.js";
8
8
  import { PopoverAnchor } from "@radix-ui/react-popover";
9
9
  import { useCommandState } from "cmdk";
10
10
  import { type KeyboardEvent, type Ref, useRef, useState } from "react";
@@ -2,7 +2,7 @@ import {
2
2
  Alert,
3
3
  AlertDescription,
4
4
  AlertTitle,
5
- } from "@lukoweb/apitogo/ui/Alert.js";
5
+ } from "@mehdad67/apitogo/ui/Alert.js";
6
6
  import { InfoIcon } from "lucide-react";
7
7
  import { type ReactNode, Suspense, lazy } from "react";
8
8
 
@@ -1,5 +1,5 @@
1
- import { Button } from "@lukoweb/apitogo/ui/Button.js";
2
- import { Skeleton } from "@lukoweb/apitogo/ui/Skeleton.js";
1
+ import { Button } from "@mehdad67/apitogo/ui/Button.js";
2
+ import { Skeleton } from "@mehdad67/apitogo/ui/Skeleton.js";
3
3
  import { LogOutIcon } from "lucide-react";
4
4
  import { lazy, memo, Suspense } from "react";
5
5
  import { Link } from "react-router";
@@ -1,4 +1,4 @@
1
- import { TooltipProvider } from "@lukoweb/apitogo/ui/Tooltip.js";
1
+ import { TooltipProvider } from "@mehdad67/apitogo/ui/Tooltip.js";
2
2
  import type { ReactNode } from "react";
3
3
  import { Suspense } from "react";
4
4
  import { Outlet } from "react-router";
@@ -1,4 +1,4 @@
1
- import { TooltipProvider } from "@lukoweb/apitogo/ui/Tooltip.js";
1
+ import { TooltipProvider } from "@mehdad67/apitogo/ui/Tooltip.js";
2
2
  import { type ReactNode, Suspense, useEffect } from "react";
3
3
  import { Outlet } from "react-router";
4
4
  import { cn } from "../util/cn.js";
@@ -1,4 +1,4 @@
1
- import { Drawer, DrawerTrigger } from "@lukoweb/apitogo/ui/Drawer.js";
1
+ import { Drawer, DrawerTrigger } from "@mehdad67/apitogo/ui/Drawer.js";
2
2
  import { PanelLeftIcon } from "lucide-react";
3
3
  import { type PropsWithChildren, useState } from "react";
4
4
  import { useNavigation } from "react-router";
@@ -2,7 +2,7 @@ import {
2
2
  Alert,
3
3
  AlertDescription,
4
4
  AlertTitle,
5
- } from "@lukoweb/apitogo/ui/Alert.js";
5
+ } from "@mehdad67/apitogo/ui/Alert.js";
6
6
  import { useQuery } from "@tanstack/react-query";
7
7
  import type { MermaidConfig } from "mermaid";
8
8
  import type { ComponentProps } from "react";
@@ -1,6 +1,6 @@
1
- import { Button } from "@lukoweb/apitogo/ui/Button.js";
2
- import { Separator } from "@lukoweb/apitogo/ui/Separator.js";
3
- import { Skeleton } from "@lukoweb/apitogo/ui/Skeleton.js";
1
+ import { Button } from "@mehdad67/apitogo/ui/Button.js";
2
+ import { Separator } from "@mehdad67/apitogo/ui/Separator.js";
3
+ import { Skeleton } from "@mehdad67/apitogo/ui/Skeleton.js";
4
4
  import { VisuallyHidden } from "@radix-ui/react-visually-hidden";
5
5
  import { deepEqual } from "fast-equals";
6
6
  import {
@@ -2,7 +2,7 @@ import {
2
2
  Popover,
3
3
  PopoverContent,
4
4
  PopoverTrigger,
5
- } from "@lukoweb/apitogo/ui/Popover.js";
5
+ } from "@mehdad67/apitogo/ui/Popover.js";
6
6
  import { CheckIcon, ChevronDownIcon } from "lucide-react";
7
7
  import { useState } from "react";
8
8
  import { cn } from "../util/cn.js";
@@ -1,4 +1,4 @@
1
- import { Separator } from "@lukoweb/apitogo/ui/Separator.js";
1
+ import { Separator } from "@mehdad67/apitogo/ui/Separator.js";
2
2
  import { cx } from "class-variance-authority";
3
3
  import { deepEqual } from "fast-equals";
4
4
  import { Suspense } from "react";
@@ -14,7 +14,7 @@ const useApitogoContext = () => {
14
14
 
15
15
  if (!context) {
16
16
  throw new Error(
17
- "useApitogo must be used within an ApitogoProvider (from @lukoweb/apitogo/components).",
17
+ "useApitogo must be used within an ApitogoProvider (from @mehdad67/apitogo/components).",
18
18
  );
19
19
  }
20
20
 
@@ -1,4 +1,4 @@
1
- import { Button } from "@lukoweb/apitogo/ui/Button.js";
1
+ import { Button } from "@mehdad67/apitogo/ui/Button.js";
2
2
  import * as Collapsible from "@radix-ui/react-collapsible";
3
3
  import { deepEqual } from "fast-equals";
4
4
  import { ChevronRightIcon } from "lucide-react";
@@ -3,7 +3,7 @@ import {
3
3
  InputGroupAddon,
4
4
  InputGroupButton,
5
5
  InputGroupInput,
6
- } from "@lukoweb/apitogo/ui/InputGroup.js";
6
+ } from "@mehdad67/apitogo/ui/InputGroup.js";
7
7
  import { SearchIcon, XIcon } from "lucide-react";
8
8
  import { useNavigationFilter } from "./NavigationFilterContext.js";
9
9
 
@@ -1,9 +1,9 @@
1
- import { Separator } from "@lukoweb/apitogo/ui/Separator.js";
1
+ import { Separator } from "@mehdad67/apitogo/ui/Separator.js";
2
2
  import {
3
3
  Tooltip,
4
4
  TooltipContent,
5
5
  TooltipTrigger,
6
- } from "@lukoweb/apitogo/ui/Tooltip.js";
6
+ } from "@mehdad67/apitogo/ui/Tooltip.js";
7
7
  import { ExternalLinkIcon } from "lucide-react";
8
8
  import { Suspense, lazy, useEffect, useRef, useState } from "react";
9
9
  import { NavLink, useLocation } from "react-router";
@@ -1,4 +1,4 @@
1
- import { Button } from "@lukoweb/apitogo/ui/Button.js";
1
+ import { Button } from "@mehdad67/apitogo/ui/Button.js";
2
2
  import {
3
3
  Dialog,
4
4
  DialogContent,
@@ -6,7 +6,7 @@ import {
6
6
  DialogFooter,
7
7
  DialogHeader,
8
8
  DialogTitle,
9
- } from "@lukoweb/apitogo/ui/Dialog.js";
9
+ } from "@mehdad67/apitogo/ui/Dialog.js";
10
10
  import { Helmet } from "@zudoku/react-helmet-async";
11
11
  import { use, useCallback, useEffect, useMemo } from "react";
12
12
  import {