@genex-ai/cli-demo 0.97.0-dev.277 → 0.97.0-dev.278
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/index.js +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4641,11 +4641,12 @@ async function detectSurfaceScan(cwd = process.cwd()) {
|
|
|
4641
4641
|
} catch {
|
|
4642
4642
|
return found;
|
|
4643
4643
|
}
|
|
4644
|
-
for (const
|
|
4645
|
-
if (
|
|
4646
|
-
if (!/\.(ts|js|mts|mjs|tsx|jsx)$/.test(
|
|
4647
|
-
const raw = await fs14.readFile(path14.join(srcDir,
|
|
4644
|
+
for (const nativeRel of entries) {
|
|
4645
|
+
if (nativeRel.includes("node_modules")) continue;
|
|
4646
|
+
if (!/\.(ts|js|mts|mjs|tsx|jsx)$/.test(nativeRel)) continue;
|
|
4647
|
+
const raw = await fs14.readFile(path14.join(srcDir, nativeRel), "utf8").catch(() => "");
|
|
4648
4648
|
if (!raw) continue;
|
|
4649
|
+
const rel = nativeRel.split(path14.sep).join("/");
|
|
4649
4650
|
const content = raw.replace(/\/\*[\s\S]*?\*\//g, (m2) => m2.replace(/[^\n]/g, " ")).replace(/(^|[^:])\/\/[^\n]*/gm, (m2, p1) => p1 + " ".repeat(m2.length - p1.length));
|
|
4650
4651
|
const repeatRe = /\.repeat\.set\(\s*(-?\d+(?:\.\d+)?)\s*,\s*(-?\d+(?:\.\d+)?)\s*\)/g;
|
|
4651
4652
|
let m;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genex-ai/cli-demo",
|
|
3
|
-
"version": "0.97.0-dev.
|
|
3
|
+
"version": "0.97.0-dev.278",
|
|
4
4
|
"description": "Set up your project's agent workspace (.claude/.codex/.cursor in the game folder), authorize, create a game project, generate AI assets, and publish (genex CLI).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|