icechunk-js 0.3.1 → 0.3.2

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": "icechunk-js",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Read-only JavaScript/TypeScript reader for Icechunk repositories",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,19 +23,19 @@
23
23
  "scripts": {
24
24
  "build": "tsup",
25
25
  "dev": "tsup --watch",
26
- "clean": "rm -rf dist",
26
+ "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
27
27
  "typecheck": "tsc --noEmit",
28
- "pretest": "test -d tests/data || ./scripts/sync-fixtures.sh",
28
+ "pretest": "node scripts/sync.mjs --if-missing fixtures",
29
29
  "test": "vitest run",
30
30
  "test:watch": "vitest",
31
31
  "test:coverage": "vitest run --coverage",
32
32
  "format": "prettier --write .",
33
33
  "format:check": "prettier --check .",
34
- "prepare": "test -d tests/data || ./scripts/sync-fixtures.sh && test -d flatbuffers || ./scripts/sync-flatbuffers.sh",
35
- "sync:fixtures": "./scripts/sync-fixtures.sh",
36
- "sync:fbs": "./scripts/sync-flatbuffers.sh",
37
- "generate:fbs": "FLATC=\"$(./scripts/ensure-flatc.sh)\" && \"$FLATC\" -T -o ./src/format/flatbuffers --gen-all ./flatbuffers/all.fbs && node scripts/postgen-fbs.cjs ./src/format/flatbuffers && prettier --write src/format/flatbuffers/generated",
38
- "check:fbs": "rm -rf /tmp/fbs-check && FLATC=\"$(./scripts/ensure-flatc.sh)\" && \"$FLATC\" -T -o /tmp/fbs-check --gen-all ./flatbuffers/all.fbs && node scripts/postgen-fbs.cjs /tmp/fbs-check && prettier --write /tmp/fbs-check/generated && diff -r /tmp/fbs-check/generated src/format/flatbuffers/generated"
34
+ "prepare": "node scripts/sync.mjs --if-missing fixtures flatbuffers",
35
+ "sync:fixtures": "node scripts/sync.mjs fixtures",
36
+ "sync:fbs": "node scripts/sync.mjs flatbuffers",
37
+ "generate:fbs": "node scripts/generate-fbs.mjs",
38
+ "check:fbs": "node scripts/check-fbs.mjs"
39
39
  },
40
40
  "keywords": [
41
41
  "icechunk",
@@ -55,10 +55,10 @@
55
55
  "tsx": "^4.19.0",
56
56
  "typescript": "^5.4.0",
57
57
  "vitest": "^1.4.0",
58
- "zarrita": "^0.6.0"
58
+ "zarrita": "^0.7.0"
59
59
  },
60
60
  "peerDependencies": {
61
- "zarrita": "^0.5.0 || ^0.6.0"
61
+ "zarrita": "^0.5.0 || ^0.6.0 || ^0.7.0"
62
62
  },
63
63
  "peerDependenciesMeta": {
64
64
  "zarrita": {