@d5render/cli 0.1.69 → 0.1.71

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 (2) hide show
  1. package/bin/d5cli +5 -4
  2. package/package.json +1 -1
package/bin/d5cli CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { argv, env, platform } from "node:process";
3
3
  import { execSync, spawn } from "node:child_process";
4
+ import { createHash } from "node:crypto";
4
5
  import { copyFileSync, existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
5
6
  import { dirname, join } from "node:path";
6
7
  import { fileURLToPath } from "node:url";
7
- import { createHash } from "node:crypto";
8
8
 
9
9
  //#region package.json
10
10
  var name$1 = "@d5render/cli";
11
- var version = "0.1.69";
11
+ var version = "0.1.71";
12
12
 
13
13
  //#endregion
14
14
  //#region packages/env.ts
@@ -147,7 +147,7 @@ function deploySkills(SKILLS_DIR = ".copilot/skills") {
147
147
  if (!HOME) throw new Error("cannot find `USERPROFILE` directory");
148
148
  const dir = join(HOME, `${SKILLS_DIR}/code-review`);
149
149
  mkdirSync(dir, { recursive: true });
150
- console.log("deploy code-review skills...");
150
+ console.log("deploy code-review skills..." + VERSION);
151
151
  const skillRoot = join(RUNTIME_CWD, ".skills/code-review");
152
152
  readdirSync(skillRoot).forEach((file) => copyFileSync(join(skillRoot, file), join(dir, file)));
153
153
  const instructionsRoot = join(RUNTIME_CWD, ".github/instructions");
@@ -328,7 +328,8 @@ async function cli() {
328
328
  "pipe",
329
329
  "pipe"
330
330
  ],
331
- ...platform === "win32" ? { shell: true } : { env: { ...env } }
331
+ shell: true,
332
+ ...platform === "win32" ? {} : { env: { ...env } }
332
333
  });
333
334
  child.stdout.on("data", (chunk) => console.log(String(chunk)));
334
335
  child.stderr.on("data", (chunk) => console.error(String(chunk)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d5render/cli",
3
- "version": "0.1.69",
3
+ "version": "0.1.71",
4
4
  "license": "MIT",
5
5
  "author": "jasirou",
6
6
  "bin": {