@xyd-js/cli 0.1.0-xyd.4 → 0.1.0-xyd.41

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 (105) hide show
  1. package/LICENSE +21 -0
  2. package/dist/build.d.ts +2 -0
  3. package/dist/build.js +5 -0
  4. package/dist/index.js +248 -0
  5. package/package.json +37 -43
  6. package/.cli/dist/index.js +0 -12418
  7. package/.cli/host/.react-router/types/app/+types/root.ts +0 -40
  8. package/.cli/host/app/root.tsx +0 -23
  9. package/.cli/host/app/routes.ts +0 -5
  10. package/.cli/host/node_modules/.vite/deps/@mdx-js_mdx.js +0 -81
  11. package/.cli/host/node_modules/.vite/deps/@mdx-js_mdx.js.map +0 -7
  12. package/.cli/host/node_modules/.vite/deps/@mdx-js_rollup.js +0 -4003
  13. package/.cli/host/node_modules/.vite/deps/@mdx-js_rollup.js.map +0 -7
  14. package/.cli/host/node_modules/.vite/deps/@radix-ui_react-icons.js +0 -7531
  15. package/.cli/host/node_modules/.vite/deps/@radix-ui_react-icons.js.map +0 -7
  16. package/.cli/host/node_modules/.vite/deps/@radix-ui_react-tabs.js +0 -917
  17. package/.cli/host/node_modules/.vite/deps/@radix-ui_react-tabs.js.map +0 -7
  18. package/.cli/host/node_modules/.vite/deps/_metadata.json +0 -157
  19. package/.cli/host/node_modules/.vite/deps/chunk-2TUXWMP5.js +0 -46
  20. package/.cli/host/node_modules/.vite/deps/chunk-2TUXWMP5.js.map +0 -7
  21. package/.cli/host/node_modules/.vite/deps/chunk-A76PLWFF.js +0 -23875
  22. package/.cli/host/node_modules/.vite/deps/chunk-A76PLWFF.js.map +0 -7
  23. package/.cli/host/node_modules/.vite/deps/chunk-B2TCFXA3.js +0 -27
  24. package/.cli/host/node_modules/.vite/deps/chunk-B2TCFXA3.js.map +0 -7
  25. package/.cli/host/node_modules/.vite/deps/chunk-CZACBYAQ.js +0 -3461
  26. package/.cli/host/node_modules/.vite/deps/chunk-CZACBYAQ.js.map +0 -7
  27. package/.cli/host/node_modules/.vite/deps/chunk-DNIFH2K7.js +0 -3461
  28. package/.cli/host/node_modules/.vite/deps/chunk-DNIFH2K7.js.map +0 -7
  29. package/.cli/host/node_modules/.vite/deps/chunk-ERHH4CDL.js +0 -23875
  30. package/.cli/host/node_modules/.vite/deps/chunk-ERHH4CDL.js.map +0 -7
  31. package/.cli/host/node_modules/.vite/deps/chunk-ETJV5QNK.js +0 -27
  32. package/.cli/host/node_modules/.vite/deps/chunk-ETJV5QNK.js.map +0 -7
  33. package/.cli/host/node_modules/.vite/deps/chunk-GPEJJ3KZ.js +0 -1906
  34. package/.cli/host/node_modules/.vite/deps/chunk-GPEJJ3KZ.js.map +0 -7
  35. package/.cli/host/node_modules/.vite/deps/chunk-IVP26VTC.js +0 -21
  36. package/.cli/host/node_modules/.vite/deps/chunk-IVP26VTC.js.map +0 -7
  37. package/.cli/host/node_modules/.vite/deps/chunk-MJUUSK53.js +0 -894
  38. package/.cli/host/node_modules/.vite/deps/chunk-MJUUSK53.js.map +0 -7
  39. package/.cli/host/node_modules/.vite/deps/chunk-NHN7DW4J.js +0 -928
  40. package/.cli/host/node_modules/.vite/deps/chunk-NHN7DW4J.js.map +0 -7
  41. package/.cli/host/node_modules/.vite/deps/chunk-NSHFRFAV.js +0 -894
  42. package/.cli/host/node_modules/.vite/deps/chunk-NSHFRFAV.js.map +0 -7
  43. package/.cli/host/node_modules/.vite/deps/chunk-O6QCC74R.js +0 -205
  44. package/.cli/host/node_modules/.vite/deps/chunk-O6QCC74R.js.map +0 -7
  45. package/.cli/host/node_modules/.vite/deps/chunk-OO6QDGMA.js +0 -10609
  46. package/.cli/host/node_modules/.vite/deps/chunk-OO6QDGMA.js.map +0 -7
  47. package/.cli/host/node_modules/.vite/deps/chunk-OUN4SSIE.js +0 -205
  48. package/.cli/host/node_modules/.vite/deps/chunk-OUN4SSIE.js.map +0 -7
  49. package/.cli/host/node_modules/.vite/deps/chunk-SBIFJFEH.js +0 -894
  50. package/.cli/host/node_modules/.vite/deps/chunk-SBIFJFEH.js.map +0 -7
  51. package/.cli/host/node_modules/.vite/deps/chunk-SURLKOJ2.js +0 -12
  52. package/.cli/host/node_modules/.vite/deps/chunk-SURLKOJ2.js.map +0 -7
  53. package/.cli/host/node_modules/.vite/deps/chunk-TKNG6GUJ.js +0 -894
  54. package/.cli/host/node_modules/.vite/deps/chunk-TKNG6GUJ.js.map +0 -7
  55. package/.cli/host/node_modules/.vite/deps/chunk-TM4FKLNO.js +0 -21628
  56. package/.cli/host/node_modules/.vite/deps/chunk-TM4FKLNO.js.map +0 -7
  57. package/.cli/host/node_modules/.vite/deps/chunk-V2IF7L2E.js +0 -12
  58. package/.cli/host/node_modules/.vite/deps/chunk-V2IF7L2E.js.map +0 -7
  59. package/.cli/host/node_modules/.vite/deps/chunk-VENRSTQF.js +0 -21628
  60. package/.cli/host/node_modules/.vite/deps/chunk-VENRSTQF.js.map +0 -7
  61. package/.cli/host/node_modules/.vite/deps/chunk-XCGROZNW.js +0 -10609
  62. package/.cli/host/node_modules/.vite/deps/chunk-XCGROZNW.js.map +0 -7
  63. package/.cli/host/node_modules/.vite/deps/chunk-ZFDQJWTH.js +0 -928
  64. package/.cli/host/node_modules/.vite/deps/chunk-ZFDQJWTH.js.map +0 -7
  65. package/.cli/host/node_modules/.vite/deps/chunk-ZFOARUJI.js +0 -1906
  66. package/.cli/host/node_modules/.vite/deps/chunk-ZFOARUJI.js.map +0 -7
  67. package/.cli/host/node_modules/.vite/deps/gray-matter.js +0 -3492
  68. package/.cli/host/node_modules/.vite/deps/gray-matter.js.map +0 -7
  69. package/.cli/host/node_modules/.vite/deps/lucide-react.js +0 -34742
  70. package/.cli/host/node_modules/.vite/deps/lucide-react.js.map +0 -7
  71. package/.cli/host/node_modules/.vite/deps/package.json +0 -3
  72. package/.cli/host/node_modules/.vite/deps/react-dom.js +0 -7
  73. package/.cli/host/node_modules/.vite/deps/react-dom.js.map +0 -7
  74. package/.cli/host/node_modules/.vite/deps/react-dom_client.js +0 -39
  75. package/.cli/host/node_modules/.vite/deps/react-dom_client.js.map +0 -7
  76. package/.cli/host/node_modules/.vite/deps/react-router.js +0 -243
  77. package/.cli/host/node_modules/.vite/deps/react-router.js.map +0 -7
  78. package/.cli/host/node_modules/.vite/deps/react-router_dom.js +0 -212
  79. package/.cli/host/node_modules/.vite/deps/react-router_dom.js.map +0 -7
  80. package/.cli/host/node_modules/.vite/deps/react.js +0 -6
  81. package/.cli/host/node_modules/.vite/deps/react.js.map +0 -7
  82. package/.cli/host/node_modules/.vite/deps/react_jsx-dev-runtime.js +0 -913
  83. package/.cli/host/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +0 -7
  84. package/.cli/host/node_modules/.vite/deps/react_jsx-runtime.js +0 -7
  85. package/.cli/host/node_modules/.vite/deps/react_jsx-runtime.js.map +0 -7
  86. package/.cli/host/node_modules/.vite/deps/remark-frontmatter.js +0 -428
  87. package/.cli/host/node_modules/.vite/deps/remark-frontmatter.js.map +0 -7
  88. package/.cli/host/node_modules/.vite/deps/remark-gfm.js +0 -3122
  89. package/.cli/host/node_modules/.vite/deps/remark-gfm.js.map +0 -7
  90. package/.cli/host/node_modules/.vite/deps/remark-mdx-frontmatter.js +0 -10482
  91. package/.cli/host/node_modules/.vite/deps/remark-mdx-frontmatter.js.map +0 -7
  92. package/.cli/host/node_modules/.vite/deps/unist-util-visit.js +0 -14
  93. package/.cli/host/node_modules/.vite/deps/unist-util-visit.js.map +0 -7
  94. package/.cli/host/node_modules/.vite/deps/vfile.js +0 -8
  95. package/.cli/host/node_modules/.vite/deps/vfile.js.map +0 -7
  96. package/.cli/host/package.json +0 -43
  97. package/.cli/host/postcss.config.cjs +0 -5
  98. package/.cli/host/react-router.config.ts +0 -8
  99. package/.cli/host/tsconfig.json +0 -22
  100. package/.cli/host/vite.config.ts +0 -9
  101. package/.cli/plugins/xyd-plugin-zero/src/pages/api-reference.tsx +0 -406
  102. package/.cli/plugins/xyd-plugin-zero/src/pages/docs.tsx +0 -166
  103. package/.cli/plugins/xyd-plugin-zero/src/pages/root.tsx +0 -37
  104. package/bin.js +0 -3
  105. /package/{.cli/dist → dist}/index.d.ts +0 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 xyd
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/dist/build.js ADDED
@@ -0,0 +1,5 @@
1
+ // build.ts
2
+ import * as documan from "@xyd-js/documan";
3
+ (async () => {
4
+ await documan.build();
5
+ })();
package/dist/index.js ADDED
@@ -0,0 +1,248 @@
1
+ #!/usr/bin/env node
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __commonJS = (cb, mod) => function __require() {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+
28
+ // ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
29
+ var require_picocolors = __commonJS({
30
+ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports, module) {
31
+ "use strict";
32
+ var p = process || {};
33
+ var argv = p.argv || [];
34
+ var env = p.env || {};
35
+ var isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
36
+ var formatter = (open, close, replace = open) => (input) => {
37
+ let string = "" + input, index = string.indexOf(close, open.length);
38
+ return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
39
+ };
40
+ var replaceClose = (string, close, replace, index) => {
41
+ let result = "", cursor = 0;
42
+ do {
43
+ result += string.substring(cursor, index) + replace;
44
+ cursor = index + close.length;
45
+ index = string.indexOf(close, cursor);
46
+ } while (~index);
47
+ return result + string.substring(cursor);
48
+ };
49
+ var createColors = (enabled = isColorSupported) => {
50
+ let f = enabled ? formatter : () => String;
51
+ return {
52
+ isColorSupported: enabled,
53
+ reset: f("\x1B[0m", "\x1B[0m"),
54
+ bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
55
+ dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
56
+ italic: f("\x1B[3m", "\x1B[23m"),
57
+ underline: f("\x1B[4m", "\x1B[24m"),
58
+ inverse: f("\x1B[7m", "\x1B[27m"),
59
+ hidden: f("\x1B[8m", "\x1B[28m"),
60
+ strikethrough: f("\x1B[9m", "\x1B[29m"),
61
+ black: f("\x1B[30m", "\x1B[39m"),
62
+ red: f("\x1B[31m", "\x1B[39m"),
63
+ green: f("\x1B[32m", "\x1B[39m"),
64
+ yellow: f("\x1B[33m", "\x1B[39m"),
65
+ blue: f("\x1B[34m", "\x1B[39m"),
66
+ magenta: f("\x1B[35m", "\x1B[39m"),
67
+ cyan: f("\x1B[36m", "\x1B[39m"),
68
+ white: f("\x1B[37m", "\x1B[39m"),
69
+ gray: f("\x1B[90m", "\x1B[39m"),
70
+ bgBlack: f("\x1B[40m", "\x1B[49m"),
71
+ bgRed: f("\x1B[41m", "\x1B[49m"),
72
+ bgGreen: f("\x1B[42m", "\x1B[49m"),
73
+ bgYellow: f("\x1B[43m", "\x1B[49m"),
74
+ bgBlue: f("\x1B[44m", "\x1B[49m"),
75
+ bgMagenta: f("\x1B[45m", "\x1B[49m"),
76
+ bgCyan: f("\x1B[46m", "\x1B[49m"),
77
+ bgWhite: f("\x1B[47m", "\x1B[49m"),
78
+ blackBright: f("\x1B[90m", "\x1B[39m"),
79
+ redBright: f("\x1B[91m", "\x1B[39m"),
80
+ greenBright: f("\x1B[92m", "\x1B[39m"),
81
+ yellowBright: f("\x1B[93m", "\x1B[39m"),
82
+ blueBright: f("\x1B[94m", "\x1B[39m"),
83
+ magentaBright: f("\x1B[95m", "\x1B[39m"),
84
+ cyanBright: f("\x1B[96m", "\x1B[39m"),
85
+ whiteBright: f("\x1B[97m", "\x1B[39m"),
86
+ bgBlackBright: f("\x1B[100m", "\x1B[49m"),
87
+ bgRedBright: f("\x1B[101m", "\x1B[49m"),
88
+ bgGreenBright: f("\x1B[102m", "\x1B[49m"),
89
+ bgYellowBright: f("\x1B[103m", "\x1B[49m"),
90
+ bgBlueBright: f("\x1B[104m", "\x1B[49m"),
91
+ bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
92
+ bgCyanBright: f("\x1B[106m", "\x1B[49m"),
93
+ bgWhiteBright: f("\x1B[107m", "\x1B[49m")
94
+ };
95
+ };
96
+ module.exports = createColors();
97
+ module.exports.createColors = createColors;
98
+ }
99
+ });
100
+
101
+ // src/run.ts
102
+ var import_picocolors = __toESM(require_picocolors(), 1);
103
+ import arg from "arg";
104
+ import semver from "semver";
105
+
106
+ // package.json
107
+ var version = "0.1.0-xyd.40";
108
+
109
+ // src/commands.ts
110
+ import { spawn } from "child_process";
111
+ import { fileURLToPath } from "url";
112
+ import { dirname, join } from "path";
113
+ import * as documan from "@xyd-js/documan";
114
+ async function build(root, options = {}) {
115
+ const __filename = fileURLToPath(import.meta.url);
116
+ const __dirname = dirname(__filename);
117
+ const buildScript = join(__dirname, "..", "dist", "build.js");
118
+ return new Promise((resolve, reject) => {
119
+ const args = process.argv.slice(2);
120
+ const child = spawn("node", [buildScript, ...args], {
121
+ stdio: "inherit",
122
+ // This will show output in stdout
123
+ shell: true,
124
+ env: {
125
+ NODE_ENV: "production",
126
+ ...process.env
127
+ // Pass through all existing environment variables
128
+ }
129
+ });
130
+ child.on("close", (code) => {
131
+ if (code === 0) {
132
+ resolve(void 0);
133
+ } else {
134
+ reject(new Error(`Build process exited with code ${code}`));
135
+ }
136
+ });
137
+ child.on("error", (err) => {
138
+ reject(err);
139
+ });
140
+ });
141
+ }
142
+ async function dev2(root, options = {}) {
143
+ await documan.dev(options);
144
+ await new Promise(() => {
145
+ });
146
+ }
147
+ async function install2(root, options = {}) {
148
+ await documan.install();
149
+ }
150
+
151
+ // src/run.ts
152
+ var helpText = `
153
+ ${import_picocolors.default.blueBright("xyd")}
154
+
155
+ ${import_picocolors.default.underline("Usage")}:
156
+ $ xyd build [${import_picocolors.default.yellowBright("projectDir")}]
157
+ $ xyd start [${import_picocolors.default.yellowBright("projectDir")}]
158
+ $ xyd dev [${import_picocolors.default.yellowBright("projectDir")}]
159
+
160
+ ${import_picocolors.default.underline("Options")}:
161
+ --help, -h Print this help message and exit
162
+ --version, -v Print the CLI version and exit
163
+ --verbose Show debug messages
164
+
165
+ ${import_picocolors.default.underline("Build your project")}:
166
+
167
+ $ xyd build
168
+
169
+ ${import_picocolors.default.underline("Install the xyd framework")}:
170
+
171
+ $ xyd install
172
+
173
+ ${import_picocolors.default.underline("Run your project locally in development")}:
174
+
175
+ $ xyd dev
176
+ `;
177
+ async function run(argv = process.argv.slice(2)) {
178
+ process.env.XYD_CLI = "true";
179
+ const versions = process.versions;
180
+ const MINIMUM_NODE_VERSION = 22;
181
+ if (versions && versions.node && semver.major(versions.node) < MINIMUM_NODE_VERSION) {
182
+ console.warn(
183
+ `\uFE0F\u26A0\uFE0F Oops, Node v${versions.node} detected. xyd requires a Node version greater than ${MINIMUM_NODE_VERSION}.`
184
+ );
185
+ }
186
+ let args = arg(
187
+ {
188
+ "--help": Boolean,
189
+ "-h": "--help",
190
+ "--version": Boolean,
191
+ "-v": "--version",
192
+ "--port": Number,
193
+ "-p": "--port",
194
+ "--logLevel": String,
195
+ "-l": "--logLevel",
196
+ "--verbose": Boolean,
197
+ "--debug": Boolean
198
+ },
199
+ {
200
+ argv
201
+ }
202
+ );
203
+ if (args["--verbose"]) {
204
+ process.env.XYD_VERBOSE = "true";
205
+ } else {
206
+ console.debug = () => {
207
+ };
208
+ }
209
+ let input = args._;
210
+ let flags = Object.entries(args).reduce((acc, [key, value]) => {
211
+ key = key.replace(/^--/, "");
212
+ acc[key] = value;
213
+ return acc;
214
+ }, {});
215
+ if (flags.help) {
216
+ console.log(helpText);
217
+ return;
218
+ }
219
+ if (flags.version) {
220
+ console.log(version);
221
+ return;
222
+ }
223
+ let command = input[0];
224
+ switch (command) {
225
+ case "build":
226
+ await build(input[1], flags);
227
+ break;
228
+ case "install":
229
+ await install2(input[1], flags);
230
+ break;
231
+ case "dev":
232
+ await dev2(input[1], flags);
233
+ break;
234
+ default:
235
+ await dev2(input[0], flags);
236
+ }
237
+ }
238
+
239
+ // index.ts
240
+ run().then(
241
+ () => {
242
+ process.exit(0);
243
+ },
244
+ (error) => {
245
+ if (error) console.error(error);
246
+ process.exit(1);
247
+ }
248
+ );
package/package.json CHANGED
@@ -1,74 +1,68 @@
1
1
  {
2
2
  "name": "@xyd-js/cli",
3
- "version": "0.1.0-xyd.4",
3
+ "version": "0.1.0-xyd.41",
4
4
  "keywords": [],
5
5
  "author": "",
6
6
  "description": "",
7
7
  "type": "module",
8
- "main": "./.cli/dist/index.js",
8
+ "main": "dist/index.js",
9
9
  "bin": {
10
- "xyd": "bin.js"
10
+ "xyd": "dist/index.js"
11
11
  },
12
12
  "files": [
13
- ".cli/",
14
- "bin.js",
15
- "README.md"
13
+ "dist",
14
+ "package.json"
16
15
  ],
17
16
  "dependencies": {
18
- "@xyd-js/react-router-dev": "7.1.1-xyd.3",
19
- "arg": "^5.0.2",
20
- "colors": "^1.4.0",
21
- "semver": "^7.6.3",
22
- "codehike": "^1.0.3",
23
- "express": "^4.21.1",
24
- "isbot": "^5.1.17",
25
- "react": "^18.3.1",
26
- "react-dom": "^18.3.1",
27
- "react-router": "^7.1.1",
28
- "remark-frontmatter": "^5.0.0",
29
- "remark-gfm": "^4.0.0",
30
- "remark-mdx-frontmatter": "^5.0.0",
31
- "typescript": "^5.6.3",
32
- "vfile": "^6.0.3",
33
- "yaml": "^2.6.0",
34
17
  "@graphql-markdown/core": "^1.12.0",
35
18
  "@graphql-markdown/graphql": "^1.1.4",
36
19
  "@graphql-markdown/types": "^1.4.0",
20
+ "@react-router/dev": "^7.5.0",
21
+ "@react-router/node": "^7.5.0",
22
+ "@react-router/serve": "^7.5.0",
23
+ "@readme/oas-to-snippet": "^26.0.1",
24
+ "arg": "^5.0.2",
25
+ "codehike": "^1.0.3",
26
+ "colors": "^1.4.0",
27
+ "compression": "^1.7.5",
28
+ "express": "^4.21.1",
29
+ "get-port": "^7.1.0",
37
30
  "graphql-config": "^5.1.2",
38
31
  "gray-matter": "^4.0.3",
39
- "json-to-graphql-query": "^2.3.0",
40
- "remark": "^15.0.1",
41
- "remark-stringify": "^11.0.0",
42
- "unist-builder": "^4.0.0",
43
- "unist-util-visit": "^5.0.0",
44
- "@readme/oas-to-snippet": "^26.0.1",
32
+ "isbot": "^5.1.17",
45
33
  "js-yaml": "^4.1.0",
46
34
  "json-schema-ref-parser": "^9.0.9",
35
+ "json-to-graphql-query": "^2.3.0",
36
+ "lightningcss": "^1.27.0",
37
+ "morgan": "^1.10.0",
47
38
  "oas": "^25.0.3",
48
39
  "openapi-sampler": "^1.5.1",
49
40
  "openapi-types": "^12.1.3",
50
- "@react-router/node": "^7.1.1",
51
- "@react-router/serve": "^7.1.1",
52
- "@react-router/dev": "^7.1.1",
53
- "compression": "^1.7.5",
54
- "get-port": "^7.1.0",
55
- "lightningcss": "^1.27.0",
56
- "morgan": "^1.10.0",
41
+ "react": "^19.0.0",
42
+ "react-dom": "^19.0.0",
43
+ "react-router": "^7.5.0",
44
+ "remark": "^15.0.1",
45
+ "remark-frontmatter": "^5.0.0",
46
+ "remark-gfm": "^4.0.0",
47
+ "remark-mdx-frontmatter": "^5.0.0",
48
+ "remark-stringify": "^11.0.0",
49
+ "semver": "^7.6.3",
57
50
  "source-map-support": "^0.5.21",
51
+ "typescript": "^5.6.3",
52
+ "unist-builder": "^4.0.0",
53
+ "unist-util-visit": "^5.0.0",
54
+ "vfile": "^6.0.3",
58
55
  "vite-tsconfig-paths": "^5.1.4",
59
- "@xyd-js/content": "0.1.0-xyd.3",
60
- "@xyd-js/components": "0.1.0-xyd.0",
61
- "@xyd-js/documan": "0.1.0-xyd.2",
62
- "@xyd-js/atlas": "0.1.0-xyd.4",
63
- "@xyd-js/theme-poetry": "0.1.0-xyd.2",
64
- "@xyd-js/framework": "0.1.0-xyd.3"
56
+ "yaml": "^2.6.0",
57
+ "@xyd-js/host": "0.1.0-xyd.3",
58
+ "@xyd-js/documan": "0.1.0-xyd.33"
65
59
  },
66
60
  "devDependencies": {
67
61
  "arg": "^5.0.2",
68
62
  "colors": "^1.4.0",
69
63
  "semver": "^7.6.3",
70
- "vite-tsconfig-paths": "^5.1.4",
71
- "@xyd-js/documan": "0.1.0-xyd.2"
64
+ "tsup": "^8.3.0",
65
+ "vite-tsconfig-paths": "^5.1.4"
72
66
  },
73
67
  "scripts": {
74
68
  "build": "tsup"