swixter 0.1.0 → 0.1.2

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 (3) hide show
  1. package/README.md +247 -351
  2. package/dist/cli/index.js +1389 -248
  3. package/package.json +5 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swixter",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "CLI tool for managing AI coding assistant configurations - easily switch between providers (Claude Code, Codex, Continue) with Anthropic, Ollama, or custom APIs",
5
5
  "main": "dist/cli/index.js",
6
6
  "module": "dist/cli/index.js",
@@ -14,13 +14,12 @@
14
14
  "LICENSE"
15
15
  ],
16
16
  "scripts": {
17
- "build": "bun build src/cli/index.ts --outdir dist/cli --target bun --standalone",
18
- "build:ui": "cd ui && npm install && npm run build && mkdir -p ../dist/ui && cp -r dist/* ../dist/ui/",
19
- "build:all": "npm run build:ui && npm run build",
20
- "prepublishOnly": "bun run build:all && bun test",
17
+ "build": "bun run build:ui && bun build src/cli/index.ts --outdir dist/cli --target bun --standalone",
18
+ "build:ui": "cd ui && bun install && bun run build && node -e \"require('fs').mkdirSync('../dist/ui',{recursive:true});require('fs').cpSync('dist','../dist/ui',{recursive:true})\"",
19
+ "build:cli": "bun build src/cli/index.ts --outdir dist/cli --target bun --standalone",
21
20
  "cli": "bun src/cli/index.ts",
22
21
  "cli:dev": "bun --hot src/cli/index.ts",
23
- "ui:dev": "cd ui && npm run dev",
22
+ "ui:dev": "cd ui && bun run dev",
24
23
  "test": "bun test",
25
24
  "test:e2e": "bash test/e2e-docker.sh",
26
25
  "preversion": "bun test",