smallpen 0.1.0-alpha.1 → 0.1.0-alpha.12
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 +21 -0
- package/bin/smallpen.cjs +0 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# smallpen
|
|
2
|
+
|
|
3
|
+
Command-line interface for SmallPen, a local-file design workspace built on
|
|
4
|
+
strict `.smallpen` directory packages. It reads, validates, renders, and
|
|
5
|
+
edits packages through typed Operation Batches, with JSON output for agents.
|
|
6
|
+
|
|
7
|
+
Requires Node.js 24 or newer.
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install -g smallpen@alpha
|
|
11
|
+
smallpen --help
|
|
12
|
+
# Guided: answer each returned question with its continuation command.
|
|
13
|
+
smallpen init ./workspace --json
|
|
14
|
+
smallpen validate ./workspace/product.smallpen --json
|
|
15
|
+
smallpen render ./workspace/product.smallpen --output product.png --json
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Every command has its own help: `smallpen <command> --help`.
|
|
19
|
+
|
|
20
|
+
This package is a thin launcher for `@smallpen/cli`, which holds the
|
|
21
|
+
implementation.
|
package/bin/smallpen.cjs
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smallpen",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.12",
|
|
4
4
|
"description": "SmallPen command-line interface",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"bin"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@smallpen/cli": "0.1.0-alpha.
|
|
15
|
+
"@smallpen/cli": "0.1.0-alpha.12"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|