@monosmith/plugin-sdk 0.7.0 → 0.8.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": "@monosmith/plugin-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "The TypeScript SDK for writing smith plugins: the protocol's types, the serve loop, a test host, the conformance checks, templating and key-order-keeping JSON editing. No runtime dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -2605,6 +2605,13 @@ export const protocolSchema = {
|
|
|
2605
2605
|
},
|
|
2606
2606
|
"description": "Outputs are directories relative to the project root, restored on a cache hit."
|
|
2607
2607
|
},
|
|
2608
|
+
"ship": {
|
|
2609
|
+
"type": "array",
|
|
2610
|
+
"items": {
|
|
2611
|
+
"type": "string"
|
|
2612
|
+
},
|
|
2613
|
+
"description": "Ship names what the task makes in a tool's work folder that the project ships: globs relative to the project root (\"../../dist/cargo/debug/api\"). After the task succeeds, smith hard-links each match into the project's shipped folder (ProjectBuildDir), a folder file by file, under its base name, and copies a file it cannot link. A glob that matches nothing is skipped. Such a task lists the shipped folder in Outputs, never the tool's work folder: a cache restore empties each output folder first."
|
|
2614
|
+
},
|
|
2608
2615
|
"dependsOn": {
|
|
2609
2616
|
"type": "array",
|
|
2610
2617
|
"items": {
|
|
@@ -1408,6 +1408,15 @@ export interface Task {
|
|
|
1408
1408
|
inputs?: string[];
|
|
1409
1409
|
/** Outputs are directories relative to the project root, restored on a cache hit. */
|
|
1410
1410
|
outputs?: string[];
|
|
1411
|
+
/**
|
|
1412
|
+
* Ship names what the task makes in a tool's work folder that the project ships: globs relative
|
|
1413
|
+
* to the project root ("../../dist/cargo/debug/api"). After the task succeeds, smith hard-links
|
|
1414
|
+
* each match into the project's shipped folder (ProjectBuildDir), a folder file by file, under
|
|
1415
|
+
* its base name, and copies a file it cannot link. A glob that matches nothing is skipped. Such a
|
|
1416
|
+
* task lists the shipped folder in Outputs, never the tool's work folder: a cache restore empties
|
|
1417
|
+
* each output folder first.
|
|
1418
|
+
*/
|
|
1419
|
+
ship?: string[];
|
|
1411
1420
|
/**
|
|
1412
1421
|
* DependsOn lists task names: "build" runs this project's build first, "^build" runs the build of
|
|
1413
1422
|
* every project this one imports first.
|