{"_id":"@autosergach/archkit","_rev":"3-2a42a1ecd74212c294daa8f95530b7cc","name":"@autosergach/archkit","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@autosergach/archkit","version":"0.1.0","keywords":["scaffold","generator","cli","clean-architecture","typescript","template","ddd","hexagonal"],"author":{"url":"https://github.com/autosergach","name":"Alex Rogov","email":"autosergach@gmail.com"},"license":"MIT","_id":"@autosergach/archkit@0.1.0","maintainers":[{"name":"autosergach","email":"autosergach@gmail.com"}],"homepage":"https://github.com/autosergach/archkit#readme","bugs":{"url":"https://github.com/autosergach/archkit/issues"},"bin":{"archkit":"dist/index.js"},"dist":{"shasum":"a14d96c52b223df2ba8daea19ac9922f0fc7e843","tarball":"https://registry.npmjs.org/@autosergach/archkit/-/archkit-0.1.0.tgz","fileCount":16,"integrity":"sha512-m+K1RmuVNasiuCGzEfzUKIP4v99L0k3wcMU0mRuOBDpbEGj5anNYKZU/GsSIGYMx8QllpfHb9O8PbcnRw4RcEg==","signatures":[{"sig":"MEQCIGXz/VCJKmo1eQxixJkcE3rZHs58qwe/2Afg6Dm1wVGXAiBmpuwuxilpCjGXNl7eZhOlLVKpA6BZ2IVhSI1uBjlc2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23480},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"37689bcea8ed23f2f8d327225710304d5c5fe762","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"pnpm -w build && pnpm -w test && pnpm -w test:e2e"},"_npmUser":{"name":"autosergach","email":"autosergach@gmail.com"},"repository":{"url":"git+https://github.com/autosergach/archkit.git","type":"git"},"_npmVersion":"10.9.0","description":"Clean Architecture project generator for TypeScript","directories":{},"_nodeVersion":"22.10.0","dependencies":{"cac":"^6.7.14","archkit-core":"workspace:*","@inquirer/prompts":"^7"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/archkit_0.1.0_1778531149592_0.1484192478370403","host":"s3://npm-registry-packages-npm-production"},"deprecated":"broken workspace:* dep; use 0.1.1+"},"0.1.1":{"name":"@autosergach/archkit","version":"0.1.1","keywords":["scaffold","generator","cli","clean-architecture","typescript","template","ddd","hexagonal"],"author":{"url":"https://github.com/autosergach","name":"Alex Rogov","email":"autosergach@gmail.com"},"license":"MIT","_id":"@autosergach/archkit@0.1.1","maintainers":[{"name":"autosergach","email":"autosergach@gmail.com"}],"homepage":"https://github.com/autosergach/archkit#readme","bugs":{"url":"https://github.com/autosergach/archkit/issues"},"bin":{"archkit":"dist/index.js"},"dist":{"shasum":"4f4c29619e6276b93db73ca212b24c4f1bd49741","tarball":"https://registry.npmjs.org/@autosergach/archkit/-/archkit-0.1.1.tgz","fileCount":16,"integrity":"sha512-/6mfldt/0e0jo2gI3fIRdNe5BHzTbExyq7Xzcn7Q0cjuBeGn/Xbqz5IP2B4lpP1TUPsp/f2/UOINadi7+NUxiQ==","signatures":[{"sig":"MEUCIG8MeHF3YsVv7orAqnAJ3Z4L4YjeyCXNWfZg9lhSvUemAiEA3Aa2SfpAMf0OfgfHt2TDj5uV3TJNiOwSmy/nEmXTIEs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23507},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"37689bcea8ed23f2f8d327225710304d5c5fe762","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"pnpm -w build && pnpm -w test && pnpm -w test:e2e"},"_npmUser":{"name":"autosergach","email":"autosergach@gmail.com"},"repository":{"url":"git+https://github.com/autosergach/archkit.git","type":"git"},"_npmVersion":"10.9.0","description":"Clean Architecture project generator for TypeScript","directories":{},"_nodeVersion":"22.10.0","dependencies":{"cac":"^6.7.14","@inquirer/prompts":"^7"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"archkit-core":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/archkit_0.1.1_1778531653527_0.13654657064990472","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-05-11T20:25:49.367Z","modified":"2026-05-11T20:39:12.638Z","0.1.0":"2026-05-11T20:25:49.769Z","0.1.1":"2026-05-11T20:34:13.687Z"},"bugs":{"url":"https://github.com/autosergach/archkit/issues"},"author":{"url":"https://github.com/autosergach","name":"Alex Rogov","email":"autosergach@gmail.com"},"license":"MIT","homepage":"https://github.com/autosergach/archkit#readme","keywords":["scaffold","generator","cli","clean-architecture","typescript","template","ddd","hexagonal"],"repository":{"url":"git+https://github.com/autosergach/archkit.git","type":"git"},"description":"Clean Architecture project generator for TypeScript","maintainers":[{"name":"autosergach","email":"autosergach@gmail.com"}],"readme":"# archkit\n\n> Clean Architecture project generator for TypeScript. Scaffold libraries (v0.1) and full-stack apps (v0.2+) with sensible defaults, working tests, and AI-friendly structure.\n\n[![npm](https://img.shields.io/npm/v/@autosergach/archkit.svg)](https://www.npmjs.com/package/@autosergach/archkit)\n[![CI](https://github.com/autosergach/archkit/actions/workflows/ci.yml/badge.svg)](https://github.com/autosergach/archkit/actions/workflows/ci.yml)\n[![license](https://img.shields.io/npm/l/@autosergach/archkit.svg)](LICENSE)\n\n## Quick start\n\n```bash\nnpx @autosergach/archkit create my-lib\ncd my-lib\npnpm install\npnpm test\n```\n\n> **Tip:** install once globally for the short `archkit` command everywhere:\n> ```bash\n> npm install -g @autosergach/archkit\n> archkit create my-lib\n> ```\n\nYou get a TypeScript library with:\n\n- ES2022, NodeNext modules, strict TypeScript\n- `vitest` for tests\n- `eslint` flat config with `typescript-eslint`\n- Clean Architecture skeleton: `domain/`, `application/`, `ports/`\n- A working example use case (`createUser`) with passing tests\n\n## Commands\n\n```bash\narchkit create [project-name]      # scaffold a new project\narchkit create my-lib --dry-run    # preview without writing files\narchkit create my-lib --out ./libs # custom output directory\narchkit --help\narchkit --version\n```\n\n### Options\n\n| Flag                    | Default                     | Description                                 |\n| ----------------------- | --------------------------- | ------------------------------------------- |\n| `--out <dir>`           | `.`                         | Where to create the project directory       |\n| `--package-name <name>` | (project name, kebab-cased) | npm `name` field                            |\n| `--skip-install`        | —                           | Skip the \"run pnpm install?\" prompt         |\n| `--dry-run`             | —                           | Print planned actions without writing files |\n\n## Templates\n\n### `library-clean` (default in v0.1)\n\nTypeScript library with Clean Architecture layout:\n\n```\nmy-lib/\n├── src/\n│   ├── domain/        # entities, value objects, errors\n│   ├── application/   # use cases (depend on ports)\n│   ├── ports/         # interfaces for external dependencies\n│   └── index.ts       # public API barrel\n├── tests/             # vitest unit tests\n├── package.json\n├── tsconfig.json\n├── vitest.config.ts\n└── eslint.config.js\n```\n\n## Roadmap\n\n- ✅ v0.1.0 — `library-clean` template, `archkit create` command, `--dry-run`\n- 🚧 v0.2.0 — NestJS+React fullstack template, `--ai-ready` flag (autogen `CLAUDE.md`, `.claude/settings.json`, `agents.md`)\n- 🚧 v0.3.0 — Plugin system for custom templates\n\n## Contributing\n\nSee [`docs/architecture.md`](docs/architecture.md) for how the codebase is organized.\n\n```bash\ngit clone https://github.com/autosergach/archkit.git\ncd archkit\npnpm install\npnpm -r build\npnpm -r test\npnpm test:e2e\n```\n\n## License\n\nMIT © [Alex Rogov](https://github.com/autosergach)\n","readmeFilename":"README.md"}