@cronvello/sdk 0.1.1 → 0.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cronvello/sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Code-first cron jobs for Cronvello. Define jobs in your code, the SDK syncs them to https://api.cronvello.com and runs them — no dashboard required.",
5
5
  "keywords": [
6
6
  "cron",
@@ -28,11 +28,16 @@
28
28
  },
29
29
  "files": [
30
30
  "dist",
31
- "README.md"
31
+ "README.md",
32
+ "CHANGELOG.md",
33
+ "LICENSE"
32
34
  ],
33
35
  "main": "./dist/index.cjs",
34
36
  "module": "./dist/index.js",
35
37
  "types": "./dist/index.d.ts",
38
+ "bin": {
39
+ "cronvello": "./dist/cli.js"
40
+ },
36
41
  "exports": {
37
42
  ".": {
38
43
  "import": {
@@ -70,12 +75,19 @@
70
75
  "build": "tsup",
71
76
  "dev": "tsup --watch",
72
77
  "typecheck": "tsc --noEmit",
78
+ "test": "vitest run",
79
+ "test:watch": "vitest",
80
+ "test:e2e": "CRONVELLO_E2E=1 vitest run test/e2e",
81
+ "coverage": "vitest run --coverage",
82
+ "check": "npm run typecheck && npm run test && npm run build",
73
83
  "prepublishOnly": "npm run build"
74
84
  },
75
85
  "devDependencies": {
76
86
  "@types/node": "^20.14.0",
87
+ "@vitest/coverage-v8": "^2.1.9",
77
88
  "tsup": "^8.3.0",
78
- "typescript": "^5.5.0"
89
+ "typescript": "^5.5.0",
90
+ "vitest": "^2.1.9"
79
91
  },
80
92
  "publishConfig": {
81
93
  "access": "public"