@node-ctypes/python 0.3.0 → 0.4.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-ctypes/python",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Typed embedded CPython for Node.js, powered by node-ctypes",
5
5
  "author": "Damiano Mazzella",
6
6
  "license": "MIT",
@@ -45,19 +45,23 @@
45
45
  "typecheck": "tsc -p tsconfig.json && npm run test:types",
46
46
  "build": "npm run clean && tsc -p tsconfig.build.json",
47
47
  "test": "npm run build && npm run test:types && node --test --test-timeout=60000 --test-concurrency=1 \"tests/src/*.test.ts\"",
48
+ "test:mirror": "npm run build && node -e \"const { spawnSync } = require('node:child_process'); const r = spawnSync(process.execPath, ['--test', '--test-timeout=60000', '--test-concurrency=1', 'tests/src/*.test.ts'], { stdio: 'inherit', env: { ...process.env, NODE_CTYPES_NO_EXTERNAL_BUFFERS: '1' } }); process.exit(r.status ?? 1);\"",
48
49
  "test:unit": "npm run build && node --test --test-timeout=60000 \"tests/src/unit.*.test.ts\"",
49
50
  "test:integration": "npm run build && node --test --test-timeout=60000 --test-concurrency=1 \"tests/src/integration.*.test.ts\"",
50
51
  "test:stress": "npm run build && npm run test:types && node --test --test-concurrency=1 \"tests/stress/*.test.ts\"",
51
52
  "test:backlog": "npm run build && npm run test:types && node --test --test-concurrency=1 tests/stress/backlog.test.ts",
52
53
  "test:types": "tsc -p tests/tsconfig.json && tsc -p tests/types/tsconfig.json",
54
+ "docs": "typedoc",
55
+ "docs:serve": "typedoc && npx serve docs",
53
56
  "prepack": "npm run build",
54
57
  "prepublishOnly": "npm test"
55
58
  },
56
59
  "dependencies": {
57
- "node-ctypes": "^2.15.0"
60
+ "node-ctypes": "^2.16.0"
58
61
  },
59
62
  "devDependencies": {
60
63
  "@types/node": "^26.6.6",
64
+ "typedoc": "^0.28.20",
61
65
  "typescript": "~6.0.3"
62
66
  }
63
67
  }