@flux-control/effect-modbus-rs 0.1.0 → 0.2.0

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,59 +1,58 @@
1
1
  {
2
2
  "name": "@flux-control/effect-modbus-rs",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Type-safe Modbus communication via Effect-TS, wrapping the modbus-rs npm bindings.",
5
5
  "license": "GPL-3.0",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/flux-control-solutions/Effect-modbus-rs.git"
8
+ "url": "git+https://github.com/flux-control-solutions/Effect-modbus-rs.git"
9
9
  },
10
- "type": "module",
11
10
  "files": [
12
11
  "dist/**/*.js",
13
12
  "dist/**/*.d.ts"
14
13
  ],
15
- "publishConfig": {
16
- "access": "public",
17
- "provenance": true,
18
- "exports": {
19
- "./package.json": "./package.json",
20
- ".": {
21
- "types": "./dist/index.d.ts",
22
- "default": "./dist/index.js"
23
- }
24
- }
25
- },
14
+ "type": "module",
26
15
  "exports": {
27
16
  "./package.json": "./package.json",
28
17
  ".": {
29
- "types": "./index.ts",
30
- "default": "./index.ts"
18
+ "types": "./dist/index.d.ts",
19
+ "default": "./dist/index.js"
31
20
  }
32
21
  },
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
33
25
  "scripts": {
26
+ "build": "rm -rf ./dist && bun build ./index.ts --outdir ./dist --target node --external effect --external modbus-rs && tsc --noEmit false --emitDeclarationOnly --outDir ./dist --rootDir . --project tsconfig.build.json",
34
27
  "changeset": "changeset",
28
+ "docs": "bun install --cwd tools/typedoc --frozen-lockfile && bun run --cwd \"$PWD/tools/typedoc\" generate",
29
+ "format": "oxfmt --check",
30
+ "format:fix": "oxfmt",
31
+ "lint": "oxlint",
32
+ "lint:fix": "oxlint --fix",
33
+ "prepare": "husky",
34
+ "release": "changeset publish",
35
35
  "test": "bun test ./src/ ./examples/",
36
36
  "test:coverage": "bun test --coverage ./src/ ./examples/",
37
37
  "typecheck": "tsc --noEmit",
38
- "build": "rm -rf ./dist && bun build ./index.ts --outdir ./dist --target node --external effect --external modbus-rs && tsc --noEmit false --emitDeclarationOnly --outDir ./dist --rootDir . --project tsconfig.build.json",
39
- "docs": "typedoc",
40
- "release": "changeset publish",
41
38
  "version": "changeset version"
42
39
  },
40
+ "dependencies": {
41
+ "modbus-rs": "0.16.1"
42
+ },
43
43
  "devDependencies": {
44
44
  "@changesets/cli": "^2.31.1",
45
- "@effect/language-service": "^0.86.2",
45
+ "@effect/language-service": "^0.86.6",
46
46
  "@effect/platform-bun": "^0.90.0",
47
47
  "@types/bun": "latest",
48
- "effect": "^3.21.4",
49
- "fallow": "^2.103.0",
50
- "typedoc": "^0.28.20",
51
- "typescript": "^6.0.3"
48
+ "effect": "^3.22.0",
49
+ "fallow": "^2.104.0",
50
+ "husky": "^9.1.7",
51
+ "oxfmt": "^0.60.0",
52
+ "oxlint": "^1.75.0",
53
+ "typescript": "^7.0.2"
52
54
  },
53
55
  "peerDependencies": {
54
- "effect": "^3.21.4"
55
- },
56
- "dependencies": {
57
- "modbus-rs": "^0.15.3"
56
+ "effect": "^3.22.0"
58
57
  }
59
58
  }