@supercheck/cli 0.1.0-beta.1

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/index.js ADDED
@@ -0,0 +1,8 @@
1
+ // src/config/define-config.ts
2
+ function defineConfig(config) {
3
+ return config;
4
+ }
5
+ export {
6
+ defineConfig
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/config/define-config.ts"],"sourcesContent":["import type { SupercheckConfig } from './schema.js'\n\n/**\n * Type-safe helper for authoring supercheck.config.ts files.\n * Provides full IntelliSense and compile-time validation.\n *\n * @example\n * ```typescript\n * // supercheck.config.ts\n * import { defineConfig } from '@supercheck/cli'\n *\n * export default defineConfig({\n * schemaVersion: '1.0',\n * project: {\n * organization: 'acme-inc',\n * project: 'web-app',\n * },\n * })\n * ```\n */\nexport function defineConfig(config: SupercheckConfig): SupercheckConfig {\n return config\n}\n"],"mappings":";AAoBO,SAAS,aAAa,QAA4C;AACvE,SAAO;AACT;","names":[]}
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@supercheck/cli",
3
+ "version": "0.1.0-beta.1",
4
+ "description": "Open-source testing, monitoring, and reliability — as code",
5
+ "type": "module",
6
+ "license": "BUSL-1.1",
7
+ "engines": {
8
+ "node": ">=18.0.0"
9
+ },
10
+ "bin": {
11
+ "supercheck": "./dist/bin/supercheck.js"
12
+ },
13
+ "main": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js"
19
+ }
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "README.md"
24
+ ],
25
+ "scripts": {
26
+ "build": "tsup",
27
+ "dev": "tsup --watch",
28
+ "typecheck": "tsc --noEmit",
29
+ "lint": "eslint src/",
30
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
31
+ "test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
32
+ "test:cov": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
33
+ "supercheck": "tsx src/bin/supercheck.ts"
34
+ },
35
+ "dependencies": {
36
+ "cli-table3": "^0.6.5",
37
+ "commander": "^13.1.0",
38
+ "conf": "^13.1.0",
39
+ "deepmerge-ts": "^7.1.5",
40
+ "jiti": "^2.4.2",
41
+ "ora": "^9.3.0",
42
+ "picocolors": "^1.1.1",
43
+ "undici": "^6.21.1",
44
+ "zod": "^3.24.2"
45
+ },
46
+ "devDependencies": {
47
+ "@types/jest": "^30.0.0",
48
+ "@types/node": "^22.13.0",
49
+ "eslint": "^9.19.0",
50
+ "jest": "^30.2.0",
51
+ "ts-jest": "^29.4.6",
52
+ "tsup": "^8.4.0",
53
+ "tsx": "^4.19.2",
54
+ "typescript": "^5.7.3"
55
+ }
56
+ }