@tscircuit/cli 0.1.198 → 0.1.199
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/main.js +7 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -60857,6 +60857,12 @@ async function setupTsciProject(directory = process.cwd(), devDependencies = ["@
|
|
|
60857
60857
|
}
|
|
60858
60858
|
const packageJsonPath = path.join(projectPath, "package.json");
|
|
60859
60859
|
const packageJson = JSON.parse(fs2.readFileSync(packageJsonPath, "utf-8"));
|
|
60860
|
+
packageJson.scripts = {
|
|
60861
|
+
...packageJson.scripts || {},
|
|
60862
|
+
dev: "tsci dev",
|
|
60863
|
+
start: "tsci dev"
|
|
60864
|
+
};
|
|
60865
|
+
fs2.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2));
|
|
60860
60866
|
if (devDependencies.length > 0) {
|
|
60861
60867
|
console.log("Installing dependencies...");
|
|
60862
60868
|
try {
|
|
@@ -62951,7 +62957,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
|
|
|
62951
62957
|
import { execSync as execSync2 } from "node:child_process";
|
|
62952
62958
|
var import_semver2 = __toESM2(require_semver2(), 1);
|
|
62953
62959
|
// package.json
|
|
62954
|
-
var version = "0.1.
|
|
62960
|
+
var version = "0.1.198";
|
|
62955
62961
|
var package_default = {
|
|
62956
62962
|
name: "@tscircuit/cli",
|
|
62957
62963
|
version,
|