{"_id":"@apick/cli","_rev":"4-38c2299071742af60e32ba8f349399f6","name":"@apick/cli","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@apick/cli","version":"0.1.0","_id":"@apick/cli@0.1.0","maintainers":[{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"}],"bin":{"apick":"dist/bin.js"},"dist":{"shasum":"a64b373fa31a529fe4c234f35c3cd920465f6c47","tarball":"https://registry.npmjs.org/@apick/cli/-/cli-0.1.0.tgz","fileCount":17,"integrity":"sha512-VbuixpG7h+ceGWB7weN0Zg/dKzcBMu/HZXqjbt0hiRnrD3ryaBelMT/o7Nv0sJHoirqmfDOS7tvl6V/m9OHS6Q==","signatures":[{"sig":"MEUCIQDI+1M+FyMQQz93K+Z5O6dngtF5le7IIpNgpfKEusyQxwIgAqW+b35WE3NMI87HcHrW75EuHW8TkM5V+6OOBeVEDDo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41167},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"0462b3ccb96c6e689feeccf6e01b647343067158","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"},"_npmVersion":"11.3.0","directories":{},"_nodeVersion":"24.2.0","dependencies":{"@apick/core":"0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1772534438061_0.5497426413139246","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Obsolete and no longer maintained — folded into @apick/core (>=0.5.0). Install @apick/core instead: https://www.npmjs.com/package/@apick/core"},"0.2.0":{"name":"@apick/cli","version":"0.2.0","license":"MIT","_id":"@apick/cli@0.2.0","maintainers":[{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"}],"homepage":"https://github.com/vivmagarwal/apickjs/tree/main/packages/cli","bugs":{"url":"https://github.com/vivmagarwal/apickjs/issues"},"bin":{"apick":"dist/bin.js"},"dist":{"shasum":"893dff3297221c81179c8bd8e70b1736109936c6","tarball":"https://registry.npmjs.org/@apick/cli/-/cli-0.2.0.tgz","fileCount":18,"integrity":"sha512-vjkDBUsOd/MbFw+GMvV9Gf/TdzRSMGVitUfXArkNT/EllHiqpYZRmKlCgX7pM+sFQB0t5ZrUQrkWWAmdJ3M5/g==","signatures":[{"sig":"MEUCIQC7trpt++0XJttLGzDO4d4v2bnFj4HhaRUR+656uQmBOgIgUALO4FKoejrc75UinYVlOyoF1HmON/bdar5bFBgx9AQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42865},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"bf75a6bc9eec4eb2c8fca4719744512083d36e24","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"},"repository":{"url":"git+https://github.com/vivmagarwal/apickjs.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.3.0","description":"CLI tool for APICK headless CMS — develop, build, start, migrate","directories":{},"_nodeVersion":"24.2.0","dependencies":{"@apick/core":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.0_1772537724255_0.6103701246171533","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Obsolete and no longer maintained — folded into @apick/core (>=0.5.0). Install @apick/core instead: https://www.npmjs.com/package/@apick/core"},"0.3.0":{"name":"@apick/cli","version":"0.3.0","license":"MIT","_id":"@apick/cli@0.3.0","maintainers":[{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"}],"homepage":"https://github.com/vivmagarwal/apickjs/tree/main/packages/cli","bugs":{"url":"https://github.com/vivmagarwal/apickjs/issues"},"bin":{"apick":"dist/bin.js"},"dist":{"shasum":"325219c9bd33dd1b635eec909fd440e357c3e85f","tarball":"https://registry.npmjs.org/@apick/cli/-/cli-0.3.0.tgz","fileCount":18,"integrity":"sha512-WUtS5h+F4dGfpH5SgxwxscvjGbyilmaXzg4bXhUrc16u6clRCGg4MhuxdAu32Gun3EyqoO2KVytIoY8PSbPNgg==","signatures":[{"sig":"MEYCIQCs8yB9Mr+cC7rVecjQcdu9JoHhWIHN0mHxTGI4LgqvmgIhAMwXvy4N7pawHog7BkysA1CSv3p/NJ7ktNHJEuuxXnzK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43233},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"bf2eb516fd277ad9277b3bdaa4bf67acb208bb91","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"},"repository":{"url":"git+https://github.com/vivmagarwal/apickjs.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.3.0","description":"CLI tool for APICK headless CMS — develop, build, start, migrate","directories":{},"_nodeVersion":"24.2.0","dependencies":{"tsx":"^4.0.0","@apick/core":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.3.0_1772550832829_0.51097154391772","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Obsolete and no longer maintained — folded into @apick/core (>=0.5.0). Install @apick/core instead: https://www.npmjs.com/package/@apick/core"}},"time":{"created":"2026-03-03T10:40:37.967Z","modified":"2026-07-16T07:48:40.174Z","0.1.0":"2026-03-03T10:40:38.218Z","0.2.0":"2026-03-03T11:35:24.450Z","0.3.0":"2026-03-03T15:13:52.963Z"},"bugs":{"url":"https://github.com/vivmagarwal/apickjs/issues"},"license":"MIT","homepage":"https://github.com/vivmagarwal/apickjs/tree/main/packages/cli","repository":{"url":"git+https://github.com/vivmagarwal/apickjs.git","type":"git","directory":"packages/cli"},"description":"CLI tool for APICK headless CMS — develop, build, start, migrate","maintainers":[{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"}],"readme":"# @apick/cli\n\nCommand-line interface for [APICK](https://github.com/vivmagarwal/apickjs) — a pure headless CMS built TypeScript-first.\n\n## Install\n\n```bash\nnpm install @apick/cli\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `apick develop` | Start development server with auto-reload and schema sync |\n| `apick start` | Start production server (`NODE_ENV=production`) |\n| `apick build` | Compile TypeScript for production |\n| `apick migration:run` | Run pending database migrations |\n| `apick migration:rollback` | Roll back the last migration batch |\n| `apick migration:status` | Show migration status |\n| `apick migration:generate <name>` | Generate a new migration file |\n| `apick console` | Interactive REPL with `apick` object |\n| `apick version` | Print APICK version |\n\n## Usage\n\nFrom within an APICK project:\n\n```bash\nnpx apick develop\n```\n\nOr during development from the monorepo:\n\n```bash\nnpx tsx packages/cli/src/bin.ts develop --dir examples/starter\n```\n\n## Related Packages\n\n- [`@apick/core`](https://www.npmjs.com/package/@apick/core) -- Framework kernel (required)\n- [`@apick/types`](https://www.npmjs.com/package/@apick/types) -- Shared TypeScript type definitions\n- [`@apick/utils`](https://www.npmjs.com/package/@apick/utils) -- Error classes, env helpers, utilities\n\n## License\n\n[MIT](https://github.com/vivmagarwal/apickjs/blob/main/LICENSE)\n","readmeFilename":"README.md"}