{"_id":"@convex-localfirst/cli","_rev":"5-8019eef690a4abcb97f7b0d031c5d80d","name":"@convex-localfirst/cli","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@convex-localfirst/cli","version":"0.1.0","keywords":["convex","local-first","cli","codegen"],"license":"MIT","_id":"@convex-localfirst/cli@0.1.0","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"bin":{"convex-localfirst":"dist/index.js"},"dist":{"shasum":"22305d21c643488aef927d40dd88dd48c4e7cbaf","tarball":"https://registry.npmjs.org/@convex-localfirst/cli/-/cli-0.1.0.tgz","fileCount":9,"integrity":"sha512-JnT5EhqSzaHQLBkitEs4dN0jPgxXWFOmtheTv2s+eroUS2WQ6jyLcG7oGJDHUKtLT6NPFQatlJSmcpC2zshw9A==","signatures":[{"sig":"MEUCIF/vsMKd7DfuOrG/haCMTkkqEaaSUATj9mUaE5ulYSgVAiEA9Ryrm3sRsxAxd4er3/c3oPV47DDIepqzEweOcLE0q/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39636},"type":"module","_from":"file:convex-localfirst-cli-0.1.0.tgz","scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json --noEmit false --emitDeclarationOnly false","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"fanzzzd","email":"fanzzzd@outlook.com"},"_resolved":"/private/var/folders/2b/3_lqmflj4qx3nl8cf287333r0000gn/T/8b5818f25b647aaa01bab06d843ee732/convex-localfirst-cli-0.1.0.tgz","_integrity":"sha512-JnT5EhqSzaHQLBkitEs4dN0jPgxXWFOmtheTv2s+eroUS2WQ6jyLcG7oGJDHUKtLT6NPFQatlJSmcpC2zshw9A==","_npmVersion":"11.17.0","description":"CLI for convex-localfirst: codegen (client manifest from lf.table), check (catch direct LF-table writes), dev.","directories":{},"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"convex":">=1.0.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.10.0","@convex-localfirst/core":"^0.1.0","@convex-localfirst/server":"^0.1.0"},"peerDependencies":{"typescript":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1782715474761_0.8385194222078367","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved into convex-localfirst (one package). Install convex-localfirst and import convex-localfirst/<subpath> instead."},"0.1.1":{"name":"@convex-localfirst/cli","version":"0.1.1","keywords":["convex","local-first","cli","codegen"],"author":{"name":"Fanzzzd"},"license":"MIT","_id":"@convex-localfirst/cli@0.1.1","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"homepage":"https://github.com/Fanzzzd/convex-localfirst#readme","bugs":{"url":"https://github.com/Fanzzzd/convex-localfirst/issues"},"bin":{"convex-localfirst":"dist/index.js"},"dist":{"shasum":"dfbc5e8231bcee4197fd9e9c832385997fbb6f7c","tarball":"https://registry.npmjs.org/@convex-localfirst/cli/-/cli-0.1.1.tgz","fileCount":11,"integrity":"sha512-qGXGUKsJlG5w4zcTOcOtU67JsOriCzsSxFiC8gB7dbahhmn+M4w63N4wH/2Td0wOwlWDPRS6L86HpxSxdF2B/g==","signatures":[{"sig":"MEUCIQDME/4mgbUXSC/ySn6qeeUoSBnq7ktUswTukptJAOG9ZwIgRwYR0smgDXn4LfeFIwu9EjlWb/VJ4x8ZttLXx9CwLyg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@convex-localfirst%2fcli@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":43061},"type":"module","_from":"file:convex-localfirst-cli-0.1.1.tgz","engines":{"node":">=18"},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json --noEmit false --emitDeclarationOnly false","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"fanzzzd","email":"fanzzzd@outlook.com"},"_resolved":"/tmp/e2467838c95f4249a03735f829bf795b/convex-localfirst-cli-0.1.1.tgz","_integrity":"sha512-qGXGUKsJlG5w4zcTOcOtU67JsOriCzsSxFiC8gB7dbahhmn+M4w63N4wH/2Td0wOwlWDPRS6L86HpxSxdF2B/g==","repository":{"url":"git+https://github.com/Fanzzzd/convex-localfirst.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.8.2","description":"CLI for convex-localfirst: codegen (client manifest from lf.table), check (catch direct LF-table writes), dev.","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"convex":">=1.0.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.10.0","@convex-localfirst/core":"^0.1.1","@convex-localfirst/server":"^0.1.1"},"peerDependencies":{"typescript":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.1_1782748210267_0.7117979196520707","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved into convex-localfirst (one package). Install convex-localfirst and import convex-localfirst/<subpath> instead."},"0.2.0":{"name":"@convex-localfirst/cli","version":"0.2.0","keywords":["convex","local-first","cli"],"author":{"name":"Fanzzzd"},"license":"MIT","_id":"@convex-localfirst/cli@0.2.0","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"homepage":"https://github.com/Fanzzzd/convex-localfirst#readme","bugs":{"url":"https://github.com/Fanzzzd/convex-localfirst/issues"},"bin":{"convex-localfirst":"dist/index.js"},"dist":{"shasum":"c49a4b8120b69345bd45363ce15666b0a6bda5ec","tarball":"https://registry.npmjs.org/@convex-localfirst/cli/-/cli-0.2.0.tgz","fileCount":7,"integrity":"sha512-gLtke3i9GNJ9BqOtj3ykH3qslfmXyClcLivYj/o70vP11FZJPYjWlNM0It1lBJklm9t25SX39J4ngS3MEaBMvQ==","signatures":[{"sig":"MEQCICHwZ8zK0dROhtGSlf8uRdCjSys7jBiJQVT384pJNo+uAiAPSoEKEhH9WF/qxXV7nXc8HlH1dJtXcDqmmghsoaMfHQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@convex-localfirst%2fcli@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23596},"type":"module","_from":"file:convex-localfirst-cli-0.2.0.tgz","engines":{"node":">=18"},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json --noEmit false --emitDeclarationOnly false","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"fanzzzd","email":"fanzzzd@outlook.com"},"_resolved":"/tmp/d54d7189044b921aa7cf0a3ede28267b/convex-localfirst-cli-0.2.0.tgz","_integrity":"sha512-gLtke3i9GNJ9BqOtj3ykH3qslfmXyClcLivYj/o70vP11FZJPYjWlNM0It1lBJklm9t25SX39J4ngS3MEaBMvQ==","repository":{"url":"git+https://github.com/Fanzzzd/convex-localfirst.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.8.2","description":"CLI for convex-localfirst: init (scaffold a local-first starter) and check (catch direct writes to local-first tables).","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"convex":">=1.0.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.10.0","@convex-localfirst/core":"^0.2.0","@convex-localfirst/server":"^0.2.0"},"peerDependencies":{"typescript":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.0_1784389733692_0.4819047016828637","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved into convex-localfirst (one package). Install convex-localfirst and import convex-localfirst/<subpath> instead."},"0.2.1":{"name":"@convex-localfirst/cli","version":"0.2.1","keywords":["convex","local-first","cli"],"author":{"name":"Fanzzzd"},"license":"MIT","_id":"@convex-localfirst/cli@0.2.1","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"homepage":"https://github.com/Fanzzzd/convex-localfirst#readme","bugs":{"url":"https://github.com/Fanzzzd/convex-localfirst/issues"},"bin":{"convex-localfirst":"dist/index.js"},"dist":{"shasum":"2bd9927d56477f146db4f6477d538732ff1e36e1","tarball":"https://registry.npmjs.org/@convex-localfirst/cli/-/cli-0.2.1.tgz","fileCount":7,"integrity":"sha512-FD0SgejmtL1tQMXcvv/kobLmKhV0hKmPs8AqhJ+GGqdmVbwEi7k74LgZVtBIJDCwI86Tcu90HsjnpzJFuSiGfA==","signatures":[{"sig":"MEQCICh58+576hC4TkIYRNI+NyynD/tTwXdyv6KwRha8vr2CAiB9MH8rMrO6i59edtyotTT06xOt4St9mz0XZx+YxJbAhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@convex-localfirst%2fcli@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23596},"type":"module","_from":"file:convex-localfirst-cli-0.2.1.tgz","engines":{"node":">=18"},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json --noEmit false --emitDeclarationOnly false","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:631a7716-9902-4c57-8fc7-19e7fa97739f"}},"_resolved":"/tmp/c5fe25d488c76e33ad39be528b60540e/convex-localfirst-cli-0.2.1.tgz","_integrity":"sha512-FD0SgejmtL1tQMXcvv/kobLmKhV0hKmPs8AqhJ+GGqdmVbwEi7k74LgZVtBIJDCwI86Tcu90HsjnpzJFuSiGfA==","repository":{"url":"git+https://github.com/Fanzzzd/convex-localfirst.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.16.0","description":"CLI for convex-localfirst: init (scaffold a local-first starter) and check (catch direct writes to local-first tables).","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"convex":">=1.0.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.10.0","@convex-localfirst/core":"^0.2.1","@convex-localfirst/server":"^0.2.1"},"peerDependencies":{"typescript":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.1_1784445129450_0.04692600716689532","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved into convex-localfirst (one package). Install convex-localfirst and import convex-localfirst/<subpath> instead."}},"time":{"created":"2026-06-29T06:44:34.594Z","modified":"2026-07-19T08:10:29.843Z","0.1.0":"2026-06-29T06:44:34.890Z","0.1.1":"2026-06-29T15:50:10.426Z","0.2.0":"2026-07-18T15:48:53.838Z","0.2.1":"2026-07-19T07:12:09.601Z"},"bugs":{"url":"https://github.com/Fanzzzd/convex-localfirst/issues"},"author":{"name":"Fanzzzd"},"license":"MIT","homepage":"https://github.com/Fanzzzd/convex-localfirst#readme","keywords":["convex","local-first","cli"],"repository":{"url":"git+https://github.com/Fanzzzd/convex-localfirst.git","type":"git","directory":"packages/cli"},"description":"CLI for convex-localfirst: init (scaffold a local-first starter) and check (catch direct writes to local-first tables).","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"readme":"# @convex-localfirst/cli\n\nCommand-line tooling for convex-localfirst:\n\n- **`codegen`** — derive the client manifest from your `lf.table` DSL.\n- **`check`** — statically catch direct `ctx.db.insert/replace` writes to local-first\n  tables (a security guard; these must go through the generated wrappers).\n- **`dev`** — run the codegen + check pipeline.\n\n```bash\nnpm install -D @convex-localfirst/cli\n# run under a TS loader so it can read your TypeScript Convex modules:\nnode --import tsx node_modules/@convex-localfirst/cli/dist/index.js codegen\n```\n\nPeer dependency: `typescript`. MIT\n","readmeFilename":"README.md"}