@politty/loculus 0.1.0 → 0.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/README.md +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @politty/loculus
|
|
2
2
|
|
|
3
|
-
Politty with [loculus](https://github.com/toiroakr/loculus) flat string-input schemas. Requires Node
|
|
3
|
+
Politty with [loculus](https://github.com/toiroakr/loculus) flat string-input schemas. Requires Node.js 22.18.0 or newer. Uses the same core command execution, help, docs, completion, prompt, skills and agent functionality as `@politty/zod`.
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
import * as l from "loculus";
|
|
@@ -43,7 +43,7 @@ Arrays require array inputs by default in Loculus 0.2. Politty collects repeated
|
|
|
43
43
|
|
|
44
44
|
## Build-time optimization
|
|
45
45
|
|
|
46
|
-
Loculus 0.2.
|
|
46
|
+
Loculus 0.2.5 or newer in the 0.2 line can be used with `@loculus/rolldown` 0.2.3 or newer in the 0.2 line to specialize supported static schemas during the CLI build. The generated validators preserve the metadata used by help, docs, completion and prompts. Dynamic or unsupported definitions retain ordinary validation.
|
|
47
47
|
|
|
48
48
|
```ts
|
|
49
49
|
import { defineConfig } from "tsdown";
|
|
@@ -55,11 +55,11 @@ export default defineConfig({
|
|
|
55
55
|
});
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
The plugin requires Node.js
|
|
58
|
+
The plugin requires Node.js 22.18.0 or newer at build time and Rolldown `>=1.2.13 <2`. It is optional and belongs in the CLI project's devDependencies.
|
|
59
59
|
|
|
60
60
|
## Development
|
|
61
61
|
|
|
62
|
-
The adapter uses the published `loculus` 0.2.
|
|
62
|
+
The adapter uses the published `loculus` 0.2.5 package for development and requires `loculus ^0.2.5` at runtime. No local archive or adjacent loculus checkout is needed.
|
|
63
63
|
|
|
64
64
|
This repository's first-package release procedure in CLAUDE.md applies to `@politty/loculus`.
|
|
65
65
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@politty/loculus",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Politty CLI framework with flat loculus schemas",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"argument-parser",
|
|
@@ -78,14 +78,14 @@
|
|
|
78
78
|
"@politty/core": "0.1.0",
|
|
79
79
|
"@types/node": "25.9.9",
|
|
80
80
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
81
|
-
"loculus": "0.2.
|
|
81
|
+
"loculus": "0.2.5",
|
|
82
82
|
"tsdown": "0.23.0",
|
|
83
83
|
"typescript": "7.0.2"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"@clack/prompts": "^0.10.0 || ^0.11.0 || ^1.0.0",
|
|
87
87
|
"@inquirer/prompts": "^8.3.2",
|
|
88
|
-
"loculus": "^0.2.
|
|
88
|
+
"loculus": "^0.2.5"
|
|
89
89
|
},
|
|
90
90
|
"peerDependenciesMeta": {
|
|
91
91
|
"@clack/prompts": {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|
|
99
|
-
"node": ">=
|
|
99
|
+
"node": ">=22.18.0"
|
|
100
100
|
},
|
|
101
101
|
"scripts": {
|
|
102
102
|
"build": "tsdown"
|