@navbytes/vee 0.5.0 → 0.6.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/dist/vee.js +6 -0
- package/package.json +1 -1
package/dist/vee.js
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// Vee plugin SDK — typed builders that emit the xbar/SwiftBar text format Vee
|
|
2
2
|
// parses. Zero dependencies; runs directly on Node (which strips the types).
|
|
3
|
+
//
|
|
4
|
+
// Node only *erases* types, it does not compile them, so this file must stay
|
|
5
|
+
// within erasable syntax: no `enum`, no `namespace`, and no constructor
|
|
6
|
+
// parameter properties (`constructor(private readonly x: number)`) — Node
|
|
7
|
+
// rejects the file outright, which breaks every plugin that imports it, not
|
|
8
|
+
// just the new code.
|
|
3
9
|
// Vee's parser (LineParser.splitTextAndParams/parseParams) reads `\|`, `\n`,
|
|
4
10
|
// and `\\` as escapes — for a literal `|` (which would otherwise be read as
|
|
5
11
|
// the text/params delimiter) and a literal newline (which would otherwise
|
package/package.json
CHANGED