leglas 1.3.0 → 1.4.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/args.d.ts +14 -0
- package/dist/baseline.d.ts +2 -8
- package/dist/bin.js +1656 -475
- package/dist/dev-server-owner.d.ts +3 -4
- package/dist/explore.d.ts +5 -13
- package/dist/help.d.ts +2 -0
- package/dist/ignore.d.ts +3 -6
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1665 -502
- package/dist/keep.d.ts +3 -10
- package/dist/new.d.ts +3 -4
- package/dist/resolve-title.d.ts +4 -8
- package/dist/rules.d.ts +41 -0
- package/dist/run-classify.d.ts +3 -5
- package/dist/run-explore-build.d.ts +3 -6
- package/dist/run-explore.d.ts +3 -6
- package/dist/run-init.d.ts +3 -4
- package/dist/run-link.d.ts +18 -0
- package/dist/run-log.d.ts +3 -7
- package/dist/run-new.d.ts +4 -7
- package/dist/run-previews.d.ts +4 -4
- package/dist/run-remove.d.ts +17 -0
- package/dist/run-share.d.ts +10 -10
- package/dist/run-show.d.ts +3 -5
- package/dist/run-watch.d.ts +3 -9
- package/dist/run.d.ts +3 -6
- package/dist/running.d.ts +24 -7
- package/dist/shell/assets/index-CXz1BSV1.js +14 -0
- package/dist/shell/index.html +1 -1
- package/dist/show.d.ts +7 -16
- package/dist/shutdown.d.ts +7 -22
- package/dist/test-helpers.d.ts +2 -0
- package/package.json +1 -1
- package/dist/shell/assets/index-CcHf_UOb.js +0 -14
package/dist/args.d.ts
CHANGED
|
@@ -66,8 +66,22 @@ export type ParseResult = {
|
|
|
66
66
|
/** Null lets the running Leglas pick the first tunnel program it finds. */
|
|
67
67
|
tunnel: ShareTunnel | null;
|
|
68
68
|
stop: boolean;
|
|
69
|
+
/** End every link and mint one new, through a new tunnel. */
|
|
70
|
+
rotate: boolean;
|
|
71
|
+
/** One link to end, by its address or id. */
|
|
72
|
+
revoke: string | null;
|
|
69
73
|
port: number | null;
|
|
70
74
|
json: boolean;
|
|
75
|
+
} | {
|
|
76
|
+
kind: "link";
|
|
77
|
+
/** None opens the rail; one opens that direction; two put them side by side. */
|
|
78
|
+
titles: string[];
|
|
79
|
+
port: number | null;
|
|
80
|
+
json: boolean;
|
|
81
|
+
} | {
|
|
82
|
+
kind: "remove";
|
|
83
|
+
titles: string[];
|
|
84
|
+
json: boolean;
|
|
71
85
|
} | {
|
|
72
86
|
kind: "requests";
|
|
73
87
|
json: boolean;
|
package/dist/baseline.d.ts
CHANGED
|
@@ -2,13 +2,7 @@ export type Baseline = {
|
|
|
2
2
|
contents: string;
|
|
3
3
|
};
|
|
4
4
|
/**
|
|
5
|
-
* A baseline that re-exports the real component
|
|
6
|
-
*
|
|
7
|
-
* Copying would freeze the comparison against a duplicate of the user's own
|
|
8
|
-
* code: edit the real component afterwards and the baseline silently stops
|
|
9
|
-
* being the baseline. Re-exporting keeps it live.
|
|
10
|
-
*
|
|
11
|
-
* This pattern was not designed; an agent used it in place of the scaffold's
|
|
12
|
-
* placeholder, and it is plainly better than what the template suggested.
|
|
5
|
+
* A baseline that re-exports the real component, so it never goes stale against
|
|
6
|
+
* the user's own code the way a copy would.
|
|
13
7
|
*/
|
|
14
8
|
export declare function baselineFrom(surface: string, sourcePath: string, sourceContents: string): Baseline | null;
|