@gravito/stasis 3.0.1 → 3.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravito/stasis",
3
- "version": "3.0.1",
3
+ "version": "3.1.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,10 +23,12 @@
23
23
  ],
24
24
  "scripts": {
25
25
  "build": "tsup src/index.ts --format esm,cjs --dts",
26
- "test": "bun test",
27
- "test:coverage": "bun test --coverage --coverage-threshold=80",
28
- "test:ci": "bun test --coverage --coverage-threshold=80",
29
- "typecheck": "bun tsc -p tsconfig.json --noEmit --skipLibCheck"
26
+ "test": "bun test --timeout=10000",
27
+ "test:coverage": "bun test --timeout=10000 --coverage --coverage-reporter=lcov --coverage-dir coverage && bun run --bun scripts/check-coverage.ts",
28
+ "test:ci": "bun test --timeout=10000 --coverage --coverage-reporter=lcov --coverage-dir coverage && bun run --bun scripts/check-coverage.ts",
29
+ "typecheck": "bun tsc -p tsconfig.json --noEmit --skipLibCheck",
30
+ "test:unit": "bun test $(find tests -name '*.test.ts' ! -name '*.integration.test.ts' 2>/dev/null | tr '\\n' ' ') --timeout=10000",
31
+ "test:integration": "test $(find tests -name '*.integration.test.ts' 2>/dev/null | wc -l) -gt 0 && find tests -name '*.integration.test.ts' -print0 | xargs -0 bun test --timeout=10000 || echo 'No integration tests found'"
30
32
  },
31
33
  "keywords": [
32
34
  "gravito",
@@ -38,13 +40,13 @@
38
40
  "author": "Carl Lee <carllee0520@gmail.com>",
39
41
  "license": "MIT",
40
42
  "peerDependencies": {
41
- "@gravito/core": "workspace:*",
42
- "@gravito/plasma": "workspace:*"
43
+ "@gravito/core": "^1.6.1",
44
+ "@gravito/plasma": "^1.0.0"
43
45
  },
44
46
  "devDependencies": {
45
- "@gravito/plasma": "workspace:*",
46
- "@gravito/core": "workspace:*",
47
- "@gravito/photon": "workspace:*",
47
+ "@gravito/plasma": "^1.0.0",
48
+ "@gravito/core": "^1.6.1",
49
+ "@gravito/photon": "^1.0.1",
48
50
  "bun-types": "latest",
49
51
  "tsup": "^8.5.1",
50
52
  "typescript": "^5.9.3"
@@ -55,4 +57,4 @@
55
57
  "url": "git+https://github.com/gravito-framework/gravito.git",
56
58
  "directory": "packages/stasis"
57
59
  }
58
- }
60
+ }