sliftutils 0.7.2 → 0.7.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.
- package/builders/setup.ts +12 -1
- package/package.json +2 -2
package/builders/setup.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import fs from "fs";
|
|
2
2
|
import path from "path";
|
|
3
|
+
import { execSync } from "child_process";
|
|
3
4
|
|
|
4
5
|
async function main() {
|
|
5
|
-
let targetDir =
|
|
6
|
+
let targetDir = path.resolve(".");
|
|
6
7
|
let sourceDir = path.join(__dirname, "..");
|
|
7
8
|
|
|
8
9
|
console.log("Setting up sliftutils project...");
|
|
@@ -82,6 +83,16 @@ async function main() {
|
|
|
82
83
|
console.warn("\nNo package.json found in target directory");
|
|
83
84
|
}
|
|
84
85
|
|
|
86
|
+
// Run yarn install
|
|
87
|
+
console.log("\nRunning yarn install...");
|
|
88
|
+
try {
|
|
89
|
+
execSync("yarn install", { cwd: targetDir, stdio: "inherit" });
|
|
90
|
+
console.log("Yarn install completed successfully");
|
|
91
|
+
} catch (error) {
|
|
92
|
+
console.error("Failed to run yarn install:", error);
|
|
93
|
+
process.exit(1);
|
|
94
|
+
}
|
|
95
|
+
|
|
85
96
|
console.log("\nSetup complete!");
|
|
86
97
|
}
|
|
87
98
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sliftutils",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"mobx": "^6.13.3",
|
|
42
42
|
"preact": "10.24.3",
|
|
43
43
|
"shell-quote": "^1.8.3",
|
|
44
|
-
"socket-function": "^0.
|
|
44
|
+
"socket-function": "^0.156.0",
|
|
45
45
|
"typenode": "^6.0.0",
|
|
46
46
|
"typesafecss": "^0.26.0",
|
|
47
47
|
"ws": "^8.18.3",
|