@ncukondo/gcal-cli 0.1.3 → 0.1.4

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 (2) hide show
  1. package/dist/index.js +55 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -587715,6 +587715,60 @@ var ERROR_CODE_EXIT_MAP = {
587715
587715
  function errorCodeToExitCode(code) {
587716
587716
  return ERROR_CODE_EXIT_MAP[code];
587717
587717
  }
587718
+ // package.json
587719
+ var package_default = {
587720
+ name: "@ncukondo/gcal-cli",
587721
+ version: "0.1.4",
587722
+ type: "module",
587723
+ exports: {
587724
+ ".": "./dist/index.js"
587725
+ },
587726
+ bin: {
587727
+ gcal: "./dist/index.js"
587728
+ },
587729
+ files: [
587730
+ "dist"
587731
+ ],
587732
+ repository: {
587733
+ type: "git",
587734
+ url: "https://github.com/ncukondo/gcal-cli"
587735
+ },
587736
+ publishConfig: {
587737
+ access: "public"
587738
+ },
587739
+ scripts: {
587740
+ dev: "bun run src/index.ts",
587741
+ build: "bun build src/index.ts --outdir dist --target node",
587742
+ "build:bin": "bun build src/index.ts --compile --outfile gcal",
587743
+ test: "vitest",
587744
+ "test:unit": "vitest run src",
587745
+ "test:integration": "vitest run tests/integration",
587746
+ "test:e2e": "vitest run tests/e2e",
587747
+ "test:all": "vitest run",
587748
+ lint: "oxlint src tests",
587749
+ format: "oxfmt src tests",
587750
+ "format:check": "oxfmt --check src tests",
587751
+ typecheck: "tsc --noEmit",
587752
+ prepare: "husky || true",
587753
+ prepublishOnly: "bun run build"
587754
+ },
587755
+ dependencies: {
587756
+ commander: "^12.0.0",
587757
+ "date-fns": "^3.0.0",
587758
+ "date-fns-tz": "^3.0.0",
587759
+ googleapis: "^130.0.0",
587760
+ "smol-toml": "^1.0.0",
587761
+ zod: "^4.0.0-beta"
587762
+ },
587763
+ devDependencies: {
587764
+ "@types/bun": "latest",
587765
+ typescript: "^5.0.0",
587766
+ vitest: "^2.0.0",
587767
+ oxlint: "latest",
587768
+ oxfmt: "latest",
587769
+ husky: "^9.1.7"
587770
+ }
587771
+ };
587718
587772
 
587719
587773
  // src/cli.ts
587720
587774
  var FormatSchema = _enum(["text", "json"]);
@@ -587723,7 +587777,7 @@ function collect(value, previous) {
587723
587777
  }
587724
587778
  function createProgram() {
587725
587779
  const program2 = new Command;
587726
- program2.name("gcal").description("CLI tool for managing Google Calendar events").version("0.1.0").option("-f, --format <format>", "Output format: text | json", "text").option("-c, --calendar <id>", "Target calendar ID (repeatable)", collect, []).option("-q, --quiet", "Minimal output", false).option("--tz, --timezone <zone>", "Timezone (e.g., Asia/Tokyo)");
587780
+ program2.name("gcal").description("CLI tool for managing Google Calendar events").version(package_default.version).option("-f, --format <format>", "Output format: text | json", "text").option("-c, --calendar <id>", "Target calendar ID (repeatable)", collect, []).option("-q, --quiet", "Minimal output", false).option("--tz, --timezone <zone>", "Timezone (e.g., Asia/Tokyo)");
587727
587781
  program2.on("command:*", (operands) => {
587728
587782
  process.stderr.write(`error: unknown command '${operands[0]}'
587729
587783
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ncukondo/gcal-cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"