Skip to content

Commit 00f33cb

Browse files
authored
Merge pull request #80 from TrueNine/dev
chore: release 2026.10318.12034
2 parents 78d15ee + 31453d6 commit 00f33cb

File tree

35 files changed

+548
-66
lines changed

35 files changed

+548
-66
lines changed

.github/workflows/release-cli.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,14 @@ jobs:
273273
if [ ! -f "${target_dir}package.json" ]; then
274274
continue
275275
fi
276+
if [ ! -f "${target_dir}noop.cjs" ]; then
277+
echo "ERROR: missing ${target_dir}noop.cjs"
278+
exit 1
279+
fi
280+
if [ ! -f "${target_dir}noop.d.ts" ]; then
281+
echo "ERROR: missing ${target_dir}noop.d.ts"
282+
exit 1
283+
fi
276284
actual_count=$(find "${target_dir}" -maxdepth 1 -type f -name '*.node' | wc -l | tr -d ' ')
277285
if [ "$actual_count" -ne "$expected_count" ]; then
278286
echo "ERROR: expected ${expected_count} .node files in ${target_dir}, found ${actual_count}"

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ members = [
99
]
1010

1111
[workspace.package]
12-
version = "2026.10318.11638"
12+
version = "2026.10318.12034"
1313
edition = "2024"
1414
license = "AGPL-3.0-only"
1515
authors = ["TrueNine"]

cli/npm/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
!.gitignore
33
!*/
44
!*/package.json
5+
!*/noop.cjs
6+
!*/noop.d.ts

cli/npm/darwin-arm64/noop.cjs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
'use strict'
2+
3+
const {readdirSync} = require('node:fs')
4+
const {join} = require('node:path')
5+
6+
const EXPORT_BINDINGS = [
7+
['logger', 'napi-logger.'],
8+
['mdCompiler', 'napi-md-compiler.'],
9+
['scriptRuntime', 'napi-script-runtime.'],
10+
['config', 'napi-memory-sync-cli.']
11+
]
12+
13+
const nodeFiles = readdirSync(__dirname).filter(file => file.endsWith('.node'))
14+
const bindings = {}
15+
16+
for (const [exportName, prefix] of EXPORT_BINDINGS) {
17+
const file = nodeFiles.find(candidate => candidate.startsWith(prefix))
18+
if (file == null) continue
19+
20+
Object.defineProperty(bindings, exportName, {
21+
enumerable: true,
22+
get() {
23+
return require(join(__dirname, file))
24+
}
25+
})
26+
}
27+
28+
module.exports = bindings

cli/npm/darwin-arm64/noop.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
declare const bindings: {
2+
readonly logger?: unknown
3+
readonly mdCompiler?: unknown
4+
readonly scriptRuntime?: unknown
5+
readonly config?: unknown
6+
}
7+
8+
export = bindings

cli/npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@truenine/memory-sync-cli-darwin-arm64",
3-
"version": "2026.10318.11638",
3+
"version": "2026.10318.12034",
44
"os": [
55
"darwin"
66
],

cli/npm/darwin-x64/noop.cjs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
'use strict'
2+
3+
const {readdirSync} = require('node:fs')
4+
const {join} = require('node:path')
5+
6+
const EXPORT_BINDINGS = [
7+
['logger', 'napi-logger.'],
8+
['mdCompiler', 'napi-md-compiler.'],
9+
['scriptRuntime', 'napi-script-runtime.'],
10+
['config', 'napi-memory-sync-cli.']
11+
]
12+
13+
const nodeFiles = readdirSync(__dirname).filter(file => file.endsWith('.node'))
14+
const bindings = {}
15+
16+
for (const [exportName, prefix] of EXPORT_BINDINGS) {
17+
const file = nodeFiles.find(candidate => candidate.startsWith(prefix))
18+
if (file == null) continue
19+
20+
Object.defineProperty(bindings, exportName, {
21+
enumerable: true,
22+
get() {
23+
return require(join(__dirname, file))
24+
}
25+
})
26+
}
27+
28+
module.exports = bindings

cli/npm/darwin-x64/noop.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
declare const bindings: {
2+
readonly logger?: unknown
3+
readonly mdCompiler?: unknown
4+
readonly scriptRuntime?: unknown
5+
readonly config?: unknown
6+
}
7+
8+
export = bindings

cli/npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@truenine/memory-sync-cli-darwin-x64",
3-
"version": "2026.10318.11638",
3+
"version": "2026.10318.12034",
44
"os": [
55
"darwin"
66
],

0 commit comments

Comments
 (0)