@gravito/ion 3.0.1 → 4.0.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@gravito/ion",
3
- "version": "3.0.1",
4
- "description": "Inertia.js adapter for Gravito",
3
+ "version": "4.0.0",
4
+ "description": "Inertia.js v2 adapter for Gravito",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
7
7
  "type": "module",
@@ -20,10 +20,12 @@
20
20
  ],
21
21
  "scripts": {
22
22
  "build": "bun run build.ts",
23
- "test": "bun test",
23
+ "test": "bun test --timeout=10000",
24
24
  "typecheck": "bun tsc -p tsconfig.json --noEmit --skipLibCheck",
25
- "test:coverage": "bun test --coverage --coverage-threshold=80",
26
- "test:ci": "bun test --coverage --coverage-threshold=80"
25
+ "test:coverage": "bun test --timeout=10000 --coverage --coverage-reporter=lcov --coverage-dir coverage && bun run --bun scripts/check-coverage.ts",
26
+ "test:ci": "bun test --timeout=10000 --coverage --coverage-reporter=lcov --coverage-dir coverage && bun run --bun scripts/check-coverage.ts",
27
+ "test:unit": "bun test tests/ --timeout=10000",
28
+ "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'"
27
29
  },
28
30
  "peerDependencies": {
29
31
  "@gravito/core": "workspace:*",
@@ -55,4 +57,4 @@
55
57
  "url": "git+https://github.com/gravito-framework/gravito.git",
56
58
  "directory": "packages/ion"
57
59
  }
58
- }
60
+ }