claudekit-cli 3.36.0-dev.31 → 3.36.0-dev.33

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/dist/index.js +6 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env bun
2
- // @bun
3
1
  import { createRequire } from "node:module";
4
2
  var __create = Object.create;
5
3
  var __getProtoOf = Object.getPrototypeOf;
@@ -41746,6 +41744,10 @@ class PathResolver {
41746
41744
  if (testHome) {
41747
41745
  return join12(testHome, ".claude");
41748
41746
  }
41747
+ const claudeConfigDir = process.env.CLAUDE_CONFIG_DIR;
41748
+ if (claudeConfigDir) {
41749
+ return claudeConfigDir;
41750
+ }
41749
41751
  return join12(homedir10(), ".claude");
41750
41752
  }
41751
41753
  static getClaudeKitDir() {
@@ -56626,7 +56628,7 @@ var package_default;
56626
56628
  var init_package = __esm(() => {
56627
56629
  package_default = {
56628
56630
  name: "claudekit-cli",
56629
- version: "3.36.0-dev.31",
56631
+ version: "3.36.0-dev.33",
56630
56632
  description: "CLI tool for bootstrapping and updating ClaudeKit projects",
56631
56633
  type: "module",
56632
56634
  repository: {
@@ -56650,7 +56652,7 @@ var init_package = __esm(() => {
56650
56652
  "dashboard:dev": "cd src/ui && bun install --silent && cd ../.. && bun run src/index.ts config ui --dev",
56651
56653
  "ui:build": "cd src/ui && bun install --silent && bun run build",
56652
56654
  "ui:dev": "cd src/ui && bun run dev",
56653
- build: "bun build src/index.ts --outdir dist --target node --external @octokit/rest",
56655
+ build: `bun build src/index.ts --outdir dist --target node --external @octokit/rest && node -e "const fs=require('fs'),f='dist/index.js',c=fs.readFileSync(f,'utf-8');fs.writeFileSync(f,c.replace(/^#!.*\\n\\/\\/ @bun\\n/,''))"`,
56654
56656
  compile: "bun run ui:build && bun run scripts/compile-binary.ts",
56655
56657
  "compile:binary": "bun run ui:build && bun run scripts/compile-binary.ts --outfile bin/ck && cp bin/ck /usr/local/bin/ck && echo '✅ Installed globally: /usr/local/bin/ck'",
56656
56658
  "compile:binaries": "node scripts/build-all-binaries.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudekit-cli",
3
- "version": "3.36.0-dev.31",
3
+ "version": "3.36.0-dev.33",
4
4
  "description": "CLI tool for bootstrapping and updating ClaudeKit projects",
5
5
  "type": "module",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "dashboard:dev": "cd src/ui && bun install --silent && cd ../.. && bun run src/index.ts config ui --dev",
25
25
  "ui:build": "cd src/ui && bun install --silent && bun run build",
26
26
  "ui:dev": "cd src/ui && bun run dev",
27
- "build": "bun build src/index.ts --outdir dist --target node --external @octokit/rest",
27
+ "build": "bun build src/index.ts --outdir dist --target node --external @octokit/rest && node -e \"const fs=require('fs'),f='dist/index.js',c=fs.readFileSync(f,'utf-8');fs.writeFileSync(f,c.replace(/^#!.*\\n\\/\\/ @bun\\n/,''))\"",
28
28
  "compile": "bun run ui:build && bun run scripts/compile-binary.ts",
29
29
  "compile:binary": "bun run ui:build && bun run scripts/compile-binary.ts --outfile bin/ck && cp bin/ck /usr/local/bin/ck && echo '✅ Installed globally: /usr/local/bin/ck'",
30
30
  "compile:binaries": "node scripts/build-all-binaries.js",