@camox/cli 0.15.1 → 0.16.0
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.mjs +79 -18
- package/package.json +8 -9
- package/{template → templates/default}/package.json +1 -1
- package/{template → templates/default}/vite.config.ts +10 -1
- package/template/node_modules/.bin/camox +0 -21
- package/template/node_modules/.bin/intent +0 -21
- package/template/node_modules/.bin/nitro +0 -21
- package/template/node_modules/.bin/oxfmt +0 -21
- package/template/node_modules/.bin/oxlint +0 -21
- package/template/node_modules/.bin/shadcn +0 -21
- package/template/node_modules/.bin/tsgo +0 -21
- package/template/node_modules/.bin/vp +0 -21
- /package/{template → templates/default}/.env.example +0 -0
- /package/{template → templates/default}/components.json +0 -0
- /package/{template → templates/default}/src/camox/blocks/faq.tsx +0 -0
- /package/{template → templates/default}/src/camox/blocks/footer.tsx +0 -0
- /package/{template → templates/default}/src/camox/blocks/hero.tsx +0 -0
- /package/{template → templates/default}/src/camox/blocks/navbar.tsx +0 -0
- /package/{template → templates/default}/src/camox/blocks/statistics.tsx +0 -0
- /package/{template → templates/default}/src/camox/blocks/testimonial.tsx +0 -0
- /package/{template → templates/default}/src/camox/layouts/default.tsx +0 -0
- /package/{template → templates/default}/src/client.tsx +0 -0
- /package/{template → templates/default}/src/components/ui/accordion.tsx +0 -0
- /package/{template → templates/default}/src/components/ui/button.tsx +0 -0
- /package/{template → templates/default}/src/lib/utils.ts +0 -0
- /package/{template → templates/default}/src/router.tsx +0 -0
- /package/{template → templates/default}/src/routes/__root.tsx +0 -0
- /package/{template → templates/default}/src/routes/sitemap[.]xml.ts +0 -0
- /package/{template → templates/default}/src/styles.css +0 -0
- /package/{template → templates/default}/tsconfig.json +0 -0
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { defineProgram } from "@optique/core/program";
|
|
|
6
6
|
import { runSync } from "@optique/run";
|
|
7
7
|
import { multiple, optional } from "@optique/core/modifiers";
|
|
8
8
|
import { command, constant, option } from "@optique/core/primitives";
|
|
9
|
-
import { integer, string } from "@optique/core/valueparser";
|
|
9
|
+
import { choice, integer, string } from "@optique/core/valueparser";
|
|
10
10
|
import { execSync, spawn, spawnSync } from "node:child_process";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import http from "node:http";
|
|
@@ -382,7 +382,11 @@ const parser$6 = command("blocks", or(command("types", object({
|
|
|
382
382
|
type: option("--type", string({ metavar: "TYPE" })),
|
|
383
383
|
content: option("--content", string({ metavar: "JSON" })),
|
|
384
384
|
settings: optional(option("--settings", string({ metavar: "JSON" }))),
|
|
385
|
+
position: optional(option("--position", choice(["first", "last"], { metavar: "WHERE" }))),
|
|
386
|
+
afterId: optional(option("--after-id", integer({ metavar: "ID" }))),
|
|
387
|
+
beforeId: optional(option("--before-id", integer({ metavar: "ID" }))),
|
|
385
388
|
afterPosition: optional(option("--after-position", string({ metavar: "POS" }))),
|
|
389
|
+
beforePosition: optional(option("--before-position", string({ metavar: "POS" }))),
|
|
386
390
|
project: projectFlag$2,
|
|
387
391
|
production: productionFlag$2,
|
|
388
392
|
json: jsonFlag$2
|
|
@@ -397,7 +401,11 @@ const parser$6 = command("blocks", or(command("types", object({
|
|
|
397
401
|
})), command("move", object({
|
|
398
402
|
command: constant("blocks.move"),
|
|
399
403
|
id: option("--id", integer({ metavar: "ID" })),
|
|
404
|
+
position: optional(option("--position", choice(["first", "last"], { metavar: "WHERE" }))),
|
|
405
|
+
afterId: optional(option("--after-id", integer({ metavar: "ID" }))),
|
|
406
|
+
beforeId: optional(option("--before-id", integer({ metavar: "ID" }))),
|
|
400
407
|
afterPosition: optional(option("--after-position", string({ metavar: "POS" }))),
|
|
408
|
+
beforePosition: optional(option("--before-position", string({ metavar: "POS" }))),
|
|
401
409
|
project: projectFlag$2,
|
|
402
410
|
production: productionFlag$2,
|
|
403
411
|
json: jsonFlag$2
|
|
@@ -408,6 +416,32 @@ const parser$6 = command("blocks", or(command("types", object({
|
|
|
408
416
|
production: productionFlag$2,
|
|
409
417
|
json: jsonFlag$2
|
|
410
418
|
}))));
|
|
419
|
+
const POSITIONING_FLAGS = [
|
|
420
|
+
["position", "--position"],
|
|
421
|
+
["afterId", "--after-id"],
|
|
422
|
+
["beforeId", "--before-id"],
|
|
423
|
+
["afterPosition", "--after-position"],
|
|
424
|
+
["beforePosition", "--before-position"]
|
|
425
|
+
];
|
|
426
|
+
/**
|
|
427
|
+
* Both `create` and `move` accept multiple positioning inputs, but only one is
|
|
428
|
+
* meaningful per call. The server will reject conflicts, but we surface the
|
|
429
|
+
* mistake earlier (and with friendlier wording) by checking on the client.
|
|
430
|
+
*/
|
|
431
|
+
function collectPositioningArgs(args) {
|
|
432
|
+
const used = [];
|
|
433
|
+
const toolArgs = {};
|
|
434
|
+
for (const [key, flag] of POSITIONING_FLAGS) {
|
|
435
|
+
const value = args[key];
|
|
436
|
+
if (value === void 0) continue;
|
|
437
|
+
used.push(flag);
|
|
438
|
+
Object.assign(toolArgs, { [key]: value });
|
|
439
|
+
}
|
|
440
|
+
return {
|
|
441
|
+
used,
|
|
442
|
+
toolArgs
|
|
443
|
+
};
|
|
444
|
+
}
|
|
411
445
|
async function handler$6(args) {
|
|
412
446
|
const outputMode = args.json ? "json" : "auto";
|
|
413
447
|
const projectFlag = args.project;
|
|
@@ -431,6 +465,14 @@ async function handler$6(args) {
|
|
|
431
465
|
case "blocks.create": {
|
|
432
466
|
const content = parseJsonFlag("--content", args.content);
|
|
433
467
|
const settings = args.settings !== void 0 ? parseJsonFlag("--settings", args.settings) : void 0;
|
|
468
|
+
const { used, toolArgs } = collectPositioningArgs(args);
|
|
469
|
+
if (used.length > 1) {
|
|
470
|
+
printError({
|
|
471
|
+
code: "INVALID_ARGS",
|
|
472
|
+
message: `Pass at most one positioning flag — got: ${used.join(", ")}.`
|
|
473
|
+
});
|
|
474
|
+
process.exit(2);
|
|
475
|
+
}
|
|
434
476
|
return dispatch({
|
|
435
477
|
toolName: "createBlock",
|
|
436
478
|
args: {
|
|
@@ -438,7 +480,7 @@ async function handler$6(args) {
|
|
|
438
480
|
type: args.type,
|
|
439
481
|
content,
|
|
440
482
|
settings,
|
|
441
|
-
|
|
483
|
+
...toolArgs
|
|
442
484
|
},
|
|
443
485
|
projectFlag,
|
|
444
486
|
production,
|
|
@@ -460,16 +502,33 @@ async function handler$6(args) {
|
|
|
460
502
|
outputMode
|
|
461
503
|
});
|
|
462
504
|
}
|
|
463
|
-
case "blocks.move":
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
505
|
+
case "blocks.move": {
|
|
506
|
+
const { used, toolArgs } = collectPositioningArgs(args);
|
|
507
|
+
if (used.length === 0) {
|
|
508
|
+
printError({
|
|
509
|
+
code: "INVALID_ARGS",
|
|
510
|
+
message: "Pass a positioning flag — one of --position, --after-id, --before-id, --after-position, --before-position. Use `--position last` to move a block to the end of the page."
|
|
511
|
+
});
|
|
512
|
+
process.exit(2);
|
|
513
|
+
}
|
|
514
|
+
if (used.length > 1) {
|
|
515
|
+
printError({
|
|
516
|
+
code: "INVALID_ARGS",
|
|
517
|
+
message: `Pass at most one positioning flag — got: ${used.join(", ")}.`
|
|
518
|
+
});
|
|
519
|
+
process.exit(2);
|
|
520
|
+
}
|
|
521
|
+
return dispatch({
|
|
522
|
+
toolName: "moveBlock",
|
|
523
|
+
args: {
|
|
524
|
+
id: args.id,
|
|
525
|
+
...toolArgs
|
|
526
|
+
},
|
|
527
|
+
projectFlag,
|
|
528
|
+
production,
|
|
529
|
+
outputMode
|
|
530
|
+
});
|
|
531
|
+
}
|
|
473
532
|
case "blocks.delete": return dispatch({
|
|
474
533
|
toolName: "deleteBlock",
|
|
475
534
|
args: { id: args.id },
|
|
@@ -508,7 +567,7 @@ function copyDir(src, dest, replacements) {
|
|
|
508
567
|
for (const entry of fs.readdirSync(src, { withFileTypes: true })) {
|
|
509
568
|
const srcPath = path.join(src, entry.name);
|
|
510
569
|
const destPath = path.join(dest, entry.name);
|
|
511
|
-
if (
|
|
570
|
+
if (fs.statSync(srcPath).isDirectory()) {
|
|
512
571
|
copyDir(srcPath, destPath, replacements);
|
|
513
572
|
continue;
|
|
514
573
|
}
|
|
@@ -653,10 +712,12 @@ async function init() {
|
|
|
653
712
|
const pm = selected;
|
|
654
713
|
const s = p.spinner();
|
|
655
714
|
s.start("Scaffolding project...");
|
|
656
|
-
copyDir(path.resolve(__dirname, "..", "
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
});
|
|
715
|
+
copyDir(path.resolve(__dirname, "..", "templates", "default"), targetDir, { "{{projectName}}": name });
|
|
716
|
+
const viteConfigPath = path.join(targetDir, "vite.config.ts");
|
|
717
|
+
let viteConfig = fs.readFileSync(viteConfigPath, "utf-8");
|
|
718
|
+
viteConfig = viteConfig.replace(/"[^"]*"(,?)[ \t]*\/\/[ \t]*camox-cli:replace-slug.*$/gm, `"${project.slug}"$1`);
|
|
719
|
+
viteConfig = viteConfig.replace(/^[ \t]*\/\/[ \t]*camox-cli:dev-only-start[ \t]*\r?\n[\s\S]*?^[ \t]*\/\/[ \t]*camox-cli:dev-only-end[ \t]*\r?\n/gm, "");
|
|
720
|
+
fs.writeFileSync(viteConfigPath, viteConfig);
|
|
660
721
|
const pkgPath = path.join(targetDir, "package.json");
|
|
661
722
|
const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf-8"));
|
|
662
723
|
pkg.name = project.slug;
|
|
@@ -963,7 +1024,7 @@ switch (result.command) {
|
|
|
963
1024
|
await handler$3();
|
|
964
1025
|
break;
|
|
965
1026
|
case "logout":
|
|
966
|
-
|
|
1027
|
+
handler$2();
|
|
967
1028
|
break;
|
|
968
1029
|
case "status":
|
|
969
1030
|
await handler(result);
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camox/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"bin": {
|
|
5
5
|
"camox": "./dist/index.mjs"
|
|
6
6
|
},
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
|
-
"
|
|
9
|
+
"templates"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"main": "./dist/index.mjs",
|
|
@@ -25,9 +25,8 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "^24.12.2",
|
|
27
27
|
"@typescript/native-preview": "7.0.0-dev.20260412.1",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"@camox/api-contract": "0.15.1"
|
|
28
|
+
"vite-plus": "latest",
|
|
29
|
+
"@camox/api-contract": "0.16.0"
|
|
31
30
|
},
|
|
32
31
|
"nx": {
|
|
33
32
|
"tags": [
|
|
@@ -35,9 +34,9 @@
|
|
|
35
34
|
]
|
|
36
35
|
},
|
|
37
36
|
"scripts": {
|
|
38
|
-
"build": "
|
|
39
|
-
"dev": "
|
|
40
|
-
"lint": "
|
|
41
|
-
"check": "tsgo --noEmit &&
|
|
37
|
+
"build": "node scripts/sync-templates.mjs && vp pack",
|
|
38
|
+
"dev": "node scripts/sync-templates.mjs --watch --build",
|
|
39
|
+
"lint": "vp lint",
|
|
40
|
+
"check": "tsgo --noEmit && vp lint --fix"
|
|
42
41
|
}
|
|
43
42
|
}
|
|
@@ -13,7 +13,16 @@ export default defineConfig({
|
|
|
13
13
|
plugins: [
|
|
14
14
|
tailwindcss(),
|
|
15
15
|
nitro(),
|
|
16
|
-
camox({
|
|
16
|
+
camox({
|
|
17
|
+
projectSlug: "camox-template-default-01", // camox-cli:replace-slug
|
|
18
|
+
syncSecret: env.CAMOX_SYNC_SECRET,
|
|
19
|
+
// camox-cli:dev-only-start
|
|
20
|
+
_internal: {
|
|
21
|
+
authenticationUrl: "http://localhost:3274",
|
|
22
|
+
apiUrl: "http://localhost:8787",
|
|
23
|
+
},
|
|
24
|
+
// camox-cli:dev-only-end
|
|
25
|
+
}),
|
|
17
26
|
tanstackStart(),
|
|
18
27
|
react(),
|
|
19
28
|
babelPlugin({ presets: [reactCompilerPreset()] }),
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../camox/bin/camox.mjs" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../camox/bin/camox.mjs" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/@tanstack+router-plugin@1.167.18_@tanstack+react-router@1.168.18_react-dom@19.2.5_react_f2f9ae7a1065a6f93975c3fa53defc29/node_modules/@tanstack/router-plugin/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/@tanstack+router-plugin@1.167.18_@tanstack+react-router@1.168.18_react-dom@19.2.5_react_f2f9ae7a1065a6f93975c3fa53defc29/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/@tanstack+router-plugin@1.167.18_@tanstack+react-router@1.168.18_react-dom@19.2.5_react_f2f9ae7a1065a6f93975c3fa53defc29/node_modules/@tanstack/router-plugin/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/@tanstack+router-plugin@1.167.18_@tanstack+react-router@1.168.18_react-dom@19.2.5_react_f2f9ae7a1065a6f93975c3fa53defc29/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../@tanstack/router-plugin/bin/intent.js" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../@tanstack/router-plugin/bin/intent.js" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/nitro@3.0.260311-beta_@libsql+client@0.17.2_better-sqlite3@12.8.0_dotenv@17.4.2_drizzle_5fa6c7540198165a12d0aaffa3900f1f/node_modules/nitro/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/nitro@3.0.260311-beta_@libsql+client@0.17.2_better-sqlite3@12.8.0_dotenv@17.4.2_drizzle_5fa6c7540198165a12d0aaffa3900f1f/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/nitro@3.0.260311-beta_@libsql+client@0.17.2_better-sqlite3@12.8.0_dotenv@17.4.2_drizzle_5fa6c7540198165a12d0aaffa3900f1f/node_modules/nitro/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/nitro@3.0.260311-beta_@libsql+client@0.17.2_better-sqlite3@12.8.0_dotenv@17.4.2_drizzle_5fa6c7540198165a12d0aaffa3900f1f/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../nitro/dist/cli/index.mjs" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../nitro/dist/cli/index.mjs" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules/vite-plus/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules/vite-plus/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../vite-plus/bin/oxfmt" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../vite-plus/bin/oxfmt" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules/vite-plus/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules/vite-plus/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../vite-plus/bin/oxlint" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../vite-plus/bin/oxlint" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/shadcn@4.3.1_@types+node@24.12.2_typescript@5.9.2/node_modules/shadcn/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/shadcn@4.3.1_@types+node@24.12.2_typescript@5.9.2/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/shadcn@4.3.1_@types+node@24.12.2_typescript@5.9.2/node_modules/shadcn/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/shadcn@4.3.1_@types+node@24.12.2_typescript@5.9.2/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../shadcn/dist/index.js" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../shadcn/dist/index.js" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260412.1/node_modules/@typescript/native-preview/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260412.1/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260412.1/node_modules/@typescript/native-preview/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/@typescript+native-preview@7.0.0-dev.20260412.1/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../@typescript/native-preview/bin/tsgo.js" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../@typescript/native-preview/bin/tsgo.js" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules/vite-plus/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules/vite-plus/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/vite-plus@0.1.19_@opentelemetry+api@1.9.0_@types+node@24.12.2_esbuild@0.27.4_jiti@2.6.1_33f3463065f7b1de4fbe98a97ee72736/node_modules:/home/runner/work/camox/camox/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../vite-plus/bin/vp" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../vite-plus/bin/vp" "$@"
|
|
21
|
-
fi
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|