@celljs/ta-exec 4.9.1 → 4.10.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.
|
@@ -76,6 +76,8 @@ export interface ExecEnvironment {
|
|
|
76
76
|
/** Bind another implementation with `rebind: true` to run sessions elsewhere. */
|
|
77
77
|
export interface ExecEnvironmentFactory {
|
|
78
78
|
create(cwd: string): ExecEnvironment;
|
|
79
|
+
/** A location as the user wrote it (`~/src`, a relative path), whole; one already whole as it is. */
|
|
80
|
+
resolve(location: string): Promise<string>;
|
|
79
81
|
/** Where sessions run when nobody names a directory: a path of the environment. */
|
|
80
82
|
defaultCwd(): Promise<string>;
|
|
81
83
|
}
|
|
@@ -76,6 +76,8 @@ export interface ExecEnvironment {
|
|
|
76
76
|
/** Bind another implementation with `rebind: true` to run sessions elsewhere. */
|
|
77
77
|
export interface ExecEnvironmentFactory {
|
|
78
78
|
create(cwd: string): ExecEnvironment;
|
|
79
|
+
/** A location as the user wrote it (`~/src`, a relative path), whole; one already whole as it is. */
|
|
80
|
+
resolve(location: string): Promise<string>;
|
|
79
81
|
/** Where sessions run when nobody names a directory: a path of the environment. */
|
|
80
82
|
defaultCwd(): Promise<string>;
|
|
81
83
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-exec",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "Where Ta runs commands and touches files: the ExecEnvironment interface, this machine, and ta exec-server for another one",
|
|
5
5
|
"homepage": "https://github.com/cellbang/cell",
|
|
6
6
|
"bugs": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"watch": "tsc -b -w --preserveWatchOutput"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@celljs/rpc": "4.
|
|
32
|
+
"@celljs/rpc": "4.10.0"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|