@trebired/logger 2.1.0 → 2.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/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ This project follows semantic versioning once published.
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 2.1.1
10
+
11
+ - Changed `prepublishOnly` to build the host native addon before publish and verify the packed tarball contents.
12
+ - Added publish-time guards so full releases fail unless the expected Linux and macOS native `.node` files are present in the package tarball.
13
+ - Added npm packaging overrides for `native/*.node` so bundled binaries are not dropped from published archives.
14
+ - Changed the bundled native release matrix to publish Linux GNU and macOS binaries only, leaving musl targets on the JS fallback path for now.
15
+
9
16
  ## 2.1.0
10
17
 
11
18
  - Added partition export helpers for single-partition and multi-partition exports with `tar.gz` as the default format and `.zip` as an alternate format.
package/README.md CHANGED
@@ -15,14 +15,11 @@ The package can use bundled native binaries for supported Linux and macOS target
15
15
  dist/
16
16
  native/
17
17
  linux-x64-gnu.node
18
- linux-x64-musl.node
19
- linux-arm64-gnu.node
20
- linux-arm64-musl.node
21
18
  darwin-arm64.node
22
19
  darwin-x64.node
23
20
  ```
24
21
 
25
- At runtime the JS wrapper selects the matching `.node` file when one is bundled for the current platform, and falls back to the built-in JS backend otherwise. End users do not need Rust installed.
22
+ At runtime the JS wrapper selects the matching `.node` file when one is bundled for the current platform, and falls back to the built-in JS backend otherwise. Bundled native binaries are currently published for Linux GNU and macOS targets. End users do not need Rust installed.
26
23
 
27
24
  ```sh
28
25
  npm install @trebired/logger
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@trebired/logger",
3
- "version": "2.1.0",
4
- "description": "Local-first JSONL logger with durable writes, partitions, retention, redaction, query helpers, and browser runtimes.",
3
+ "version": "2.1.1",
4
+ "description": "Local-first JSONL logger with durable writes, partitions, export archives, native storage acceleration, redaction, query helpers, and browser runtimes.",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "logger",
@@ -16,12 +16,12 @@
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://github.com/trebired/logger.git"
19
+ "url": "https://github.com/Trebired/logger"
20
20
  },
21
21
  "bugs": {
22
- "url": "https://github.com/trebired/logger/issues"
22
+ "url": "https://github.com/Trebired/logger/issues"
23
23
  },
24
- "homepage": "https://github.com/trebired/logger#readme",
24
+ "homepage": "https://github.com/Trebired/logger#readme",
25
25
  "type": "module",
26
26
  "engines": {
27
27
  "node": ">=18",
@@ -60,9 +60,10 @@
60
60
  "build:native": "node ./scripts/build-native.mjs",
61
61
  "build:native:matrix": "node ./scripts/build-native-matrix.mjs",
62
62
  "demo": "bun run examples/dummy.ts",
63
- "prepublishOnly": "bun run typecheck && bun test && bun run build",
63
+ "prepublishOnly": "bun run typecheck && bun test && bun run build && node ./scripts/verify-publish.mjs",
64
64
  "test": "bun test",
65
- "typecheck": "tsc --noEmit"
65
+ "typecheck": "tsc --noEmit",
66
+ "verify:pack": "node ./scripts/verify-pack.mjs"
66
67
  },
67
68
  "peerDependencies": {
68
69
  "react": ">=18"