init-xmcp 0.1.2-alpha.2 → 0.1.3
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.
|
@@ -27,9 +27,9 @@ export function updateTsConfig(projectRoot) {
|
|
|
27
27
|
if (!tsconfig.include) {
|
|
28
28
|
tsconfig.include = [];
|
|
29
29
|
}
|
|
30
|
-
if (!tsconfig.include.includes("xmcp.d.ts")) {
|
|
31
|
-
// include xmcp.d.ts in the build
|
|
32
|
-
tsconfig.include.push("xmcp.d.ts");
|
|
30
|
+
if (!tsconfig.include.includes("xmcp-env.d.ts")) {
|
|
31
|
+
// include xmcp-env.d.ts in the build
|
|
32
|
+
tsconfig.include.push("xmcp-env.d.ts");
|
|
33
33
|
}
|
|
34
34
|
fs.writeJsonSync(tsconfigPath, tsconfig, { spaces: 2 });
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -36,9 +36,9 @@ export function updateTsConfig(projectRoot: string) {
|
|
|
36
36
|
tsconfig.include = [];
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
if (!tsconfig.include.includes("xmcp.d.ts")) {
|
|
40
|
-
// include xmcp.d.ts in the build
|
|
41
|
-
tsconfig.include.push("xmcp.d.ts");
|
|
39
|
+
if (!tsconfig.include.includes("xmcp-env.d.ts")) {
|
|
40
|
+
// include xmcp-env.d.ts in the build
|
|
41
|
+
tsconfig.include.push("xmcp-env.d.ts");
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
fs.writeJsonSync(tsconfigPath, tsconfig, { spaces: 2 });
|