@dzhng/crm.cli 0.3.6 → 0.3.7
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.
- package/dist/cli.js +2 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -5471,8 +5471,9 @@ if (process.argv[1]?.endsWith("fuse-daemon.ts")) {
|
|
|
5471
5471
|
}
|
|
5472
5472
|
|
|
5473
5473
|
// src/cli.ts
|
|
5474
|
+
var version = "0.3.7";
|
|
5474
5475
|
var program = new Command;
|
|
5475
|
-
program.name("crm").description("Headless CLI-first CRM").version(
|
|
5476
|
+
program.name("crm").description("Headless CLI-first CRM").version(version);
|
|
5476
5477
|
program.exitOverride();
|
|
5477
5478
|
registerContactCommands(program);
|
|
5478
5479
|
registerCompanyCommands(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzhng/crm.cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Headless CLI-first CRM",
|
|
5
5
|
"author": "David Zhang",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"LICENSE"
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
|
-
"build": "bun build src/cli.ts --outdir dist --target node --format esm --external @libsql/client --external drizzle-orm --external commander --external libphonenumber-js --external normalize-url --external toml --external ulid",
|
|
21
|
+
"build": "bun build src/cli.ts --outdir dist --target node --format esm --define __PKG_VERSION__=\"'$(node -p \"require('./package.json').version\")'\" --external @libsql/client --external drizzle-orm --external commander --external libphonenumber-js --external normalize-url --external toml --external ulid",
|
|
22
22
|
"crm": "bun run src/cli.ts",
|
|
23
23
|
"check-types": "tsc --noEmit",
|
|
24
24
|
"test": "bun test --timeout 30000",
|