busroot-sdk 0.0.5 → 0.0.7-alpha

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/build/utils.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export declare const formattedDuration: (millis?: number, roundTo?: "millis" | "seconds" | "minutes", isShort?: boolean) => string;
2
2
  export declare function formattedDateTime(input?: string, timezone?: string, includeFromNow?: boolean): string | undefined;
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,GAAI,SAAS,MAAM,EAAE,UAAS,QAAQ,GAAG,SAAS,GAAG,SAAqB,EAAE,UAAS,OAAe,WAsCjI,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,QAAQ,SAAkB,EAAE,cAAc,UAAQ,sBAgBnG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "busroot-sdk",
3
- "version": "0.0.5",
3
+ "version": "0.0.7-alpha",
4
4
  "description": "An SDK for accessing Busroot from output.industries",
5
5
  "homepage": "https://www.output.industries",
6
6
  "main": "./build/index.js",
@@ -9,35 +9,29 @@
9
9
  "scripts": {
10
10
  "example": "ts-node -r dotenv-expand/config ./src/example.ts",
11
11
  "dev": "pnpm run lint && tsc -b --watch",
12
- "build": "pnpm run lint && tsc --build --clean && tsc --build && pnpm run rollup",
12
+ "build": "pnpm run lint && tsc --build --clean && tsc --build",
13
13
  "lint": "eslint 'src/**/*.ts'",
14
- "test": "jest",
15
- "rollup": "rollup -c"
16
- },
14
+ "lint-fix": "eslint 'src/**/*.ts' --fix",
15
+ "test": "jest" },
17
16
  "files": [
18
17
  "build"
19
18
  ],
20
19
  "devDependencies": {
21
20
  "@jest/globals": "^29.7.0",
22
- "@rollup/plugin-commonjs": "^28.0.6",
23
- "@rollup/plugin-json": "^6.1.0",
24
- "@rollup/plugin-node-resolve": "^16.0.1",
25
- "@rollup/plugin-typescript": "^12.1.4",
26
21
  "@types/react": "^18.0.26",
27
- "busroot-common": "workspace:*",
28
- "eslint-config-custom": "workspace:*",
29
- "rollup": "^4.49.0",
22
+ "@types/chroma-js": "^3.1.2",
30
23
  "ts-jest": "^29.4.0",
31
- "tsconfig": "workspace:*",
32
24
  "typescript-eslint": "^8.38.0"
33
25
  },
34
26
  "dependencies": {
27
+ "eslint-config-prettier": "^8.10.0",
28
+ "eslint-plugin-prettier": "5.5.4",
29
+ "chroma": "^0.0.1",
30
+ "chroma-js": "^3.1.2",
35
31
  "jest": "^30.0.4",
36
- "moment": "^2.30.1",
37
- "moment-timezone": "^0.5.40",
32
+ "moment-timezone": "0.6.0",
38
33
  "mqtt": "^5.14.0",
39
34
  "react": "^18.3.1",
40
- "rollup-plugin-dts": "^6.2.3",
41
35
  "ts-node": "^10.9.1",
42
36
  "typescript": "^5.8.3",
43
37
  "zod": "^3.25.1"