@plurnk/plurnk-execs-sqlite 1.21.0 → 1.22.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/.env.defaults ADDED
@@ -0,0 +1,3 @@
1
+ # @plurnk/plurnk-execs-sqlite — opt-in SQL execution.
2
+ # Set to 1 to register the SQLite executor.
3
+ PLURNK_EXECS_SQLITE=0
package/README.md CHANGED
@@ -48,6 +48,8 @@ Problems in the terminal operation result.
48
48
 
49
49
  ## Configuration
50
50
 
51
+ Disabled by default. Set `PLURNK_EXECS_SQLITE=1` in the environment cascade to enable it.
52
+
51
53
  The framework's `PLURNK_EXECS_ERROR_DETAIL_LIMIT` bounds SQLite diagnostics and
52
54
  rejected SQL tails included in Problem facts.
53
55
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-execs-sqlite",
3
- "version": "1.21.0",
3
+ "version": "1.22.0",
4
4
  "description": "SQLite runtime executor for plurnk-service's exec scheme — runs the sqlite runtime tag in-process via node:sqlite, results as application/json.",
5
5
  "keywords": [
6
6
  "plurnk",
@@ -63,11 +63,12 @@
63
63
  "files": [
64
64
  "dist/**/*",
65
65
  "README.md",
66
+ ".env.defaults",
66
67
  "docs/**/*"
67
68
  ],
68
69
  "scripts": {
69
70
  "test:lint": "tsc --noEmit",
70
- "test:unit": "node --conditions=plurnk-dev --env-file-if-exists=../plurnk-execs/.env.defaults --test \"src/**/*.test.ts\"",
71
+ "test:unit": "node --conditions=plurnk-dev --env-file-if-exists=.env.defaults --env-file-if-exists=../plurnk-execs/.env.defaults --test \"src/**/*.test.ts\"",
71
72
  "test": "npm run test:lint && npm run test:unit",
72
73
  "build:clean": "rm -rf dist",
73
74
  "build:dist": "tsc -p tsconfig.build.json",
@@ -76,6 +77,6 @@
76
77
  "prepublishOnly": "npm audit --audit-level=moderate && npm test"
77
78
  },
78
79
  "peerDependencies": {
79
- "@plurnk/plurnk-execs": "^1.21.0"
80
+ "@plurnk/plurnk-execs": "^1.22.0"
80
81
  }
81
82
  }