@ttsc/paths 0.36.4 → 0.37.1
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/lib/index.d.ts +5 -1
- package/lib/index.js +4 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +9 -3
package/lib/index.d.ts
CHANGED
|
@@ -43,9 +43,13 @@ type TtscPathsFactoryContext = {
|
|
|
43
43
|
};
|
|
44
44
|
/** Native transform registration returned to the ttsc plugin host. */
|
|
45
45
|
type TtscPathsDescriptor = {
|
|
46
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* The bundled driver host records actual writes and their physical sources,
|
|
48
|
+
* and the path rewrite reads no environment variable.
|
|
49
|
+
*/
|
|
47
50
|
capabilities: {
|
|
48
51
|
emitProvenance: true;
|
|
52
|
+
environmentInputs: true;
|
|
49
53
|
};
|
|
50
54
|
/** No external files are read while this factory constructs its descriptor. */
|
|
51
55
|
hostInputHashes: Record<string, string | null>;
|
package/lib/index.js
CHANGED
|
@@ -44,7 +44,10 @@ const node_path_1 = __importDefault(require("node:path"));
|
|
|
44
44
|
*/
|
|
45
45
|
function createTtscPaths(context) {
|
|
46
46
|
return {
|
|
47
|
-
|
|
47
|
+
// The driver reads no environment variable, so a project that uses only
|
|
48
|
+
// this plugin keeps its runtime emit across unrelated environment changes
|
|
49
|
+
// (samchon/ttsc#1852).
|
|
50
|
+
capabilities: { emitProvenance: true, environmentInputs: true },
|
|
48
51
|
// The descriptor reads no file outside its module graph, which lets a
|
|
49
52
|
// launch reuse its evaluation (samchon/ttsc#1561).
|
|
50
53
|
hostInputHashes: {},
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,yBACE,OAAgC;IAEhC,OAAO;QACL,YAAY,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,yBACE,OAAgC;IAEhC,OAAO;QACL,wEAAwE;QACxE,0EAA0E;QAC1E,uBAAuB;QACvB,YAAY,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE;QAC/D,sEAAsE;QACtE,mDAAmD;QACnD,eAAe,EAAE,EAAE;QACnB,IAAI,EAAE,aAAa;QACnB,oEAAoE;QACpE,MAAM,EAAE,mBAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC;QACrD,KAAK,EAAE,WAAW;KACnB,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -41,7 +41,10 @@ export default function createTtscPaths(
|
|
|
41
41
|
context: TtscPathsFactoryContext,
|
|
42
42
|
): TtscPathsDescriptor {
|
|
43
43
|
return {
|
|
44
|
-
|
|
44
|
+
// The driver reads no environment variable, so a project that uses only
|
|
45
|
+
// this plugin keeps its runtime emit across unrelated environment changes
|
|
46
|
+
// (samchon/ttsc#1852).
|
|
47
|
+
capabilities: { emitProvenance: true, environmentInputs: true },
|
|
45
48
|
// The descriptor reads no file outside its module graph, which lets a
|
|
46
49
|
// launch reuse its evaluation (samchon/ttsc#1561).
|
|
47
50
|
hostInputHashes: {},
|
|
@@ -60,8 +63,11 @@ type TtscPathsFactoryContext = {
|
|
|
60
63
|
|
|
61
64
|
/** Native transform registration returned to the ttsc plugin host. */
|
|
62
65
|
type TtscPathsDescriptor = {
|
|
63
|
-
/**
|
|
64
|
-
|
|
66
|
+
/**
|
|
67
|
+
* The bundled driver host records actual writes and their physical sources,
|
|
68
|
+
* and the path rewrite reads no environment variable.
|
|
69
|
+
*/
|
|
70
|
+
capabilities: { emitProvenance: true; environmentInputs: true };
|
|
65
71
|
|
|
66
72
|
/** No external files are read while this factory constructs its descriptor. */
|
|
67
73
|
hostInputHashes: Record<string, string | null>;
|